Ruby gem to access i.materialise's API

Configuration

Imaterialise.configure do |c|
  c.tool_id = "YOUR-TOOL-ID-HERE"

  # Use the sandbox environment during development
  c.sandbox = true
end

Usage

3D Print Lab Connection

model = Imaterialise::Connection.new(file_url: "/path/to/example.stl"),
                                     currency: "eur")
model.upload
model.url # => "http://i.materialise.com/UploadRouter?modelID=1234-5678-1234-1…"

You can redirect your users to the given URL.

Install

Add the following line to your Gemfile if you are using the bundler gem:

gem "imaterialise", github: "sunny/imaterialise"

Development

To launch specs:

$ rake

License

Created by Sunny Ripert for Cults., licensed under the MIT License.

See also