Skip to content

paireks/Megarachne

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Megarachne

Graph theory for Grasshopper

Purpose

Megarachne can help you to use graph theory with Grasshopper.

How it works?

Megarachne allows you to convert Rhino/Grasshopper geometry into graphs and solve specific problems with it.

Actually all the Megarachne's graphs are directed and all of the edges have weights that are equal to the length of these edges.

Features (1.0.0)

  • Graph Parts: Curve To Graph Part, Two Points To Graph Part, Vector To Graph Part
  • Graph: Create Graph, Mesh To Graph, Graph To Report Part, Get Closest Vertex, Get Graph Degree, Get Vertex Degree
  • Algorithms: BFS, Dijkstra, A*

License (MIT License)

Copyright © 2021 Wojciech Radaczyński

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About the code

No external plugins were used to deal with graph theory.

Code is not designed to be used outside Grasshopper environment.

Brontosaurus plug-in was used to create automatic tests inside Grasshopper.

Contact

You can email me anytime: w.radaczynski@gmail.com

About

Graph theory in Grasshopper

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published