Hey guys, I know I’ve been on here a lot but i’,m trying to learn more about grasshopper. Would there be a way to set a maximum length on a line in grasshopper. I’ve been working with shortest walk and want to see if there’s a way after it has run to eliminate any line that goes over 100 feet. I’ve looked through forums on here but can’t seem to find a answer to my question. Thank you guys for your input
Pretty simple logic here. If I understand your issue, it is as easy as passing your line lengths through a SmallerThan
component, then pass that output though a CullPattern
component to filter your list.
I hope this helps.
Thank you so much for your help, I’ve still got a lot to learn so this has definitely sent me on the right path!!!
Another question I was having on another topic but was wondering if maybe you had a answer, is there a way to extrude as a solid, every time I extrude it isn’t solid and caping in this instance isn’t a option. I want to see how it can help my architecture drawings.
Sounds specific to the geometry you are working with.
Please share the 3dm file (downsaved to Rhino 6 or earlier) or the grasshopper file with the geometry internalized. Otherwise link me to the thread in question if it has your files already uploaded.
this is the file I am working with. I have to make alot of models and want to see if theres a easy way to extrude the walls as a solid
extruding as solid.3dm (144.3 KB)
wait just saw the downsave let me resave it
extruding as solid.3dm (181.4 KB)
With a grasshopper approach, there seems to be no issue.
Extruding as Solid (Parametric).gh (8.8 KB)
I don’t think I made it a surface before, Didn’t think about that thank you! when I tried it before It would cap the full box
Based on your description, it sounds like you were extruding the outer boundary line.
There are two approaches;
- Extrude both curves, cap both extrusions, then boolean difference the solids. (More computationally intensive)
- Create a planar surface from both curves, then extrude and cap.
That makes a lot more sense, thank you for taking the time to help me!!!
it does, Thank you!