Grasshopper

algorithmic modeling for Rhino

Hi all, i want to produce a cylindrical anamophosis , i know the way to do a normal anamophosis, are there any ways to achieve it in grasshopper , can i merely change the original definition or i have to come up with a new one ?  The common defination of anamophosis is attached below with the outcome i want to achieve. Thank you!!!

Views: 1570

Attachments:

Replies to This Discussion

What sort of geometry are you hoping to deform? Is it meshes? Curves? Breps? Is the geometry dense enough to be deformed on a vertex by vertex basis, or does it need to be locally adapted?

Hi, i am trying to deform a building i built in rhino, its a berp but i can turn it into mesh if needed for the deformation.it should be dense enough , worst case senerio i can even turn that into a  mass model which is just a few blocks.  it's the best to have everything including the mullion, but i think the file might be to big to do so ? 

If you have a dense enough mesh then it's the simplest case because a mesh is easily deformable. Simple shapes like long lines or big boxes will have to be deformed into curved geometry and this conversion is mathematically complicated. So, if you can go for meshes, absolutely do so.

So the next question is how to map a point from the 'visual' space into the xyz space, using some custom mirror. I've never done this before, but I imagine what you do is pick a location for the eye and place the target shape inside the cylinder. Then, for each point in the target shape, see where the line from the eye to that point intersects the cylinder, figure out the reflection angle (should be easy, just rotate the view ray through 180 degrees around the cylinder normal) and measure the distance from the intersection point to the target point.

Is that all there is to it?

Yup, seems to be all there's to it.

Attachments:

Nice!

Is there a better way than string operations to work with  the param [Mesh Face]?

(E.g. if I would want turn the mesh outside-in again, I need quite some effort to convert to a list of Int, reverse and reformat the list.)

yeah that's it , sounds pretty hard to do, but i am a bit confused about the points , i will give it a try , thanks a lot 

You did see the file I attached to that post right?

oh ,i missed it , thank you so much!!!

Just spotted that one: I have a C# that does that (in 3 modes: pt to pt, cylindrical and spherical) ... but I sincerely doubt if you can do something realistic (watertight meshes for 3d printing, that is) out of a relatively complex building.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service