Project

all3dp

0.0
No commit activity in last 3 years
No release in over 3 years
Send 3D files to All3DP's Craftcloud API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 1.0
~> 13.0
~> 3.0
~> 0.55
~> 3.6
 Project Readme

All3DP

Ruby gem to send 3D files to All3DP's Craftcloud 3D Printing Price Comparison Service API.

Installation

Add these line to your application's Gemfile:

# Send 3D files to the All3DP API.
gem "all3dp"

And then call:

$ bundle

Usage

Give URLs of STL files to the API:

configuration = All3DP::Configuration.create(
  model_urls: ["http://wtf.sunfox.org/cults-logo.stl"],
)

You can then redirect your users to the given URL:

configuration.url # => "https://app.craftcloud3d.com/configuration/f00b4r…"

Development

After checking out the repo, run bin/setup to install dependencies. Then, run rake to run the tests and linter. You can also run bin/console for an interactive prompt that will allow you to experiment with the API.

Release

To release a new version, update the version number in version.rb, update the CHANGELOG.md, commit with a message like "v42.0.0", and then run bundle exec rake release, which will create a git tag for the version, push git commits and tags, and push the gem to rubygems.org.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/sunny/all3dp.

This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the code of conduct.

License

Licensed under the MIT License.