Our Gift to You: 20% off your own designs in Strong & Flexible Plastic through Dec 23, with promo code MY2014 · details
Home » Community » Co-Creator Feedback » Instant Co Create through API
Search Search  
Show: Today's Messages    Show Polls    Message Navigator
Instant Co Create through API [message #27031] Fri, 06 May 2011 02:37 UTC Go to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
When I make a co create I can define fields. Great.
Now what I would like is when the user presses submit it sends the form fields to my web server as a post query. My server can then render the requested model and upload it within a few minutes to shapeways through the API. You could then charge based on the actual volume since you will have the model done.

I have already written the code so I can do this on my side. The API team has there code in place so the model can be uploaded though we yet have an option to restrict material type but if you could some how hyjack the upload then that does not matter. Or maybe the upload for co creates needs to be through a separate function.

Long story short this would allow for the long requested ring sizing option(I will provide full source codes for anyone wishing to setup an auto ring size uploader.)


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Instant Co Create through API [message #36804 is a reply to message #27031 ] Mon, 17 October 2011 23:02 UTC Go to previous messageGo to next message
avatar jamesdavid  is currently offline jamesdavid
Messages: 5
Registered: August 2011
Go to my shop
Junior Member
Hi Mctriva,

I am interested in the source code you mention. With modification it may be just what I am looking for. Check out my store. I would be able to have one product listing (instead of 42). People could insert the appropriate dimensions and even custom text. The appropriate model could be generated and printed. It would be great.

Thanks in advance,
James
Re: Instant Co Create through API [message #36806 is a reply to message #36804 ] Mon, 17 October 2011 23:26 UTC Go to previous messageGo to next message
avatar mctrivia  is currently offline mctrivia
Messages: 808
Registered: September 2010
Go to my shop
Senior Member
I am slowly releasing the source codes here: https://sourceforge.net/projects/php3dmodeler/

The 2 objects needed to load, manipulate and save an stl file are already there. I will be uploading the code needed to upload to shapeways and stuff soonish but shapeways has currently broke that feature for everyone but me.


Follow me on twitter http://twitter.com/mctrivia or my blog at http://4ddice.blogspot.com/
Re: Instant Co Create through API [message #36807 is a reply to message #36806 ] Mon, 17 October 2011 23:38 UTC Go to previous message
avatar jamesdavid  is currently offline jamesdavid
Messages: 5
Registered: August 2011
Go to my shop
Junior Member
Awesome. Thanks for sharing! My models are in OpenSCAD so I think I should be able to just run a shell command in PHP after passing the appropriate variables to generate the STL.

I will keep my eye open for the code that talks with Shapeways as I think that will be my main hurdle.

Thanks again,
James

 
   
Previous Topic:Size is tenfold?
Next Topic:HELP!! Accident Happened

Logo

Hello.

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.