Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

This page contains a listing of available variables for pricing Post Processing and includes sample pricing scripts for different processes.

For a general overview of how Pricing Scripts work, read General Rules for Pricing Scripts - General Usage .

Variables Available for Pricing of Post-Processing

This listing are all variables that are derived from each uploaded 3D model.

Variable

Description

model.volume

Volume of the 3D model in mm3

model.area

Area of the 3D model in mm2

model.h

Height of the 3D model in mm

model.w

Width of the 3D model in mm

model.d

Depth of the 3D model in mm

model.shells

Number of separated shells in 3D model

model.box

Bounding box volume of the 3D model in mm3

model.

machine

convex_hull_volume

Convex hull volume of the model in mm3

model.concave_hull_volume

Concave hull volume of the model in mm3, calculated with a max edge length of 55mm

support.volume

Volume of the solid support structures in mm3

support.area

Area of the model covered by support structures in mm2

item.quantity

Quantity of the same geometry in the basket.
(Because the pricing script define a unit price, this variable is needed for quantity-based discounts.)

User Properties

See the variable listing under User Based Pricing Scripts

...

Sample Post Processing Pricing Scripts

This section contains sample scripts based on specific post processing methods.
These pricing scripts can be copied directly into the platform and the variables can be adjusted according to your specific workflow and pricing parameters.

...

Coloring

Code Block
languagejs
model.machineconvex_hull_volume * 0.00005;

Polishing

Code Block
languagejs
model.area*0.0004