Tools

This section describes operators belonging to the Tools category.

This page discusses:

3D Tag

Displays a text attached to a point in 3D.

Inputs

Name Type Description
Point Point Anchor point for the 3D Tag.
Text String Text to be displayed in the tag.
Show Leader Boolean Shows or not the leader from the point to the text. Note that this option is not taken into account when publishing the 3D Tag : the publication will have the leader anyway.
Color Color —

Outputs

Name Type Description
3DTag —

Apply Material

Apply a material referenced from the ressource table.

Inputs

Name Type Description
Object Feature Geometric object used to apply material.
Material Name String Name of material to apply.

Outputs

Name Type Description
Object with Material Feature Output geometry with applied Material.

Charts

Displays the content of a data structure using Highcharts.

Inputs

Name Type Description
Data List —
Abscissa List Set the abscissa categories of the chart. Must be a simple list.
Type Integer 0: line 1: pie 2: histogram 3: scatter.
Names List Names of each serie. For Pie chart option, which have single values, these are the name of each value.
Colors List Color of each serie. For Pie chart option, which have single values, these are the color of each value.

Colorize

Allows to give a color to a geometry.

Inputs

Name Type Description
Object —
Color Color —

Outputs

Name Type Description
Result Colored Object.

Convert

Converts an object into another one based on a provided type.

Inputs

Name Type Description
Object Feature Source object to convert.
Type Integer Type of the object to create. Possible conversions examples: - Point => Vector - Line => Vector - Planar Curve/Surface => Plane, Vector - Closed Surface => Volume - Plane => Line, Vector, Axis System - Axis System => Point, Plane, Vector - Volume => Surface.

Outputs

Name Type Description
Object Object of specified type created from source.

Convert to Dimension

Converts a real into a dimension. Example: '5' and 'Mass' will give you an output of type 'Mass' and value 5kg.

Inputs

Name Type Description
Real Real Real that will be converted into choosen dimension.

Outputs

Name Type Description
Dimension Output of choosen dimension.

Data Set

Allows to pack different objects into a single one for algorithmic purpose. It creates either a data set or extends a provided object with the data set. You can access the objects using Get Attribute or Explode Data Set operators.

Inputs

Name Type Description
Extend Object If this input is filled, the result is not a standalone data set. Instead it's a copy of the provided object extended with the data set.
Attribute An attribute that you can add to the data set. Use the dimension option to manage collections. You should rename the attribute for better management.

Outputs

Name Type Description
Data Set —

Data Set From Table

Creates data set from a list of list structure (table). The first item of each list must be the name of the attributes, and each following row will result in a data set.

Inputs

Name Type Description
Table The list of list being the data table to create the data sets from. When displayed in the watch operator, the first row must contain the attributes' names, and each following row will result in a data set.

Outputs

Name Type Description
Data Sets The resulting data sets.

Data Sets To Table

Create a table from a list of data sets. All the data sets must have the same attributes. This is the inverse operator of Data Sets From Table. To get pairs of names and values instead of a table it is possible to use the Deepen operator before Data Sets to Table to treat each data set individually.

Inputs

Name Type Description
Data Sets The list of data sets to create a table from. They must all have the same attributes names.

Outputs

Name Type Description
Table The resulting table.

Error Definition

Define Custom Error.

Inputs

Name Type Description
Text String Custom error text message.

Outputs

Name Type Description
Error —

Explode Data Set

Extracts all the attributes of a data set or an extended object on separated outputs. Use the button to create the outputs matching the first data set in input.

Inputs

Name Type Description
Data Set Data Set or extended object to extract data from.

Get Attribute

Gets an attribute of an object.

Inputs

Name Type Description
Object Feature —
Name String —

Outputs

Name Type Description
A —

Get Color Components

Extracts components of a color: RGBA, HSB, and Hexadecimal code.

Inputs

Name Type Description
Color Color —

Outputs

Name Type Description
Red Integer —
Green Integer —
Blue Integer —
Alpha Integer —
Hue ANGLE —
Saturation Real —
Brightness Real —
Hexadecimal Code String —

Get Type

Retrieves the types of objects in input list. The types returned are the main one for each object (an object can support several type hierarchies).

Inputs

Name Type Description
List List List of objects whose type is required.

Outputs

Name Type Description
Types List Types of the objects in the input list.

Graphic Properties

This operator allows to control the graphic properties of the visualization for the provided object. Those graphic properties are kept when publishing objects.

Inputs

Name Type Description
Object Any object that has a visualization.
Main Color Color —
Second Color Color This second color is only used in case of surface and volume geometries. It allows to control the color of edges. This color isn't taken into account in visualization instances.
Line Type Integer —
Thickness Integer Thickness of curves, lines, edges.
Symbol Integer Controls the symbol used for points, vertices.

Outputs

Name Type Description
Outs —

Hexa Color

Creates a color from its hexadecimal code as a string with 6 or 8 characters. 2 for Red, 2 for Green, 2 for Blue, 2 optional for Alpha. Example: #FF8800 or #FF8800FF is opaque orange, #FF880000 is completely transparent, #FF88001e is transparent orange.

Inputs

Name Type Description
Hexa Code String —

Outputs

Name Type Description
Color Color —

HSB Color

Creates a color from its three components hue, saturation and brightness.

Inputs

Name Type Description
Hue Angle —
Saturation Real —
Brightness Real —
Alpha Integer —

Outputs

Name Type Description
Color Color Created color.

List Attributes

Returns the list of attribute names that the object publishes.

Inputs

Name Type Description
Object Feature —

Outputs

Name Type Description
L List List of attribute names.

Python Script

A customizable operator that uses Python language and the EKL functions integrations. EKL functions are available through the ekl namespace. Example : ekl.CGMPoint(...).

Query Children

Queries objects of a given type inside an object (a geometrical set for example) and converts them if needed in the right format.

Inputs

Name Type Description
Object Feature The object where children are looked for.
Type Integer Type of the objects to retrieve.
Custom Type String If Custom Type is selected in the Type field, this value is used as the filtering type.
Recursive Boolean If True, search of children is made in a recursive way.

Outputs

Name Type Description
Query Result List —

Reach Targets End

End node of the specialized loop to look automatically for input values to reach computed values targets.

Inputs

Name Type Description
Values Real You need to provide computed values in this input.
Targets Real You need to provide target values for the computed values in this input.

Reach Targets Start

Start node for a specialized loop which tries to find proper input values to reach targets values for given computed values. Brent method is used internally. You have to specify the range of your input values, then link the computed values to the end node of the loop and provide targets for this computed value This operator requires: - that a computed value only depends on the corresponding input and that the target can be reached for a value between lower and upper bound. The function computing the value from the input must be continuous.

Inputs

Name Type Description
Lower Bounds Real List of lower bounds for the input values.
Upper Bounds Real List of upper bounds for the input values.
Max Iterations Integer Advised value: between 10 and 20. The algorithm automatically stops when tolerance is reached.
Tolerance Real Absolute tolerance to check to stop the convergence. The value must be expressed in MKS if compared to a dimension.

Outputs

Name Type Description
Values List During the loop execution, this output will contain values between lower and upper bounds selected to reach the requested target values.

Relay

Allows to create a repeater of a node output so that you can have a clearer graph.

Inputs

Name Type Description
Input Value or data to be passed.
On Boolean Indicates that 'input' is passed or not (default On=TRUE).

Outputs

Name Type Description
Output Value or data passed 'AsIs' from the input.

RGBA Color

Creates a color from its four components red, green, blue and alpha.

Inputs

Name Type Description
Red Integer —
Green Integer —
Blue Integer —
Alpha Integer —

Outputs

Name Type Description
Color Color Created color.

Script

Enables to create a custom node based on an EKL script or expression.

Set Attribute

Adds or modifies an attribute on published result containing the value passed. The result is only seen on the native client.

Inputs

Name Type Description
Object Feature Object to modify.
Name String Name of the attribute to add or modify.
Value Value to set.
Magnitude String Optional magnitude type (LENGTH, ANGLE, ...) to apply to the attribute if passed value is a real.

Outputs

Name Type Description
Out Feature —

Visualization Instance

Creates a visualization instance of any visualizable entity or collection available in the graph. The position of this visualization can be accurately controlled.

Inputs

Name Type Description
Objects List of objects to add in this visualization instance.
Ref Axis System Axis System Matrix —
Target Axis System Axis System Matrix The reference and target axis systems defined a transformation to apply to input visualizations.
Translate X Length Can be used to translate the visualization result (applied after the axis to axis transformation).
Translate Y Length —
Translate Z Length —
Rotate X Angle Can be used to rotate the visualization result (applied after the axis to axis transformation). The rotation axis is deduced from target axis system.
Rotate Y Angle —
Rotate Z Angle —
Scale X Real Can be used to create an affinity scaling of the visualization result. The reference planes for the scaling are the target axis system ones.
Scale Y Real —
Scale Z Real —
Color Color Modifies the color of the created instances.

Outputs

Name Type Description
Instances VisuInstance List of instances as visualization objects.

Watch

Displays the content of a data structure to let you understand the flows and the structure of the flows. You can export the content in .csv or .json format depending on the data dimension.

Inputs

Name Type Description
List To Dump List —

Watch 3D

This node gives a 3D interactive overview of the geometry generated by the node it is connected to.

Inputs

Name Type Description
List To Dump Geometries to watch.

Web Request

Send a HTTP or HTTPS web request, with GET, POST, PUT, PATCH or DELETE methods, some headers and a body content.

Inputs

Name Type Description
URL String The URL where send the request.
Method Integer The method, either GET, POST, PUT, PATCH or DELETE.
Headers String List of headers, separated by break lines (use "Long Text" and "Format String" nodes to get a parametric multiline string).
Body String Request content to send (for POST, PUT and PATCH methods only).

Outputs

Name Type Description
Response String Request text response.
Status code Integer Status code of request response (200, 400, ...).