Grasshopper

algorithmic modeling for Rhino

I have two brep geometries that I am contouring to generate curves on each of them. The outer curves have a sine function applied to them. I divided both sets of curves in order to draw lines between each point so that I can eventually loft the lines to create a "wavy" surface that follows the shape of the brep. 

When i go to generate the lines, there's no organization to the lines and which points they attach to. I'm not sure what I'm missing, but I would like the lines to follow the path of the contour curves.

If anyone has any suggestions that would be great!

Views: 1906

Attachments:

Replies to This Discussion

My english is a little bad, could you post a drawing of what you wanth to do?

Hello,

I am also trying to figure out what you would like to do. Are you trying to connect all the outer curves with the inner curves or just the curves at the edge of the meshes? Because on the one mesh you have 136 contours and on the other one 127.

Gesthimani

Yes the reason for the mis-match in the contour count is because one base geometry is slightly shorter than the other. I attached a photo of a more recent rhino model I did but unfortunately had to construct the curved surface manually. 

I think I see what you're trying to do...are you trying to have something like several ruffled surfaces running from your inner geometry to your outer geometry?  Unfortunately, if this is the case, you're going to have a very difficult time of it, particularly by using contours..they are very hard to control for things like this, as the plane intersections that generate them between the inner and outer surfaces won't be organized identically (you can quickly see this by the differing data structures coming from your contour components).  So you have an ordering mess on your hands here.

Since your base geometry is a pretty nicely organized brep in the sense that it's entirely built up of untrimmed surfaces matched along their edges, a better approach would probably be to explode that brep and get surface frames for each piece, and use those to construct your points...the frames will give you a surface normal that you can use to offset your points, and the frames can operate as a means to apply the sin function for the ruffling you want.  It's still going to be very tricky, but I think it may be your best bet.

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service