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, or Z=0.
  • 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, or xor.
  • fill type

  • 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 or last of the list of input curves/polygons.
  • 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), or subject (the curve/polygon to operate on).
  • 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.
  • Requires at least two curve/polygon input primitives.

  • Other names for this node include: CurveBoolean, Curve boolean, and Polygon boolean.

Examples