Grasshopper

algorithmic modeling for Rhino

Hi guys

if I project a curve onto a surface how can I trim the surface with that curve ?

And also how can I create an array?
I would like to array a button along a line which is projected onto the surface.

Also I would like to array simple spheres along a surface and modifier the amount
of V and U. I looked into the demos and saw some morph box ideas.
But those are on the surface - I would like my sphere intersect 50% with the surface
so I could trim it.

Any directions?

Views: 1332

Replies to This Discussion

The Rhino SDK doesn't really like to trim surfaces with curves. It much prefers using surfaces to trim other surfaces. In the case of projections, this is easy as you can simply extrude the surface along the projection vector and use that for trimming. I'd do a search of the forum as there are definitions out there for splitting a brep with another one....

Arrays are simply repetitive transforms. What generally does pretty well as a "catch all" kind of transform is what's referred to as a Change Basis transform, which takes one plane and maps it to another. In your case, hook into the surface frames component, and have a "generic" frame that you can use for your geometry. Feed the planes and the geometry into the Orient component and you should be fine.

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