Grasshopper

algorithmic modeling for Rhino

Hello Everyone!

So I am designing something with Rhino that I know can be more efficient in grasshopper, but I am having a bit of trouble recreating it with grasshopper. I am fairly new at grasshopper, so if you can help me out with this and teach me how this script works that will be awesome. So as far as what I have done in grasshopper is that I have gotten as far as subdividing the strips into long strands but do not know how to approach the next phase using spatial deformation. Can anyone please help me with this script, I really appreciate it. I have tried many searches but are unsuccessful and now I turn to you all, the community for the answer. 

Views: 1380

Attachments:

Replies to This Discussion

Well ... I did this attached some time ago for a fellow user who likes lamps. Not exactly spot on with regard your goal ... but with few mods here and there  ... who knows?

More soon in the trad V4 update

Attachments:

Thank you! But I have no where to begin to do these modifications. Do you think you may assist me in figuring it out. I am pretty new at grasshopper and this script looks insanely foreign and complex to me. Thanks again. 

Well ...

1. Imagine a variable amount of stripes: say 30 or more or less. The ideal way to do this is a capability to individually modify the stripes (by "influencing" the corresponding nurbs control points) ... thus creating "bulges" on a per stripe basis.

2. Imagine a slider that allows you to access some stripe and another slider that controls some attractor "along" the stripe "main axis" that modifies accordingly the nurbs (stripe) control points in push/pull mode ...

3. ... but you are not ready for that kind of stuff (not to mention that actually is only achievable via code) > so I must figure out ... er ... hmm... the wrong way to do that.

So ... let's start from a single stripe and exploit the recommended way to "vary" surf grid points according to some attractor influence (push/pull). In plain English: "deform" the surface, that is.

Study this and we talk later.

BTW: The free bonus is some (very simple) code for doing things that are not available via GH native components (like rebuilding a surface, for instance). Keep this for some other time and some other place, he he.

BTW: The "problem" arise when you have N stripes and you want to do that on a per stripe basis (also: creating the attractor "path" automatically "along" the stripe main axis, so to speak). But as I said: you are not ready for that type of stuff.

Attachments:

Added some "stand-alone" Deform options (one is ultra LOL).

Attachments:

Hi Gevo,

I think it would help if you can write down the logical steps you're trying to automate. Just looking at the final image makes it difficult to know what the intent and/or process was. Something along the lines of:

  1. Start with a surface (maybe a cylinder, maybe something else).
  2. Slice that surface into strips along the U or V direction, or maybe the slicing should happen vertically?
  3. Adjust each slice by bulging it outwards using some sort of logic.
  4. Thicken each slice by offsetting it a fixed amount along its normal.
  5. ...
  6. ...

Once you're a man with a plan it becomes much easier for people to discuss details of it.

So your saying if I write a more detailed explanation you can assist me with my script? Do you have time to take a look over the script I have done? 

Hello gevo,

describing what you are after, will surely make someone fill in the gaps you have in your definition too. I took a look at it and i am not sure what you are trying to do. Are you trying to script the orange geometry as shown in the screenshot? If so, along with a description please attach the rhino file of it.

best

alex

yes that is exactly what I am trying to do. I am trying to re-create it on grasshopper so that I can do many variations possibly attach a graph to it so the it changes. But as you can see I am struggling. Can you please help. Even the Rhino file is unfinished since im still trying to figure out the best way to make it. 

Attachments:

Hello Alex,

For some reason the script is not functioning properly. Am I missing something. I am trying to achieve the image in the orange but its giving me some error looking outcome. 

If anyone can attempt to fix what I originally wanted then please go ahead. Thank you to all those who attempt to fix this tragic script. 

Attachments:

Maybe, the problem you have is complicated enough so that chopping it up into discrete steps would help us talk about it. Also there's lots of different ways to slice up a surface or put some bulges on a shape. What do you think the odds are that someone manages to pick the exact one you're looking for?

You need to tell us exactly what parts of this shape you want control over, and how your inputs are supposed to manifest in the result. Then someone else can come in and help you with the how.

Thanks for the reply. I am trying to control the bulges in different heights. Honestly I would rather it not be such a complicated script. Im kind of a beginner at grasshopper so the more difficult it gets the more of a struggle I will have. If you have seen the attached image from the original post that is what its supposed to look like. I want to control the height and width of the cylinder and the bulges of the strips, possibly with an attractor point or a graph system. It most likely would be ideal to have it bulge in the x-y direction so that there is no double curves which makes it difficult for fabrication. Can you please assist me, thanks. 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service