Hi, I am trying to make a script to convert massive amount of files from stl to step or igs formats using python.
but I cant find the module to import to make these conversions..
does anyone knows where can I find this module or source code?
File Convert code
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: File Convert code
There are already example of batch conversion in this subforum.
However what you're trying to is basically nonsense. STL is a lossy tessellated format where you can't recover original shapes.
However what you're trying to is basically nonsense. STL is a lossy tessellated format where you can't recover original shapes.
Re: File Convert code
thank you, i will look at this sub forum.
but what do you mean by i cannot recover the original shape?
but what do you mean by i cannot recover the original shape?
Re: File Convert code
For example, a sphere that has been exported has been tessellated (shape is converted to a certain number of triangles). Converting to STEP such a shape will not make it back to a sphere (while STEP supports such kind of shapes). It will remain a myriad of triangles forever.