Closed isrightkev closed 3 years ago
Converts all STL files in folder between binary and ASCII encoding
thanks for the PR! This is definitely a useful feature, but I prefer to not have duplicated code and keep a single api, so I authored a change which adds support for this by moving the current functionality into a loop over ARGV
: https://github.com/cmpolis/convertSTL/commit/b353f144bd14f77f1a0f3177dcc2969a0ffcf388
Now the following are supported:
$ ruby convertSTL.rb cube1.stl cube2.stl
$ ruby convertSTL.rb ../dirWithStlFiles/*.stl
Converts all STL files in folder between binary and ASCII encoding