Hello!
Would anyone write for me a script that would create offset plane, slice a body and project that to a sketch and then export it to DXF?
Or anyone could help me code that?
Right now I'm doing it manually and it takes me hours, because I'm slicing big body to thin elements.
I can't code, if I could I would do that myself.
I would be very, very grateful for any help.
Have you tried something like https://apps.autodesk.com/FUSION/en/Detail/Index?id=8699194120463301363&os=Win64&appLang=en?
Yes I tried it. I still want to make changes to the model and render it. With slicer I can only stack slices. I want to control the distance between slices and thickness of them.
https://a360.co/367EUa7
Hi lukasz_krzewick
I was interested in making a script.Because it takes time and effort, it is created with userInterface.selectEntity without creating a dialog.
Any number of slices based on the specified guide curve
Create at regular intervals and export with DXF.
After running the script
・Solid body selection
↓
・Select a curve to serve as a guide
(Sketch curve or edge)
↓
・Number of slices
(In fact, since the start point and end point are added, +2 will be added)
↓
・Finally, select the folder to export the DXF file.
The exported DXF file name is a ratio to the guide curve length.
Sketches whose slices have not been created will not be exported as DXF files.
Also, by setting “TEMPITEMDELETE =” near the top to True, the plane and sketch used for slicing are deleted and the script ends.
This is the behavior of TEMPITEMDELETE = False.
Attach a script file.