raster-2-obj

1.0.3 • Public • Published

raster-2-obj, convert raster to and OBJ file

Use potrace to vectorize a bitmap, then transform the vector into a 3d file by extruding it.

#install

	npm install -g raster-2-obj

usage

raster-2-obj file.bmp [--xz] [--scale=1] [--depth=2]

  • --xz depth is written on the Y component instead of Z
  • --scale multiply X,Y value by this
  • --depth extrude value.

/raster-2-obj/

    Package Sidebar

    Install

    npm i raster-2-obj

    Weekly Downloads

    0

    Version

    1.0.3

    License

    MIT

    Last publish

    Collaborators

    • olivierchatry