Skip to content

Processes ​

Process definitions, hourly rates, setup times, mass constraints, and material constraints.

Edited in the Database Management window.

Processes ​

Defines all manufacturing processes, their hierarchy, cost centres, and active status.

ColumnDescription
IDUnique identifier
Parent processReference to the parent process
ProcessReference to the process
NameDisplay name
Cost centerCost centre identifier
PriorityPriority ranking
ActiveWhether the entry is active
Child processes activeWhether child processes are active
DescriptionNotes

In Database Management, WSi does not show the Parent process column. Instead, the processes appear as a tree: each process sits under its parent process in the Name column. Inactive processes appear struck through.

Double-clicking a process opens a window in which you can also edit its Hourly rate. WSi saves this change in the Processes - Hourly rate table.

For more, see Process Tree.

Processes - Hourly rate ​

Hourly rate per process for cost calculation.

ColumnDescription
ProcessReference to the process
Hourly rateHourly rate

Processes - Setup time default values ​

Default setup time per process used when no specific time is defined.

ColumnDescription
ProcessReference to the process
Setup timeSetup time

If the Processes - Calculation table holds a formula for the setup time, its result overrides this value.

Processes - Unit time default values ​

Default unit time per process used when no specific time is defined.

ColumnDescription
ProcessReference to the process
Unit timeUnit time

If the Processes - Calculation table holds a formula for the unit time, its result overrides this value.

Processes - Handling time ​

Handling time adjustments per process based on part mass.

ColumnDescription
ProcessReference to the process
MassPart mass in kg (lower bound)
Setup time deltaSetup time offset
Unit time deltaUnit time offset

WSi adds these times to the setup and unit time of the work step, for example to the time calculated in the Processes - Calculation table.

Processes - Idle time ​

Idle/queue time per process between operations.

ColumnDescription
ProcessReference to the process
TimeTime value

Processes - Mass constraints ​

Mass limits per process — minimum and maximum part mass.

ColumnDescription
ProcessReference to the process
min. (incl.)Minimum part mass in kg, inclusive
max. (excl.)Maximum part mass in kg, exclusive

You can also define mass constraints in the Processes - Calculation table, using a function with the Constraint entry point.

Processes - Sheet material constraints ​

Defines which sheet materials are allowed for each process.

ColumnDescription
ProcessReference to the process
Sheet - MaterialReference to the sheet material
AllowedWhether this combination is allowed

As soon as the table lists at least one allowed sheet material for a process, every sheet material it does not list counts as not allowed for that process: WSi reports the recoverable error Material incompatible for it.

Processes - Tube material constraints ​

Defines which tube materials are allowed for each process.

ColumnDescription
ProcessReference to the process
Tubes - MaterialReference to the tube material
AllowedWhether this combination is allowed

As soon as the table lists at least one allowed tube material for a process, every tube material it does not list counts as not allowed for that process: WSi reports the recoverable error Material incompatible for it.

Processes - Purchase part material constraints ​

Defines which purchase part materials are allowed for each process.

ColumnDescription
ProcessReference to the process
Purchase part materialReference to the purchase part material
AllowedWhether this combination is allowed

As soon as the table lists at least one allowed purchase part material for a process, every purchase part material it does not list counts as not allowed for that process: WSi reports the recoverable error Material incompatible for it.

Custom Calculations ​

WSi lets you override or extend the standard cost and time calculation for any process node using custom formulas. You write expressions that read part geometry, material properties, and user-supplied values, then wire the result to one of five entry points.

Processes - Calculation ​

Links custom calculation configurations to specific processes. The configuration is stored as a JSON blob per processId.

ColumnDescription
ProcessReference to the process

How to Open the Dialog ​

Open Settings → Database and select the Processes - Calculation table. Select a process and click Edit, or double-click the process. The dialog shows that process's calculation configuration.

On the left, under Functions, the window lists all functions defined for the process. The black plus (New) adds a function. On the right, under Function, you edit the selected function and set its name under Name.

The entries in the node context menu do not open this dialog. Edit calculation variables asks for the values of the input variables the process's calculation defines (see Variables). Edit calculation parameters overrides the material costs, setup time, and unit time per piece — or the scale prices for external manufacturing — for individual nodes. Edit calculation settings in the toolbar sets the scale values.

Entry Points ​

Under Entry point, you set what WSi uses a function's result for:

Entry pointWhat it controls
-No entry point, for example for a function that only other functions call
Setup timeSetup time for the work step, independent of the quantity
Unit timeTime per part during production
Material costsMaterial cost per part
ConstraintBoolean pass/fail for validation rules
CustomAny value with configurable precision and optional BOM export

Variables ​

Built-in variables are computed automatically from the part geometry and are always available:

Mass, Volume, Surface area (2D), Surface area (3D), Bounding box volume (3D), Dimension X/Y/Z, Sheet / profile thickness, Quantity, Article count, Component count, Outer contour length, Inner contour length, Contour count, Flow nesting length (2D), Coating area, Coating density, Coating cost rate, Operation count, Different operation count, Volume (before).

User-defined variables let you add custom inputs:

  • Constant — fixed numeric value
  • Material constant — value depends on the material group
  • Number input — user enters a value via Edit calculation variables in the node context menu (with configurable min, max, precision)
  • Enumeration input — user picks from a dropdown of named options
  • Loop — iterates over a parameter table and aggregates results
  • Function — calls another named function to reuse logic
  • Function parameter — parameter passed into a function when called

Help at the bottom right of the window gives further information on custom calculations.

Expression Language ​

Variables start with $ and contain letters, numbers, and underscores (e.g. $mass, $thickness_2). Supported operations:

OperationMeaning
+ -Addition, Subtraction
* /Multiplication, Division
^Power
( )Grouping

Built-in functions: MIN[$a; $b; ...], MAX[$a; $b; ...], FLOOR[$v], CEIL[$v].

Units are carried through automatically — dividing $mass (kg) by $thickness (mm) gives a result in kg/mm.

Preview ​

The Preview field at the bottom of the editor evaluates the expression using test values so you can verify the formula before saving. Invalid expressions show a red error message. The test values are in the Test value column next to the variables. You can edit them for most variables; change only the value, not the unit.

Where the Result Appears ​

  1. Create a function with built-in and/or user-defined variables.
  2. Write an expression that computes a result from those variables.
  3. Assign the function to an Entry point.
  4. When you add a node whose process has a custom calculation stored in the database, WSi evaluates the formula with the corresponding calculation variables.
  5. If the entry point is Material costs, Unit time, or Setup time, the result feeds into the cost calculation and appears in the Cost Analysis panel.

Configurations are stored in the Processes - Calculation table. When restoring database defaults, WSi preserves existing custom calculation function IDs so your formulas are not lost.