Constructions
Vector2D - FromDirection
Creates a new Vector 2D given length and direction.
IN
| Name | Type | Description |
|---|---|---|
| InLength | Float | Desired length of the vector in pixels. Range: 〔0, +inf). |
| InDirection | Float | Desired direction of the vector in degrees. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutVector2D | Vector2D | The computed vector. |
| Error | ErrorState | Gets the execution error message |
Rectangle2D - Split
Splits the rectangle along the provided direction.
IN
| Name | Type | Description |
|---|---|---|
| InRectangle2D | Rectangle2D | The input Rectangle2D |
| InSplitDirection | Enum < SplitDirection > | Split direction. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutRectangle1 | Rectangle2D | First half of the rectangle. |
| OutRectangle2 | Rectangle2D | Second half of the rectangle. |
| Error | ErrorState | Gets the execution error message |
Constructions - ArcThroughPoints
Creates an arc using 3 points. Note: When the three points are collinear, the arc does not exist and the Conditional output will be null. Coincident points result in an arc with center set to inPoint1 and all the other dimensions set to 0. The arc's angles, when it exists, are computed starting in inPoint1 and ending in inPoint3, going clockwise.
IN
| Name | Type | Description |
|---|---|---|
| InPoint1 | Point2D | First input point. |
| InPoint2 | Point2D | Second input point. |
| InPoint3 | Point2D | Third input point. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutArc2D | Arc2DNull | An Arc3D object starting in inPoint1 and ending in inPoint3. The object is Null if the three points are collinear. |
| Error | ErrorState | Gets the execution error message |
Constructions - CircleBetweenTangents
Creates a circle using two tangent lines and a point on the circle.
IN
| Name | Type | Description |
|---|---|---|
| InLine1 | Line2D | First tangent line. |
| InLine2 | Line2D | Second tangent line. |
| InPoint | Point2D | A point on the circumference. |
| InGetMaxRadius | Bool | If true, return the circle that has maximum radius. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutCircle2D | Circle2DNull | A Circle2D object tangent to the lines and passing through the input point. The object is Null if the Circle2D cannot be computed. |
| Error | ErrorState | Gets the execution error message |
Constructions - CircleThroughPoints
Creates a circle passing through three points. Note: If the three points are collinear, the circle does not exist and the Conditional output will be null.
IN
| Name | Type | Description |
|---|---|---|
| InPoint1 | Point2D | First input point. |
| InPoint2 | Point2D | Second input point. |
| InPoint3 | Point2D | Third input point. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutCircle2D | Circle2DNull | A Circle2D object passing through the three points. The object is Null if the three points are collinear. |
| Error | ErrorState | Gets the execution error message |
Constructions - MakePointGrid
Creates a point grid starting from an anchor point.
IN
| Name | Type | Description |
|---|---|---|
| InPoint | Point2D | Reference point. |
| InRowCount | Int | Number of rows. Range: 〔0, +inf). |
| InColumnCount | Int | Number of columns. Range: 〔0, +inf). |
| InRowStep | Float | Distance between grid rows. Range: 〔0, +inf). |
| InColumnStep | Float | Distance between grid columns. Range: 〔0, +inf). |
| InAnchor | Enum < Anchor2D > | Position of the reference point with respect to the grid bounding box. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPoint2D | Point2DArray | Array containing all the grid points. The points are ordered using x and y coordinates. |
| Error | ErrorState | Gets the execution error message |
Constructions - MakePointGrid_Rectangle
Creates a point grid starting from an anchor point and the provided oriented rectangle.
IN
| Name | Type | Description |
|---|---|---|
| InRectangle | Rectangle2D | Input rectangle. |
| InRowCount | Int | Number of rows. Range: 〔2, +inf). |
| InColumnCount | Int | Number of columns. Range: 〔2, +inf). |
| InMarginWidth | Float | Grid's margin width. Range: 〔0, +inf). |
| InMarginHeight | Float | Grid's margin height. Range: 〔0, +inf). |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutPoint2D | Point2DArray | Array containing all the grid points. The points are ordered using x and y coordinates. |
| Error | ErrorState | Gets the execution error message |
Constructions - NormalSegment
Creates a new segment normal to the input segment, with a specific midpoint and length.
IN
| Name | Type | Description |
|---|---|---|
| InSegment | Segment2D | Input segment. |
| InMidpoint | Point2D | Midpoint of the new segment. |
| InLength | Float | Length of the new segment. |
| Name | String | Set the tool's name |
| Enable | Bool | Sets if current tool is enabled or not |
OUT
| Name | Type | Description |
|---|---|---|
| OutSegment2D | Segment2D | Output segment. |
| Error | ErrorState | Gets the execution error message |