《信息技术 形状建模信息表示 第4部分:存储格式》_第1页
《信息技术 形状建模信息表示 第4部分:存储格式》_第2页
《信息技术 形状建模信息表示 第4部分:存储格式》_第3页
《信息技术 形状建模信息表示 第4部分:存储格式》_第4页
《信息技术 形状建模信息表示 第4部分:存储格式》_第5页
已阅读5页,还剩181页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

CAD形状模型文件、层级结构、实体、几何拓扑对象、多表示数据、特征约束和属性3.2.1table结构tableObjectRef{table_kind:INT;object_id:STRING;}3.2.2struct结构structVec3f{x:float;y:float;z:float;}structVec3d{x:double;y:double;z:double;}3.2.3属性定义boolproducermodified_at0毫米,l厘米,2米0度,l弧度root_composite_ref//坐标系定义structCoordinateSystem{origin:Vec3d;x_axis:Vec3d;y_axis:Vec3d;z_axis:Vec3d;handedness:INT;//坐标系手性,0表示右手系,1表示左手系coordinate_type:INT;//坐标系类型,0表示笛卡尔坐标系,1表示柱坐标系,2表示球坐标系}tableHeader{magic:STRING;format_version:INT;structure_version:INT;producer:STRING;created_at:STRING;modified_at:STRING;lengthUnit:INT;angleUnit:INT;coordinate_system:SEM;root_composite_ref:STRING;}parent_refchild_composite_refsoccurrence_refsproperty_set_refstableComposite{object_id:STRING;name:STRING;parent_ref:STRING;child_composite_refs:[STRING];occurrence_refs:[STRING];property_set_refs:[STRING];} 4.3实体(Entity)geometry_refsrepresentation_refsfeature_refsconstraint_refsappearance_refsproperty_refsobject_id:STRING;name:STRING;entity_type:INT;geometry_refs:[STRING];representation_refs:[STRING];feature_refs:[STRING];constraint_refs:[STRING];appearance_refs:[STRING];property_refs:[STRING];}parent_composite_reftarget_entity_reftransform_refsappearance_refsproperty_refsnamespaceCADModel.Organization;tableOccurrence{object_id:STRING;name:STRING;parent_composite_ref:STRING;target_entity_ref:STRING;transform_refs:[STRING];appearance_refs:[STRING];property_refs:[STRING];}parent_space_reftarget_space_ref当前实例相较于父坐标空间的4×4齐次变translationrotationstructQuaternion{x:REAL;y:REAL;w:REAL;}tableTransform{object_id:STRING;matrix:Matrix;translation:Vec3d;rotation:SEM;scale:Vec3d;parent_space_ref:STRING;target_space_ref:STRING;}4.5.1定位矩阵4.5.2实例复用变换逻辑5.2几何表-basic_geometry_table_refparametric_curve_table_refbasic_surface_table_refparametric_surface_table_refbasic_solid_table_refbasic_geometry_table_parametric_curve_table_rbasic_surface_table_parametric_surface_tablebasic_solid_table_r}5.2.1基本几何-point_refsline_refsline_segment_refstriangle_refscircle_refsarc_refsellipse_refstableBasicGeometryTable{object_id:STRING;point_refs:[STRING];line_refs:[STRING];line_segment_refs:[STRING];triangle_refs:[STRING];circle_refs:[STRING];arc_refs:[STRING];ellipse_refs:[STRING];}点-}直线-point_refdirection:Vec3d;}直线段-start_point_refend_point_ref}三角形-point_refs}圆-center_refradiusx_axis:Vec3d;y_axis:Vec3d;normal:Vec3d;}圆弧-center_refradiusstart_point_refend_point_refx_axis:Vec3d;y_axis:Vec3d;normal:Vec3d;}椭圆-center_refmajor_radiusminor_radiusmajor_axis:Vec3d;minor_axis:Vec3d;normal:Vec3d;}5.2.2参数曲线-bezier_curve_refsbspline_curve_refsnurbs_curve_refsintersection_curve_refsoffset_curve_refstrimmed_curve_refscomposite_curve_refstableParametricCurveTaintersection_curve_refoffset_curve_refs:[STtrimmed_curve_refs:[STRIcomposite_curve_refs}贝齐尔(Bezier)曲线-parameter_startparameter_end}B样条曲线-knot_count≥control_point_count+dknotsparameter_start-parameter_end-}-weight_count=control_point_countknot_count≥control_point_countknotsparameter_start-parameter_end-}交线-base_surface_refsstart_point_ref-end_point_ref-internal_point_refsparameter_typeparameterchord_height_toleratangent_angle_tolerancemax_chord_lengthtableIntersectionCtangent_angle_tolerance:RE}等距线-base_curve_ref-normal_vectorreference_geometry_ref-parameter_start-parameter_end-组合曲线normal_vector:Vec3d;}裁剪曲线-base_curve_ref---start_point_ref-end_point_ref-0=same,l=opposite}-component_curve_coucomponent_curve_refsparameter_start-parameter_end-component_curve_refs}5.2.3基本曲面-plane_surface_refscylindrical_surface_refsconical_surface_refsspherical_surface_refsellipsoidal_surface_refstoroidal_surface_refsregular_prism_surface_refs圆柱面regular_pyramid_surface_refstableBasicSurfaceTcylindrical_surface_refs:conical_surface_refsspherical_surface_rellipsoidal_surface_refs:[STtoroidal_surface_refs:[STRINregular_prism_surface_rregular_pyramid_surface_re}平面-origin:Vec3d;x_axis:Vec3d;y_axis:Vec3d;normal:Vec3d;}-radiustableCylindricalSurorigin:Vec3d;x_axis:Vec3d;y_axis:Vec3d;axis:Vec3d;}圆锥面-apex:Vec3d;x_axis:Vec3d;y_axis:Vec3d;}球面-radiuscenter:Vec3d;x_axis:Vec3d;y_axis:Vec3d;z_axis:Vec3d;}椭球面-x_radiusy_radiusX主轴单位方向向量Z主轴单位方向向量tableEllipsoidalSurcenter:Vec3d;x_axis:Vec3d;y_axis:Vec3d;z_axis:Vec3d;}圆环面-major_radiusminor_radiuscenter:Vec3d;x_axis:Vec3d;y_axis:Vec3d;axis:Vec3d;}正棱柱面-base_centerheightbase_vertex_directiontableRegularPrismSubase_center:Vec3d;base_vertex_direction:Vec3d;normal:Vec3d;}正棱锥面-base_centerheightbase_vertex_directiontableRegularPyramidSurfbase_center:Vec3d;base_vertex_direction:Vec3d;normal:Vec3d;}5.2.4参数曲面-bezier_surface_refsbspline_surface_refsnurbs_surface_refstspline_surface_refsruled_surface_refsrevolved_surface_refsswept_surface_refsoffset_surface_refsblend_surface_refstrimmed_surface_refsbezier_surface_refsbspline_surface_refstspline_surface_refs:[STRINoffset_surface_refs:[STRtrimmed_surface_refs:[STRIN}张量积Bezier曲面-u_degreeU参数方向次数u_control_point_countU参数方向控制点个数v_control_point_countu_endv_endv_control_point_count:}B样条曲面B样条曲面对象唯一索引-u_degreeU参数方向次数u_control_point_U方向控制点个数v_control_point_u_knot_count≥u_control_point_count+u_degree+1v_knot_count≥v_control_point_count+v_degree+1u_knotsU参数方向节点矢量v_knots-u_end--v_end-U方向是否闭合v_control_point_count:}-u_degreeU参数方向次数u_control_point U参数方向控制点个数v_control_point u_knot_count≥u_control_point_count+u_v_knot_count≥v_control_point_count+v_u_knotsU参数方向节点矢量v_knotsv_control_point_count:}T样条曲面-u_local_knotsv_local_knots}直纹面-base_curve_refsecond_curve_refdirection:Vec3d;}旋转面-profile_curve_refaxis_origin:Vec3d;axis_direction:Vec3d;}扫掠面-profile_curve_refspine_curve_ref}等距面-base_surface_ref}过渡面-base_surface_refsspine_curve_ref}0裁剪曲面-base_surface_reftrim_loop_refsouter_loop_refinner_loop_refstrim_loop_refs:[STRIN}5.2.5基本几何体-cuboid_solid_refscylinder_solid_refscone_solid_refssphere_solid_refsregular_pyramid_solid_refsregular_frustum_solid_refscylinder_solid_refsregular_pyramid_solid_r}长方体-heightcenter:Vec3d;x_axis:Vec3d;y_axis:Vec3d;}圆柱体-base_centerheightradiusbase_center:Vec3d;axis:Vec3d;}圆锥体-base_centerheightradiusbase_center:Vec3d;}球体-radiuscenter:Vec3d;}正棱锥体-base_centerheightbase_vertex_directiontableRegularPyramidbase_center:Vec3d;normal:Vec3d;}正棱台体-base_centerheightbottom_edge_lengthtop_edge_lengthbase_vertex_directiontableRegularFrustumbase_center:Vec3d;base_vertex_direction:Vec3d;normal:Vec3d;}5.3拓扑表-vertex_refsedge_refscoedge_refswire_refsloop_refsface_refsshell_refssolid_refsface_refs:[STRING];}5.3.1顶点-point_refedge_refs}5.3.2边-start_vertex_refend_vertex_refcurve_refparameter_start-parameter_end-tolerancecoedge_refsproperty_refs}5.3.3有向边-edge_refloop_refface_refnext_coedge_refprevious_coedge_refpartner_coedge_refsparameter_curve_refproperty_refsface_ref:STRING;partner_coedge_refs}5.3.4线框-coedge_refsproperty_refs}5.3.5环-2=inner_loop,3=wire_loop,4coedge_refsvertex_refface_refproperty_refsface_ref:STRING;}5.3.6面-surface_refouter_loop_refinner_loop_refspositeproperty_refs}5.3.7壳-face_refswire_refsproperty_refsface_num:INT;face_refs:[STRING];}5.3.8体-outer_shell_refinner_shell_refsproperty_refs}-body_refsbrep_representation_refspolyhedron_mesh_representation_refspoint_cloud_representation_refspolyline_representation_refsesentation_refspresentation_refsparticle_system_representation_refsntation_refsimplicit_neural_reprntation_refsbrep_representation_refs:polyhedron_mesh_representation_refs:[STRING];point_cloud_representation_refspolyline_representation_refs:subdivision_curve_representation_refs:subdivision_surface_representation_refsparticle_system_representation_refs:gaussian_splat_representation_refs:[STRINimplicit_neural_representation_refs}5.4.1形体容器-solid_refssheet_refswire_refsrepresentation_refsproperty_refs}B-Rep表示对象唯一编号-body_ref≥ltoleranceB-Rep几何与拓扑连接容差bounding_volume_refproperty_refs}5.4.3多边形表面网格表示-vertexnumvertices_accessornormals_accessortexcoords_accessorproperty_refstablePolyhedronMeshRepresentatiovertices_accessor:STRface_num:INT;texcoords_accessor:STR}5.4.4点云表示-point_count≥lposition_accessornormal_accessorpoint_attribute_accesscoordinate_system_refproperty_refspoint_attribute_accessorscoordinate_system_r}5.4.5简单折线表示-point_countpoint_refsposition_accessorpolyline_typeproperty_refstablePolylineRepresenta}5.4.6细分曲线表示-base_polyline_refproperty_refstableSubdivisionCurveRepresentation{}5.4.7细分曲面表示-base_mesh_reflimit_surface_refproperty_refstableSubdivisionSurfaceRepresentation{}5.4.8粒子系统表示-base_point_cloud_refparticle_countposition_accessorradius_accessorvelocity_accessorpressure_accessorvector_field_accessorscoordinate_system_refproperty_refs}-position_accessorrotation_accessorproperty_refstableGaussianSplatRepresentation{opacity_accessor:ST}5.4.10隐式与神经表示-bounding_boxnormalization_matrix4×4仿射变换矩阵,用-representation_type0=SDF,l=volume_densince_field,4=other式0=none,l=frequency_encoding,2=multi_resolution_hash_grid,3=othernetwork_topology[32,64,64,l]weight_payload_uri件的统一资源标识符model_refparameter_accessorfeature_grid_ref≥lresolutioncoordinate_system_refproperty_refstableImplicitNeuralRepresentation{weight_payload_uri:STRING;feature_grid_ref:STRING;coordinate_system_r}5.5特征表符-feature_refsure_element_refsparameter_feature_element_refs_element_refsure_element_refs表port_set_refson_refsn_refsption_refsfeature_refs:[STRING];geometry_feature_element_refs:[STRIparameter_feature_element_refs:datum_feature_element_refs:[STcollection_feature_element_refsgeometry_support_set_refs:[STRfeature_direction_refs:[STRING];feature_relation_refs:[STRING];feature_description_refs:[STRING];}5.5.1特征-特征语义类别,如pattern等element_refssupport_set_refsdirection_refsconstraint_refsrelation_refsdescription_refsproperty_refsfeature_type:INT;description_refs:[S}5.5.2几何类特征元素-t_region,7=othergeometry_refstopology_refsrepresentation_refs关联的多表示对象ID列表support_set_refdirection_refstoleranceproperty_refs关联扩展属性对象ID列表tableGeometryFeatureElemen}5.5.3参数类特征元素-parameter_typeius,3=diameter,4=distance,5=count,6=bool_stbool_valueunit_reftarget_refsconstraint_refsproperty_refs关联扩展属性对象ID列表}5.5.4基准类特征元素-position当当当向当向当向当表reference_refs征或坐标系对象IDsupport_set_ref表direction_refs表property_refsposition:Vec3d;origin:Vec3d;direction:Vec3d;normal:Vec3d;x_axis:Vec3d;y_axis:Vec3d;z_axis:Vec3d;}5.5.5集合类特征元素-_set,2=pattern_set,3=semantic_group,4=othermember_feature_refsnt_refsreference_refproperty_refstableCollectionFeatureElememember_feature_refs:[STRmember_element_refs:[STR}5.5.6几何支撑集号-ef,2=surface_support,3=soupport,4=discrete_support,5=geometry_refstopology_refsrepresentation_refsparameter_domain_refseftarget_element_ref:STRparameter_domain_ref}5.5.7特征方向号-_refvectorreference_point_refparameter_position_refs位置对象ID列表support_set_refproperty_refstarget_element_ref:STRvector:Vec3d;parameter_position_refs}5.5.8特征组合与依赖-source_feature_reftarget_feature_refparent_feature_refchild_feature_refselement_refsparameter_refs参数类特征元素ID列表constraint_refsrelation_expressionpropagation_orderproperty_refstarget_feature_ref:STR}5.5.9特征描述-target_refimage,4=video,5=semantic,geometry_refe_refAI或规则识别产生[0,l]property_refsexternal_resource_ref:}5.5.10存储示例tableExtrudeFeatureExamfeature_ref:STRING;profile_element_refsdepth_parameter_refoperation_parameter_ref:ST}-logical_constraint_refsdimensional_constraint_refsequation_inequality_constra_refs方程及不等式约束对象ID列表continuity_constraint_refscomposite_constraint_refstableConstraint{object_id:STRING;logical_constraint_refs:[STRING];dimensional_constraint_refs:[STRING];equation_inequality_constraint_refs:[STRING];continuity_constraint_refs:[STRING];composite_constraint_refs:[STRING];}5.6.1逻辑约束-coincident_constraint_refsparallel_constraint_refsperpendicular_constraint_refstangent_constraint_refsfixed_constraint_refssymmetry_constraint_refsequal_distance_constraint_refsequal_radius_constraint_refstableCoincidentConstraint{object_id:STRING;name:STRING;target_refs:[STRING];coincident_relation:INT;midpoint_constraint_refsaffine_transform_constraint_refsarray_constraint_refstableLogicalConstraintTable{object_id:STRING;coincident_constraint_refs:[STRING];parallel_constraint_refs:[STRING];perpendicular_constraint_refs:[STRING];tangent_constraint_refs:[STRING];fixed_constraint_refs:[STRING];symmetry_constraint_refs:[STRING];equal_distance_constraint_refs:[STRING];equal_radius_constraint_refs:[STRING];midpoint_constraint_refs:[STRING];affine_transform_constraint_refs:[STRING];array_constraint_refs:[STRING];}重合约束-用target_refstolerance用property_refstolerance:REAL;solver_status:INT;property_refs:[STRING];}平行约束-用target_refs用property_refstableParallelConstraint{object_id:STRING;name:STRING;target_refs:[STRING];orientation_mode:INT;angle_tolerance:REAL;solver_status:INT;property_refs:[STRING];}垂直约束符-用target_refs用property_refstablePerpendicularConstraint{object_id:STRING;name:STRING;target_refs:[STRING];angle_tolerance:REAL;solver_status:INT;property_refs:[STRING];}相切约束-用target_refscontact_point_ref-position_tolerance用property_refstableTangentConstraint{object_id:STRING;name:STRING;target_refs:[STRING];contact_point_ref:STRING;tangent_type:INT;angle_tolerance:REAL;position_tolerance:REAL;solver_status:INT;property_refs:[STRING];}固定约束-target_refsfixed_value_refsproperty_refstableFixedConstraint{object_id:STRING;name:STRING;target_refs:[STRING];fixed_position:BOOL;fixed_orientation:BOOL;fixed_parameter:BOOL;fixed_value_refs:[STRING];solver_status:INT;property_refs:[STRING];}对称约束-target_refsment_ref-tationtoleranceproperty_refstableSymmetryConstraint{object_id:STRING;name:STRING;target_refs:[STRING];symmetry_element_ref:STRING;symmetry_type:INT;tolerance:REAL;solver_status:INT;property_refs:[STRING];}等距约束-对property_refstableEqualDistanceConstraint{object_id:STRING;name:STRING;target_pairs:SEM;distance_tolerance:REAL;solver_status:INT;property_refs:[STRING];}等半径约束-target_refsradius_typeminorradius_toleranceproperty_refstableEqualRadiusConstraint{object_id:STRING;name:STRING;target_refs:[STRING];radius_type:INT;radius_tolerance:REAL;solver_status:INT;property_refs:[STRING];}中点约束-endpoint_refsmidpoint_ref-property_refstableMidpointConstraint{object_id:STRING;name:STRING;endpoint_refs:[STRING];midpoint_ref:STRING;distance_tolerance:REAL;solver_status:INT;property_refs:[STRING];}0仿射变换约束-用source_ref-target_ref--toleranceproperty_refstableAffineTransformConstraint{object_id:STRING;name:STRING;source_ref:STRING;target_ref:STRING;transform:SEM;tolerance:REAL;solver_status:INT;property_refs:[STRING];}1阵列约束-base_ref-member_refsurve,3=composite-用axis_ref-path_ref-transform_refstoleranceproperty_refstableArrayConstraint{object_id:STRING;name:STRING;base_ref:STRING;member_refs:[STRING];array_type:INT;count:INT;direction:Vec3d;spacing:REAL;axis_ref:STRING;angle_step:REAL;path_ref:STRING;transform_refs:[STRING];tolerance:REAL;solver_status:INT;property_refs:[STRING];}5.6.2尺寸约束-distance_constraint_refsangle_constraint_refsradius_constraint_refslength_constraint_refstableDimensionalConstraintTable{object_id:STRING;distance_constraint_refs:[STRING];angle_constraint_refs:[STRING];radius_constraint_refs:[STRING];length_constraint_refs:[STRING];}距离约束-target_refsunit_ref-property_refstableDistanceConstraint{object_id:STRING;name:STRING;target_refs:[STRING];distance:REAL;unit_ref:STRING;distance_tolerance:REAL;implicit_parallel:BOOL;solver_status:INT;property_refs:[STRING];}角度约束引-称target_refsreference_plane_ref--用unit_ref-差态property_refstableAngleConstraint{object_id:STRING;name:STRING;target_refs:[STRING];angle:REAL;reference_plane_ref:STRING;reference_normal:Vec3d;unit_ref:STRING;angle_tolerance:REAL;solver_status:INT;property_refs:[STRING];}半径约束-target_ref-radiusunit_ref-radius_toleranceproperty_refstableRadiusConstraint{object_id:STRING;name:STRING;target_ref:STRING;radius:REAL;radius_type:INT;unit_ref:STRING;radius_tolerance:REAL;solver_status:INT;property_refs:[STRING];}长度约束-target_ref-unit_ref-eproperty_refstableLengthConstraint{object_id:STRING;name:STRING;target_ref:STRING;length:REAL;length_type:INT;unit_ref:STRING;length_tolerance:REAL;solver_status:INT;property_refs:[STRING];}5.6.3方程及不等式约束-target_refsvariable_bindin系right_expressionproperty_refstableEquationInequalityConstraint{object_id:STRING;name:STRING;位置连续约束targettarget_refs:[STRING];variable_bindings:SEM;left_expression:STRING;operator:INT;right_expression:STRING;expression_tolerance:REAL;solver_status:INT;property_refs:[STRING];}5.6.4曲线连续性约束-position_continuity_constraint_refstangent_continuity_constraint_refsonstraint_refstableContinuityConstraintTable{object_id:STRING;position_continuity_constraint_refs:[STRING];tangent_continuity_constraint_refs:[STRING];curvature_continuity_constraint_refs:[STRING];}-用target_refs用connection_refsposition_tolerance用property_refstablePositionContinuityConstraint{object_id:STRING;name:STRING;target_refs:[STRING];connection_refs:[STRING];continuity_type:INT;position_tolerance:REAL;solver_status:INT;property_refs:[STRING];}切向连续约束-target_refsconnection_refsproperty_refstableTangentContinuityConstraint{object_id:STRING;name:STRING;target_refs:[STRING];connection_refs:[STRING];continuity_type:INT;scale_factor:REAL;angle_tolerance:REAL;solver_status:INT;property_refs:[STRING];}曲率连续约束-target_refsconnection_refseeproperty_refstableCurvatureContinuityConstraint{object_id:STRING;name:STRING;target_refs:[STRING];connection_refs:[STRING];continuity_type:INT;curvature_scale:REAL;curvature_tolerance:REAL;solver_status:INT;property_refs:[STRING];}5.6.5组合特征约束-parameter,3=hierarchicalnt_refs用target_refsule用parameter_refs用property_refstableCompositeConstraint{object_id:STRING;name:STRING;combination_type:INT;child_constraint_refs:[STRING];target_refs:[STRING];combination_rule:INT;parameter_refs:[STRING];semantic_label:STRING;expression:STRING;tolerance:REAL;solver_status:INT;property_refs:[STRING];}-simple_material

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论