Home » Developers » Shapeways API »

A few questions regarding the API

Search Search  
icon5.gif  A few questions regarding the API [message #26092] Fri, 15 April 2011 11:58 UTC Go to previous message
avatar sjorro  is currently offline sjorro
Messages: 0
Registered: April 2009
Go to my shop
Junior Member
Hi all,

I have a few questions regarding the shapeways API.
I already asked Shapeways Eindhoven (it's in coop-mode with them), they told me to also post it on the forum.

For those of you who don't know what I am creating:
I'm creating an application wich will be available on shapeways in the near future. It leveradges a certain formula to let users create their own models; models that are allways printable.

So here it goes:

Currently I am logging in as the applications' (*my own) account. I also send an application id (*'supershapes')
When I upload the model I have to use the session_id returned from this login.

Should I login as the application or should I make the user login?

As I mentioned before in a previous post, but for complete overview:
When I get the materials from the api, the color comes in like: <base_color xsi:nil="true"/>

Can this be fixed so that I can show the right colors on the model?

When calling the getprice method, I should send to shapeways the volume of the model. Shapeways has already a method implemented in the site to do this.
Is it possible to get a code-snippet so that the price shown in my application on shapeways is almost exactly the same as shown on shapeways later on?

I want to show the price beforehand, because when the user is going to the order page, the flash is closed and the user can't go back to his/her model.

Upload with MaterialID:
When uploading a model I can't send in a material_ID.
Can this be added?

After uploading a model I want a user to order his model with a certain material, from which he/she already agreed on the size and pricing, which requires me to send in a material chosen for the model

Upload Model Check:
After model upload shapeways performs certain checks on the model to ensure model integrity.
This check takes a few minutes for my high-res models, which I would like to omit for the end-users' sake.
Can this check be avoided in some way? (for example using my application id?)

I already build these models programmaticly, so they are allways printable, and before going live the program will be tested accordingly.

When a user has completed the flashprogram and uploaded it's model with a certain size and material, he/she would like to order it.

In the current situation the model is uploaded into his/her store.

Can the model be uploaded to the supershapes store, and the user be redirected directly to the order-page of the model, by using for example the session-id (or the model-upload_id, gotten from the upload)?

I hope to get some clarity through this... Smile

Kind Regards,

Sjoerd van den Berg.

Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:redirect loop when trying to manage apps
Next Topic:post request with php curl?
Goto Forum:



We're sorry to inform you that we no longer support this browser and can't confirm that everything will work as expected. For the best Shapeways experience, please use one of the following browsers:

Click anywhere outside this window to continue.