algorithmic modeling for Rhino
alright, since nobody answered, i guess that i should provide an example.. :)
@David: if it is a bug, is there a workaround using a custom c# component maybe?
Thank you!
Chuck
Hi Chuck,
You can use this simple Python component (it requires the GH Python to be installed first), until the cavalry arrives.
Hi Djordje,
is it possible to integrate a switch for a closed 2rail-sweep?
Cheers
It looks like sweep2.ClosedSweep = c needs to be added, with a "c" being the input for Boolean Toggle. But I am not sure why it's not working.
Some experienced user might come up.
I hope the following makes sense..
#import rhinocommon syntax
import Rhino as rc#declare the sweeep2 type
sw= rc.Geometry.SweepTwoRail()#ste the values of the sweep2
sw.ClosedSweep=b
sw.MaintainHeight = h#execute the sweep / translate the data type to an actual brep
geo = rc.Geometry.SweepTwoRail.PerformSweep(sw,r1,r2,s)#outputs
a= geo
Best,
M.
Using the legacy sweep2 component seems to do the trick - it maintains the height:
"The new Sweep2 has a bug?"
http://www.grasshopper3d.com/forum/topics/the-new-sweep2-has-a-bug
(so what if it's been a year and half since the question was asked ;))
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by