The dimensions from the list can be taken over in formulas by writing down the dimension shortcut or by a click on the dimension, in the list.
- Types of parameters used in geometric functions
The elements of the geometric layer are created by entering the geometric functions from the Context options area into the script. Creating these elements involves entering different parameters into the functions.
The parameters that can be used are:
- Geometric layer points – use this type of parameter in the functions where the reference points need to be declared to create another element;
- Values – use this parameter to define constant distances or angles;
- Ratios – this type of parameter is represented by the dimensions saved in the model through the Dimension table or the Measurement table, and is a variable value. These ratios can be entered in formulas either through a click on the name of the ratio from the Dimension list or through writing the shortcut in the formula’s field.
- Distance between two points – use this parameter type to enter, in the formula, a distance defined by two points from the geometric layer. To enter this parameter type, apply one of these syntaxes:
- dist(Pm,Pn) – the value of the direct distance between the Pm and Pn points;
- distV(Pm,Pn) – the value of the distance in vertical direction between the Pm and Pn points;
- distH(Pm,Pn) – the value of the distance in horizontal direction between the Pm and Pn points;
- Angle between points – use this parameter to enter, in the formula, an angle’s value by defining three points from the geometric layer. To enter this parameter type, apply the following syntax:
- ang(Pm,Pn,Px) – the angle defined by points Pm, Pn and Px, the tip of the angle being in point Pn.
These parameters can be used in simple or complex formulas by using parentheses. The following syntaxes can be also used in formulas: - sin(Pm,Pn,Px) – calculating the sine of the angle defined by points Pm, Pn, Px;
- cos(Pm,Pn,Px) – calculating the cosine of the angle defined by points Pm, Pn, Px;
- tag(Pm,Pn,Px) – calculating the tangent of the angle defined by points Pm, Pn, Px;
- ctag(Pm,Pn,Px) – calculating the cotangent of the angle defined by points Pm, Pn, Px;
MTM Parametric general functionalities
- Anchoring a pattern to the geometric layer
To anchor a pattern to the geometric layer, you need to draw it, first, and, then, carry out its points’ snapping to the geometric layer points.
The pattern points anchoring to the geometric layer can be carried out by:
- freely drawing the pattern and, then, operating the anchoring of the main points, in the Shape working mode, and of the technical elements (technical points, grain axis ends, technical line ends), in the Grading working mode;
- drawing the pattern by snap to the geometric layer points.
Anchoring a pattern to the geometric layer in the Shape working mode or in the Grading working mode
In the Shape working mode, the anchoring of the pattern’s main points to the geometric layer is carried out by entering, in Parametric from the Activity zone – Point properties, the name of the point from the geometric layer to which the anchoring is performed.