Bool ops in GH

Intersecting breps or meshes is still not working? or is it me?

I’ve tried this over and over (and over with the guitar project) and keep getting wrong paths detection instead of the obvious results.

This should have been a simple incrustation of two elements to be cnc’ed but brep fails completely (top right), mesh fails halfway middle right…

split brep module failed against a half sphere squished on the z axis… as you can see here (top cuts near the dark plane (cut of the brep))

I tried all the obvious options and each time there are errors how the breps are cut when i tried the intersect modules solid different or intersection (left in the script below).

Only tried on RH8’s GH.

The logo is used on a personal basis without permission from the Ariel factory mind you (and the amount of time taken so script this was kind of sadistic that I didn’t redo it with a different logo (until i do), script is not annotated (coz short (cough cough) dev time) - it’s really simple though (go right and the lower you go you get to the end of the script…

Not sure if this is my error mixing the wrong objects

Here’s the script (1st 2026 GH script from scratch)

Ariel Bowl.gh (57.9 KB)

It’s just a tray for your Atom’s keys and ear buds… Im probably going to make it free since most Ariel owners are just bonkers who probably have a 3d printer anyway… Part tolerance fitting still do be interjected in there… :slight_smile:

the intersect brep to line seem to work but also seem like a lot more work to cut in the breps/meshes…

NTLDR: What’s the magic intersection trick here? I have seen last few models that intersecting breps or meshes results in either extra artifacts or uncut or overcut surfaces, illegal breps, open breps… Why isn’t GH/Rhino more intuitive with these operations?

Your A shape has a non-manifold edge

OK, gone researching that…

If you subtract a small box from the tip of the wedge shaped parts, the A-shape can be a closed brep.

The mesh boolean operation works, so does the solid boolean difference.

Ariel Bowl subtract small box.gh (59.1 KB)

Too complex for me but last time I checked, brep intersections work while meshes can be problematic.

“incrustation”:interrobang:

:rofl:

Thanks very much Martin! Was looking at that corner right now!

The logo incrusts/insets/inlays into the base/bowl… S’incruste… from French… my erreur…

Fixed by moving the triangle/logo_top point 1mm up! Cheap hack! Didn’t expect it to work so easily…

Fixed the mesh issue but not the brep… Let’s cnc this to see… (maybe in 1-2 weeks after cnc/garage pre-spring clean up) :wink:

Coincident or nearly coincident edges can also cause trouble.

Rotating the A-shape might also help if you want to do the experiment….

How are you going to CNC the pointy corner?

By cutting 3 parts that will be glued together. There are other hard to get angles in there. I do have a 0.1mm mill which a billiard cue maker gifted me some time ago but it would really limit the depth - it’s easier to split the parts in these cases plus it allows you to match wood grain angles with symmetry by doing them in triangular parts…

The circle can be yet another color… or i will paint it over once glued…

It’s easier to do with inlays…

But it’s also super easy to get it wrong in any corner (with chipping etc)… This one took 5 tries to get it right (mix of tolerances and cut angles)…