FreeCAD_SheetMetal icon indicating copy to clipboard operation
FreeCAD_SheetMetal copied to clipboard

Where is the Python API documentation?

Open ceremcem opened this issue 7 years ago • 2 comments

I'd like to write a macro to unfold a geometry programmatically, in order to make an attempt to resolve #40 . Where can I find the Python API?

ceremcem avatar Sep 15 '18 16:09 ceremcem

you can start here: https://www.freecadweb.org/wiki/Power_users_hub

shaise avatar Sep 15 '18 16:09 shaise

I thought there could be a simple method, like

from sheetmetal import sm
sm.unfold(my_folded_object, surface.point, surface.normal, out_solid_name, out_sketch_name) 

(something like that)

ceremcem avatar Sep 15 '18 16:09 ceremcem