Index: 09_appendix/action_details.html =================================================================== --- 09_appendix/action_details.html (revision 31736) +++ 09_appendix/action_details.html (revision 31737) @@ -2663,6 +2663,67 @@ +
+
Syntax summary: | +PstkProto([noundo,] unite|isect|sub, [poly1, poly2, [poly...]]) + |
---|---|
Help text: | +Perform polygon boolean operation on the clipped polygons referred. A poly is either and idpath, selected, found or object (for the object under the cursor). When not specified, two object polygons are used. + |
Registered by: | +act_draw + |
+The boolean operation argument is one of these: +
+ A polygon is a pcb layer object, that is: if it's fullpoly, it may have multiple islands. The result is zero or more polygon layer objects, each with a single island, created on the current layer. +
+ The rest of the arguments will build a flat list of polygon objects to work on and need to address at least two polygons. Each argument may be one of: +
+ Note: for the + +sub + + operation the first polygon is special, so order of attributes matter. When using + +selected + + or + +found + + to address polygons, if multiple polygons are selected or found at the time, the order they end up added to the operation object list is undefined. +
+ Input polygons are unchanged, new polygons are created on the current layer. +
Index: 09_appendix/action_reference.html =================================================================== --- 09_appendix/action_reference.html (revision 31736) +++ 09_appendix/action_reference.html (revision 31737) @@ -13,7 +13,7 @@
Action | Description | Syntax | Plugin |
---|---|---|---|
About | Present the about box | About() | dialogs plugin | @@ -269,7 +269,7 @@
pcb_tan | script plugin | ||
perp | Draw a line perpendicular to another line | perp() | ddraft plugin |
Pinout | Present the subcircuit pinout box | Pinout() | dialogs plugin | -
PolyBool | Perform polygon boolean operation on the clipped polygons referred. A poly is either and idpath, selected, found or object (for the object under the cursor). When not specified, two object polygons are used. | PstkProto([noundo,] unite|isect|sub|xor, [poly1, poly2, [poly...]]) | act_draw | +
PolyBool | Perform polygon boolean operation on the clipped polygons referred. A poly is either and idpath, selected, found or object (for the object under the cursor). When not specified, two object polygons are used. | PstkProto([noundo,] unite|isect|sub, [poly1, poly2, [poly...]]) | act_draw |
PolyCombine | polycombine plugin | ||
Polygon | Some polygon related stuff. | Polygon(Close|CloseHole|PreviousPoint) | |
PolyHatch | hatch the selected polygon(s) with lines of the current style; lines are drawn on the current layer; flags are h:horizontal, v:vertical, c:contour, p:poly | PolyHatch([spacing], [hvcp]) PolyHatch(interactive) | lib_polyhelp |