|Materials list [message #25362] Mon, 28 March 2011 14:31 UTC
I have a question about the materials I get when I call the 'getPrinters' function.
The xml output is roughly the following (without all the namespaces):
<title type="string">Gold Plated Matte</title>
Seems to me there is a lot of information missing per material, currently I'm making an app to let users create 3d models for shapeways and would like to have the following options:
- base_color (in order to preview the materials color on the model)
It would be nice to give the user an insight in the costs based on material and size selection, before uploading the entire model.
Is this possible?
Sjoerd van den Berg.
|Re: Materials list [message #25412 is a reply to message #25362 ] Tue, 29 March 2011 15:56 UTC
Yes it is possible to get the price. You have to use "getModelPrice" for that. Please see API doc for more info.
The reason it is interactive is because the price model is not completely linear for some materials. For instance we charge startup costs, cost for the 1st cm3 or a density discount for larger parts. It is best that you use the Shapeways price calculation algorithm for that available through "getModelPrice".
The missing base colors is a mistake on our part. I will ask to have that fixed asap.
What are you trying to create using the Shapeways API?
Let me know if you need more help!
|Re: Materials list [message #25431 is a reply to message #25412 ] Wed, 30 March 2011 08:39 UTC
Thanks for the tip!
I don't think i can state online what I'm creating (due to secracy issues, and what not), but it's in close communication with shapeways (the dutch department, if I'm not mistaken).
You'll see it online soon