ISO 10303-214:2010(E)

Figure — Arrowleft Figure — Clause 4 Figure — Arrowright

4.2.533 Template_instance

A Template_instance is a replica of a Geometric_model, of a Styled_model, or of an External_model.

The location of the replica and any additional geometrical transformation to be applied to the replica, i.e., uniform scaling, rotation or mirroring, are specified by the attributes 'origin' and ’target’.

NOTE 1 In the case where the units of the Cartesian coordinate space of the definition are different from the units to be applied to the Template_instance, unit conversion is required.

NOTE 2 In case of length unit conversion this conversion applies in addition to the scale attribute.

EXAMPLE In a technical drawing of a mechanical part with several identical drilling holes, the hole geometry (circle) together with its annotation elements (diameter dimension and centrelines) is defined once. This particular definition is instantiated several times at different locations by corresponding Template_instance objects.

A Template_instance is a type of Detailed_model_element.

The data associated with a Template_instance are the following:

4.2.533.1 id

The id specifies the identifier of the Template_instance.

4.2.533.2 origin

The origin specifies the Axis_placement that defines the origin of the replicated object.

See template_instance to axis_placement for the application assertion.

4.2.533.3 scale

The scale specifies the scaling factor for all Cartesian coordinate directions. The scaling factor shall be positive. If the scaling factor is omitted, it shall be 1.0.

The scale need not be specified for a particular Template_instance.

4.2.533.4 target

The target specifies the geometrical transformation applied to the instance. All transformations that can be expressed by an orthonormal 2 × 2 (for 2D) or 3 × 3 (for 3D) matrix can be applied.

EXAMPLE Examples for suitable operations are rotation and mirroring.

See template_instance to explicit_transformation_2d, and template_instance to explicit_transformation_3d for the application assertion.

4.2.533.5 template_definition

The template_definition specifies the object to be replicated.

See template_instance to external_model, template_instance to geometric_model, and template_instance to styled_model for the application assertions.

There shall be exactly one object that defines the template_definition for a Template_instance.



© ISO 2010 — All rights reserved