Featured Products
- Home
- PHP Scripts
- 3D Printing Calculations API Clients
3D Printing Calculations API Clients
By : pushkarparanjpe Published on Monday, April 04, 2016,08:58:40 in PHP Scripts
Note: Click âRemove Frameâ in Live Preview mode.
What
Calculate the volume, area, bounding box and facet count of a 3D mesh in one go! All the complicated math is encapsulated and exposed as these super easy to use RESTful API calls.How
Extensive documentation is provided. A comprehensive README file is included to get you started right away. Sample 3D mesh files (STL binary and ASCII) are also included for your convenience. Making 3D calculations has never been this easy. Grab this mega product now and monetize your 3D printer! Client side implementations are provided in four popular languages:Why
I already have all your 3D calculators as PHP code. Whats the big deal about this product ? Glad you asked
Well, this is a fully integrated product. With this product you donât have to worry about server-side memory management. All the calculations happen in the cloud on dedicated hardware. The code is also optimized for fast numerical computations. There is support STL formats (both binary and ASCII) already and soon there will be support for other popular 3D formats like OBJ. You will get access to all the advanced features as they get released! While the PHP scripts are OK for starters, for a booming 3D printing business you need to bring in the big guns 
Example
Hereâs how to use this web service via cURL:- HTTP POST
curl -X POST \ -F "api_key=your-api-key" \ -F "datafile=@your-model.stl" \ --url https://manifold.metamatic.us/v1/compute/
e.g. JSON response:{ "task_id": "67cdd36a-b53b-427e-8f97-42d62a46c1d5" } - HTTP GET
curl -X GET \ --url "https://manifold.metamatic.us/v1/compute/?task_id=your-task-id"
e.g. JSON response:
{
"volume":
{
"value":63999.92980959427,
"UOM":"mm3"
},
"facet_count":
{
"value":12,
"UOM":"#"
},
"bbox":
{
"value":
{
"width": 40.0,
"height": 40.0,
"length": 39.99999809265137
},
"UOM": "mm"
},
"area":
{
"value": 9599.993515016226,
"UOM": "mm2"
}
}




