@cmloegcmluin/shape-up
v1.0.1
Published
purify geometry files
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
.mtlfile Blender exports - minify decimal parts (
.000000becomes) - actually use
obj-simplifyto do the smart stuff e.g. consolidate duplicate geometry
