|
@@ -6596,10 +6596,12 @@ class CNCjob(Geometry):
|
|
|
if geo['kind'][0] == 'C':
|
|
if geo['kind'][0] == 'C':
|
|
|
obj.add_shape(shape=poly, color=color['C'][1], face_color=color['C'][0],
|
|
obj.add_shape(shape=poly, color=color['C'][1], face_color=color['C'][0],
|
|
|
visible=visible, layer=1)
|
|
visible=visible, layer=1)
|
|
|
-
|
|
|
|
|
- obj.annotation.set(text=text, pos=pos, visible=obj.options['plot'],
|
|
|
|
|
- font_size=self.app.defaults["cncjob_annotation_fontsize"],
|
|
|
|
|
- color=self.app.defaults["cncjob_annotation_fontcolor"])
|
|
|
|
|
|
|
+ try:
|
|
|
|
|
+ obj.annotation.set(text=text, pos=pos, visible=obj.options['plot'],
|
|
|
|
|
+ font_size=self.app.defaults["cncjob_annotation_fontsize"],
|
|
|
|
|
+ color=self.app.defaults["cncjob_annotation_fontcolor"])
|
|
|
|
|
+ except Exception as e:
|
|
|
|
|
+ pass
|
|
|
|
|
|
|
|
def create_geometry(self):
|
|
def create_geometry(self):
|
|
|
# TODO: This takes forever. Too much data?
|
|
# TODO: This takes forever. Too much data?
|