- updated Tcl commands to make use of either 0 or False for False value or 1 or True for True in case of a parameter with type Bool
This commit is contained in:
@@ -137,12 +137,12 @@ class TclCommandGeoCutout(TclCommandSignaled):
|
||||
return
|
||||
|
||||
if 'margin' in args:
|
||||
margin = args['margin']
|
||||
margin = float(args['margin'])
|
||||
else:
|
||||
margin = 0.001
|
||||
|
||||
if 'dia' in args:
|
||||
dia = args['dia']
|
||||
dia = float(args['dia'])
|
||||
else:
|
||||
dia = 0.1
|
||||
|
||||
@@ -152,7 +152,7 @@ class TclCommandGeoCutout(TclCommandSignaled):
|
||||
gaps = 4
|
||||
|
||||
if 'gapsize' in args:
|
||||
gapsize = args['gapsize']
|
||||
gapsize = float(args['gapsize'])
|
||||
else:
|
||||
gapsize = 0.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user