Grasshopper

algorithmic modeling for Rhino

http://www.grasshopper3d.com/forum/topics/need-urgent-help-in-grass...

Replies are closed for this discussion.

What?  Closed after two hours and two replies?  WHY?

See this thread: Trimmed Brep with Spheres

Views: 691

Attachments:

Replies to This Discussion

Yeah I wish I could disable the close discussion option.

In the original thread, David said this:

Also note the spheres on the inside of the box will not boolean. Shapes need to touch in order to be cut.

I wonder if one could get around that by:

  1. slicing the box into sections, sized so that spheres always touch a section surface.
  2. doing the solid boolean difference ('SDiff') for each section separately.
  3. then joining the holed sections together again?

A join operation will return an array of breps, so it would break apart the shapes again. Rhino has a lot of fail-safe code to make sure a single brep only ever contains connected pieces. 

Sorry joseph. I wrongly closed the discussion and trying algorithm as per David suggestion.Now discussion option been disabled. 

I tried above logic but i doesn't work for cutting sphere inside a box.

Hopefully i will try for slicing box and joining it again.

I didn't bother to space the spheres to make them non-overlapping as David suggests but this shows that the idea of splitting the box into sections sort of works.  But the 'SUnion (Solid Union)' of the holed sections failed, just as he predicted:

The baked sections render well though, hiding the divisions:

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service