cmpolis / convertstl Goto Github PK
View Code? Open in Web Editor NEWA utility for converting STL files between ASCII and binary encoding.
A utility for converting STL files between ASCII and binary encoding.
Hello, I am a Web Developer and I am trying to build my own 3D-print Website. I think a new project has to raise. Therefor to store stl files in the Web and read them. Also a function that alculates the price. Eventually turning it into cura but online.
Hi,
after conversion of ASCII file to binary, programs refuse to open this file. Has somebody had same issue yet?
Go to http://www.eng.nus.edu.sg/LCEL/RP/u21/wwwroot/stl_library.htm#Download and download the porsche STL file. The STL file is in binary format but the converter thinks it's ascii and so fails to convert it.
Hi,
just a quick note on converting that script into some native windows executable
Download Ruby (https://github.com/oneclick/rubyinstaller2/releases/download/RubyInstaller-2.7.0-1/rubyinstaller-2.7.0-1-x64.exe)
Then run "cmd"
gem install ocra
git clone https://github.com/cmpolis/convertSTL.git
cd convertSTL/
ocra convertSTL.rb
It will generate convertSTL.exe
That's it. Super easy but helpful to de-force users to install Ruby in their system.
Hello,
I have an stl file that I have scanned from 3d scanner. Your code is under Download and I copied my scanned stl file which is in binary format in the same folder. I call your code like ./convertSTL.rb [1502182742.stl] but gives error:
Error: No such file or directory @ rb_sysopen - [1502182742.stl]
So where should be the stl file?
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.