Boolean 2d paths
Performs 2D boolean operations on curves/polygons.
Inputs
-
geometry
- Accepts multiple geometry connections.
-
work plane
- The work plane in which the 2D boolean operation will be performed in. This can be
X=0
,Y=0
, orZ=0
.
- The work plane in which the 2D boolean operation will be performed in. This can be
-
pre-flatten
- Flattens the input curves/polygons into the work plane defined by the work plane input before the 2D boolean operation.
-
boolean type
- Sets the type of 2D boolean operation to be performed. This can be
intersect
,union
,difference
, orxor
.
- Sets the type of 2D boolean operation to be performed. This can be
-
fill type
- Sets the type of fill that is considered when the 2D boolean operation is performed. For more information visit: http://www.angusj.com/delphi/clipper/documentation/Docs/Units/ClipperLib/Types/PolyFillType.htm
-
primary polygon
- Sets which input curve/polygon is to be considered as the primary polygon in the 2D boolean operation. This can be the
first
orlast
of the list of input curves/polygons.
- Sets which input curve/polygon is to be considered as the primary polygon in the 2D boolean operation. This can be the
-
primary role
- Sets the role of the primary curve/polygon (as defined by the primary polygon input). This can be
clip
(the curve/polygon to operate with), orsubject
(the curve/polygon to operate on).
- Sets the role of the primary curve/polygon (as defined by the primary polygon input). This can be
-
close resulting curves
- Sets whether to close the resulting curves/polygons after the 2D boolean operation.
Outputs
-
geometry
- Output primitives.
-
points
- The list of points of the output curve/polygon primitives.
-
points.x
- The list of x values of the points of the output curve/polygon primitives.
-
points.y
- The list of y values of the points of the output curve/polygon primitives.
-
points.z
- The list of z values of the points of the output curve/polygon primitives.
Note(s)
-
2D boolean operations are projected back to the selected work plane defined by the work plane input.
- If pre-flatten is
false
, then all curves that are to be operated on need to be on the defined work plane. Otherwise the operation will fail, or curves/polygons will be excluded from the operation.
- If pre-flatten is
-
Requires at least two curve/polygon input primitives.
-
Other names for this node include: CurveBoolean, Curve boolean, and Polygon boolean.