Grasshopper

algorithmic modeling for Rhino

I am having an issue using sweep 1 component in Grasshopper and was wondering if this can be simplified by using python. The issue is that there are many sweeps to be processed and some of them fail. Baking the base curves into rhino and sweeping them manually works. I was wondering if creating a for loop in python would solve the problem of the failed sweeps. Could someone please show me how this script would look. I do not see a sweep 1 function in the rhinoscriptsyntax library. I attached an image of the failed sweeps and also the GH file with all internalized data needed. Thanks for any suggestions.  

Views: 1655

Attachments:

Replies to This Discussion

The comment you're looking for is AddSweep1, as in:

import rhinoscriptsyntax as rs

rs.AddSweep1(rail,curveToBeSweeped,closed=True)

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service