Grasshopper

algorithmic modeling for Rhino

how to change the domain of the inner-pt of the curve?

hi,

with this definition it is possible to change the domain
from the first and last point of the curve to create a subcurve.
the question is: how to change the domain of curve-inner-pts?
for example, i decided to divide the curve in 3 segments,
and wish that the outer segments are to be smaller.

any idea?

thanks in advance

Views: 1894

Replies to This Discussion

Hi RWNB,

you can change the domain of an entire curve without changing it's shape, but it is not typically possible to reparameterize an arbitrary portion of the curve without changing the shape. If you want to divide based on length, then you should not be using domains to begin with. You can place points on the curve using [Evaluate Length] and then [Shatter] the curve to divide it at the custom parameters.

--

David Rutten

david@mcneel.com

Poprad, Slovakia

thanks david.

I must once again come in the grasshopper world. if i ever was in it?

Best Regards

DeDackel

geht das auch noch etwas komplizierter? (:

it is not cpmplicated :-)

get the t parameter for each point on the curve

create domains with consec

create 3 subcurve

manipulate the starting domain of the first curve

manipulate the ending domain of the last curve

thats it :-)

hmmmeeee, (:

i tried to apply your definition to a straight curve.
because of the clarity. (:
it does not work quite right.
can you show me, how can i achieve the result,
what i have shown in the graphic.

thanks

Attachments:

Maybe this is what he means?

Variation of DeDackel solution. This changes the domain of the middle subcurve.

can you show also the resulted curves in rhino?

Sorry, I had to make some changes. It was not right. It needs more fine tuning for complete control.

yes, you're right.! )-/

This is what I use for some of my projects. You can choose the Start and End length of a curve and the middle is the subcurve. It's limited, for is about a specific task, but you may be able to modify to fit your needs.

here is a more intuitive solution 

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service