- added two new FlatCAM objects: FlatCAMScript and FlatCAMNotes

This commit is contained in:
Marius Stanciu
2019-10-01 18:24:15 +03:00
parent c685f41db0
commit ee0742db7a
7 changed files with 703 additions and 14 deletions

View File

@@ -186,21 +186,27 @@ class ObjectCollection(QtCore.QAbstractItemModel):
("gerber", "Gerber"),
("excellon", "Excellon"),
("geometry", "Geometry"),
("cncjob", "CNC Job")
("cncjob", "CNC Job"),
("script", "Scripts"),
("notes", "Notes"),
]
classdict = {
"gerber": FlatCAMGerber,
"excellon": FlatCAMExcellon,
"cncjob": FlatCAMCNCjob,
"geometry": FlatCAMGeometry
"geometry": FlatCAMGeometry,
"script": FlatCAMScript,
"notes": FlatCAMNotes
}
icon_files = {
"gerber": "share/flatcam_icon16.png",
"excellon": "share/drill16.png",
"cncjob": "share/cnc16.png",
"geometry": "share/geometry16.png"
"geometry": "share/geometry16.png",
"script": "share/script_new16.png",
"notes": "share/notes16_1.png"
}
root_item = None