Part.add_feature

Part.add_feature(shape, operation)[source]

Add a feature to the shape of the part and the operation through which it should be integrated.

Parameters
  • shape (compas.geometry.Shape) – The shape of the feature.

  • operation ({‘union’, ‘difference’, ‘intersection’}) – The boolean operation through which the feature should be integrated in the base shape.