Application module: Associative text | ISO/TS 10303-1132:2014-02(E) © ISO |
This clause specifies the information requirements for the Associative text application module. The information requirements are specified as the Application Reference Model (ARM) of this application module.
NOTE 1 A graphical representation of the information requirements is given in Annex C.
NOTE 2 The mapping specification is specified in 5.1. It shows how the information requirements are met by using common resources and constructs defined or imported in the MIM schema of this application module.
This clause defines the information requirements to which implementations shall conform using the EXPRESS language as defined in ISO 10303-11. The following begins the Associative_text_arm schema and identifies the necessary external references.
EXPRESS specification:
*)
SCHEMA Associative_text_arm;
(*
The following EXPRESS interface statements specify the elements imported from the ARMs of other application modules.
EXPRESS specification:
*)
USE FROM
Appearance_assignment_arm;
--
ISO/TS 10303-1001
USE FROM
Colour_arm;
--
ISO/TS 10303-1002
USE FROM
Text_appearance_arm;
--
ISO/TS 10303-1136
(*
NOTE 1 The schemas referenced above are specified in the following part of ISO 10303:
Appearance_assignment_arm ISO/TS 10303-1001 Colour_arm ISO/TS 10303-1002 Text_appearance_arm ISO/TS 10303-1136
NOTE 2 See Annex C, Figures C.1and C.2 for a graphical representation of this schema.
This subclause specifies the ARM types for this application module. The ARM types and definitions are specified below.
The at_appearance_select type is an extension of the appearance_select type. It adds the data type Text_style to the list of alternate data types.
EXPRESS specification:
*)
TYPE
at_appearance_select =
SELECT
BASED_ON
appearance_select
WITH
(Text_style);
END_TYPE;
(*
The at_composite_text_element_select type is an extension of the composite_text_element_select type. It adds the data type Annotation_text to the list of alternate data types.
NOTE The list of entity data types may be extended in application modules that use the constructs of this module.
EXPRESS specification:
*)
TYPE
at_composite_text_element_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT
BASED_ON
composite_text_element_select
WITH
(Annotation_text);
END_TYPE;
(*
The text_or_composite_text type is an extensible list of alternate data types that allows for the designation of the data types Annotation_text, Composite_presentable_text, Defined_character_glyph and Text_literal.
NOTE The list of entity data types may be extended in application modules that use the constructs of this module.
EXPRESS specification:
*)
TYPE
text_or_composite_text =
EXTENSIBLE
GENERIC_ENTITY
SELECT
(Annotation_text,
Composite_presentable_text,
Defined_character_glyph,
Text_literal);
END_TYPE;
(*
The text_string_representation_item_select type is an extensible list of alternate data types that allows for the designation of the data types Annotation_text, Composite_presentable_text, Defined_character_glyph and Text_literal.
NOTE The list of entity data types may be extended in application modules that use the constructs of this module.
EXPRESS specification:
*)
TYPE
text_string_representation_item_select =
EXTENSIBLE
GENERIC_ENTITY
SELECT
(Annotation_text,
Composite_presentable_text,
Defined_character_glyph,
Text_literal);
END_TYPE;
(*
This subclause specifies the ARM entities for this module. Each ARM application entity is an atomic element that embodies a unique application concept and contains attributes specifying the data elements of the entity. The ARM entities and definitions are specified below.
EXPRESS specification:
*)
ENTITY Annotation_curve
ABSTRACT SUPERTYPE
SUBTYPE OF (Annotation_element);
annotation_curve_type :
OPTIONAL
STRING;
SELF\Styled_element.element : Curve;
END_ENTITY;
(*
Attribute definitions:
annotation_curve_type: the kind of Annotation_curve. This information is provided with respect to the intended usage of the annotated object.
EXAMPLE 'text leader' is an example for annotation_curve_type.
The value of this attribute need not be specified.
element: an attribute inherited from the Styled_element shall be redeclared as the Curve for the Annotation_curve.
EXPRESS specification:
*)
ENTITY Annotation_element
SUPERTYPE OF (ONEOF (Annotation_text_occurrence,
Annotation_curve))
SUBTYPE OF (Detailed_geometric_model_element, Styled_element);
END_ENTITY;
(*
EXPRESS specification:
*)
ENTITY Annotation_text
SUBTYPE OF (Detailed_geometric_model_element);
replicated_model : Text_string_representation;
source : Axis_placement;
target : Axis_placement;
END_ENTITY;
(*
Attribute definitions:
replicated_model: specifies the role of the Text_string_representation for the Annotation_text.
source: specifies the role of the Axis_placement for the Annotation_text.
target: specifies the role of the Axis_placement for the Annotation_text.
EXPRESS specification:
*)
ENTITY Annotation_text_occurrence
SUBTYPE OF (Annotation_element);
SELF\Styled_element.element RENAMED text : text_or_composite_text;
END_ENTITY;
(*
Attribute definitions:
text: specifies the text_or_composite_text for the Annotation_text_occurrence.
EXPRESS specification:
*)
ENTITY Dimension_text
SUBTYPE OF (Annotation_text_occurrence);
WHERE
WR1: name IN ['dimension value', 'tolerance value', 'unit text', 'prefix text', 'suffix text'];
END_ENTITY;
(*
Formal propositions:
WR1: The name shall be in type of 'dimension value', 'tolerance value', 'unit text', 'prefix text', 'suffix text'.
EXPRESS specification:
*)
ENTITY Text_string_representation
SUBTYPE OF (Styled_model);
SELF\Representation.items : SET[1:1] OF text_string_representation_item_select;
END_ENTITY;
(*
Attribute definitions:
items: the set of text_string_representation_item_select that the Text_string_representation is a collection of. There shall exist exactly one text_string_representation_item_select for the Text_string_representation.
A Text_style is the definition of the visual presentation of a Text_literal, Composite_presentable_text, Annotation_text, or an Annotation_text_character. The visual presentation characteristics are thickness, colour, text rotation angle, character aspect ratio, character rotation angle, character scale, and character slant angle as shown in figure 4.
EXPRESS specification:
*)
ENTITY Text_style;
font_size_scale : REAL;
mirror_placement :
OPTIONAL
Axis_placement;
text_colour : Colour;
END_ENTITY;
(*
Attribute definitions:
font_size_scale: specifies the REAL value.
mirror_placement: specifies the role of the Axis_placement for the Text_style. The value of this attribute need not be specified.
text_colour: specifies the role of the Colour for the Text_style.
*)
END_SCHEMA; -- Associative_text_arm
(*
© ISO 2014 — All rights reserved