- in Corner Markers Plugin - finished the feature of adding markers geometry to an external Geometry object
This commit is contained in:
@@ -12,6 +12,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
- the Plugins object combo boxes are no longer updated on object selection on Project tab generally but only for the Plugin that is current, if any
|
- the Plugins object combo boxes are no longer updated on object selection on Project tab generally but only for the Plugin that is current, if any
|
||||||
- in Corner Markers Plugin I added a new feature, ability to insert existing markers into external objects. Finished the work for external Gerbers and work in progress for the external Geometry
|
- in Corner Markers Plugin I added a new feature, ability to insert existing markers into external objects. Finished the work for external Gerbers and work in progress for the external Geometry
|
||||||
- the Editors require an Object UI build before launching; I've added the required code so the shortcut keys work even if the Properties tab is not current
|
- the Editors require an Object UI build before launching; I've added the required code so the shortcut keys work even if the Properties tab is not current
|
||||||
|
- in Corner Markers Plugin - finished the feature of adding markers geometry to an external Geometry object
|
||||||
|
|
||||||
7.10.2021
|
7.10.2021
|
||||||
|
|
||||||
|
|||||||
@@ -630,6 +630,11 @@ class ToolCorners(AppTool):
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# remove possible tools without geometry
|
||||||
|
for tool in list(new_tools.keys()):
|
||||||
|
if not new_tools[tool]['solid_geometry']:
|
||||||
|
new_tools.pop(tool)
|
||||||
|
|
||||||
s_list = []
|
s_list = []
|
||||||
if new_geo_obj.solid_geometry:
|
if new_geo_obj.solid_geometry:
|
||||||
if isinstance(new_geo_obj.solid_geometry, MultiPolygon):
|
if isinstance(new_geo_obj.solid_geometry, MultiPolygon):
|
||||||
@@ -653,8 +658,7 @@ class ToolCorners(AppTool):
|
|||||||
def initialize(geo_obj, app_obj):
|
def initialize(geo_obj, app_obj):
|
||||||
geo_obj.options = LoudDict()
|
geo_obj.options = LoudDict()
|
||||||
for opt in new_geo_obj.options:
|
for opt in new_geo_obj.options:
|
||||||
if opt != 'name' and opt in geo_obj.options:
|
geo_obj.options[opt] = deepcopy(new_geo_obj.options[opt])
|
||||||
geo_obj.options[opt] = deepcopy(app_obj.options[opt])
|
|
||||||
geo_obj.options['name'] = outname
|
geo_obj.options['name'] = outname
|
||||||
|
|
||||||
# Propagate options
|
# Propagate options
|
||||||
|
|||||||
Reference in New Issue
Block a user