Component Prototype

Description

AirCooler

Component

 

 

Air Cooler component is a component of the petrochemical domain. This component builds a three-dimensional Air Cooler. Air Cooler is build out of two models (body and blades). The component bases on the Geometry3dsComponent to load the geometry of the component into the scene (see Geometry3dsComponent). In order to build the Air Cooler component, the following parameters are needed: offset and scale

In-slots

Name

Type

Description

visible

boolean

The component is shown when true and hidden when false.

transformation

matrix

This transformation matrix is applied to the component geometry when shown

on

boolean

When True, the blades moves.

power

double

Represents the value of the power that increase o decrease the speed of rotation (0 = minimum; 1 = maximum)

Out-slots

Name

Type

Description

visible

boolean

The in-slot is propagated to the out-slot

transformation

matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the offset.

status

double

Emits the position (in degrees) of the blades

id

integer

Id of the model that can change at run time

nodeTransformation

matrix

Transformation matrix of the model that can change at run time

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

offset

matrix

The offset transformation matrix between the transformation given by the in-slot and the geometry model

scale

double

scales the component in the three axis.

Figure Air Cooler