sub-curve component requires you to write a certain domain. as for now. you can just type domain manually by right-clicking the component. however, in the future u might want to use proper domain construction under set tab.
after that apply fillet to each sub-curve and join them back, that is probably the shortest and easiest way.
from there feel free to expand the definition or add more complex parameter to drive the number so that it can apply to any type of curve.
Runnie, how?
How do you figure out stuff like that??
I’ve F3-searched the “grasshopper pdfs” (generative algorithms, mode lab, gh primer) and nowhere do they explain the “subdivide curve” component…
What tutorials did you watch? Or did you help program grasshopper?
I am very grateful for your help.
I just wish I could find simple tutorials that explain those kind of things.
Lol, no i didnt help to programm grasshopper. I am just a user. started using grasshopper about 6 - 7 years ago. Mostly through trial and error from working on different projects.
You can also find good tutorials from youtube. And ask people on the forum if you are stuck.
visit food4rhino for additional “Add-on” to Grasshopper such as “kangaroo, meshedit, etc” that will help in specific cases.
For the record, I just want to add my solution to this discussion. While Mr Yang’s solution works in some cases, it fails when you want the radius to be larger than the length of the sub curve (more than 1/2 the length of the initial segment in this case).
My solution uses the fillet curve at parameter component. Find the parameter of the corners of a polyline and assign individual fillet distances for each parameter. Then explode the curves and extract arcs from the segments. Clean the list of nulls (not arcs). Take the arc end points and shift one of the lists by -1. Create lines between the end point of arc N and start point of arc N+1. Join curves.