Are you happy with your logging solution? Would you help us out by taking a 30-second survey? Click here

simplify

3D mesh simplification in Go.

Subscribe to updates I use simplify


Statistics on simplify

Number of watchers on Github 118
Number of open issues 0
Main language Go
Open pull requests 0+
Closed pull requests 0+
Last commit over 2 years ago
Repo Created over 3 years ago
Repo Last Updated over 1 year ago
Size 19 KB
Organization / Authorfogleman
Contributors1
Page Updated
Do you use simplify? Leave a review!
View simplify activity
View on github
Fresh, new opensource launches 🚀🚀🚀
Trendy new open source projects in your inbox! View examples

Subscribe to our mailing list

Evaluating simplify for your project? Score Explanation
Commits Score (?)
Issues & PR Score (?)

3D Mesh Simplification

Implementation of Surface Simplification Using Quadric Error Metrics, SIGGRAPH 97, written in Go.

Bunny

270,000 faces vs. 2,700 faces (1%)


Install

go get -u github.com/fogleman/simplify/cmd/simplify

Command-Line Usage

Usage: simplify [-f FACTOR] input.stl output.stl

$ simplify -f 0.1 bunny.stl out.stl
Loading bunny.stl
Input mesh contains 270021 faces
Simplifying to 10% of original...
Output mesh contains 27001 faces
Writing out.stl

API Usage

// Use LoadSTL (ASCII) or LoadBinarySTL
mesh, err := simplify.LoadBinarySTL(inputPath)
// handle err
mesh = mesh.Simplify(factor)
mesh.SaveBinarySTL(outputPath)

Animated

Iteratively simplifying by 50% until only 16 faces remain

simplify questions on Stackoverflow (View All Questions)
  • C# ASP.NET - SImplify number of SQL queries written in code
  • How to simplify a script
  • jQuery plugin/library for this table to simplify code
  • Can simplify composite generics? How to avoid [T1 with T2]?
  • Python simplify HTML table
  • While calling simplify in sympy getting error?
  • Trying simplify checking if object key is true and pushing it to another object
  • How to simplify quantmod commands to load stock data
  • How to simplify the @import path for my npm sass package?
  • C - function to search a substring.. need to simplify
  • Want to simplify Asterisk SIP message flows
  • How to simplify the IF statement in Python 3
  • Simplify typescript coding workflow
  • Simplify a relative URL
  • How to simplify INSERT statement
  • Simplify generic type inferring
  • Is there a way to simplify incremental calculations in acrobat?
  • How to simplify a fraction
  • How to simplify complicated if then conditions?
  • How to simplify the query output?
  • Simplify code that "toggles" an array item
  • boost::geometry::simplify has undocumented requirements/bad implementation or am i doing it wrong
  • How can I simplify a chained set of LOOKUP in Google Sheets?
  • How to simplify the code using Apply Function
  • How get to simplify a symbolic and numeric mixed expression in Matlab
  • Simplify Django test set up with mock objects
  • How to simplify the definition of a templated callback function?
  • Is there a way that I can simplify an angular-ui-router resolve?
  • need to simplify logical expression (byte, short, integer) Java
  • What are the possible programatic ways to simplify the If Conditions (re-write Condition)
simplify list of languages used
Other projects in Go