Grasshopper

algorithmic modeling for Rhino

First Work : Curve created in GH editable in Rhino ?; Conditions

Hi All

Totally beginner on GH :

I started just today in order to define an "automatic" starting file, which could become a base for all my future works.

First Step : I want to create a closed curve > Move the center of this curve on the X axis

So i made this :

 

Problems:

1- I wanted Curve-01 move and not create another curve. I alreadycheck forum and see not possible > Is there a way to replace Curve-01 by Curve generated at the end.

2- If yes, we have to include a conditional statement that move only if Curve-01 center is not on X axis > So wider question : Is it possible to activate/desactivate a Component with Conditions.

3- Is it possible to Modify by control points in Rhino curve generated by GH?

Views: 369

Replies to This Discussion

1- I wanted Curve-01 move and not create another curve. I already check forum and see not possible > Is there a way to replace Curve-01 by Curve generated at the end.

Objects are referenced from the Rhino Document, but never altered. To "Replace" you just have to Bake the end product into Rhino. Right Click > Bake and then delete the original curve

2- If yes, we have to include a conditional statement that move only if Curve-01 center is not on X axis > So wider question : Is it possible to activate/desactivate a Component with Conditions.

Yes there are many ways to perform conditions in Grasshopper. The way that springs to mind is to check the Centroid of the Box with a [Closet Point to Plane] the Distance will be zero if you don't want it moved. Anything else when passed through a [Boolean] Param will be 1. this creates a logic either 0 or 1 to [Dispatch] your geometry either this way or that.

3- Is it possible to Modify by control points in Rhino curve generated by GH?

You can use a [Control Points] to gain access to a set of Control Points and then create a [Nurbs Curve] afterwards

Hi Danny,

Thanks a lot for your prompt reply. I hope step by step, needing less help and give mine to new users ...

I will check your answer asap and give you a feedback

 

Regards,

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service