Grasshopper

algorithmic modeling for Rhino

Hi All

I'm having some problems differenciating some breps from a big one, and I'm almost sure that I can solve it, doing the difference one by one (srcipted).

I have a brep (solid) called "brep_main" and a list of breps (solids) called "brep_sub" to be substracted from the first solid. I think that if I can substract one by one from brep_main it will work, Don't know

Can somebody help?

Views: 275

Replies to This Discussion

Hi Pep,

the RMA.Rhino.RhUtil.RhinoBooleanDifference method accepts arrays of BReps as inputs. You could do this in one step (provided the Difference operation works).

When you subtract a single BRep from another Brep, you can end up with any number of result BReps. So if you insist on doing this one by one, your logic has to be able to deal with this case.

What language are you writing in?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
I'm not such a good writer (not even a writer). I was trying to edit a Vb code found somwhere... I'll try it, but not undrestandig all the aguments for boolean difference needed. Thanks for your time, i'll try to work it out
Sorry for bothering, it was a modelling error, not a component problem, no need to script.

Thanks, anyway!

RSS

About

Translate

Search

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service