0

I can define a CSG.Plane with a normal and a constant w like this:

CSG.Plane = function(normal, w) {
    this.normal = normal;
    this.w = w;
};

How can I now use this CSG plane in a boolean subtract operation?

I think I have to somehow convert the plane to a CSG.Node, but I don't know how to do without having any vertices...

1 Answer 1

1

It looks like you're using CSG.JS. If that is correct you can't do CSG operations with a plane because the operations assume a closed mesh. Its an attractive option to use a plane to clip a mesh but it doesn't work. I've been working on this issue myself and will be creating a giant box to do the operation.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.