AUTOMATIC DETAILING FILE STEP
- November 9, 2023
- 1 reply
- 4284 views
Hi everyone,
I need to do a completely automatic drawing from file step.
I already use various templates but
what I would like to do is this:
1) I import the step
2) I find the dimensions of the box that contains the piece
3) based on the size of the part I decide the format to use and the scale
4) mathematically I detect which are the largest dimensions to establish an orientation of the part and therefore define a "TOP" view which is the starting point of the projections.
5) With the program in detailing I also do the other projections.
I already have experience with TRAIL file generators
for example I made one that opens a list of drawings and creates the pdf and backs it up in a given folder.
What I'm missing is having a command that gives me three variables, x-y-z, for the dimensions of the piece and three other variables, DX-DY-DZ, AX-AY-AZ, which give me the distance and orientation of the piece in way to redefine the step reference with another CS to use all the views of a default template.
An example in the PDF-JPG.
Thanks to everyone who can share something already done. Greetings Luca Carraro.

