algorithmic modeling for Rhino
Plankton is a free and open library implementing the half-edge data structure for polygon meshes.
This way of storing the mesh connectivity information allows easier adjacency queries and supports mesh faces with any number of sides (Ngons), not just quads and triangles.
The plankton library is intended primarily to be referenced and used from scripts, but basic GH components for conversion and topology extraction are provided, and more may be added at a future date.
Plankton is still very much a work in progress. This is a first release, and methods/features will change in future versions.
Currently most of the methods relate to extracting topology information from existing meshes, and converting between Rhino meshes and Plankton meshes, but the intent is to over time add more ways of actually modifying and building meshes.
Please share your thoughts and ideas in the forum...
download the latest release here:
This library is distributed under the terms of the GNU Lesser General Public License (LGPL).
(The source is available on GitHub here)
Copyright 2013 Daniel Piker and Will Pearson
For more on half-edges, see:
Thanks to the people I have had many conversations about meshes with over the last few years that have really helped inspire and inform this work: including: Daniel Hambleton, John Harding, Kristoffer Josefsson, Harri Lewis, Giulio Piacentino, and especially Dave Stasiuk, who also shared code that helped get this working.
Latest Activity: Dec 27, 2016
"specified argument was out of the range of valid values"PlanktonMesh tpm = pmesh.TruncateVertices((float) 0.2);I've tried -100, -1, -0.2, 0 0.25 , 1, and 1000. Nothing seems to work. Does anyone…Continue
Started by Andy VanMater. Last reply by Will Pearson Dec 13, 2016.
I've loaded the dll into PUPPICAD and I'd like to make it work with WPF / Helix3D structures.Is it possible to use Plankton classes without Grasshopper, if I write a conversion tool from a more…Continue
Started by Mihai Pruna. Last reply by Mihai Pruna Nov 18, 2016.
Here are some demo's of remeshing with Plankton combined with some relaxation functions from Kangaroo.(Similar to what I described here: …Continue
Started by Daniel Piker. Last reply by tonicwood Aug 3, 2016.