- fixed some errors in the buffer and isolate Tcl commands

- updated the camlib.Geometry.buffer() method
This commit is contained in:
Marius Stanciu
2022-01-26 17:12:03 +02:00
committed by Marius
parent 805cf75e85
commit d6d251173c
4 changed files with 33 additions and 15 deletions

View File

@@ -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'
]
}