(* SCHEMA step_merged_ap_schema; *)
-- IN AP238 STEP-NC/AP242
ENTITY countersink_hole_definition
SUBTYPE OF (explicit_composite_hole);
countersink_angle : positive_plane_angle_measure_with_unit;
countersink_angle_tolerance : OPTIONAL tolerance_value;
countersink_diameter : positive_length_measure_with_unit;
countersink_diameter_tolerance : OPTIONAL tolerance_value_or_limits_and_fits;
drilled_hole_depth : OPTIONAL positive_length_measure_with_unit;
drilled_hole_depth_tolerance : OPTIONAL tolerance_value;
drilled_hole_diameter : positive_length_measure_with_unit;
drilled_hole_diameter_tolerance : OPTIONAL tolerance_value_or_limits_and_fits;
through_hole : BOOLEAN;
WHERE
WR1:
through_hole XOR EXISTS(drilled_hole_depth);
WR2:
'STEP_MERGED_AP_SCHEMA.PLANE_ANGLE_MEASURE_WITH_UNIT' IN TYPEOF(countersink_angle_tolerance\tolerance_value.lower_bound);
WR3:
'STEP_MERGED_AP_SCHEMA.PLANE_ANGLE_MEASURE_WITH_UNIT' IN TYPEOF(countersink_angle_tolerance\tolerance_value.upper_bound);
WR4:
NOT ('STEP_MERGED_AP_SCHEMA.TOLERANCE_VALUE' IN TYPEOF(countersink_diameter_tolerance)) OR ('STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(countersink_diameter_tolerance\tolerance_value.lower_bound));
WR5:
NOT ('STEP_MERGED_AP_SCHEMA.TOLERANCE_VALUE' IN TYPEOF(countersink_diameter_tolerance)) OR ('STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(countersink_diameter_tolerance\tolerance_value.upper_bound));
WR6:
'STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(drilled_hole_depth_tolerance\tolerance_value.lower_bound);
WR7:
'STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(drilled_hole_depth_tolerance\tolerance_value.upper_bound);
WR8:
NOT ('STEP_MERGED_AP_SCHEMA.TOLERANCE_VALUE' IN TYPEOF(drilled_hole_diameter_tolerance)) OR ('STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(drilled_hole_diameter_tolerance\tolerance_value.lower_bound));
WR9:
NOT ('STEP_MERGED_AP_SCHEMA.TOLERANCE_VALUE' IN TYPEOF(drilled_hole_diameter_tolerance)) OR ('STEP_MERGED_AP_SCHEMA.LENGTH_MEASURE_WITH_UNIT' IN TYPEOF(drilled_hole_diameter_tolerance\tolerance_value.upper_bound));
END_ENTITY;
|
|
Generated by STEP Tools® EXPRESS to HTML Converter
2025-09-04T17:14:52-04:00