Skip to content

Repo of CGAL algorithm built to be use in Grasshopper using P/invoke

Notifications You must be signed in to change notification settings

Darkwolf007/CGALWrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CGAL for Grasshopper — Computational Geometry

Bring the power of CGAL's computational geometry algorithms into Rhino Grasshopper with a clean C++ DLL and .NET P/invovke bridge.
This project exposes optimized geometry operations like Oriented Bounding Boxes, Convex Partitioning, and Straight Skeletons to designers, computational architects, and developers working in Grasshopper.


Features

  • Optimal Oriented Bounding Box (CGAL::oriented_bounding_box)
  • Polygon Partitioning
    • Approximate Convex Partition
    • Optimal Convex Partition
    • Y-Monotone Partition
  • 2D Straight Skeleton
  • Designed for real-time use inside Rhino Grasshopper via P/Invoke
  • Easily extendable with more CGAL modules

Prerequisites

  • Visual Studio 2019/2022
  • vcpkg (installed and integrated)
  • Rhino 7 or 8
  • Basic familiarity with C++ and C# (for P/Invoke usage in Grasshopper)

Clone & Setup

git clone https://github.com/yourusername/cgal-grasshopper-integration.git
cd cgal-grasshopper-integration

About

Repo of CGAL algorithm built to be use in Grasshopper using P/invoke

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published