Grasshopper

algorithmic modeling for Rhino

Attached is a .ghx file with VBscript for the SWEEP 2 command.  I kept looking for one online and in the forums since the actual sweep 2 button is down for the moment.  I finally modified someone else's posted Sweep 1.  It uses the legacy format for VBscript.

It works... sort of.  If, using arcs for your curves, the angle of the section arcs to the rail arcs is very acute it seems to break. 

I know nothing about VBscript, but I assume it's because of the lines of code related to tolerances. 

1. If anyone would like to expand this to work under more circumstances, that would be awesome.
2. If anyone would like to tell me how to expand it, that would be slightly less awesome.
3. If anyone would like to use this until the good guys at Mcneel get the actual Sweep 2 button working, have fun!  It worked in most of the instances I needed, the others I just had to manually build them using the sweep 2 command in rhino.

Attached is also a pic of what I was using it for.

Views: 186

Attachments:

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2025   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service