Attention! Looking for an integrated, hosted solution ? Checkout our all-in-one 3D API
Surely, you want to quote the price of that Thing !
STL Volume Weight Calculator
In two lines:
Vital stats for 3D printing objects. Quickly estimate the cost of printing your 3D object!
Why buy with us ?
- Get Free Updates forever
- Accurate calculations
- So easy to implement, if only grannys knew some PHP…
- Developers love it – see our ratings/reviews !
What is STL ?
STL is a file format that is popularly used for representing 3D object information for 3D printing applications.
class STLStats
STL file format specifies geometry of the 3D object to be printed. STLStats class does the hard work of detecting the format, parsing the data and crunching numbers to give you – volume of the 3D object.
Price Quoting in a Nutshell
From the 3D volume and material density value the class can calculate the weight of the to-be-printed object.
All the math is wrapped inside this easy to use PHP class. It exposes getter functions (i.e. getVolume, getWeight, etc) to calculate common statistics of a 3D object.
Simply include this class in your PHP project (example demo scripts are provided)
Via AJAX requests, upload your STL file to your server and feed that to STLStats to get 3D volume/weight information beamed to your browser asynchronously.
Multiply the weight by your printing rate ($/gm) to come up with a basic price quote!
Watch that heap of green grow as you quote and fulfil 3D printing jobs
The PHP code has been commented extensively. Example usage has been given at the end of the class (please comment it out during production use ). Documentation is also provided along with example snippets of intended usage.
Happy coding !
You might also like
- All-in-one integrated, hosted and optimized 3D calculations solution:
- Point-of-sale 3D viewer form
- Updates:
- v1.2
- Minor re-factoring.
- Updates:
- v1.1
- Auto-detect ASCII / Binary STL file
- Extract ASCII & Binary data
- Calculate volume from ASCII & Binary STL files
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = STL Volume Weight Calculator
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/stl-volume-weight-calculator/3073161″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy STL Volume Weight Calculator from the The Developer ( pushkarparanjpe ) website. Thank you.
Download = STL Volume Weight Calculator-[Updated].zip