Plankton

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:

https://github.com/meshmash/Plankton/releases/latest

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:

http://www.flipcode.com/archives/The_Half-Edge_Data_Structure.shtml

http://openmesh.org/Documentation/OpenMesh-2.0-Documentation/mesh_hds.html

http://www.graphics.rwth-aachen.de/media/papers/directed.pdf

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.

Installation error

i hav downloaded the latest version of plankton v 0.3.0 . i have four files

plankton.dll

plankton.gha

planktondemo0.3.0.gh

planktonturtledemo.ghx

i have to copy the .dll and .gha into the libraries folder..is that enough for me to start working on example files ?!?

can somebody pls tell stepwise procedure to install plankton plugin ??

Load Previous Replies
  • up

    Will Pearson

    Can you post the error messages for one of the c# script components?

    In all likelihood the problem is that the script component is looking in the wrong place for the Plankton assemblies. To fix this, right click on the script component a click "Manage Assemblies". You can use this dialog to browse for the DLL and GHA files and replace the current ones.

    Usually Grasshopper picks up this problem when you load up the definition. Do you remember seeing an error dialog with a path in it that contained Daniel's name in it?
    3
    • up

      Arian Hakimi

      Hello 

      I still have problem loading the plug-in I am trying to follow the 

      " right click on the script component a click "Manage Assemblies"

      but still doesnot help please see attached, 

      Thanks,

      1
      • up

        Parivardhan Dangi

        Hi, im trying David Bachman's script for growing disk from -  http://www.grasshopper3d.com/video/growing-disk but i am getting an error in the python script used :

        "

        Runtime error (MissingMemberException): 'NoneType' object has no attribute 'Halfedges'
        Traceback:
        line 14, in script " 

        I have installed the latest v4.0 of Plankton. I believe i installed it properly .. unblocked then copied to library. Can anyone help me out with this ?

        1