Parameters and Operators Available for 3D Spark's Expression Based Features (Process Steps, Pricing Configurator, Traffic Light)

The operators and parameters for Process Steps, Pricing Configurator and Traffic Light are listed below.


Jump to:

Process Steps

Pricing Configurator

Traffic Light


Parameters for Expression Based Process Steps

Description

Parameter

Part volume (cm³)

part_vol

Part volume (cm³)

part_volume

Part surface area (cm²)

part_srf_area

Part surface (cm²)

part_surface

Bounding box dimension in x-direction (mm)

bb_x

Bounding box dimension in y-direction (mm)

bb_y

Bounding box dimension in z-direction (mm)

bb_z

Minimum bounding box dimension in x-direction (mm)

min_bb_x

Minimum bounding box dimension in y-direction (mm)

min_bb_y

Minimum bounding box dimension in z-direction (mm)

min_bb_z

Lot size

lot_size

Part mass (g)

part_mass

Support surface area (cm²)

sup_srf_area

Support surface (cm²)

support_surface

Full support volume (cm³)

sup_vol_full

Real support volume (cm³)

sup_vol_real

Support mass (g)

sup_mass

Support mass (g)

support_mass

Oriented bounding box dimension in x-direction (mm)

or_bb_x

Oriented bounding box dimension in y-direction (mm)

or_bb_y

Oriented bounding box dimension in z-direction (mm)

or_bb_z

Parts per job

parts_pj

Parts per job

parts_per_job

Build height (mm)

bld_h

Build height (mm)

build_height

Number of layers

n_lyr

Number of layers

layers

Total mass (g)

total_mass

Example

part_vol * 0.5 : This process step costs 0.5€ per cm³ of part volume.


Pricing Configurator Parameters / Operators

Operator

Explanation

Usage examples

+

Plus

lot_size + 5

Minus

total_mass – support_mass

*

Times

cost_pp * 1.6

/

Divided by

total_mass / lot_size

^

Power

part_mass ^ 2 (square of part mass)

exp(x)

e to the power of the parameter x

exp(2) (Result=7.389)

ln(x)

Natural logarithm of paramater x

ln(lot_size)

log(x)

Logarithm of x to base 10 

log(lot_size)

Smaller than

part_vol < 1000

<=

Smaller than or euqual to

part_vol <= 1000

Larger than

part_vol > 1000

>=

Larger than or euqual to

part_vol >= 1000

=

Equal to

lot_size = 1

&

AND operator

(part_vol > 100) & (lot_size < 15)

Please do not forget the parentheses

|

OR operator

(part_vol > 100) | (lot_size < 15)

Please do not forget the parentheses

Property

Parameter

Part Volume (cm³)

part_vol

part_volume

Part Surface Area (cm²)

part_srf_area

part_surface

Bounding Box X (mm)

bb_x

Bounding Box Y (mm)

bb_y

Bounding Box Z (mm)

bb_z

Lot Size

lot_size

Part Mass (g)

part_mass

Surface Area Requiring Supports (mm)

sup_srf_area

support_surface

Support Volume (cm³)

sup_vol_real

Support Mass (g)

sup_mass

support_mass

Oriented Bounding Box X (mm)

or_bb_x

Oriented Bounding Box Y (mm)

or_bb_y

Oriented Bounding Box Z (mm)

or_bb_z

Parts per Job

parts_pj

parts_per_job

Build Height (mm)

bld_h

build_height

Number of Layers

n_lyr

layers

Total Mass (g)

total_mass

Total Cost per Part (€)

cost_pp

Cost of Pre-Process Steps per Part (€)

step_cost_pre

Cost of Main-Process Step (Manufacturing Step) per Part (€)

step_cost_main

Cost of Post-Process Steps per Part (€)

step_cost_post

Margin

margin (enter 0.3 for 30%)

Overhead

overhead (enter 0.3 for 30%)

 

 

Batch Variables

 

Total Part Volume (Batch only) (cm³)

batch_part_vol

Total Surface Area (Batch only) (cm²)

batch_part_srf_area

Total Part Bounding Box Volume (Batch only) (cm³)

batch_bbox_vol

Total Lot Size (Batch Only)

batch_lot_size


Traffic Light Parameters / Operators

Operator

Explanation

Usage examples

+

Plus

lot_size + 5

Minus

total_mass – support_mass

*

Times

cost_pp * 1.6

/

Divided by

total_mass / lot_size

^

Power

part_mass ^ 2 (square of part mass)

exp(x)

e to the power of the parameter x

exp(2) (Result=7.389)

ln(x)

Natural logarithm of paramater x

ln(lot_size)

log(x)

Logarithm of x to base 10 

log(lot_size)

Smaller than

part_vol < 1000

<=

Smaller than or euqual to

part_vol <= 1000

Larger than

part_vol > 1000

>=

Larger than or euqual to

part_vol >= 1000

=

Equal to

lot_size = 1

Property

Parameter

Part Volume (cm³)

part_vol

part_volume

Part Surface Area (cm²)

part_srf_area

part_surface

Bounding Box X (mm)

bb_x

Bounding Box Y (mm)

bb_y

Bounding Box Z (mm)

bb_z

Lot Size

lot_size

Part Mass (g)

part_mass

Surface Area Requiring Supports (mm)

sup_srf_area

support_surface

Support Volume (cm³)

sup_vol_real

Support Mass (g)

sup_mass

support_mass

Oriented Bounding Box X (mm)

or_bb_x

Oriented Bounding Box Y (mm)

or_bb_y

Oriented Bounding Box Z (mm)

or_bb_z

Parts per Job

parts_pj

parts_per_job

Build Height (mm)

bld_h

build_height

Number of Layers

n_lyr

layers

Total Mass (g)

total_mass

Total Cost per Part (€)

cost_pp

Cost of Pre-Process Steps per Part (€)

step_cost_pre

Cost of Main-Process Step (Manufacturing Step) per Part (€)

step_cost_main

Cost of Post-Process Steps per Part (€)

step_cost_post

Margin

margin (enter 0.3 for 30%)

Overhead

overhead (enter 0.3 for 30%)