Grasshopper

algorithmic modeling for Rhino

I made a pattern by rotating grid edges, then I want to place all these rotated elements on a flat surface and find the UV coordinates of the ends of these line segments.

How can I do that?

Views: 1644

Attachments:

Replies to This Discussion

Hi quishi,

you'll have to create a surface underneath your pattern. Make sure it's bigger than the pattern, otherwise you cannot project points to UV space losslessly. Then you can use the [Surface Closest Point] component to find the UV values of XYZ points.

--

David Rutten

david@mcneel.com

Thanks!David!

Actually, to create a correspond surface and a bit bigger than the grids is part of my question!

I find an answer you gave before using "surface from points" to get the correspond surface (which changes when I change the UV count of the grids), but it is smaller than the rotated grids!

I'd use the BoundingBox of all the line segments to create the base surface.

In this file I grow the box by 1% in all direction (-0.01 instead of 0, and +1.01 instead of +1), which is actually a redundant step. The boundingbox will be exactly big enough to handle all lines.

--

David Rutten

david@mcneel.com

Attachments:

Great! Thank you! David!

Hi David,

How did you get the line segments?

I used the same components as you did, but I didn't get the right results.

It looks like you have multiple Boxes, where as David's has a Union Box option displayed. Try changing this in the Context Menu of the BBox component.

I make it with your help!

Thanks! Danny!

Hi qiushi,

From the pattern there it looks like you might be working with reciprocal structures, in which case you might be interested in this alternative approach: http://www.grasshopper3d.com/group/kangaroo/forum/topics/reciprocal...

Instead of UV mapping the pattern it is generated from the edges of a mesh (which can be quads or triangles)

Thank you! Daniel!

It will be helpful for me!

In my research, I am going to map the 2d pattern on a 3d double curved surface, finally materialize it with a interlocking connection(which is similar with reciprocal structures). So you study is really helpful for me!

You'd better know this: MIT Master thesis:Design for assembly:a computational approach to construct interlocking wooden frames, 2012.

Thanks, I didn't actually know that MIT thesis - it looks interesting work.

This paper is also worth looking at (they use a surface mapping approach closer to what you described):

http://vecg.cs.ucl.ac.uk/Projects/SmartGeometry/reciprocal_frame/re...

Cool!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service