(* SCHEMA step_merged_ap_schema; *)
-- DIFF IN AP214 -- DIFF IN AP224 -- IN AP214/AP224/AP238 STEP-NC/AP242 ENTITY round_hole SUPERTYPE OF (ONEOF(basic_round_hole, explicit_round_hole)) SUBTYPE OF (feature_definition); WHERE WR1: (SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXPLICIT_ROUND_HOLE', 'STEP_MERGED_AP_SCHEMA.BASIC_ROUND_HOLE' ] * TYPEOF(SELF)) = 1) XOR (SIZEOF(QUERY (pds <* QUERY (pd <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION.DEFINITION')| ('STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_SHAPE' IN TYPEOF(pd)))| NOT (SIZEOF(QUERY (sa_occ <* USEDIN(pds, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT.OF_SHAPE')| (sa_occ.description = 'diameter occurrence') AND (SIZEOF(QUERY (sdr <* QUERY (sar <* USEDIN(sa_occ, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT_RELATIONSHIP.RELATED_SHAPE_ASPECT')| (sar.description = 'profile usage') AND ('STEP_MERGED_AP_SCHEMA.SHAPE_DEFINING_RELATIONSHIP' IN TYPEOF(sar)))| ('STEP_MERGED_AP_SCHEMA.CIRCULAR_CLOSED_PROFILE' IN TYPEOF(sdr.relating_shape_aspect)) AND (sdr.name = 'diameter'))) = 1))) = 1))) = 0); WR2: (SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXPLICIT_ROUND_HOLE', 'STEP_MERGED_AP_SCHEMA.BASIC_ROUND_HOLE' ] * TYPEOF(SELF)) = 1) XOR (SIZEOF(QUERY (pds <* QUERY (pd <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION.DEFINITION')| ('STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_SHAPE' IN TYPEOF(pd)))| NOT (SIZEOF(QUERY (sa_occ <* USEDIN(pds, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT.OF_SHAPE')| (sa_occ.description = 'hole depth occurrence') AND (SIZEOF(QUERY (sdr <* QUERY (sar <* USEDIN(sa_occ, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT_RELATIONSHIP.RELATED_SHAPE_ASPECT')| (sar.description = 'path feature component usage') AND ('STEP_MERGED_AP_SCHEMA.SHAPE_DEFINING_RELATIONSHIP' IN TYPEOF(sar)))| (('STEP_MERGED_AP_SCHEMA.PATH_FEATURE_COMPONENT' IN TYPEOF(sdr.relating_shape_aspect)) AND (sdr.name = 'hole depth')) AND (sdr.relating_shape_aspect.description = 'linear'))) = 1))) = 1))) = 0); WR3: (SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXPLICIT_ROUND_HOLE', 'STEP_MERGED_AP_SCHEMA.BASIC_ROUND_HOLE' ] * TYPEOF(SELF)) = 1) XOR (SIZEOF(QUERY (pds <* QUERY (pd <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION.DEFINITION')| ('STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_SHAPE' IN TYPEOF(pd)))| NOT (SIZEOF(QUERY (sa_occ <* USEDIN(pds, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT.OF_SHAPE')| (sa_occ.description = 'bottom condition occurrence') AND (SIZEOF(QUERY (fcr <* QUERY (sar <* USEDIN(sa_occ, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT_RELATIONSHIP.RELATED_SHAPE_ASPECT')| (sar.description = 'hole bottom usage') AND ('STEP_MERGED_AP_SCHEMA.FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF(sar)))| ('STEP_MERGED_AP_SCHEMA.HOLE_BOTTOM' IN TYPEOF(fcr.relating_shape_aspect)) AND ('STEP_MERGED_AP_SCHEMA.ROUND_HOLE' IN TYPEOF(fcr.related_shape_aspect.of_shape.definition)))) = 1))) = 1))) = 0); WR4: (SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXPLICIT_ROUND_HOLE', 'STEP_MERGED_AP_SCHEMA.BASIC_ROUND_HOLE' ] * TYPEOF(SELF)) = 1) XOR (SIZEOF(QUERY (pds <* QUERY (pd <* USEDIN(SELF, 'STEP_MERGED_AP_SCHEMA.PROPERTY_DEFINITION.DEFINITION')| ('STEP_MERGED_AP_SCHEMA.PRODUCT_DEFINITION_SHAPE' IN TYPEOF(pd)))| NOT (SIZEOF(QUERY (sa_occ <* USEDIN(pds, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT.OF_SHAPE')| (sa_occ.description = 'change in diameter occurrence') AND (SIZEOF(QUERY (fcr <* QUERY (sar <* USEDIN(sa_occ, 'STEP_MERGED_AP_SCHEMA.SHAPE_ASPECT_RELATIONSHIP.RELATED_SHAPE_ASPECT')| (sar.description = 'taper usage') AND ('STEP_MERGED_AP_SCHEMA.FEATURE_COMPONENT_RELATIONSHIP' IN TYPEOF(sar)))| ('STEP_MERGED_AP_SCHEMA.TAPER' IN TYPEOF(fcr.relating_shape_aspect)) AND ('STEP_MERGED_AP_SCHEMA.ROUND_HOLE' IN TYPEOF(fcr.related_shape_aspect.of_shape.definition)))) = 1))) <= 1))) = 0); WR5: (SIZEOF([ 'STEP_MERGED_AP_SCHEMA.EXPLICIT_ROUND_HOLE', 'STEP_MERGED_AP_SCHEMA.BASIC_ROUND_HOLE' ] * TYPEOF(SELF)) = 1) XOR (SIZEOF(QUERY (pdr <* get_property_definition_representations(SELF)| ('STEP_MERGED_AP_SCHEMA.SHAPE_REPRESENTATION_WITH_PARAMETERS' IN TYPEOF(pdr.used_representation)))) = 1); END_ENTITY;
|
Generated by STEP Tools® EXPRESS to HTML Converter
2024-09-06T14:00:33-04:00