@cmloegcmluin/shape-up
v1.0.1
Published
purify geometry files
Downloads
3
Maintainers
Readme
shape-up
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:
- snapped to nearby simple irrationals such as √2.
- stripped of comments and other lines Blender's export included
- deleted if they are the extra
.mtl
file Blender exports - minify decimal parts (
.000000
becomes - actually use
obj-simplify
to do the smart stuff e.g. consolidate duplicate geometry