Project

mittsu-3mf

0.0
The project is in a healthy, maintained state
3MF file support for Mittsu
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 13.2
~> 3.3
~> 3.13
~> 1.41

Runtime

~> 3.3
~> 0.4
~> 2.3
 Project Readme

Mittsu: Mesh Analysis

Mesh analysis methods for Mittsu.

Adds three methods:

  • Mittsu::Object3D#manifold?: Detects if a mesh is a single valid surface; i.e. it has no holes, and faces are consistently oriented.
  • Mittsu::Object3D#solid?: Detects if the faces of a manifold mesh are correctly oriented, giving the mesh a sensible inside and outside.
  • Mittsu::Face3#flip!: Flips the vertex order, and thus orientation of a particular face.

Requirements

Ruby 3.1 or above, otherwise the same as for Mittsu itself.

Usage

Just install:

bundle add mittsu-mesh_analysis

Then require in your code:

require 'mittsu/mesh_analysis'

The methods above should then be available for use.

About

This code was originally written for Manyfold, supported by funding from NLNet and NGI Zero.