Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to cut complex stl #37

Open
LeoReubelt opened this issue Mar 8, 2024 · 2 comments
Open

Not able to cut complex stl #37

LeoReubelt opened this issue Mar 8, 2024 · 2 comments

Comments

@LeoReubelt
Copy link

I have an stl of a bone that I am trying to cut with a sphere as shown below. The image is what i see with showOperations=true. But without that, all i get is a blank screen. I have tried it with a box and a sphere and it worked fine. Is the bone model just too complex?

                <mesh>
                    <Geometry>
                        <Base geometry={geometry}>
                            <meshPhysicalMaterial color={`green`} />
                        </Base>
                        <Subtraction position={[0, -150, 900]}>
                            <sphereGeometry args={[50, 64, 64]} />
                            <meshPhysicalMaterial color={`red`} />
                        </Subtraction>
                    </Geometry>
                </mesh>

Screenshot 2024-03-08 at 7 25 29 AM

@LeoReubelt
Copy link
Author

I am also getting TypeError: Cannot read properties of undefined (reading ‘count’)

@marcofiletto
Copy link

make sure your geometry has the boundingBox property defined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants