Home » Developers » Shapeways API » Materials list
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Materials list [message #25362] Mon, 28 March 2011 14:31 UTC Go to next message
avatar sjorro  is currently offline sjorro
Messages: 7
Registered: April 2009
Go to my shop
Junior Member
Hi all,

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):

<item type="Material">
<id type="integer">31</id>
<title type="string">Gold Plated Matte</title>
<description type="string"/>
<base_color nil="true"/>
<specular_color nil="true"/>
<shineness nil="true"/>
<opacity nil="true"/>
<translucency nil="true"/>
<refractive_index nil="true"/>
<startup_cost type="float">0</startup_cost>
</item>

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)
- startup_cost
- cost_per_cm3

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?


Kind regards,

Sjoerd van den Berg.
Re: Materials list [message #25412 is a reply to message #25362 ] Tue, 29 March 2011 15:56 UTC Go to previous messageGo to next message
avatar robert  is currently offline robert
Messages: 413
Registered: December 2007
Go to all my models
Senior Member
I work here
Hey Sjoerd,

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!

Best,

Robert
Re: Materials list [message #25431 is a reply to message #25412 ] Wed, 30 March 2011 08:39 UTC Go to previous messageGo to next message
avatar sjorro  is currently offline sjorro
Messages: 7
Registered: April 2009
Go to my shop
Junior Member
Hi Robert,

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 Wink

Re: Materials list [message #25432 is a reply to message #25431 ] Wed, 30 March 2011 11:26 UTC Go to previous messageGo to next message
avatar bitstoatoms  is currently offline bitstoatoms
Messages: 407
Registered: March 2009
Go to my shop
Senior Member
I work here
Heya Sjorro,

be sure to let us know when you are ready to launch so we can spread the word...


Duann Scott

Re: Materials list [message #25434 is a reply to message #25432 ] Wed, 30 March 2011 12:02 UTC Go to previous message
avatar sjorro  is currently offline sjorro
Messages: 7
Registered: April 2009
Go to my shop
Junior Member
I'll do that, thank you! Smile

 
   
Previous Topic:Shapeways API error, questions
Next Topic:Submit model -