Automate unfolding

Need help, or want to share a macro? Post here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
HalpPlease
Posts: 9
Joined: Tue Mar 14, 2023 10:26 am

Automate unfolding

Post by HalpPlease »

Greetings,

I saw some ancient forum posts about this, however I cant find any recent updates on this.

Is there a way to do this ?
Gonna sketch the situation, load in STP file from a webapp, it calls a Python script that uses the FreeCAD API and unfolds the entire STP file, spitting out every possible calculation of it.

Seems kinda pointless to make something myself to do this no?

Thanks in advance.
User avatar
onekk
Veteran
Posts: 6215
Joined: Sat Jan 17, 2015 7:48 am
Contact:

Re: Automate unfolding

Post by onekk »

HalpPlease wrote: Mon Mar 20, 2023 11:57 am Greetings,

I saw some ancient forum posts about this, however I cant find any recent updates on this.

Is there a way to do this ?
Gonna sketch the situation, load in STP file from a webapp, it calls a Python script that uses the FreeCAD API and unfolds the entire STP file, spitting out every possible calculation of it.

Seems kinda pointless to make something myself to do this no?

Thanks in advance.

STP is a CAD interchange file:

https://en.wikipedia.org/wiki/ISO_10303-21


What you have to unfold, it is not a piece of paper. some surface are not developable, in other word could not be represented in a plane, see as example a sphere, you have not a way to unfold, only projection with some extents and errors, see topograghy about related problems when projecting the earth spherical (not exactly, but almost spherical) on a piece of paper to make a Map.

Regards

Carlo D.
GitHub page: https://github.com/onekk/freecad-doc.
- In deep articles on FreeCAD.
- Learning how to model with scripting.
- Various other stuffs.

Blog: https://okkmkblog.wordpress.com/
Post Reply