Skip to content

How to apply material to DXF imported section? #270

Discussion options

You must be logged in to vote

Hi @garyfairbairn, apologies for the delayed response. At the moment, the best way to do this to apply the material to the Geometry or CompoundGeometry object after importing the dxf.

E.g. for a Geometry object:

geom = from_dxf(dxf_filepath="example.dxf")
geom.material = my_material

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by robbievanleeuwen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants