[solved] how apply material for object? is it working?
Posted: Fri Feb 18, 2022 10:32 pm
Hi, I am trying to apply Wood Material for object Cube or Pad without success. Later, I would like to use Arch Texture workbench to rotate example grain direction texture (.png transparent file with grain direction mark) on face object and see how it impacts the XML object structure. I would like to know if this could be used this way for woodworking purposes or this need to be improved.
But when I selected Pad or Cube object and click material creation like it is described here https://wiki.freecadweb.org/Arch_SetMaterial but I got error:
I can create Wood Material without selection but I am not able to apply it to the object.
I am doing something wrong? or this is not implemented to the end? or lost feature?
But when I selected Pad or Cube object and click material creation like it is described here https://wiki.freecadweb.org/Arch_SetMaterial but I got error:
Code: Select all
23:04:28 <Exception> type must be str or unicode, not FeaturePython
23:04:28 Running the Python command 'Arch_Material' failed:
Traceback (most recent call last):
File "/tmp/.mount_FreeCAGq1Ybw/usr/Mod/Arch/ArchMaterial.py", line 128, in Activated
FreeCADGui.doCommand("FreeCAD.ActiveDocument.getObject(\""+obj.Name+"\").Material = mat")
File "<string>", line 1, in <module>
type must be str or unicode, not FeaturePython
I am doing something wrong? or this is not implemented to the end? or lost feature?