I created a grasshopper file based on information from the book “Advanced 3D Printing with Grasshopper” to create a shape (and G-Code) wherein I want to print with a 3D printer. I am running into a problem where in Rhino 7, polylines were generated for all four “quadrants” of the shape, such that I could create a cool-looking part. Now since I loaded it into Rhino 8, only one quadrant is actually generating the curves I need. I noticed that the bounding box is also different from Rhino 7 to 8… It is only showing up in that quadrant vs bounding the entire surface previously. Does anyone have an idea of what might be going wrong with this grasshopper script? I uploaded the script and the rhino model file as well as a photo with an annotation. I am using the curves in the rhino file to create a loft in grasshopper. circles 143mm.3dm (3.1 MB) lamp10B.gh (14.1 KB)
Hi all, so I think I solved it, although I don’t know why this works. I rebuild the bottom curve with degree of 3, and all of a sudden I get the correct bounding box. Hope this helps someone else out!
As for the curves order, you can also sort them with the Z coordinate of their average point of the control points.
I added an alternative solution which uses the IsoTrim component to divide the surface into strips. This could be used to extract curves too, however that would then require culling of some duplicates.
Actually I think the clean way to get the isocurves is by using the Range component… So there you have it, no need to use a bounding box at all.