You can assign operating constructors using Business Process Knowledge Template app.
For more information on how to create functions and methods, see
Business Process Knowledge Template User's Guide: About Knowledgeware
Functions and Methods.
The functions are written in the Knowledgeware language. For more
information on this language, see the Knowledge
Advisor User's Guide.
|
Arguments
|
- boundary
(element: Surface):
Curve
Creates a boundary.
|
- invert
(CurveOrSurfaceToInvert:
Wireframe): Wireframe
Inverts the orientation of a curve or surface.
|
-
translate
(totransform:
Wireframe,
dir: Direction, distance: Length):
Wireframe
Translates a point, curve, or surface.
|
- symmetry
(totransform:
Wireframe, invariant:
Wireframe):
Wireframe
Creates a symmetrical point, curve, or surface. The invariant must be of
type Point, Line, or Plane. Otherwise, an error occurs.
|
- rotate
(totransform:
Wireframe, axis: Line, angle: Angle): Wireframe
Creates a rotated element.
|
- scaling
(totransform:
Wireframe, reference: Wireframe, ratio: Real):
Wireframe
Creates a scaled element. The reference must be of type Point or Plane.
Otherwise, an error occurs.
|
- affinity
(totransform:
Wireframe, axisorigin: Point, 1stdirectionaxis:
Line, ratioX: Real, ratioY: Real, ratioZ:
Real): Wireframe
Creates an affinity of an element.
|
- assemble (Surface, ...): Surface
Creates a join of several surfaces.
|
- assemble (Curve,...):Curve
Creates a join beween several curves.
|
-
disassemble (Input: surface,
cellsMode: Boolean): List
Disassembles a surface and creates a volatile list containing domains
or cells of the surface.
 |
Returned list is volatile, as it contains temporary
objects that are deleted at the end of the evaluation of the
expression. Therefore, the Disassemble constructor is
unsuitable to be used in rules or formulas. It should be
used only in more complex expressions. |
- disassemble (Input: curve,
cellsMode: Boolean): List
Disassembles a wireframe and creates a volatile list containing
domains or cells of the curve.
 |
Returned list is volatile, as it contains temporary
objects that are deleted at the end of the evaluation of the
expression. Therefore, the Disassemble constructor is
unsuitable to be used in rules or formulas. It should be
used only in more complex expressions. |
- split (tosplit: Curve, splitting:
Wireframe,
orientation: Boolean): Curve
Enables you to split a surface.
|
- split (tosplit: Surface, splitting: Surface,
orientation: Boolean): Surface
Creates a split of one surface by another. Use the third argument to
choose the side to keep.
|
- split (tosplit: Surface, splitting: Curve,
orientation: Boolean): Surface
Creates a split of one surface by a curve. Use the third argument to
choose the side to keep.
|
- trim
(crv1: Curve, orientationCrv1:
Boolean, crv2: Curve, orientationCrv2: Boolean): Curve
Enables you to trim two wireframe elements.
|
- trim (sur1: Surface, orientationSur1: Boolean,
sur2: Surface, orientationSur2: Boolean): Surface
Creates a trim of one surface by another. Use the Booleans to choose
the side to keep on each surface.
- far
(sur: Surface, far:
Wireframe): Surface
‘sur’ is a non-connex surface.
‘far’ is a geometrical element.
Among the connex sub-elements of ‘sur’,
the far function returns the farthest from the ‘far’
geometrical element. The result is a surface.
- far (crv:
Curve, far: Wireframe): Curve
‘crv’ is a non-connex curve.
‘far’ is a geometrical element.
Among the connex sub-elements of ‘crv’,
the far function returns the farthest from the ‘far’
geometrical element. The result is a curve.
|
- far (pt: Point, far:
Wireframe): Point
‘pt’ is a non-connex point (for example, the full
boundary of a line).
‘far’ is a geometrical element.
Among the connex sub-elements of ‘pt’,
the far function returns the farthest from the ‘far’
geometrical element. The result is a point.
|
- near (sur: surface, near: wireframe):
Surface
‘sur’ is a non-connex surface.
‘near’ is a geometrical element.
Among the connex sub-elements of ‘sur’, the near function
returns the nearest from the ‘near’ geometrical
element. The result is a surface.
- near (crv: Curve, near: Wireframe): Curve
‘crv’ is a non-connex curve.
‘near’ is a geometrical element.
Among the connex sub-elements of ‘crv’, the near
function returns the nearest from the ‘near’
geometrical element. The result is a curve.
- near (pt: Point, near: Wireframe): Point
‘pt’ is a non-connex point (for example, the full
boundary of a line).
‘near’ is a geometrical element.
Among the connex sub-elements of ‘pt’, the near
function returns the nearest from the ‘near’
geometrical element. The result is a point.
- extract(cell : CATCell,
propagationType: integer): Wireframe
Function used to generate geometry from a sub element.
The second argument is the propagation type as a G
continuity (0: G0; 1: G1; 2: G2; 3: none).
Return type can be any form of geometry, not
just Wireframe. For instance, if the cell input is
of dimension 2, the Extract feature will be a
surface.
Note: The cell input and the Datum feature to be
valuated (the extract constructor’s output) should
be in the same document. |
|
|