Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

This page contains available variables and examples.
To see how Pricing Scripts work, read Pricing Scripts - General Usage .

Available Variables

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_volume

Convex hull volume of the model in mm3

support.volume

Volume of the solid support structures in mm3

support.area

Are of the model covered by support structures in mm2

item.quantity

Quantity of the same geometry in the basket.
Consider that the pricing script defines the unit price only.
This variable is only needed, for quantity-based discounts.

User Based Pricing

See User Based Pricing

Examples

This section contains some real-word examples.
You can copy & paste the scripts and adjust the variables according to your needs.

Dying

model.machine_volume * 0.00005;

Polishing

model.area*0.0004
  • No labels