center
Creates a point from a circle. The circle can be of any type (sketch or
GSM circle). The point which is created is the circle center.
Signaturecenter(Circle) : Point
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Circle | - |
ExampleGeometrical Set.1\Point.10 = circle (Geometrical Set.1\Circle.1)
centerofgravity
Constructs the center of gravity of a solid (i.e. a PartBody type
feature).
In case of a face, the center of gravity of the equivalent volume is
computed with a unit thickness. Whereas, for a profile, it is computed
with a unit section swept along the boundary.
Signaturecenterofgravity([Body, ..]) : Point
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | No | Body | - |
ExampleGeometrical Set.1\Point.12 = centerofgravity (PartBody)
curvaturecenter
Constructs the curvature center of a curve for a given point.
Signaturecurvaturecenter(crv : Curve, pt : Point) : Point
Arguments
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
ExampleGeometrical Set.1\Point.13 = curvaturecenter (Geometrical Set.1\Circle.1, Geometrical Set.1\Point.6)
extremum
Constructs an extremum point. The inputs are a solid, three directions,
and three Booleans.
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Solid | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
extremum
Constructs an extremum point. The inputs are a surface, three
directions, and three Booleans.
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Surface | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
extremum
Constructs an extremum point. The inputs are a curve, three directions, and three Booleans.
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Curve | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
| In | Yes | Direction | - |
| In | Yes | Boolean | - |
ExampleGeometrical Set.1\Point.2 = extremum (`Geometrical Set.1\Circle.1` ,direction (`xy plane`) ,FALSE, direction (`xy plane` ),TRUE, direction (`xy plane` ),TRUE)
point
Creates a point from its three coordinates. Values or parameter names
can be used to pass the arguments.
Signaturepoint(x : LENGTH, y : LENGTH, z : LENGTH) : Point
Arguments
Name | Input / Output | Required? | Type | Comment |
x | In | Yes | LENGTH | - |
y | In | Yes | LENGTH | - |
z | In | Yes | LENGTH | - |
ExampleGeometrical Set.1\Point.1 = point(10mm,10mm,10mm) Specifying parameter names:
Geometrical Set.1\Point.4 = point(0mm,L3,L1)
point2dto3d
Converts a 2D point (i.e. a point in a 2D sketch) into a 3D point by valuating the parameters.
Signaturepoint2dto3d(2DPoint : Point) : Point
ArgumentsYou can valuate a 2D point which can be an existing datum point or a volatile point. The constructor computes the new 3D point at the same coordinates as that of the 2D point.
Name | Input / Output | Required? | Type | Comment |
2DPoint | In | Yes | Point | - |
Example
pointbetween
Creates a point between another two points.
Signaturepointbetween(pt1 : Point, pt2 : Point, ratio : Real, orientation : Boolean) : Point
Arguments If true is specified in the
fourth argument, the third parameter is the ratio of the distance
pt1-new point to the pt1-pt2 distance. If false is
specified in the fourth argument, the ratio expresses the distance
pt2-new point to the pt1-pt2 distance (to create a point at the middle
between pt1 and pt2, specify a ratio of 0.5).
Name | Input / Output | Required? | Type | Comment |
pt1 | In | Yes | Point | - |
pt2 | In | Yes | Point | - |
ratio | In | Yes | Real | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Point.5 = pointbetween (Geometrical Set.1\Point.1, Geometrical Set.1\Point.2, 0.6, true)
pointoncurve
Creates a point on a curve.
Signaturepointoncurve(crv : Curve, pt : Point, distance : LENGTH, orientation : Boolean) : Point
ArgumentsThe point is to be created at a given
curvilinear distance from a reference point specified in the
second argument. The Boolean specified in the fourth argument allows
you to reverse the direction in which the point is to be created. If
the point specified in the second argument is not on the curve, the
projection of this point onto the curve becomes the actual reference
point.
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
distance | In | Yes | LENGTH | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Point.6 = pointoncurve (Geometrical Set.1\Spline.1, Geometrical Set.1\Point.5, 5mm, true)
pointoncurveRatio
Creates a point on a curve.
SignaturepointoncurveRatio(crv : Curve, pt : Point, ratio : Real, orientation : Boolean) : Point
ArgumentsThe location of the point to be created is
determined by the real which is specified in the third argument. This
real is the ratio of the distance [point to be created > reference
point] to the distance [point to be created > curve extremity]. The
Boolean specified in the fourth argument allows you to reverse the
direction in which the point is to be created. If the point specified
in the second argument is not on the curve, the projection of this
point onto the curve becomes the actual reference point.
Name | Input / Output | Required? | Type | Comment |
crv | In | Yes | Curve | - |
pt | In | Yes | Point | - |
ratio | In | Yes | Real | - |
orientation | In | Yes | Boolean | - |
ExampleGeometrical Set.1\Point.7 = pointoncurveRatio (Geometrical Set.1\Spline.1,Geometrical Set.1\Point.3, 0.4,true)
pointonplane
Creates a point on plane.
Signaturepointonplane(pln : Plane, pt : Point, dx : LENGTH, dy : LENGTH) : Point
ArgumentsThe location of the point to be created on
the plane is determined by the coordinates (H,V system) passed in the
third and fourth arguments. These values are specified with respect to
the reference point passed in the second argument.
Name | Input / Output | Required? | Type | Comment |
pln | In | Yes | Plane | - |
pt | In | Yes | Point | - |
dx | In | Yes | LENGTH | - |
dy | In | Yes | LENGTH | - |
ExampleGeometrical Set.1\Point.8 = pointonplane (Geometrical Set.1\Plane.1,Geometrical Set.1\Point.1, 10mm,10mm)
pointonsurface
Creates a point on surface.
Signaturepointonsurface(sur : Surface, pt : Point, dir : Direction, dist : LENGTH) : Point
ArgumentsThe location of the point to be created on
the surface is determined by its distance (fourth argument) to a
reference point (second argument) along a direction (third argument).
Name | Input / Output | Required? | Type | Comment |
sur | In | Yes | Surface | - |
pt | In | Yes | Point | - |
dir | In | Yes | Direction | - |
dist | In | Yes | LENGTH | - |
ExampleGeometrical Set.1\Point.9 = pointonsurface (Geometrical Set.1\Extrude.1,Geometrical Set.1\Point.3, direction (Geometrical Set.1\Line.1),10mm)
pointtangent
Creates a tangency point between a curve and a direction.
Signaturepointtangent(Curve, Direction) : Point
Arguments
Name | Input / Output | Required? | Type | Comment |
| In | Yes | Curve | - |
| In | Yes | Direction | - |
ExampleGeometrical Set.1\Point.11 = pointtangent (Geometrical Set.1\Spline.1, direction (`yz plane`))
|