Grasshopper

algorithmic modeling for Rhino

How to change the origin of the SEAM of a closed curve from GH?

Hi

 

How can I  change the origin of the SEAM of a closed curve from GH?

 

I can flip the curve, but I need to change the SEAM of the curve, the origin of it...

 

Thanks

 

Andres

Views: 4513

Replies to This Discussion

Hi Andres, you could shift the list of points and recreate the curve
Thanks a lot Peter, I think that will work fine!

Weird, I could have sworn I wrote a Curve Seam component at some point.

I'll add it for the next release. Until then, you'll need to script this. Create a new VB component, rename the first input "crv" and second input "t". Set the type hint for the "crv" input to "Curve" and the type-hint for "t" to Double. Then add the following code:

 

crv.ChangeClosedCurveSeam(t)   

A = crv

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Niiice! Thanks David. I really need to learn VB...

David, I have not idea how you keep track of ALL these Parameters and Components... 

 

I am fine for now with the  help from Peter... I can wait for the REAL component... 

 

Thanks...

 

Andres

Hi Andres,

enclosed example in c# and vb from David's guidance

 

best

[u

 
 guidance
Attachments:
Thanks a lot! Have a great weekend!

Hey,

 

here are two files from a older discussion. I made one, the other comes from Jamparc

 

http://www.grasshopper3d.com/forum/topics/can-i-change-the-start-po...

 

Best Regards

 

DeDackel

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service