axis
Creates an axis as a type of Line when the input is given as a surface.
Signatureaxis(sur : Surface) : Line
ArgumentsThe input surface can be a revolved surface around an axis or a portion of the revolved surface around an axis. Name | Input / Output | Required? | Type | Comment |
sur | In | Yes | Surface | Swapped cells created through BRep selection mechanism cannot be used as an input. |
ExampleGeometrical Set.2\Line.17 = axis(`Geometrical Set.1\Revolute.1`)
axis
Creates an axis as a type of Line when the input is given as a curve.
Signatureaxis(crv : Curve) : Line
ArgumentsThe input curve can be a circle or a portion of a circle, an ellipse or a portion of an ellipse; or an oblong curve. Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | Swapped cells created through BRep selection mechanism cannot be used as an input. |
ExampleGeometrical Set.2\Line.19 = axis(`Geometrical Set.1\Circle.2`)
binormal
Creates a line normal to a curve at a given point. The line is created in the plane which is orthogonal to the tangent vector.
Signaturebinormal(crv : Curve, pt : Point) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
ExampleGeometrical Set.1\Line.8 = binormal (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`)
inertiaAxis
Enables you to determine the inertia axis of a body.
SignatureinertiaAxis(rank : Integer [, Body, ..]) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
rank | In | Yes | Integer | - |
| In | No | Body | - |
ExampleGeometrical Set.1\Line.9 = inertiaAxis (1 ,`PartBody`)
line
Creates a line passing through a point and parallel to a direction.
The third and fourth arguments are used to specify the start and end
points.
The last argument allows you to reverse the direction of the line.
Signatureline(pt : Point, dir : Direction, start : LENGTH, end : LENGTH, orientation : Boolean) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
pt | In | Yes | Point | - |
dir | In | Yes | Direction | - |
start | In | Yes | LENGTH | - |
end | In | Yes | LENGTH | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Line.13 = line (`Geometrical Set.1\Point.2` , direction (`zx plane`), 0mm, 20mm, false)
line
Creates a line from two points.
Signatureline(Point, Point) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Point | - |
| In | Yes | Point | - |
ExampleGeometrical Set.\Line_Point_Point = line (`Geometrical Set.1\Point.1`, `Geometrical Set.1\Point.2`)
lineangle
Creates a line passing through a point, tangent to a surface and making
a given angle with a curve. When the geodesic argument is set to true,
a geodesic line is created (projected) onto the surface.
Signaturelineangle(crv : Curve, sur : Surface, pt : Point, geodesic : Boolean, start : LENGTH, end : LENGTH, angle : ANGLE, orientation : Boolean) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
sur | In | Yes | Surface | - |
pt | In | Yes | Point | - |
geodesic | In | Yes | Boolean | - |
start | In | Yes | LENGTH | - |
end | In | Yes | LENGTH | - |
angle | In | Yes | ANGLE | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Line.1 = lineangle (Geometrical Set.1\Spline.1 , Geometrical Set.1\Extrude.1 , Geometrical Set.1\Point.4, false, 0mm, 50mm, 80deg, false)
linenormal
Creates a line normal to a surface at a given point.
Signaturelinenormal(sur : Surface, pt : Point, start : LENGTH, end : LENGTH, orientation : Boolean) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
sur | In | Yes | Surface | - |
pt | In | Yes | Point | - |
start | In | Yes | LENGTH | - |
end | In | Yes | LENGTH | - |
orientation | In | Yes | Boolean | - |
Examplelinenormal = linenormal (`Geometrical Set.1\Extrude.1`, `Geometrical Set.1\Point.2` ,10mm,16mm, true)
linetangent
Creates a line tangent to a curve at a given point.
Signaturelinetangent(crv : Curve, pt : Point, start : LENGTH, end : LENGTH, orientation : Boolean) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
start | In | Yes | LENGTH | - |
end | In | Yes | LENGTH | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Line.11 = linetangent (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`,0mm, 30mm, true)
mainnormal
Creates a line normal to a curve at a given point.
The line is created in the plane which contains the tangent
vector.
Signaturemainnormal(crv : Curve, pt : Point) : Line
Arguments
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
ExampleGeometrical Set.1\Line.10 = mainnormal (`Geometrical Set.1\Spline.1`, `Geometrical Set.1\Point.6`)
|