In / Out

This section describes operators belonging to the In / Out category.

This page discusses:

Angle

Creates an angle parameter.

Inputs

Name Type Description
Min Angle —
Max Angle —

Outputs

Name Type Description
Angle ANGLE Parameter value.

Boolean

Creates a boolean parameter.

Outputs

Name Type Description
Value Boolean Parameter value.

Color Chooser

Returns the color specified in the color chooser input.

Inputs

Name Type Description
Alpha Integer —

Outputs

Name Type Description
Color Color —

Color Gradient

Creates a visual gradient given a list of colors and a list of ratios corresponding to the position of each color. This node returns a color corresponding to a given ratio.

Inputs

Name Type Description
Colors List List of colors the user wants to see on the gradient.
Ratios List List corresponding to the ratio of each given color.
Ratio Real Ratio (between 0 and 1).

Outputs

Name Type Description
Color List —

Dropdown

Displays a combo with a list of options provided in input and output the selected option index and related items.

Inputs

Name Type Description
Ref List List List of Objects.
List List One set of entries to pick from.

Outputs

Name Type Description
Index Integer Index of the string selected in the ComboBox.
Ref Item Element picked from input 'ref' at index 'idx'.

Empty

Creates an empty value.

Inputs

Name Type Description
Number Integer —

Outputs

Name Type Description
Empty Data Feature —

Export Image

Exports an image to PNG or JPG format.

Inputs

Name Type Description
Image Bitmap Image or list of images to export.
Format Integer Format of exported image, can be PNG or JPG.
File Name String Optional file name.

Export Mesh

Exports a mesh to STL or OBJ format.

Inputs

Name Type Description
Mesh Mesh Mesh or list of meshes to export.
Format Integer Format of exported mesh, can be STL or OBJ.
File Name String Optional file name.

Export Text

Exports a text to a file in the given format, TXT or other.

Inputs

Name Type Description
Text String Text to export. If a list is given, multiple files will be exported.
Format String Format of exported file, can be TXT or other.
File Name String Optional file name.

Font

Font used by 3D Text operator. Can be selected in a list, or a custom font by uploading a .ttf file.

Outputs

Name Type Description
Font —

Image

Imports an image. Accepted formats: JPG, JPEG, PNG, GIF, BMP, SVG.

Outputs

Name Type Description
Image Bitmap Imported image.

Import Mesh From File

Creates a mesh from a file (obj, stl formats).

Inputs

Name Type Description
Scale Factor Real —

Outputs

Name Type Description
Mesh Mesh —
Mean Edge Size LENGTH This output provides the mean of all mesh edges lengths. This can be useful to understand what should be the mesh side to use when remeshing.

Input

Allows to use a feature of the part in the graph.

Inputs

Name Type Description
Structure Boolean This option is only active when importing a set of published objects belonging to another design sequence. If true, the result is a structure of published objects, the structure being the same as the one of original Publish operator. If false, just imports the set.

Outputs

Name Type Description
Feature —

Integer

Creates an integer parameter.

Inputs

Name Type Description
Min Integer —
Max Integer —

Outputs

Name Type Description
Value Integer Parameter value.

Length

Creates a length parameter.

Inputs

Name Type Description
Min Length —
Max Length —

Outputs

Name Type Description
Value LENGTH Parameter value.

List Editor

Converts a multiline string into an array of values. Type of values is deduced automatically.

Inputs

Name Type Description
Tabulation Mode Boolean If set to true, each line in the editor is split based on the separator.
Separator String Separator character to use in tabulation mode.
Evaluate expression Boolean If set to true, tries to evaluate strings as expressions. For example PI will be understood as the number and not as a string.

Outputs

Name Type Description
List List —

Long text

Creates a parameter of long text.

Outputs

Name Type Description
Value String —

Publish

Allows to publish the geometry or axis system matrix created in the graph to make it accessible to other apps.

Inputs

Name Type Description
Object Feature Geometries or axis system matrices to publish.
Activity Boolean True by default. If false the publish is like deactivated and doesn't publish anymore.

Outputs

Name Type Description
Feature Feature Created geometry.
Feature —

Publish List

Creates a list either referencing published geometries or containing parameters.

Inputs

Name Type Description
List List This input can be linked either to a Publish node or to a node providing parameter values.

Publish Parameter

Creates an output parameter published by the design sequence. Name of the parameter is the name of the specification node.

Inputs

Name Type Description
Parameter Literal This input does not handle collections. An error will be raised if several values are passed to this input.

Publish Subdiv Surface

Creates a subdivision surface from a mesh. The mesh should be ideally composed of quad faces. The operation fails for triangular meshes or if the number of faces is too high. The hidden options are usually used to connect values coming from Subdivision Surface To Mesh operator result.

Inputs

Name Type Description
Mesh —
Format Integer Provides the format of the surface to be created.
Vertices Weight List List of weights put on vertices (reals between 0 and 1).
Edges Weight List List of weights put on edges (integers between 0 and 999).
Edges Sharpness List List of boolean values telling if edges are sharp or not.

Outputs

Name Type Description
Surface Feature Feature —

Publish Visualization

Publishes any visualization of an entity or a collection. The result is not pickable and can not used in any downstream process.

Inputs

Name Type Description
Object The input entity or collection which visualization is to be published.
Pickable Boolean If activated, the published result becomes pickable.

Outputs

Name Type Description
Visualization Feature —

Read Data From Design Table

Read data from a design table.

Inputs

Name Type Description
Design Table Design Table to read data from.

Outputs

Name Type Description
Cells List Cells of data read from design table.
Nb rows Integer Number of rows of cells.
Nb Cols Integer Number of columns of cells.

Read Data From Sheet

Reads data from a existing sheet. You can specify the orientation of output and a sub part of data to be read.

Inputs

Name Type Description
Orientation Boolean Orientation of output data.
Minrow Integer The minimum row number to be read. Index begins from 1.
Maxrow Integer The maximum row number to be read. 0 means read all rows.
Mincol Integer The minimum column number to be read. Index begins from 1.
Maxcol Integer The maximum column number to be read. 0 means read all rows.
Integer —

Outputs

Name Type Description
Cells List Cells of data read from sheet.
Rows Nb Integer Number of rows of output data.
Columns Nb Integer Number of columns of output data.

Real

Creates a parameter of type real.

Inputs

Name Type Description
Min Real —
Max Real —

Outputs

Name Type Description
Value Real Parameter value.

Reference Elements

Creates reference elements (origin point, xy yz and xz planes).

Outputs

Name Type Description
Origin GeometricPoint Origin reference.
XY Plane GeometricPlane XY reference plane.
YZ Plane GeometricPlane YZ reference plane.
ZX Plane GeometricPlane ZX reference plane.
Axis System Matrix Axis System reference.

String

Creates a parameter of type string.

Outputs

Name Type Description
Value String Parameter value.

SVG To Geometry

Imports a SVG image to construct recognized geometries.
  • Supported elements: circle, ellipse, rectangle, line, polyline, polygon, path (cubic bezier, quadratic bezier, circular arc, elliptical arc)
  • Known unsupported elements: css style block, text, textPath, special stroke styles (linecap, linejoin, miterlimit, dasharray, dashoffset), skew transform, marker, image, animate, clipPath, mask, foreignObject, pattern
.

Outputs

Name Type Description
Geometries GeometricObject Recognized geometries.

Write Data To Design Table

Write data to a design table.

Inputs

Name Type Description
Cells List Cells of data to be written to selected sheet.
Design Table Design Table to write data.

Write Data To Sheet

Writes input data to a selected sheet.

Inputs

Name Type Description
Cells List Cells of data to be written to selected sheet.
Orientation Boolean Switches orientation of data written in sheet.
Clean Boolean Cleans all content of sheet before write.
Integer —