remote creation of dimensions

25 views
Skip to first unread message

truc...@gmail.com

unread,
Nov 19, 2021, 8:14:26 PM11/19/21
to python-ezdxf
Hi, 

I have a python code structure, much like a tree with lots of branches, and each branch is a shape.

Whilst I understand EZDXF is not a cad package, I would like to draw all the shapes, with dimensions, and it is most efficient if the shape itself has the code for what to draw and annotate.

Rather than pass the msp object to each shape, I'd prefer to pass the shape data to a central location and add it to the "drawing".

Is there a way I can create an ezdxf annotation object, at the leaf, add all the relevant info (text style, angles, colours etc..) and pass this to the main object (haha like the tree trunk) that then adds these to the msp / drawing ?

If its too difficult, I will create my object that contains relevant annotation information, pass it to the central location, and add it to the "add_linear_dim" interface.

Thanks Joseph


Reply all
Reply to author
Forward
0 new messages