|
ENTITY directed_angle SUBTYPE OF (shape_aspect); WHERE WR1: 'AIC_MACHINING_FEATURE.FEATURE_COMPONENT_DEFINITION' IN TYPEOF(SELF.of_shape.definition); WR2: SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) )) = 1; WR3: SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) AND (SIZEOF(pdr.used_representation.items) = 1) )) = 1; WR4: SELF.description IN ['punch direction','profile normal','surface normal']; WR5: SIZEOF( QUERY( pdr <* get_shape_aspect_property_definition_representations(SELF) | ('SHAPE_ASPECT_DEFINITION_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)) AND (SIZEOF( QUERY( i <* pdr.used_representation.items | (i.name='angle') AND (SIZEOF(['QUALIFIED_MEASURE_SCHEMA.MEASURE_REPRESENTATION_ITEM', 'MEASURE_SCHEMA.PLANE_ANGLE_MEASURE_WITH_UNIT']*TYPEOF(i) ) = 2) )) = 1) )) = 1; END_ENTITY; -- directed_angle |
Entity data types and their attributesshape_aspectname: label; (OPT) description: text; of_shape: product_definition_shape; product_definitional: LOGICAL; (DER) id: identifier; directed_angle - |
Global rules for this entity data type- |