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.

Members: 284
Latest Activity: Dec 27, 2016

Discussion Forum

truncating 1 Reply

"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

Tags: Truncate, TruncateVertices, Plankton, PlanktonMesh

Started by Andy VanMater. Last reply by Will Pearson Dec 13, 2016.

Plankton standalone? 2 Replies

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

Tags: standalone, PUPPICAD

Started by Mihai Pruna. Last reply by Mihai Pruna Nov 18, 2016.

Cytoskeleton 19 Replies

Following on from the images I posted recently (here),I am now making available the source script for Cytoskeleton.First,…Continue

Tags: mesh, Plankton, Weaverbird

Started by Daniel Piker. Last reply by Mike Heiss Nov 5, 2016.

Dynamic remeshing script with Plankton and Kangaroo 84 Replies

Here are some demo's of remeshing with Plankton combined with some relaxation functions from Kangaroo.(Similar to what I described here: …Continue

Tags: remeshing, mesh, Kangaroo, Plankton

Started by Daniel Piker. Last reply by tonicwood Aug 3, 2016.

Comment Wall


You need to be a member of Plankton to add comments!

Comment by johnnyUtah05 on August 27, 2016 at 8:18pm


I am wondering how to draw hexagons/circles around clothed vertices by using their neighboring vertices distances. I have some confusion... Can this be achieved with 'Deconstruct Plankton'? (I assume yes, by getting the proper half edges). 

Also, I have looked inside the 'Tangent Circle' component and see that it only measures the distance from two neighboring vertices. I believe this is why my result is imperfect. See below. 

How can I tweak the tangentCircles component to achieve a more accurate result, or how can I use 'deconstructPlankton' to achieve this?

Thank you in advance.

Comment by Will Pearson on April 13, 2016 at 4:14pm
Josh, please let us know how you get on! I've used Plankton on the Mac via compiled Grasshopper components (MeshMachine, for example) but not yet via scripting as that's only available for Rhino right now, not Grasshopper. Please shout if we can help along the way :)
Comment by josh lopez-binder on April 13, 2016 at 3:46pm

Hi all, Is anyone is using plankton for scripting on mac?

more specifically, for rhino python scripting?

I am considering trying it out, and curious if there are any tips/tricks known already.

Comment by Will Pearson on September 7, 2015 at 11:48am

Glad it's working for you now :)

Comment by Dekani Fisher on September 7, 2015 at 11:47am

HI thanks for your replies, i just had to unblock the dlls and they worked. 

Comment by Will Pearson on September 7, 2015 at 11:32am

What problems are you having?

Comment by Dekani Fisher on September 7, 2015 at 11:21am
okay how do i change it because other components won't work unless it sees the correct number?
Comment by Will Pearson on September 7, 2015 at 10:54am

Dekani, you've got the right one. We just forgot to bump the assembly release number...

Comment by Dekani Fisher on September 7, 2015 at 10:47am

The latest version from the link below is downloading the 0.3.0 instead...? i can't get the 0.3.4 version...


Comment by Brendan on May 5, 2015 at 10:58am

Thanks, I found the components.  What I'm trying to do is remesh the attached surface or other surfaces like it (it's a mesh) in hopes of flattening it using Rhino's Squish command.  If there are any other, better methods using other Grasshopper components or Rhino tools or (free) plugins, I'm open to that as well.



Members (284)



Search Grasshopper


  • Add Photos
  • View All

© 2017   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service