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.
| Column | Description |
|---|---|
| ID | Unique identifier |
| Parent process | Reference to the parent process |
| Process | Reference to the process |
| Name | Display name |
| Cost center | Cost centre identifier |
| Priority | Priority ranking |
| Active | Whether the entry is active |
| Child processes active | Whether child processes are active |
| Description | Notes |
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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Hourly rate | Hourly rate |
Processes - Setup time default values
Default setup time per process used when no specific time is defined.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Setup time | Setup 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Unit time | Unit 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Mass | Part mass in kg (lower bound) |
| Setup time delta | Setup time offset |
| Unit time delta | Unit 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Time | Time value |
Processes - Mass constraints
Mass limits per process — minimum and maximum part mass.
| Column | Description |
|---|---|
| Process | Reference 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Sheet - Material | Reference to the sheet material |
| Allowed | Whether 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Tubes - Material | Reference to the tube material |
| Allowed | Whether 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.
| Column | Description |
|---|---|
| Process | Reference to the process |
| Purchase part material | Reference to the purchase part material |
| Allowed | Whether 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.
| Column | Description |
|---|---|
| Process | Reference 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 point | What it controls |
|---|---|
| - | No entry point, for example for a function that only other functions call |
| Setup time | Setup time for the work step, independent of the quantity |
| Unit time | Time per part during production |
| Material costs | Material cost per part |
| Constraint | Boolean pass/fail for validation rules |
| Custom | Any 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:
| Operation | Meaning |
|---|---|
+ - | 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
- Create a function with built-in and/or user-defined variables.
- Write an expression that computes a result from those variables.
- Assign the function to an Entry point.
- When you add a node whose process has a custom calculation stored in the database, WSi evaluates the formula with the corresponding calculation variables.
- 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.