algorithmic modeling for Rhino
Hi Pac,
I'd like to use Python with Turtle.dll and Plankton.dll. Could you please explain how to get to a plankton mesh from a selection of closed polylines. I realize it's not much, but this is what I have:
import rhinoscriptsyntax as rs
import clr
clr.AddReferenceToFileAndPath(r"C:\Plankton.dll")
clr.AddReferenceToFileAndPath(r"C:\PlanktonGh.dll")
clr.AddReferenceToFileAndPath(r"C:\Turtle.dll")
import Plankton as pl
import PlanktonGh
import Turtle as tu
def main():
# Get objects
crvs = rs.GetObjects("Select closed polylines", rs.filter.curve)
#Here I'd like to make a turtle mesh and further convert it to plankton
main()
Tags:
Hi Marko,
I think you can just make a Plankton mesh directly if all you want is a Plankton mesh.
If you want to save it as OBJ, then you can make a Turtle mesh first.
Just an idea.
Giulio
Hi Marko, try https://github.com/meshmash/Plankton/issues/16. I use starling because, well, why write code twice...
Thanks guys,
you are awesome!
Cheers from Vienna!
Marko
Welcome to
Grasshopper
© 2024 Created by Scott Davidson. Powered by