Giter Club home page Giter Club logo

g3-gh's Introduction

g3-gh

This repository contains a set of components for the Grasshopper plugin for Rhino wrapping functionality from the geometry3sharp library.

I found the tools in that library quite useful so, to kill some time during a global pandemic, I thought I'd expose some of them from grasshopper.

Installation

Build the project and as with most other gh plugins, just copy the g3gh.gha assembly and the geometry3sharp.dll to the grasshopper libraries folder.

Or go to the releases tab and download the built project.

Should work for both Rhino on Mac and Windows. Mainly developed on mac, but have used it on Window as well and everything seemed fine.

Current Functionality

Remeshing

  • Iterative edge length remesher (with both internal and external iterations)
  • Mesh face reducer
  • Laplacian mesh smoother

Marching Cubes

  • Point, curve and surface distance fields
  • Marching Cube iso surface
  • Mesh SDF

Volumetric Operations

  • Voxelization (from example)
  • Inner lattice structure (from example)
  • Mesh extrude

Intersections

  • Implicit boolean operations (difference, union, intersection)
  • Mesh | plane cut

Mesh Repair

  • AutoRepair
  • General mesh clean up utilities.

Hole filler

  • Planar
  • Smooth
  • Minimal

File Utility

  • Read from File (.obj / .off / .stl)
  • Write to File (.obj / .off / .stl)

Objects

Three core objects are implemented as goos with custom previews in the gh viewport.

  • DMesh3: Dynamic indexed mesh, main object used by the geometry3sharp library.

  • Grid3f: 3-dimensional grid of points with scalar float values. Used for the marching cubes algorithm.

  • EdgeLoop: The edge loop describes an edge loop in a mesh. Used in this context mainly in combination with the hole fill methods.


Use

Convert from and to Rhino Meshes

Autocast, just plug into DMesh3 param / GH_Mesh param.

g3-gh's People

Contributors

joelhi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

g3-gh's Issues

example_file components are disconnected and at the origin of the canvas

Hi there! Thanks for wrapping this library, it looks promising!

I just opened the example_file.gh and I got this:
wsdfsadf

It looks like some components are disconnected and at the origin of the canvas, no idea why it can happens but looks like an ID issue.. IDK, but if you want to try to reinstantiate new components to replace them, I can check the new file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.