Home » Developers » Shapeways API » Questions about using shapeways API in my website
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Questions about using shapeways API in my website [message #70817] Tue, 02 July 2013 08:56 UTC Go to next message
avatar wangzhaoguang  is currently offline wangzhaoguang
Messages: 14
Registered: September 2012
Go to my shop
Junior Member
Hi all,

I am newbie to Shapeways API. Actually what I want to do is to use ShapeWays API in my own website, which is also a scanned model sharing site.
I am willing how could I use APIs to upload models , and to interactive viewing of the model on the site, using mouse operations.

Thank you for your help to point me to a right direction.

Best regards


zhaoguang WANG
Re: Questions about using shapeways API in my website [message #70818 is a reply to message #70817 ] Tue, 02 July 2013 09:41 UTC Go to previous messageGo to next message
avatar hans.lambermont  is currently offline hans.lambermont
Messages: 48
Registered: June 2010
Go to all my models
Member
I work here
Hi zhaoguang WANG,

wangzhaoguang wrote on Tue, 02 July 2013 08:56

Actually what I want to do is to use ShapeWays API in my own website, which is also a scanned model sharing site. I am willing how could I use APIs to upload models


Have a look at the http://developers.shapeways.com/getting-started?li=dh_gs page; first register your website as a Shapeways Application at http://developers.shapeways.com/manage-apps and then I suggest you have a look at the API reference clients and example code on Github at https://github.com/Shapeways/shapeways-api , the php-pecl examples are the most complete. It includes a model upload demo.

wangzhaoguang wrote on Tue, 02 July 2013 08:56

and to interactive viewing of the model on the site, using mouse operations.


We do not have this feature yet. Stay tuned !

regards,
Hans Lambermont
Re: Questions about using shapeways API in my website [message #70887 is a reply to message #70818 ] Wed, 03 July 2013 13:15 UTC Go to previous message
avatar wangzhaoguang  is currently offline wangzhaoguang
Messages: 14
Registered: September 2012
Go to my shop
Junior Member
hans.lambermont wrote on Tue, 02 July 2013 09:41

Hi zhaoguang WANG,

wangzhaoguang wrote on Tue, 02 July 2013 08:56

Actually what I want to do is to use ShapeWays API in my own website, which is also a scanned model sharing site. I am willing how could I use APIs to upload models


Have a look at the http://developers.shapeways.com/getting-started?li=dh_gs page; first register your website as a Shapeways Application at http://developers.shapeways.com/manage-apps and then I suggest you have a look at the API reference clients and example code on Github at https://github.com/Shapeways/shapeways-api , the php-pecl examples are the most complete. It includes a model upload demo.

wangzhaoguang wrote on Tue, 02 July 2013 08:56

and to interactive viewing of the model on the site, using mouse operations.


We do not have this feature yet. Stay tuned !

regards,
Hans Lambermont



Hi Hans ,

thank you for your reply.

I have browsed the tutorial page and the example page.
I have one question about the pricing process. because i noticed that in the API documentation,

POST /price/v1
Parameters
volume float required Model volume (cubic meters, use 0.000001 for cm^3)

so, my question is that: if I have uploaded a model and call the server of shapeways to get the volume of my model.
Could I do this ? does shapeways API supports this function ? or volume is a parameter.

thank you

regards


zhaoguang

 
   
Previous Topic:/price/v1 bounding box parameters
Next Topic:Ring Creator: Shapeway's app on the API