FreeCAD_SheetMetal icon indicating copy to clipboard operation
FreeCAD_SheetMetal copied to clipboard

[Feature] Using SheetMetal with FreeCAD without GUI (only CLI AKA 'headless')

Open gabrielgriesser opened this issue 2 years ago • 7 comments

Hello,

Is it possible to use the SheetMetal module in a python3 script which uses only FreeCAD cli commands ?

In fact, I would like to use the SheetMetalUnfolder function, but it seems FreeCADGUI has to be imported.

Can I unfold some shape without using GUI ?

Thank you in advance :)

gabrielgriesser avatar Apr 11 '22 12:04 gabrielgriesser

the sheet metal unfolder is an external macro that was integrated into sheetmetal workbench. It uses freecadgui. So, without code changes I don't think it is possible.

shaise avatar Apr 11 '22 13:04 shaise

Okay thank you for the quick answer ! :) So I should be able to use FreeCAD SheetMetal in a Dockerized FreeCAD with GUI container ? (for ex. https://github.com/ToddG/freecad-builder or https://gitlab.com/daviddaish/freecad_docker_env).

gabrielgriesser avatar Apr 11 '22 14:04 gabrielgriesser

Not familiar with that, so I really cant say.

shaise avatar Apr 11 '22 14:04 shaise

@gabrielgriesser feel free to post on the freecad forum. There is an interest in running FreeCAD in 'headless' mode and this could make a nice usecase.

Edit: don't forget to x-post the ticket to the thread and vice versa.

luzpaz avatar Apr 11 '22 15:04 luzpaz

?

luzpaz avatar Apr 26 '22 21:04 luzpaz

Sorry, here is the thread on the freecad forum ! https://forum.freecadweb.org/viewtopic.php?f=9&t=68323

gabrielgriesser avatar Apr 27 '22 08:04 gabrielgriesser

Any update on this ?

zuchtzucht avatar Mar 17 '23 12:03 zuchtzucht