# $RCSfile: integrated_cnc_schema.ws,v $ # $Revision: 1.3 $ $Date: 2007/07/05 18:11:32 $ # Auth: Dave Loffredo (loffredo@steptools.com) # # AP-238 WORKING SET -- CONFORMANCE CLASS 4 (everything) # # This working set file lists the permitted entities and complex # entities needed for working with the complete AP-238 model, which # is also known as conformance class 4. # # Conformance class 4 supports all of the process, geometry, and # feature information covered by CC1 through CC3, as well as the # geometric dimension and tolerance information sufficient to compute # optimal speeds and feeds, manufacturing features appearing on the # final product shape, and features with linkage to explicit geometry. # # By default, the EXPRESS compiler will generate classes for # everything, so this workingset file only contains the complex # instance combinations (ANDOR) used by AP-238. # # To see how to use working sets with the EXPRESS compiler, consult # the EXPRESS compiler section of the STEP Utilities reference manual. # This file is specified using the -ws option to the compiler # # % expfront -ws workset.ws schema.exp # # Generate classes for everything in the schema # SCHEMA integrated_cnc_schema -all \ -p28ns urn:oid:1.0.10303.238.1.0.1 # # Unit Descriptions # ANDOR( si_unit length_unit ) ANDOR( si_unit mass_unit ) ANDOR( si_unit plane_angle_unit ) ANDOR( si_unit solid_angle_unit ) ANDOR( si_unit ratio_unit ) ANDOR( si_unit time_unit ) # no conversion based solid angle or ratio ANDOR( conversion_based_unit length_unit ) ANDOR( conversion_based_unit mass_unit ) ANDOR( conversion_based_unit plane_angle_unit ) ANDOR( conversion_based_unit time_unit ) # # Measure Descriptions -- The length and plane measures may also be # combined with a qualified rep item, to handle plus minus ranges or # precisions. Qualified lengths are widely used but qualified angles # may also appear in data imported from AP-224. # ANDOR( measure_representation_item length_measure_with_unit ) ANDOR( measure_representation_item length_measure_with_unit \ qualified_representation_item ) ANDOR( measure_representation_item mass_measure_with_unit ) ANDOR( measure_representation_item mass_measure_with_unit \ qualified_representation_item ) ANDOR( measure_representation_item plane_angle_measure_with_unit ) ANDOR( measure_representation_item plane_angle_measure_with_unit \ qualified_representation_item ) ANDOR( measure_representation_item time_measure_with_unit ) ANDOR( measure_representation_item time_measure_with_unit \ qualified_representation_item ) # for qualified speeds and pressures ANDOR( measure_representation_item qualified_representation_item ) # for percentage measures ANDOR( measure_representation_item ratio_measure_with_unit ) # # Contexts and relationships # ANDOR( geometric_representation_context \ global_uncertainty_assigned_context \ global_unit_assigned_context ) ANDOR( geometric_representation_context \ global_unit_assigned_context ) # for using pcurves w/breps ANDOR( geometric_representation_context \ parametric_representation_context ) # Needed for using pcurves w/breps ANDOR( definitional_representation \ shape_representation ) ANDOR( representation_relationship_with_transformation \ shape_representation_relationship ) # # Spline curves and surfaces (NURBS) # ANDOR( rational_b_spline_curve b_spline_curve_with_knots ) ANDOR( rational_b_spline_curve bezier_curve ) ANDOR( rational_b_spline_curve quasi_uniform_curve ) ANDOR( rational_b_spline_curve uniform_curve ) ANDOR( rational_b_spline_surface b_spline_surface_with_knots ) ANDOR( rational_b_spline_surface bezier_surface ) ANDOR( rational_b_spline_surface quasi_uniform_surface ) ANDOR( rational_b_spline_surface uniform_surface ) ANDOR( bounded_curve surface_curve ) # # Features -- Everything except transition features are combined with # instanced_feature. Instanced feature is a subtype of shape_aspect, # which gives us the means to hook the feature to a shape. # # Note that replicate feature is never created directly, so it is not # here, but all of the subtypes are. Turning features will eventually # be added to this list. # # A feature might appear as a datum for a geometric tolerance. When # this happens, it must form a complex instance with datum_feature. # ANDOR( instanced_feature boss ) ANDOR( instanced_feature boss \ datum_feature ) ANDOR( instanced_feature circular_pattern ) ANDOR( instanced_feature circular_pattern \ datum_feature ) ANDOR( instanced_feature composite_hole ) ANDOR( instanced_feature composite_hole \ datum_feature ) ANDOR( instanced_feature compound_feature ) ANDOR( instanced_feature compound_feature \ datum_feature ) ANDOR( instanced_feature externally_defined_feature_definition ) ANDOR( instanced_feature externally_defined_feature_definition \ datum_feature ) ANDOR( instanced_feature feature_pattern ) ANDOR( instanced_feature feature_pattern \ datum_feature ) ANDOR( instanced_feature flat_face ) ANDOR( instanced_feature flat_face \ datum_feature ) ANDOR( instanced_feature gear ) ANDOR( instanced_feature gear \ datum_feature ) ANDOR( instanced_feature outside_profile ) ANDOR( instanced_feature outside_profile \ datum_feature ) ANDOR( instanced_feature pocket ) ANDOR( instanced_feature pocket \ datum_feature ) ANDOR( instanced_feature rectangular_pattern ) ANDOR( instanced_feature rectangular_pattern \ datum_feature ) ANDOR( instanced_feature removal_volume ) ANDOR( instanced_feature removal_volume \ datum_feature ) ANDOR( instanced_feature round_hole ) ANDOR( instanced_feature round_hole \ datum_feature ) ANDOR( instanced_feature rounded_end ) ANDOR( instanced_feature rounded_end \ datum_feature ) ANDOR( instanced_feature slot ) ANDOR( instanced_feature slot \ datum_feature ) ANDOR( instanced_feature spherical_cap ) ANDOR( instanced_feature spherical_cap \ datum_feature ) ANDOR( instanced_feature step ) ANDOR( instanced_feature step \ datum_feature ) ANDOR( instanced_feature thread ) ANDOR( instanced_feature thread \ datum_feature ) ANDOR( datum_feature chamfer ) ANDOR( datum_feature edge_round ) # -------------------- # Turning features # ANDOR( instanced_feature outer_round ) ANDOR( instanced_feature outer_round \ datum_feature ) ANDOR( instanced_feature revolved_profile ) ANDOR( instanced_feature revolved_profile \ datum_feature ) ANDOR( instanced_feature turned_knurl ) ANDOR( instanced_feature turned_knurl \ datum_feature ) # Expression Representation Items -- These are all of the different # types of expressions that can appear in the condition property for # the different STEP-NC executable control flow things. # # This is similar to the way that measures are treated by andor # combining the different length, angle, etc types with measure # representation item. ANDOR( expression_representation_item comparison_equal ) ANDOR( expression_representation_item comparison_not_equal ) ANDOR( expression_representation_item comparison_greater ) ANDOR( expression_representation_item comparison_greater_equal ) ANDOR( expression_representation_item comparison_less ) ANDOR( expression_representation_item comparison_less_equal ) ANDOR( expression_representation_item and_expression ) ANDOR( expression_representation_item not_expression ) ANDOR( expression_representation_item or_expression ) ANDOR( expression_representation_item xor_expression ) ANDOR( expression_representation_item int_literal ) ANDOR( expression_representation_item int_numeric_variable ) ANDOR( expression_representation_item real_literal ) ANDOR( expression_representation_item real_numeric_variable ) # ============================================================ # GD&T Definitions # # The way the GD&T definitions are handled in STEP requires a fair # number of complex types. In particular, optional components of some # tolerances are handled by adding a type as a complex. Keeping this # in mind, you will see that most of the complex types below are just # adding a path, modification, or measurement segment size to one of # the base geometric tolerance types from AIC 519. # # DIMENSIONS -- the externally defined size dimension can form a # complex instance if a path is specified, and the location dimensions # form a complex instance if they are "directed" # ANDOR( externally_defined_dimension_definition \ dimensional_size_with_path ) ANDOR( directed_dimensional_location angular_location ) ANDOR( directed_dimensional_location dimensional_location_with_path ) # DATUMS based on derived shapes -- These are represented as a complex # instance of datum plus derived_shape_aspect or one of the subtypes. # ANDOR( datum derived_shape_aspect ) ANDOR( datum apex ) ANDOR( datum centre_of_symmetry ) ANDOR( datum extension ) ANDOR( datum geometric_alignment ) ANDOR( datum geometric_intersection ) ANDOR( datum parallel_offset ) ANDOR( datum perpendicular_to ) ANDOR( datum tangent ) # TOLERANCES -- The geometric tolerances can form a complex instance # with "modified geometric tolerance" to add a condition like maximum # material extent. The can also be combines with "geometric tolerance # with defined unit" to specify a segment size. The AP-214/1050 ARM # allows this for any, but AP-224 restricts to angularity, flatness, # parallelism, perpendicularity, and straightness. # # The position, line profile, and surface profile tolerances can also # be associated with a datum reference, so we need a complex instance # that includes that GTWDR as well. This is a bit unwieldy, but that # is the way it was modeled. # ANDOR( angularity_tolerance modified_geometric_tolerance ) ANDOR( angularity_tolerance geometric_tolerance_with_defined_unit ) ANDOR( angularity_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( circular_runout_tolerance modified_geometric_tolerance ) ANDOR( circular_runout_tolerance geometric_tolerance_with_defined_unit ) ANDOR( circular_runout_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( coaxiality_tolerance modified_geometric_tolerance ) ANDOR( coaxiality_tolerance geometric_tolerance_with_defined_unit ) ANDOR( coaxiality_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( concentricity_tolerance modified_geometric_tolerance ) ANDOR( concentricity_tolerance geometric_tolerance_with_defined_unit ) ANDOR( concentricity_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( cylindricity_tolerance modified_geometric_tolerance ) ANDOR( cylindricity_tolerance geometric_tolerance_with_defined_unit ) ANDOR( cylindricity_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( flatness_tolerance modified_geometric_tolerance ) ANDOR( flatness_tolerance geometric_tolerance_with_defined_unit ) ANDOR( flatness_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( line_profile_tolerance modified_geometric_tolerance ) ANDOR( line_profile_tolerance geometric_tolerance_with_defined_unit ) ANDOR( line_profile_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) # Line profile may have datums, so we need these combinations too ANDOR( line_profile_tolerance geometric_tolerance_with_datum_reference ) ANDOR( line_profile_tolerance geometric_tolerance_with_datum_reference \ modified_geometric_tolerance ) ANDOR( line_profile_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit ) ANDOR( line_profile_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( parallelism_tolerance modified_geometric_tolerance ) ANDOR( parallelism_tolerance geometric_tolerance_with_defined_unit ) ANDOR( parallelism_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( perpendicularity_tolerance modified_geometric_tolerance ) ANDOR( perpendicularity_tolerance geometric_tolerance_with_defined_unit ) ANDOR( perpendicularity_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( position_tolerance modified_geometric_tolerance ) ANDOR( position_tolerance geometric_tolerance_with_defined_unit ) ANDOR( position_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) # Positions may have datums, so we need these combinations too ANDOR( position_tolerance geometric_tolerance_with_datum_reference ) ANDOR( position_tolerance geometric_tolerance_with_datum_reference \ modified_geometric_tolerance ) ANDOR( position_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit ) ANDOR( position_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( roundness_tolerance modified_geometric_tolerance ) ANDOR( roundness_tolerance geometric_tolerance_with_defined_unit ) ANDOR( roundness_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( straightness_tolerance modified_geometric_tolerance ) ANDOR( straightness_tolerance geometric_tolerance_with_defined_unit ) ANDOR( straightness_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( surface_profile_tolerance modified_geometric_tolerance ) ANDOR( surface_profile_tolerance geometric_tolerance_with_defined_unit ) ANDOR( surface_profile_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) # Surface profiles may have datums, so we need these combinations too ANDOR( surface_profile_tolerance geometric_tolerance_with_datum_reference ) ANDOR( surface_profile_tolerance geometric_tolerance_with_datum_reference \ modified_geometric_tolerance ) ANDOR( surface_profile_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit ) ANDOR( surface_profile_tolerance geometric_tolerance_with_datum_reference \ geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( symmetry_tolerance modified_geometric_tolerance ) ANDOR( symmetry_tolerance geometric_tolerance_with_defined_unit ) ANDOR( symmetry_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) ANDOR( total_runout_tolerance modified_geometric_tolerance ) ANDOR( total_runout_tolerance geometric_tolerance_with_defined_unit ) ANDOR( total_runout_tolerance geometric_tolerance_with_defined_unit \ modified_geometric_tolerance ) # This is not in the ARM, but is an artifact from some early tests # where the type was given as a string rather than a subtypes ANDOR( modified_geometric_tolerance geometric_tolerance_with_datum_reference )