Skip to content
rehno-lindeque edited this page Jan 28, 2012 · 10 revisions

API Reference

Box

dimensions float[3]

Sphere

radius     float

Cylinder

radius     float
axis       0,1,2
length     float         (optional)

Intersect

Union

Difference

Translate

offset     float[3]

Rotate

axis       0,1,2,float[3]
angle      degrees

Scale

factor     float

Mirror

axes       (0,1,2)[3]

Repeat

interval   float[3]
count      int[3]        (optional)

Material

color      float[3]

Chamfer

radius     float

Bevel

radius     float

Wedge

axis       0,1,2
from       degrees
to         degrees

Bend

axis       0,1,2
angle      degrees
radius     float         (optional)

TODO

  • Use units for length metrics
  • Use material templates (ceramics, plastics, fiber glass etc)
Clone this wiki locally