cpederkoff / stl-to-voxel

Turn STL files into voxels, images, and videos
MIT License
138 stars 75 forks source link

support pip install method #31

Closed youngkiu closed 3 years ago

youngkiu commented 3 years ago

I implemented it to be able to install the pip install method. Then, you can naturally use it not only in the form of python commands, but also in python application code.

$ pip install git+https://github.com/youngkiu/stl-to-voxel.git
>>> import stltovoxel
>>> stltovoxel.doExport('/Users/youngkiu/src/stl-to-voxel/data/Stanford_Bunny.stl', '/Users/youngkiu/src/stl-to-voxel/data/Stanford_Bunny.png')

@cogitas3d, @silverscorpio As a dense user, I welcome your active opinion.

To make sure it doesn't look mixed up, I'm going to do a pull request after the https://github.com/cpederkoff/stl-to-voxel/pull/30 merge.

cogitas3d commented 3 years ago

Dear @youngkiu

This is really awesome! Thank you!

I just pubblished a book chapther about our tests and I cite and thank you there (please, use Google Translate): http://ortogonline.com/doc/pt_br/OrtogOnLineMag/3/3DtoCTScan.html

This the result of the tests (CPU i7-8565U): 3Dtovoxel_graf

A big hug!

youngkiu commented 3 years ago

I too can easily use stl-to-voxel in a python application program, so it has become more convenient.