My first post to the group. I would like to reproduce an Umbilic Torus based on Farley2076’s Blog (
I mistakenly posted the question to his blog so I have reproduced it here.
I tried the following
1)replaced the legacy components
2)changed the range -Pi<(u,v)<pi to 0<(u,v)<2Pi.
increased the number of interpolation points
However, I still get “insufficient interpolation points”… Any ideas? I have uploaded the file.
Umbilic_Torus_v1.gh (11.5 KB)
November 18, 2021, 11:55pm
If you look at the original definition, the
Variable Expression has 2 inputs each with 25 values and is outputting 625 values.
You can get this result with the current
Expression component by grafting one of the inputs and flattening the output.
The results differ depending on if you graft the
input or the u input. v
If you graft the
input and delete one of the profile curves (as suggested in the forum post you linked above) you get the same result as the original definition. v
If you graft the
input and unselect the u option on the Closed loft Loft component it works as well.
I’ve included both versions in this definition.
Umbilic_Torus_v1_re.gh (16.6 KB)
Many thanks for your reply. The concept of flatten/graft is new to me and will need to explore it more.
Why do we use series components model?
Ultimately I would like to thicken the surface in Rhino and export as stl however somehow I cannot select the objects in the Rhino window for thickening…
November 19, 2021, 5:28pm
I dont know if you are familiar to the “bake” i GH (right click on the component that holds the srf and select “bake”)? But you could also thicken the srf in GH and then bake the result…
November 19, 2021, 6:13pm
These are data tree operations
You can find descriptions here:
Data trees are a topic you’ll need to understand to get beyond the basics of grasshopper.
Thanks for this.
I have noticed that the “list item” before the “Interploate Curve” has the same output as that of the “series” element.
Why do we not connect the “series” element directly to “Interpolate Curve”
you certainly must read a tutorial on the basics of Grasshopper. Series makes a series a number, 0,1,2 … and it is used here to convert a long list of values a list of list of values (datatree). The other way to do that is by using
Or more simple not flattening at the output of the expression component
Thanks for the alternative methods. It should help me see the bigger picture.
Yes, I am currently going through the Modelab primer.