Grasshopper

algorithmic modeling for Rhino

Hello All,

 

I am looking to extend a curved surface so that I trim it to make a poly surface with the original loft. 

 

Simply put...the extend surface tool in rhino. 

 

Does anyone have insight into this...

Attached are 2 screen shots.  The black surface is the "extendsurface" command from rhino, and is what I'm looking to achieve.

 

Would it be useful too have a simple vb script to plug the surface into?

 

Any help is appriciated.

 

Thanks,

n

 

Views: 2390

Attachments:

Replies to This Discussion

A good question. It`s a pity no one ever answered it.

I achieved the extend surface function by utilizing Python (not an expert at python, though). Here's the code I used:

import Rhino as rc

if Cycle_Sides == 0:
Selected_Srf_Side = rc.Geometry.IsoStatus.North
elif Cycle_Sides == 1:
Selected_Srf_Side = rc.Geometry.IsoStatus.South
elif Cycle_Sides == 2:
Selected_Srf_Side = rc.Geometry.IsoStatus.East
elif Cycle_Sides == 3:
Selected_Srf_Side = rc.Geometry.IsoStatus.West
else:
print "Error, dude!"


extended_srf = Original_Srf.Extend(Selected_Srf_Side, Length, True)

Attachments:

Can you post the component please?

Here you go:

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service