|
ENTITY composite_hole SUBTYPE OF (compound_feature); WHERE wr1: SELF \ characterized_object . description IN [ 'counterbore' , 'countersunk' ] ; wr2: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) ) = 2 ) ) ) = 1 ; wr3: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) | 'automotive_design.' + 'feature_component_relationship' IN TYPEOF ( sar ) ) ) = 2 ) AND ( SIZEOF ( get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) ) ) ) = 2 ) ) ) = 1 ; wr4: SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( rh1 <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) ) ) | ( SIZEOF ( QUERY ( rh2 <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) ) ) | ( rh1 :<>: rh2 ) AND ( get_diameter_for_round_hole ( rh1 ) = get_diameter_for_round_hole ( rh2 ) ) ) ) = 0 ) ) ) = 0 ) ) ) = 1 ; wr5: ( SELF . description <> 'countersunk' ) OR ( SIZEOF ( QUERY ( sa <* get_shape_aspects ( SELF ) | ( 'automotive_design.' + 'composite_shape_aspect' IN TYPEOF ( sa ) ) AND ( sa . name = 'compound feature in solid' ) AND ( SIZEOF ( QUERY ( rh <* get_round_holes_for_composite_hole ( bag_to_set ( USEDIN ( sa , 'automotive_design.shape_aspect_relationship.relating_shape_aspect' ) ) ) | ( SIZEOF ( QUERY ( sa1 <* get_shape_aspects ( rh ) | ( sa . description = 'change in diameter occurrence' ) AND ( SIZEOF ( QUERY ( sar <* USEDIN ( sa1 , 'automotive_design.shape_aspect_relationship.related_shape_aspect' ) | ( sar . description = 'taper usage' ) AND ( 'automotive_design.' + 'taper' IN TYPEOF ( sar . relating_shape_aspect ) ) ) ) = 1 ) ) ) = 1 ) ) ) = 1 ) ) ) = 1 ) ; END_ENTITY; -- composite_hole |
Entity data types and their attributescharacterized_objectname: label; (OPT) description: text; feature_definition - compound_feature - composite_hole - |
Global rules for this entity data type- |
public interface EComposite_hole extends ECompound_feature |
public class CComposite_hole implements EComposite_hole |
public class AComposite_hole extends AEntitypublic EComposite_hole getByIndex(int index)public EComposite_hole getCurrentMember(SdaiIterator it) |