Add icons and test model
|
@ -11,7 +11,7 @@ from .usecases.asm4parser_usecase import Asm4StructureParseUseCase
|
||||||
from .constraints_operator import create_assembly_parameters, create_fastener_set, create_assembly_sequence, create_clearance_constraint, export_assembly_settings
|
from .constraints_operator import create_assembly_parameters, create_fastener_set, create_assembly_sequence, create_clearance_constraint, export_assembly_settings
|
||||||
from .geometric_feasibility_predicate.main import main as structure_analysis
|
from .geometric_feasibility_predicate.main import main as structure_analysis
|
||||||
from .asm_graph import main as asm_graph
|
from .asm_graph import main as asm_graph
|
||||||
from .autodock_generator import main as asm_layers
|
# from .autodock_generator import main as asm_layers
|
||||||
from .assembly_graph_generation import main as structure_graph
|
from .assembly_graph_generation import main as structure_graph
|
||||||
|
|
||||||
if FreeCAD.GuiUp:
|
if FreeCAD.GuiUp:
|
||||||
|
@ -337,42 +337,42 @@ spawnClassCommand("Publish_Project",
|
||||||
"ToolTip": "Save and export project files"})
|
"ToolTip": "Save and export project files"})
|
||||||
spawnClassCommand("Create Assembly Parameters",
|
spawnClassCommand("Create Assembly Parameters",
|
||||||
create_assembly_parameters,
|
create_assembly_parameters,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "galternatives.ico")),
|
||||||
"MenuText": "Create Assembly Parameters",
|
"MenuText": "Create Assembly Parameters",
|
||||||
"ToolTip": "Create Assembly Parameters"})
|
"ToolTip": "Create Assembly Parameters"})
|
||||||
spawnClassCommand("Create Fastener Set",
|
spawnClassCommand("Create Fastener Set",
|
||||||
create_fastener_set,
|
create_fastener_set,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "screw26.ico")),
|
||||||
"MenuText": "Create Fastener Set",
|
"MenuText": "Create Fastener Set",
|
||||||
"ToolTip": "Create Fastener Set"})
|
"ToolTip": "Create Fastener Set"})
|
||||||
spawnClassCommand("Compute Assembly Sequence",
|
spawnClassCommand("Compute Assembly Sequence",
|
||||||
structure_analysis,
|
structure_analysis,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "free-icon-software-5741483.png")),
|
||||||
"MenuText": "Create Fastener Set",
|
"MenuText": "Compute Assembly Sequence",
|
||||||
"ToolTip": "Create Fastener Set"})
|
"ToolTip": "Compute Assembly Sequence"})
|
||||||
spawnClassCommand("Create Assembly Sequence",
|
spawnClassCommand("Create Assembly Sequence",
|
||||||
create_assembly_sequence,
|
create_assembly_sequence,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "assembly.ico")),
|
||||||
"MenuText": "Create Assembly Sequence",
|
"MenuText": "Create Assembly Sequence",
|
||||||
"ToolTip": "Create Assembly Sequence"})
|
"ToolTip": "Create Assembly Sequence"})
|
||||||
spawnClassCommand("Export Assembly Settings",
|
spawnClassCommand("Export Assembly Settings",
|
||||||
export_assembly_settings,
|
export_assembly_settings,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "free-icon-export-724827.ico")),
|
||||||
"MenuText": "Export Assembly Settings",
|
"MenuText": "Export Assembly Settings",
|
||||||
"ToolTip": "Export Assembly Settings"})
|
"ToolTip": "Export Assembly Settings"})
|
||||||
spawnClassCommand("Create Assembly Layers",
|
# spawnClassCommand("Create Assembly Layers",
|
||||||
asm_layers,
|
# asm_layers,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
# {"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
||||||
"MenuText": "Create Assembly Layers",
|
# "MenuText": "Create Assembly Layers",
|
||||||
"ToolTip": "Create Assembly Layers"})
|
# "ToolTip": "Create Assembly Layers"})
|
||||||
spawnClassCommand("Create Structure Graph",
|
spawnClassCommand("Create Structure Graph",
|
||||||
structure_graph,
|
structure_graph,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "pngwing.com.ico")),
|
||||||
"MenuText": "Create Structure Graph",
|
"MenuText": "Create Structure Graph",
|
||||||
"ToolTip": "Create Structure Graph"})
|
"ToolTip": "Create Structure Graph"})
|
||||||
spawnClassCommand("Create Assembly Graph",
|
spawnClassCommand("Create Assembly Graph",
|
||||||
asm_graph,
|
asm_graph,
|
||||||
{"Pixmap": str(os.path.join(ICONPATH, ".svg")),
|
{"Pixmap": str(os.path.join(ICONPATH, "iteration_3316689.ico")),
|
||||||
"MenuText": "Create Assembly Graph",
|
"MenuText": "Create Assembly Graph",
|
||||||
"ToolTip": "Create Assembly Graph"})
|
"ToolTip": "Create Assembly Graph"})
|
||||||
|
|
||||||
|
|
|
@ -57,7 +57,7 @@ class Robossembler(Gui.Workbench):
|
||||||
"Create Assembly Sequence",
|
"Create Assembly Sequence",
|
||||||
"Export Assembly Settings",
|
"Export Assembly Settings",
|
||||||
"Compute Assembly Sequence",
|
"Compute Assembly Sequence",
|
||||||
"Create Assembly Layers",
|
# "Create Assembly Layers",
|
||||||
"Create Structure Graph",
|
"Create Structure Graph",
|
||||||
"Create Assembly Graph"
|
"Create Assembly Graph"
|
||||||
|
|
||||||
|
|
After Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 20 KiB |
After Width: | Height: | Size: 66 KiB |
After Width: | Height: | Size: 10 KiB |
After Width: | Height: | Size: 237 KiB |
After Width: | Height: | Size: 66 KiB |