AXIS 1D
AXIS 1D Datatype
The data type AXIS 1D describes a placement in three-dimensional space in terms of a point and an axis direction. According to the underlying standard (ISO 10303-42) the axis has a default orientation of (0, 0, 1).
Values of AXIS 1D Type
In a valuation of a property with AXIS 1D data type six values need to be given: the first three values contain the x,y,z translation value of the point, the second three value contain the x,y,z values of the rotation of the axis.
AXIS 1D and units
In the ISO 13584 standard, both point and direction are of type real (not real measure) and therefore have no unit of measure assigned. In an ECLASS XML 2.0 dictionary the length and the angle may indirectly be assigned a unit. The units are specified as a global unit context at level of the block (class) containing the property with AXIS 1D. Currently the dictonary allows to specification of either no unit or units for both the length and the angle.
Example of AXIS 1D in dictionary
Example of a property with data type AXIS 1D in ECLASS XML 2.0 advanced dictionary:
<ontoml:property xsi:type="ontoml:NON_DEPENDENT_P_DET_Type" id="0173-1#02-AAM650#002"> <name_scope class_ref="0173-1#01-RAA001#001" /> <date_of_original_definition>2011-02-11Z</date_of_original_definition> <date_of_current_version>2013-11-28Z</date_of_current_version> <date_of_current_revision>2013-11-28Z</date_of_current_revision> <revision>1</revision> <status>66</status> <source_language country_code="US" language_code="en" /> <preferred_name> <label country_code="US" language_code="en">Position (in mm)</label> </preferred_name> <definition> <text country_code="US" language_code="en">Coordinate point information (in mm)</text> </definition> <remark> <text country_code="US" language_code="en"></text> </remark> <domain xsi:type="ontoml:AXIS1_PLACEMENT_TYPE_Type" /> </ontoml:property>
Example of a block with global unit context:
<ontoml:class xsi:type="ontoml:ITEM_CLASS_Type" id="0173-1#01-ADS406#005"> <date_of_original_definition>2011-02-11Z</date_of_original_definition> <date_of_current_version>2014-11-30Z</date_of_current_version> <date_of_current_revision>2014-11-30Z</date_of_current_revision> <revision>1</revision> <status>66</status> <source_language country_code="US" language_code="en" /> <preferred_name> <label country_code="US" language_code="en">Single connector electrical</label> </preferred_name> <definition> <text country_code="US" language_code="en">connection necessary to the proper transport of electrical energy</text> </definition> <its_superclass class_ref="0173-1#01-ADN255#005" /> <described_by> <property property_ref="0173-1#02-AAN475#001" /> <property property_ref="0173-1#02-AAN386#002" /> <property property_ref="0173-1#02-AAN498#001" /> <property property_ref="0173-1#02-AAQ675#004" /> <property property_ref="0173-1#02-AAN337#001" /> <property property_ref="0173-1#02-AAC313#002" /> <property property_ref="0173-1#02-AAN497#004" /> <property property_ref="0173-1#02-AAN598#001" /> <property property_ref="0173-1#02-AAM650#002" /> <property property_ref="0173-1#02-AAN496#004" /> <property property_ref="0173-1#02-AAQ534#005" /> <property property_ref="0173-1#02-AAQ527#005" /> <property property_ref="0173-1#02-AAN488#002" /> </described_by> <sub_class_properties> <property property_ref="0173-1#02-AAN386#002" /> </sub_class_properties> <class_constant_values> <class_value_assignment> <super_class_defined_property property_ref="0173-1#02-AAN386#002" /> <assigned_value> <val:controlled_value value_ref="0173-1#07-AAR652#002" /> </assigned_value> </class_value_assignment> </class_constant_values> <global_unit_context> <length_unit_id dic_unit_ref="0173-1#05-AAA480#002" /> <angle_unit_id dic_unit_ref="0173-1#05-AAA117#002" /> </global_unit_context> </ontoml:class>
AXIS 1D in BMEcat
Example representation in BMEcat:
<FEATURE> <FTEMPLATE> <FT_ID>0173-1#02-AAM650#002</FT_ID> <FT_NAME lang="eng">position (in mm)</FT_NAME> </FTEMPLATE> <!--x verschiebung--> <FVALUE>10</FVALUE> <!--y verschiebung--> <FVALUE>20</FVALUE> <!--z verschiebung--> <FVALUE>30</FVALUE> <!--drehung um die x-Achse--> <FVALUE>0</FVALUE> <!--drehung um die y-Achse--> <FVALUE>0</FVALUE> <!--drehung um die z-Achse--> <FVALUE>1</FVALUE> <FUNIT>0173-1#05-AAA480#002</FUNIT> <FID>97</FID> <FPARENT_ID>90</FPARENT_ID> </FEATURE>
Note: In BMEcat only the length unit, not the angle unit is exported at the level of the property itself. The unit for angle is expected to always be the default unit.
AXIS 1D in ECLASS XML query
Example representation in query (ECLASS XML 2.0 / ISO 29002-10):
<qy:operand> <qy:subset> <!--[!]Position (in mm)--> <qy:property_reference property_ref="0173-1#01-ADN292#005"> <qy:property property_ref="0173-1#02-AAS425#002"> <qy:property property_ref="0173-1#02-AAS430#002"> <qy:property property_ref="0173-1#02-AAS435#002"> <qy:property property_ref="0173-1#02-AAM650#002" /> </qy:property> </qy:property> </qy:property> </qy:property_reference> <qy:value> <val:composite_value> <val:field> <val:real_value>10</val:real_value> </val:field> <val:field> <val:real_value>20</val:real_value> </val:field> <val:field> <val:real_value>30</val:real_value> </val:field> <val:field> <val:real_value>0</val:real_value> </val:field> <val:field> <val:real_value>0</val:real_value> </val:field> <val:field> <val:real_value>1</val:real_value> </val:field> </val:composite_value> </qy:value> </qy:subset> </qy:operand>
Note: There is no unit specified in the query, therefore it can be assumed that the units defined as the global_unit_context apply.
AXIS 1D in ECLASS response
Representation in response (ECLASS XML 2.0 / ISO 29002-31):
<!--[!]Position (in mm)--> <cat:property_value property_ref="0173-1#02-AAM650#002" subitem_path_property_ref=":0173-1#01-ADN292#005/0173-1#02-AAS425#002/0173-1#02-AAS430#002/0173-1#02-AAS435#002/0173-1#02-AAM650#002"> <val:composite_value> <val:field> <val:real_value>10</val:real_value> </val:field> <val:field> <val:real_value>20</val:real_value> </val:field> <val:field> <val:real_value>30</val:real_value> </val:field> <val:field> <val:real_value>0</val:real_value> </val:field> <val:field> <val:real_value>0</val:real_value> </val:field> <val:field> <val:real_value>1</val:real_value> </val:field> </val:composite_value> </cat:property_value>
Note: There is no unit specified in the response, therefore it can be assumed that the units defined as the global_unit_context apply.