- fixed some errors in the buffer and isolate Tcl commands
- updated the camlib.Geometry.buffer() method
This commit is contained in:
@@ -44,7 +44,7 @@ class TclCommandBuffer(TclCommand):
|
||||
])
|
||||
|
||||
# array of mandatory options for current Tcl command: required = {'name','outname'}
|
||||
required = ['name', 'distance']
|
||||
required = ['name', 'dist']
|
||||
|
||||
# structured help for current command, args needs to be ordered
|
||||
help = {
|
||||
@@ -67,7 +67,7 @@ class TclCommandBuffer(TclCommand):
|
||||
'buffer my_geo -dist 4.2 -factor True',
|
||||
'buffer my_geo -dist 4.2 -factor 1',
|
||||
'# scale each geo element by a factor of 4.2 in the my_geo Geometry obj and the join is 2 (square)',
|
||||
'buffer my_geo -distance 4.2 -factor True -join 2'
|
||||
'buffer my_geo -dist 4.2 -factor True -join 2'
|
||||
]
|
||||
}
|
||||
|
||||
|
||||
@@ -84,7 +84,7 @@ class TclCommandIsolate(TclCommandSignaled):
|
||||
par = args['combine']
|
||||
args['combine'] = bool(eval(par))
|
||||
else:
|
||||
args['combine'] = bool(eval(self.app.defaults["tools_iso_combine_passes"]))
|
||||
args['combine'] = bool(eval(str(self.app.defaults["tools_iso_combine_passes"])))
|
||||
|
||||
obj = self.app.collection.get_by_name(name)
|
||||
if obj is None:
|
||||
|
||||
Reference in New Issue
Block a user