Grasshopper

algorithmic modeling for Rhino

Hey, guys, I was recently working on a building facade with undulating balcony railings, somehow, I run into this problem, I lofted two sets of curves into surfaces(or Brep as grasshopper recognized them) , and then the component "Offset Surface" won't work with these surfaces, because, (pic1) according to GH, "Data conversion failed from Brep to Surface".

However, if I bake these Breps into Rhino, I can perfectly use this command, and get my intended result as i like. (pic2)

So, did you guys met this problem b4? Any solution for it? Would be nice to get some hints from u. THX!

Views: 5811

Attachments:

Replies to This Discussion

The OffsetSrf needs a single Surface as input. Often curves contain segments or are split into segments while lofting. Even for single continuous curve this may result in a loft consisting of several surfaces jointed to one (BRep).

You might be able to explode the BReps into surfaces and offset each. Depending on the original surfaces, you can join the offset surfaces back into one.

The command will try to do this behind the scenes if you provide a BRep. Like if you offset a cube in Rhino, you need to specify how Rhino will join the edges of the offset. The GH component doesn't offer this option.

Hi thx 4 ur reply, Hannes, I did what u said, explode the BRep, yes, u r totally right, the surfaces now can be offset, however now they would intersect each other, the next thing will be stitch them together, but how to do that accurately, and hopefully the result would be the same as the one I manually created in Rhino? could u elaborate more? Thx!

You may want to try a different method for generating your base surface to avoid having to explode it at all.  You won't have any offset issue if you can keep it a continuous nurbs surface...your best bet for doing this may be to try use the sweep 2 component rather than the loft.

Alternatively, it appears that your surface is basically an extrusion in the z direction with a special trim for the top profile...you could build a trimmed surface simply by extruding your base curve and cutting off the top with your upper profile curve.  This surface would also offset cleanly.

Yeah, thx for the advice, I will try out ur idea as well. Currently, my solution was simply offset the curves first, and then loft them pair by pair, thus creating 4 surfaces, and then joining them, forming such a solid. Although I am not completely sure the result will be identical to the "offset solution", but they look pretty close.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service