Merge branch 'master' of https://gitlab.com/robossembler/framework into 59-freecad2pddl

This commit is contained in:
Mark Voltov 2023-06-18 18:50:47 +03:00
commit 62949e8292
107 changed files with 44329 additions and 135 deletions

View file

@ -315,26 +315,24 @@ uidir = os.path.join(FreeCAD.getUserAppDataDir(),
"Mod", __workbenchname__, "UI")
icondir = os.path.join(uidir, "icons")
# Tools.spawnClassCommand("FrameCommand",
# makeFrame,
# {"Pixmap": str(os.path.join(icondir, "frame.svg")),
# "MenuText": "Make a free frame",
# "ToolTip": "Make a freestanding reference frame."})
Tools.spawnClassCommand("BoMGeneration",
run_BoM_list,
{"Pixmap": str(os.path.join(icondir, "BoMList.svg")),
"MenuText": "Generate Bill of Materials",
"ToolTip": "Press the button to create big BoM"})
# Tools.spawnClassCommand("ASM4StructureParsing",
# Asm4StructureParseUseCase().initParse,
# {"Pixmap": str(os.path.join(icondir, "assembly4.svg")),
# "MenuText": "Make a ASM4 parsing",
# "ToolTip": "Make a ASM4 1"})
# Tools.spawnClassCommand("SelectedPartFrameCommand",
# makeSelectedPartFrames,
# {"Pixmap": str(os.path.join(icondir, "partframe.svg")),
# "MenuText": "selected parts frames",
# "ToolTip": "Make selected parts frames."})
Tools.spawnClassCommand("FrameCommand",
makeFrame,
{"Pixmap": str(os.path.join(icondir, "frame.svg")),
"MenuText": "Make a free frame",
"ToolTip": "Make a freestanding reference frame."})
Tools.spawnClassCommand("SelectedPartFrameCommand",
makeSelectedPartFrames,
{"Pixmap": str(os.path.join(icondir, "partframe.svg")),
"MenuText": "selected parts frames",
"ToolTip": "Make selected parts frames."})
Tools.spawnClassCommand("AllPartFramesCommand",
makeAllPartFrames,