algorithmic modeling for Rhino
Hi there,
I found this fantastic (appears simple too) VB component by Fred Becquelin from this post: http://www.grasshopper3d.com/forum/topics/how-to-extend-a-surface-i...
I have attempted to adapt this component (VB scripting), so that it can extend a surface at more than one direction at once, but have had no luck.
I am wondering if there is a way to extend a surface in GH like you do in Rhino, but in more than one direction at the same time.
Thanks
Matt
Tags:
Can't you just apply the extend two times to the surface?
srf = Surface.Extend(Isostatus.North, Length, Smooth)
finalSrf = srf.Extend(Isostatus.South, Length, Smooth)
Thanks for the reply Mostapha,
I cannot seem to make this work, I have this so far:
Dim Isostat As IsoStatus
If Length <= 0 Then
srf = Surface
finalSrf = srf
Else
Select Case Edge
Case 0
Isostat = Isostatus.North
Case 2
Isostat = Isostatus.South
Case 1
Isostat = Isostatus.East
Case 3
Isostat = Isostatus.West
End Select
srf = Surface.Extend(Isostatus.North, Length, Smooth)
finalSrf = srf.Extend(Isostatus.South, Length, Smooth)
End If
I'm probably doing something simple wrong hopefully..
Thanks that is exactly what I need!! :)
I hate to do this sorry because i'm getting you to do the work for me... But Is there a way to create an input (like the surface) that controls the extend amount? Rather than opening the script and doing this manually?
No problem at all! Attached is the new version. You can change both the direction and the distance.
Awesome! Thank you so much Mostapha!
Best,
Matt
Hi mhana, I'm not sure what your surface looks like. Can you upload your file or an image.
Seen as there is no curved surfaces or any automation to be built in (from your example at least) why don't you select the edge curves (or faces) you want and extrude them
Your two roof planes are consisted of a brep (polysurface) not a surface. Explode that polysurface into two surfaces, then attach each of those to Mostapha's component.
Works for Patch also which is what I need!
Many thanks!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by