Socket
Socket
Sign inDemoInstall

@cmloegcmluin/shape-up

Package Overview
Dependencies
0
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @cmloegcmluin/shape-up

purify geometry files


Version published
Weekly downloads
3
increased by200%
Maintainers
1
Install size
11.9 kB
Created
Weekly downloads
 

Readme

Source

shape-up

npm version

Purify geometry files.

Requires https://github.com/jonnenauha/obj-simplify.

usage

npm i @cmloegcmluin/shape-up

Put your .obj files in ./geometry.

./node_modules/.bin/shape-up

Your files will be:

  1. snapped to nearby simple irrationals such as √2.
  2. stripped of comments and other lines Blender's export included
  3. deleted if they are the extra .mtl file Blender exports
  4. minify decimal parts (.000000 becomes )
  5. actually use obj-simplify to do the smart stuff e.g. consolidate duplicate geometry

Keywords

FAQs

Last updated on 21 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc