Grasshopper Solid Difference not working

Hi! I am trying to use solid difference to subtract multiple vertical fins from a lofted surface.

When I bake the breps, a boolean difference runs perfectly fine, so I am unsure why my the solid difference won’t work. (The solid diffence will only join the objects) Does anyone have experience with this? Any advice is greatly appreciated!

24-0603 Maritime Wall_Working.gh (63.0 KB)

Hi @Jacob_Middleton,

Can you provided a simplified .gh file? One that does not use 3rd party components and that just had the relevant geometry and Boolean operation?

Thanks,

– Dale

@dale apologies for the messy script. Here is a simplified GH file.

24-0604 Solid Difference.gh (85.1 KB)

Thanks!
Jacob

Hi @Jacob_Middleton,

See my comments in the attached.

24-0604 Solid Difference FIXED.gh (87.0 KB)

– Dale

Hi @dale, thanks for your help on this, but the gh file you uploaded isn’t giving me the desired result. Perhaps I wasn’t clear with my original explanation.


24-0604 Baked Geometry.3dm (5.2 MB)

My end goal is to split the brep into several different surfaces using the vertical fins. Is this achievable?

Looks like the component was running 32 times, not once.

24-0604 Solid Difference FIXED.gh (87.0 KB)

This works better.

– D

@dale how did you set the component to only run once? when i copy this back into my original gh definition I am encountering the same issue as before.

(I am unfamiliar with C#; apologies for all of my questions)

Hi @Jacob_Middleton,

I wasn’t sure how the Breps were internalized. So I just baked them, re-set them and re-internalized them.

– Dale

@dale is there a way to make the script work if the breps aren’t internalized?

Sure - just pass it two lists of Breps.

– Dale

Got it figured out, thank you so much for your help on this @dale

1 Like