Grasshopper

algorithmic modeling for Rhino

I tried to get a SubCurve, from a circle in this case.
The only other way I was able to get the Subcurve is with too many components.
If I just give the Circle and the CCX 1 "tA" to the Subcrv1 the intervals are always from 0.0
The only way to give the needed interval is by using the Interval component and set them manually (without the zeros) which is not usefull because I need to rotate the intersecting lines to get different Subcurves.
I am loosing it!
Thanks for any input.

v 0.6.0019

Views: 514

Attachments:

Replies to This Discussion

If you flatten the shatter.t input does this achieve the required effect?
It does!!! Thank you Danny.
I flatten the C instead...
I just upgrade the GH and I never seen the Flatten option and it is still unclear to me what it is for.
Are there any useful links for more on the Flatten option?

BTW, is there any reason way the Subcrv alone can not produce this particular Subcurve exctraction?

Thanks again.
Firstly, flatten will turn a multi branch data structure into a long list. In this case you have two intersect points where you want to shatter the curve, without flatten you are saying "take one curve and shatter at this point and take the same curve and shatter it at the next point". With flatten you are saying "take one curve and shatter at these two points".

If you want to do this a lot of times with two different points then the approach to take is to use the path mapper and say "A;B" to become "A" see here for more: http://www.grasshopper3d.com/forum/topics/ccx-index-problem-in-gh?c....

Secondly, Subcrv would do this but you would have to create the domain from your two points. Using either the List Item component or the split list component you could separate the two values from tA (provided you flattened the input first) and then plug them into a Domain Component.
No matter what I do in the Interval "D"of the Subcrv I get 2 values,
0.0 to ##
0.0 to ##
What I need is:
## to ##. (which I can get with an Interval component and setting it manually...without the zeros, but manually is not useful).
If they start from 0.0, I never get the second part of the curve that I need....frustrating! I can't get rid of the zeros.
I can not find a Domain Component...
If you can't find a component that someone suggests on the forum try double clicking the canvas and entering the keyword Domain. You will get several hits for this particular one but from the icons you should be able to identify the one you want. Once you know what its icon looks like you can find it on the toolbar.
I did but...in my 0.6.0019 version it is still called Interval.
I need to upgrade, but on a different directory.
Thank you again.
Connect Scalar/Domain to D input

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service