- fixed the description for the new Tcl command buffer
This commit is contained in:
@@ -11,6 +11,7 @@ CHANGELOG for FlatCAM beta
|
|||||||
|
|
||||||
- added a new Tcl command: `buffer` which will buffer the geometry of an object or will scale individually each geometry sub element
|
- added a new Tcl command: `buffer` which will buffer the geometry of an object or will scale individually each geometry sub element
|
||||||
- fixed the buffer() method for the Excellon objects (the resulting tool diameters were calculated less than the what was expected)
|
- fixed the buffer() method for the Excellon objects (the resulting tool diameters were calculated less than the what was expected)
|
||||||
|
- fixed the description for the new Tcl command `buffer`
|
||||||
|
|
||||||
19.01.2022
|
19.01.2022
|
||||||
|
|
||||||
|
|||||||
@@ -48,16 +48,16 @@ class TclCommandBuffer(TclCommand):
|
|||||||
|
|
||||||
# structured help for current command, args needs to be ordered
|
# structured help for current command, args needs to be ordered
|
||||||
help = {
|
help = {
|
||||||
'main': "Works only on Geometry objects.\n"
|
'main': "Works only on Geometry, Gerber and Excellon objects.\n"
|
||||||
"Buffer the object by a distance or to scale each geometric element using \n"
|
"Buffer the object by a distance or to scale each geometric element using \n"
|
||||||
"the center of its individual bounding box as a reference.\n"
|
"the center of its individual bounding box as a reference.\n"
|
||||||
"If 'factor' is True(1) then 'dist' is the scale factor for each geometric element.",
|
"If 'factor' is True(1) then 'dist' is the scale factor for each geometric element.",
|
||||||
'args': collections.OrderedDict([
|
'args': collections.OrderedDict([
|
||||||
('name', 'Name of the Geometry object to be buffered. Required.'),
|
('name', 'Name of the Geometry, Gerber or Excellon object to be buffered. Required.'),
|
||||||
('dist', 'Distance to which to buffer each geometric element.'),
|
('dist', 'Distance to which to buffer each geometric element.'),
|
||||||
('join', 'How two lines join and make a corner: round (1), square (2) or bevel (3). Default is: round'),
|
('join', 'How two lines join and make a corner: round (1), square (2) or bevel (3). Default is: round'),
|
||||||
('factor', "If 'factor' is True(1) then 'distance' parameter\n"
|
('factor', "If 'factor' is True(1) then the 'distance' parameter\n"
|
||||||
"is the scale factor for each geometric element")
|
"is the scale factor for each geometric element that is scaled (individually)")
|
||||||
|
|
||||||
]),
|
]),
|
||||||
'examples': [
|
'examples': [
|
||||||
|
|||||||
Reference in New Issue
Block a user