Skip to main content

Boolean Operation (CSG)

The plugin provides the Boolean Operation dynamic model. It combines the models from two slots using a set operation—usually to cut something out of a model.

Typical use cases:

  • a cutout in a countertop for a sink or cooktop,
  • an opening in a wall for a window,
  • a hole whose position is specified by the customer.

Prerequisites​

Setup​

1. Create a model​

  • In the sidebar, click
    Loading...
    , then
    Loading...
    .
  • Select Boolean Operation and click the "+" button.
  • Give the model a name, e.g., "Countertop with Cutout."

The model includes two slots:

SlotMeaning
BaseThe model to be cut from
OperationThe model that serves as the tool

2. Place the model in the scene​

Place the Boolean operation in the scene using a rule. The result appears at its position.

3. Place models in the slots​

In the rules that display the models involved, select the appropriate slot in the header of the Model column under Slot Assignment—the countertop under Base, the cutout under Operation.

The tool model is no longer drawn by the system itself. You can therefore create it as a visible rectangular prism and position it as usual—in the result, you will only see the hole.

4. Select Operation​

In the

Loading...
dialog box behind the model, set the operation under mode:

ValueOperation
0Difference – Base minus Operation (Default)
1Union
2Intersection
3Symmetric difference
4Inverse difference – Operation minus base

Since this is a Berechnung, the operation may also depend on the customer’s selection.

Materials and Colors​

Each mesh of the base is cut individually and retains its material. Color changes, material changes, and blends affect the result in exactly the same way as they do the original model.

Limitations​

  • Boolean operations are computationally intensive. Use them judiciously and check the result even on less powerful devices.
  • The tool model should penetrate the base cleanly. Surfaces that lie exactly on top of each other lead to artifacts—it’s better to let the tool extend slightly beyond the base.