Is there a newbie guide that implements the Boolean feature?

Hi, I’ve recently been conceptualizing an extension that has effects involving boolean functions that remove a component from another object and most likely none of them are entities, but I don’t know where to start, does anyone know the general implementation logic?

Here are the methods for Sketchup::ComponentInstance :

The intersect method is used to compute the boolean intersection of two instances representing manifold solid volumes (this - arg).

The outer_shell method is used to compute the outer shell of the two instances representing manifold solid volumes (this || arg).

The split method is used to compute the boolean split (map overlay)of the two instances representing manifold solid volumes (this - arg).

The subtract method is used to compute the boolean difference of the two instances representing manifold solid volumes (this - arg).

The trim method is used to compute the (non-destructive) boolean difference of the two instances representing manifold solid volumes (this - arg).

The union method is used to compute the boolean union of the two instances representing manifold solid volumes (this | arg).

_
You can find same methods for:
Sketchup::Group

2 Likes

What do you mean by this?