wolph / numpy-stl

Simple library to make working with STL files (and 3D objects in general) fast and easy.
http://numpy-stl.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
605 stars 103 forks source link

Initial usage `stl2ascii`??? #178

Closed glicka closed 1 year ago

glicka commented 2 years ago

The readme has an initial usage that says stl2ascii your_binary_stl_file.stl new_ascii_stl_file.stl, but there are no options to do this in the package and no example files to run this command. Am I missing something?

wolph commented 2 years ago

Are doing a pip install numpy-stl it should be a command that you can run just like the pip command.

Specifically, this part of the setup.py script takes care of that: https://github.com/WoLpH/numpy-stl/blob/b2e71ccacf7260cbbc77d8d092dd375437e46589/setup.py#L115-L119

If it doesn't work for you, that probably means you don't have the Python scripts path in your shell's PATH environment variable.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

wolph commented 1 year ago

A newer more convenient option would be to use pipx :)

First install numpy-stl using pipx: pipx install numpy-stl Once you've done that, you should be able to use the stl2ascii command from your shell