A muscle feature conversion method for heterogeneous CAD model conversion

By using direction vectors in the world coordinate system and a comprehensive verification mechanism when converting rib features between heterogeneous CAD systems, the problems of direction semantic mismatch and proprietary parameter mapping are solved, and stable rib feature conversion and result consistency are achieved.

CN123179491APending Publication Date: 2026-11-27HOHAI UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611451039.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-18
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

In existing technologies, the conversion of rib features between heterogeneous CAD systems suffers from problems such as directional semantic mismatch, lack of prior object verification, and forced mapping of proprietary parameters, leading to conversion failures or inconsistent results.

Method used

By acquiring the rib feature information from the source CAD system, converting it into a direction vector in the world coordinate system, and reconstructing the rib features in the target CAD system, a comprehensive verification and reversal retry mechanism is introduced to ensure the geometric and topological consistency of the conversion results.

Benefits of technology

This improved the stability of rib feature conversion between heterogeneous CAD systems, avoided misjudgment of direction and incorrect mapping of proprietary parameters, and enhanced the maintainability and editability of the conversion results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123179491A_ABST
    Figure CN123179491A_ABST
Patent Text Reader

Abstract

The application discloses a kind of muscle feature conversion methods for heterogeneous CAD model conversion, comprising: locating muscle feature in source CAD system, obtains sketch, entity association, thickness, direction and the like parameter;Construct sketch local direction base, convert material side, one-sided thickness bias direction into direction vector under world coordinate system, together with all kinds of identification parameter is written into neutral muscle feature uniform representation.According to neutral representation positioning reconstruction target end sketch and parent entity, obtain target end real local direction base;Select muscle feature creation mode, calculate direction vector projection factor, obtain creation parameter in combination with capability mapping, call native interface and reconstruct muscle feature.After completion, verify creation state, fusion and geometric direction consistency;Check through registration mapping, retry and keep failure record if fail.The application can avoid the deviation caused by sketch local coordinate system distortion, improve the stability and editability of heterogeneous CAD muscle feature conversion, and the failure cause can be traced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to a rib feature conversion method for heterogeneous CAD model conversion, belonging to the field of feature-level model conversion technology. Background Technology

[0002] With the development of collaborative product design and multi-software link applications, the same part often needs to be converted between different CAD systems. Unlike model exchange that only transfers geometric results such as edges, faces, and volumes, feature-level model conversion requires extracting feature definitions and reference relationships in the source CAD system, expressing them neutrally, and then calling the native modeling interface in the target CAD system to reconstruct the corresponding editable features. Although the naming of rib features, parameter organization, and native interfaces of different CAD systems may be similar, the definitions of sketch attachment plane, local coordinate system chirality, positive normal direction, material side, single-sided thickness offset side, and parent entity reference methods are inconsistent; some systems also encapsulate direction control as local enumeration values ​​or inverse Boolean values.

[0003] In existing conversion methods, if the material-side enumeration values ​​or reverse markers of the source CAD system are directly copied, and the local coordinate system of the target CAD system is flipped, mirrored, or the coordinate axes are exchanged, the target CAD system will interpret the same markers as opposite spatial directions. This causes the rib feature to grow away from the parent entity, making it unable to merge with the parent entity, and may even lead to the failure of native interface creation. For unilateral asymmetric thickness distributions, the incorrect interpretation of the thickness offset direction will also cause the rib feature to be biased to the wrong side of the sketch plane, resulting in wall thickness offset, assembly interference, or geometric results inconsistent with the source model. In addition, proprietary parameters such as the extrusion mode, draft, reference edge, and sketch index of the source CAD system may not have a stable correspondence in the target CAD system, and forced mapping will further reduce the conversion stability. Therefore, a rib feature conversion method for heterogeneous CAD model conversion is needed, which can preserve the editable semantics of rib features, eliminate the differences in local direction semantics between different CAD systems with a unified spatial direction description, and provide traceable verification of the conversion results. Summary of the Invention

[0004] The technical problem to be solved by this invention is the problem of directional semantic mismatch, lack of verification of preceding objects and results, and defects in the forced mapping of proprietary parameters in the prior art.

[0005] To solve the above-mentioned technical problems, the present invention is implemented using the following technical solution.

[0006] On the one hand, the present invention provides a rib feature conversion method for heterogeneous CAD model conversion, comprising:

[0007] Obtain the section sketch reference, section sketch logical identifier, parent entity association identifier, thickness parameters, thickness side parameters, material side direction control information, and sketch attachment reference information of the rib feature to be converted in the source CAD system;

[0008] Based on the cross-section sketch reference and sketch attachment reference information, the material side orientation control information is converted into a world coordinate material side orientation vector;

[0009] When the rib feature is a unilateral thickness distribution, the unilateral thickness offset direction control information is obtained and converted into a world coordinate thickness offset direction vector;

[0010] Write the cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, world coordinate material side direction vector, and optional world coordinate thickness offset direction vector into the neutral rib feature representation;

[0011] Obtain the cross-sectional sketch logical identifier from the neutral reinforcement features, locate or reconstruct the target CAD system cross-sectional sketch based on the logical identifier, and locate the target CAD system parent entity based on the parent entity association identifier; read the actual local coordinate system of the target CAD system cross-sectional sketch to obtain the target CAD system local orientation base;

[0012] When the world coordinate thickness offset direction vector exists, select the rib feature creation mode supported by the target CAD system, select the material side projection axis and the thickness offset projection axis from the local direction basis of the target CAD system, and calculate the dot product of the world coordinate material side direction vector and the material side projection axis, and the world coordinate thickness offset direction vector and the thickness offset projection axis, respectively, to obtain the corresponding projection factor;

[0013] The creation parameters of the target CAD system are determined based on the projection factor and the preset capability mapping relationship of the target CAD system, and the interface of the rib feature creation mode is called to reconstruct it;

[0014] A comprehensive verification is performed on the rib features of the reconstructed target CAD system; if the verification passes, the mapping relationship is registered; if the verification fails, a retry is performed after reversing the material side parameters, and the failure information is recorded.

[0015] By uniformly converting the local direction basis of the source CAD system into the direction vector of the world coordinate system, the directional ambiguity caused by the difference in the definition of the sketch coordinate system of different CAD systems is eliminated; a comprehensive verification, reversal retry and failure recording mechanism is introduced to ensure that the conversion result is not only geometrically consistent, but also correct in terms of topological fusion relationship.

[0016] After the steps of obtaining the cross-section sketch reference, cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, material side direction control information, and sketch attachment reference information, and before the step of converting the material side direction control information into a world coordinate material side direction vector based on the cross-section sketch reference and sketch attachment reference information, the validity of the thickness parameter, cross-section sketch reference, and parent entity association identifier is verified.

[0017] If the thickness parameter is not greater than zero, the cross-section sketch reference is empty, or the parent entity association identifier is unavailable, then mark the current rib feature as unconvertible and terminate subsequent processing.

[0018] Before executing the core conversion logic, the thickness parameters, sketch references, and parent entities are validated to filter out invalid features in advance and avoid crashes or exceptions when calling the target CAD interface later.

[0019] The step of converting the material side orientation control information into a world coordinate material side orientation vector based on the cross-section sketch reference and sketch attachment reference information includes:

[0020] The local coordinate system of the sketch corresponding to the cross-section sketch reference is obtained through the interface of the source CAD system, the sketch plane normal vector is obtained, and the sketch plane normal vector is normalized.

[0021] The direction of the non-constructed line segment is extracted from the geometric primitives included in the section sketch reference as the initial tangent vector; if there is no available non-constructed line segment in the section sketch reference, the in-plane coordinate axis of the local coordinate system is used as the initial tangent vector.

[0022] The initial tangent vector is projected onto a plane perpendicular to the normal vector of the sketch plane, and the projection result is normalized to obtain the cross-sectional reference tangent vector;

[0023] Calculate the in-plane reference vector of the sketch based on the cross product of the sketch plane normal vector and the cross section reference tangent vector;

[0024] The local orientation base of the source CAD system sketch is composed of the sketch plane normal vector, the section reference tangent vector, and the sketch in-plane reference vector;

[0025] Obtain the material fill pattern of the rib feature to be converted in the source CAD system. When the material fill pattern indicates that the material side growth direction is parallel to the sketch plane, use the in-plane reference vector of the sketch plane as the material side projection axis; when the material fill pattern indicates that the material side growth direction is normal to the sketch plane, use the sketch plane normal vector as the material side projection axis.

[0026] If the material-side orientation control information indicates the positive side relative to the material-side projection axis, then the world coordinate material-side orientation vector is assigned the value as the positive unit vector of the material-side projection axis; if it indicates the negative side, then it is assigned the value as the negative unit vector of the material-side projection axis.

[0027] When there are no non-construction lines in the sketch, it automatically degenerates to use in-plane coordinate axes to ensure that the direction base can always be constructed and avoid transformation interruption.

[0028] The steps for transforming the world coordinate thickness offset direction vector include:

[0029] When the rib feature is a unilateral thickness distribution, the steps are as follows:

[0030] When the material fill mode indicates that the material side growth direction is parallel to the sketch plane, the sketch plane normal vector is used as the thickness offset projection axis; when the material fill mode indicates that the material side growth direction is normal to the sketch plane, the sketch plane in-plane reference vector is used as the thickness offset projection axis.

[0031] If the thickness offset direction control information indicates the positive side relative to the thickness offset projection axis, then the world coordinate thickness offset direction vector is assigned the positive unit vector of the thickness offset projection axis; if it indicates the negative side, then it is assigned the negative unit vector of the thickness offset projection axis.

[0032] When the rib feature has a two-sided thickness distribution, the world coordinate thickness offset direction vector does not exist.

[0033] The different projection axis selections for the material side direction and thickness offset direction in two fill modes, parallel to the sketch and normal to the sketch, are clearly distinguished to ensure that the growth direction or thickening direction is not distorted across the system.

[0034] The neutral rib features include: the cross-section sketch logical identifier, the parent entity association identifier, the thickness parameter, the thickness side parameter, the world coordinate material side direction vector, and the world coordinate thickness offset direction vector when the thickness side parameter indicates a unilateral asymmetric distribution;

[0035] The neutral rib feature representation also includes optional extended fields, which include rib type, draft parameters, reference edge parameters, and source CAD system sketch index;

[0036] A field participates in the target CAD system reconstruction only if the target CAD system's capability mapping table indicates that the corresponding extended field is supported; otherwise, the degraded status of the field is recorded.

[0037] When the target CAD system does not support a certain extended field, the conversion is not forced. Instead, the downgrade status is recorded to ensure that the main conversion is not affected, while retaining data audit traces.

[0038] The step of reading the actual local coordinate system of the target CAD system cross-sectional sketch to obtain the local orientation base of the target CAD system includes:

[0039] The plane normal vector and in-plane coordinate axis of the cross section sketch of the target CAD system are read through the native interface of the target CAD system, and the plane normal vector is normalized.

[0040] From the geometric primitives of the target CAD system cross-section sketch, obtain the direction of the target CAD system geometric line segment corresponding to the reference line segment of the source CAD system cross-section as the initial tangent vector of the target CAD system; if the acquisition fails, use the in-plane coordinate axis as the initial tangent vector of the target CAD system.

[0041] The initial tangent vector of the target CAD system is projected onto a plane perpendicular to the plane normal vector of the target CAD system and normalized to obtain the reference tangent vector of the cross section of the target CAD system;

[0042] Calculate the in-plane reference vector of the target CAD system sketch based on the cross product of the plane normal vector of the target CAD system and the cross-sectional reference tangent vector of the target CAD system.

[0043] The local orientation base of the target CAD system is composed of the plane normal vector, the target CAD system section reference tangent vector, and the target CAD system sketch in-plane reference vector.

[0044] A local orientation base for the target CAD system is obtained by using an algorithm that is completely symmetrical with the source CAD system, ensuring consistency in orientation calculation logic and reducing projection errors caused by algorithm asymmetry.

[0045] After the step of calculating the dot product to obtain the corresponding projection factor, and before the step of determining the creation parameters of the target CAD system based on the projection factor and the preset capability mapping relationship of the target CAD system, the method further includes:

[0046] Set direction threshold ,in, The maximum permissible angular error is determined based on the sketch coordinate system extraction accuracy, unit conversion accuracy, and the geometric kernel tolerance of the target CAD system.

[0047] If the absolute value of the material-side projection factor is less than Or, when a thickness offset projection factor exists, its absolute value is less than Then, the actual local coordinate system of the target CAD system section sketch is reread and the projection factor is recalculated;

[0048] If the projection matching condition is still not met after recalculation, stop calling the creation interface and record the direction data error.

[0049] If the projection factor meets the conditions, the material-side parameters of the target CAD system are determined according to the positive and negative relationship between the material-side projection factor and the material-side projection axis, and the thickness-side parameters of the target CAD system are determined according to the positive and negative relationship between the thickness offset projection factor and the thickness offset projection axis.

[0050] Introducing a direction threshold allows for minor angular deviations caused by floating-point operations, kernel tolerance, and unit conversion, avoiding misjudgments due to numerical sensitivity. When the projection factor does not meet the conditions, it allows rereading of the target sketch's local coordinate system, which can handle temporary direction anomalies caused by delayed calculations or incomplete initialization of the target system.

[0051] The preset target CAD system capability mapping table records the material-side parameters, thickness-side parameters supported by the target CAD system and their correspondence with the local orientation base of the target CAD system;

[0052] For source CAD system-specific parameters that are not supported by the target CAD system, the source CAD system parameter values, parameter names, and mapping status are retained, and the source CAD system-specific parameters are not forced as creation parameters of the target CAD system.

[0053] Instead of forcibly deleting source system-specific parameters, they are recorded and downgraded, which facilitates subsequent manual intervention or targeted optimization.

[0054] The comprehensive verification includes:

[0055] Verify the return status of the target CAD system's reinforcement feature creation interface to confirm that the feature object has been generated;

[0056] Verify whether a preset intersection, Boolean union, or fusion relationship is formed between the rib features of the target CAD system and the parent entity of the target CAD system;

[0057] Obtain the signed distance of the rib feature entity of the target CAD system relative to one side of the cross-sectional sketch plane of the target CAD system. Determine the actual material side direction of the rib feature of the target CAD system based on the sign of the signed distance. Compare the actual material side direction with the material side direction vector of the world coordinates. If the directions are consistent, the verification is successful.

[0058] Obtain the signed distance of the target CAD system rib feature relative to one side of the thickness offset projection axis. Determine the actual thickness offset side direction based on the sign of the signed distance. Compare the actual thickness offset side direction with the world coordinate thickness offset direction vector. If the directions match, the verification is successful.

[0059] When the thickness distribution is asymmetrical on one side, the consistency of the thickness offset side direction is checked by comparing the signed distance of the rib feature of the target CAD system relative to the thickness offset projection axis with the thickness offset direction vector of the world coordinates.

[0060] Geometric consistency is verified by comparing the bounding box deviation or key section position deviation of the rib features between the source CAD system and the target CAD system under a unified coordinate relationship.

[0061] Determining whether the actual growth direction matches the expected direction using signed distance helps to make direction verification more engineered and calculable.

[0062] The retry after performing a reversal of the material-side parameters includes:

[0063] If the initial creation fails or the verification fails, delete or roll back the temporarily created target CAD system rib feature;

[0064] Only reverse the material-side parameters of the target CAD system, keeping other creation parameters unchanged, and perform an additional creation and verification;

[0065] If the additional creation still fails, the conversion of the current rib feature will be terminated, and the source CAD system local orientation base, target CAD system local orientation base, material side projection factor, thickness offset projection factor, target CAD system parameter combination, and native interface error information will be recorded.

[0066] When verification fails, only the material-side parameters are reversed for a retry, because the material-side direction is the parameter most easily confused by the target system during rib feature creation. This strategy is economical and efficient.

[0067] Compared with the prior art, the beneficial effects achieved by the present invention are as follows:

[0068] This invention uses world coordinate system direction vector transformation to unify the direction vectors in the world coordinate system to convey directional semantics, reducing the impact of sketch local coordinate system flipping, mirroring, and axis swapping on the material side and thickness offset side. Local direction bases are resolved only after the actual sketch is created in the target CAD system, avoiding misjudgments caused by replacing the target CAD system's true direction with historical sketch directions. The stability of rib feature transformation is improved through pre-object verification, fusion relationship verification, direction verification, and a single restricted retry, making the cause of failure traceable. Explicit degradation of source CAD system proprietary parameters without stable equivalence terms avoids erroneous forced mapping, improving the maintainability and editability of heterogeneous CAD model conversion results. Attached Figure Description

[0069] Figure 1This is a flowchart illustrating the rib feature conversion method for heterogeneous CAD model conversion as shown in Embodiment 1 of the present invention;

[0070] Figure 2 This is a schematic diagram of the directional base and reinforcement feature directional semantics of the source CAD system sketch shown in Embodiment 2 of the present invention;

[0071] Figure 3 This is a schematic diagram illustrating the inverse calculation of local orientation basis analysis and creation parameters of the target CAD system as shown in Embodiment 2 of the present invention;

[0072] Figure 4 This is a schematic diagram of the verification, mapping registration, and restricted retry process after the rib feature is created, as shown in Embodiment 2 of the present invention. Detailed Implementation

[0073] The technical solution of the present invention will be described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical solution of the present invention, rather than limitations thereof. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.

[0074] The term "and / or" simply describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. Additionally, the character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0075] Example 1

[0076] This embodiment introduces a rib feature conversion method for heterogeneous CAD model conversion, including:

[0077] Obtain the section sketch reference, section sketch logical identifier, parent entity association identifier, thickness parameters, thickness side parameters, material side direction control information, and sketch attachment reference information of the rib feature to be converted in the source CAD system;

[0078] Based on section sketch references and sketch attachment datum information, the material side orientation control information is converted into a world coordinate material side orientation vector;

[0079] When the rib feature is a unilateral thickness distribution, obtain the unilateral thickness offset direction control information and convert it into a world coordinate thickness offset direction vector;

[0080] Write the cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, world coordinate material side direction vector, and optional world coordinate thickness offset direction vector into the neutral rib feature representation;

[0081] Obtain the cross-sectional sketch logical identifier from the neutral reinforcement features, locate or reconstruct the target CAD system cross-sectional sketch based on the logical identifier, and locate the target CAD system parent entity based on the parent entity association identifier; read the actual local coordinate system of the target CAD system cross-sectional sketch to obtain the target CAD system local orientation base;

[0082] When a world coordinate thickness offset direction vector exists, select the rib feature creation mode supported by the target CAD system, select the material side projection axis and thickness offset projection axis from the local direction basis of the target CAD system, calculate the dot product of the world coordinate material side direction vector and the material side projection axis, and the world coordinate thickness offset direction vector and the thickness offset projection axis, respectively, and obtain the corresponding projection factor.

[0083] The creation parameters of the target CAD system are determined based on the projection factor and the preset capability mapping relationship of the target CAD system, and the interface of the rib feature creation mode is called to reconstruct it.

[0084] A comprehensive verification is performed on the rib features of the reconstructed target CAD system; if the verification passes, the mapping relationship is registered; if the verification fails, a retry is performed after reversing the material side parameters, and the failure information is recorded.

[0085] Specifically, rib features are parametric reinforcement structures formed on the parent entity based on the section sketch. Rib features are attached to the parent entity through intersection, Boolean union, or fusion relationships. Thickness parameters are also used to characterize the wall thickness of rib features, and thickness side parameters are used to characterize the symmetrical or unilateral distribution of thickness relative to the sketch plane.

[0086] After obtaining the section sketch reference, section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, material side direction control information, and sketch attachment datum information, and before converting the material side direction control information into a world coordinate material side direction vector based on the section sketch reference and sketch attachment datum information, the validity of the thickness parameter, section sketch reference, and parent entity association identifier is verified.

[0087] If the thickness parameter is not greater than zero, the section sketch reference is empty, or the parent entity association identifier is unavailable, then mark the current rib feature as unconvertible and terminate subsequent processing.

[0088] Based on section sketch references and sketch attachment datum information, the steps for converting material lateral orientation control information into world coordinate material lateral orientation vectors include:

[0089] The local coordinate system of the sketch corresponding to the section sketch reference is obtained through the interface of the source CAD system, the sketch plane normal vector is obtained, and the sketch plane normal vector is normalized.

[0090] The direction of the non-constructed line segment is extracted from the geometric primitives included in the section sketch reference as the initial tangent vector; if no available non-constructed line segment exists in the section sketch reference, the in-plane coordinate axis of the local coordinate system is used as the initial tangent vector.

[0091] The initial tangent vector is projected onto a plane perpendicular to the normal vector of the sketch plane, and the projection result is normalized to obtain the reference tangent vector of the section.

[0092] Calculate the in-plane reference vector of the sketch based on the cross product of the sketch plane normal vector and the section reference tangent vector;

[0093] The local orientation basis of the source CAD system sketch is composed of the sketch plane normal vector, the section datum tangent vector, and the in-plane reference vector of the sketch.

[0094] Obtain the material fill pattern of the rib feature to be converted in the source CAD system. When the material fill pattern indicates that the material side growth direction is parallel to the sketch plane, use the reference vector in the sketch plane as the material side projection axis; when the material fill pattern indicates that the material side growth direction is normal to the sketch plane, use the sketch plane normal vector as the material side projection axis.

[0095] If the material-side orientation control information indicates the positive side relative to the material-side projection axis, then the world coordinate material-side orientation vector is assigned the positive unit vector of the material-side projection axis; if it indicates the negative side, then it is assigned the negative unit vector of the material-side projection axis.

[0096] Specifically, when the material-side orientation control information represents the positive or negative side relative to the material-side projection axis, the world coordinate material-side orientation vector is set to be equal to the material-side projection axis or the inverse vector of the material-side projection axis, respectively; the adapter interprets the source CAD system's native enumeration value or reverse Boolean value as orientation semantics, instead of directly writing the native enumeration value or reverse Boolean value into the neutral feature representation.

[0097] The steps for transforming the world coordinate thickness offset direction vector include:

[0098] When the rib feature is a unilateral thickness distribution, the steps are as follows:

[0099] When the material fill mode indicates that the material side growth direction is parallel to the sketch plane, the sketch plane normal vector is used as the thickness offset projection axis; when the material fill mode indicates that the material side growth direction is normal to the sketch plane, the sketch plane reference vector is used as the thickness offset projection axis.

[0100] If the thickness offset direction control information is indicated as the positive side relative to the thickness offset projection axis, then the world coordinate thickness offset direction vector is assigned the positive unit vector of the thickness offset projection axis; if it is indicated as the negative side, then it is assigned the negative unit vector of the thickness offset projection axis.

[0101] When the rib feature is a two-sided thickness distribution, there is no world coordinate thickness offset direction vector.

[0102] Specifically, when the thickness offset direction control information indicates whether it is on the positive or negative side relative to the thickness offset projection axis, the world coordinate thickness offset direction vector is set to be equal to the thickness offset projection axis or the inverse vector of the thickness offset projection axis, respectively.

[0103] Neutral rib features include: cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, world coordinate material side direction vector, and world coordinate thickness offset direction vector when the thickness side parameter indicates a unilateral asymmetric distribution;

[0104] The neutral rib feature representation also includes optional extended fields, which include rib type, draft parameters, reference edge parameters, and source CAD system sketch index;

[0105] A field participates in the target CAD system reconstruction only if the target CAD system's capability mapping table indicates that the corresponding extended field is supported; otherwise, the degraded status of the field is recorded.

[0106] The steps for obtaining the local orientation base of the target CAD system by reading the actual local coordinate system of the cross-sectional sketch of the target CAD system include:

[0107] The plane normal vector and in-plane coordinate axis of the cross section sketch of the target CAD system are read through the native interface of the target CAD system, and the plane normal vector is normalized.

[0108] From the geometric primitives of the target CAD system cross-section sketch, obtain the direction of the target CAD system geometric line segment corresponding to the baseline line segment of the source CAD system cross-section as the initial tangent vector of the target CAD system; if the acquisition fails, use the in-plane coordinate axis as the initial tangent vector of the target CAD system.

[0109] The initial tangent vector of the target CAD system is projected onto a plane perpendicular to the plane normal vector of the target CAD system and normalized to obtain the reference tangent vector of the cross section of the target CAD system;

[0110] Calculate the in-plane reference vector of the target CAD system sketch based on the cross product of the plane normal vector and the cross-sectional datum tangent vector of the target CAD system.

[0111] The local orientation base of the target CAD system is composed of the plane normal vector, the target CAD system section reference tangent vector, and the in-plane reference vector of the target CAD system sketch.

[0112] After calculating the dot product to obtain the corresponding projection factor, and before determining the creation parameters of the target CAD system based on the projection factor and the preset capability mapping relationship of the target CAD system, the following steps are also included:

[0113] Set direction threshold ,in, The maximum permissible angular error is determined based on the sketch coordinate system extraction accuracy, unit conversion accuracy, and the geometric kernel tolerance of the target CAD system.

[0114] If the absolute value of the material-side projection factor is less than Or, when a thickness offset projection factor exists, its absolute value is less than Then, the actual local coordinate system of the target CAD system section sketch is reread and the projection factor is recalculated;

[0115] If the projection matching condition is still not met after recalculation, stop calling the creation interface and record the direction data error.

[0116] If the projection factor meets the conditions, the material-side parameters of the target CAD system are determined according to the positive and negative relationship between the material-side projection factor and the material-side projection axis, and the thickness-side parameters of the target CAD system are determined according to the positive and negative relationship between the thickness offset projection factor and the thickness offset projection axis.

[0117] Specifically, the dot product of the world coordinate material-side direction vector and the material-side projection axis is calculated to obtain the material-side projection factor; when a world coordinate thickness offset direction vector exists, the dot product of the world coordinate thickness offset direction vector and the thickness offset projection axis is calculated to obtain the thickness offset projection factor; both the direction vector and the projection axis are unit vectors.

[0118] Specifically, an orientation threshold is set. When the absolute value of the material-side projection factor is less than the orientation threshold, or when the absolute value of the thickness offset projection factor is less than the orientation threshold when there is a world coordinate thickness offset orientation vector, the actual local orientation base of the target CAD system sketch is reread and the projection factor is recalculated. If the projection matching condition is still not met after recalculation, the rib feature creation interface is not called and the orientation data anomaly is recorded.

[0119] The preset target CAD system capability mapping table records the material-side parameters, thickness-side parameters supported by the target CAD system and their correspondence with the local orientation base of the target CAD system;

[0120] For source CAD system-specific parameters that are not supported by the target CAD system, the source CAD system parameter values, parameter names, and mapping status are retained, and the source CAD system-specific parameters are not forced as creation parameters of the target CAD system.

[0121] Comprehensive verification includes:

[0122] Verify the return status of the target CAD system's reinforcement feature creation interface to confirm that the feature object has been generated;

[0123] Verify whether the target CAD system's rib features and the target CAD system's parent entities form a preset intersection, Boolean union, or fusion relationship;

[0124] Obtain the signed distance of the rib feature entity of the target CAD system relative to one side of the cross-sectional sketch plane of the target CAD system. Determine the actual material side direction of the rib feature of the target CAD system based on the sign of the signed distance. Compare the actual material side direction with the material side direction vector of the world coordinates. If the directions are consistent, the verification is successful.

[0125] Obtain the signed distance of the rib feature of the target CAD system relative to one side of the thickness offset projection axis. Determine the actual thickness offset side direction based on the sign of the signed distance. Compare the actual thickness offset side direction with the world coordinate thickness offset direction vector. If the directions are consistent, the verification is successful.

[0126] When the thickness distribution is asymmetrical on one side, the consistency of the thickness offset side direction is checked by comparing the signed distance of the rib feature of the target CAD system relative to the thickness offset projection axis with the thickness offset direction vector in the world coordinates.

[0127] Geometric consistency is verified by comparing the bounding box deviation or key section position deviation of the rib features between the source CAD system and the target CAD system under a unified coordinate relationship.

[0128] Retrying after performing a reversed material-side parameter test includes:

[0129] If the initial creation fails or the verification fails, delete or roll back the temporarily created target CAD system rib feature;

[0130] Only reverse the material-side parameters of the target CAD system, keeping other creation parameters unchanged, and perform an additional creation and verification;

[0131] If the additional creation still fails, the conversion of the current rib feature will be terminated, and the source CAD system local orientation base, target CAD system local orientation base, material side projection factor, thickness offset projection factor, target CAD system parameter combination, and native interface error information will be recorded.

[0132] In this embodiment, the rib feature refers to the parametric reinforcement structure formed on an existing entity based on a cross-sectional sketch. A rib feature to be converted corresponds to at least the rib feature record of the source CAD system. The record includes: source CAD system feature identifier, sketch identifier, parent entity association identifier, wall thickness, thickness symmetry parameter, material-side native parameter, and thickness-side native parameter when there is a unilateral asymmetric thickness distribution.

[0133] Specifically, a true thickness symmetry parameter indicates a symmetrical distribution of the wall thickness on both sides of the sketch plane, while a false parameter indicates an asymmetrical distribution of the wall thickness on one side of the sketch plane. The world coordinate material-side direction vector represents the world coordinate unit direction on the rib feature material side; the world coordinate thickness offset direction vector represents the thickness offset world coordinate unit direction when the thickness is asymmetrical on one side. The unified world coordinate system can be the global coordinate system agreed upon by the transformation link, or the assembly coordinate system unified after rigid body transformation.

[0134] In this embodiment, such as Figure 1 The steps of a rib feature conversion method for heterogeneous CAD model conversion are as follows:

[0135] Step S1: Parse the rib features to be converted in the source CAD system to obtain the feature identifier, section sketch reference, parent entity association identifier, wall thickness parameters, thickness symmetry parameters, material lateral direction control information, material fill mode, and sketch attachment reference information of the rib feature; when the rib feature has a unilateral asymmetric thickness distribution, obtain the unilateral thickness offset direction control information, and verify the validity of the wall thickness, section sketch reference, and parent entity association identifier;

[0136] Step S2: Establish the local orientation base of the source CAD system sketch based on the section sketch and the sketch attachment reference information. The local orientation base of the source CAD system sketch includes the sketch plane normal vector, the section reference tangent vector, and the sketch in-plane reference vector; determine the material side projection axis and the thickness offset projection axis according to the extrusion or material filling mode of the rib feature; convert the material side orientation control information of the source CAD system into the world coordinate material side orientation vector; and convert the thickness offset orientation control information into the world coordinate thickness offset orientation vector when there is a unilateral asymmetric thickness distribution.

[0137] Step S3: Construct a neutral rib feature representation, and write the sketch logical identifier, parent entity association identifier, wall thickness parameter, thickness symmetry parameter, world coordinate material side direction vector, and optional world coordinate thickness offset direction vector into the neutral feature representation; save parameters that are unique to the source CAD system and for which the target CAD system has no stable equivalent as extended information, and record the corresponding degradation state;

[0138] Step S4: The neutral feature representation is read from the target CAD system. The cross-sectional sketch of the target CAD system is located based on the sketch logical identifier. If the cross-sectional sketch of the target CAD system is not located and the sketch data is complete, the cross-sectional sketch of the target CAD system is created. The parent entity of the target CAD system is located in the feature mapping relationship, topology index mapping relationship, reconstruction log mapping relationship or geometric matching index based on the parent entity association identifier.

[0139] Step S5: After the target CAD system section sketch is created or located, call the target CAD system interface to read the actual local coordinate system of the target CAD system section sketch, and obtain the plane normal vector and in-plane coordinate axis of the target CAD system sketch; construct the target CAD system section datum tangent vector and the target CAD system sketch in-plane reference vector based on the target CAD system geometric segment or the target CAD system in-plane coordinate axis corresponding to the source CAD system section datum line.

[0140] Step S6: Based on the rib feature extrusion or material filling mode supported by the target CAD system, select the material-side projection axis from the target CAD system sketch plane normal vector and the target CAD system sketch in-plane reference vector, and use the other direction as the thickness offset projection axis; calculate the dot product of the world coordinate material-side direction vector and the material-side projection axis to obtain the material-side projection factor; when a world coordinate thickness offset direction vector exists, calculate the dot product of the world coordinate thickness offset direction vector and the thickness offset projection axis to obtain the thickness offset projection factor; determine the target CAD system material-side parameters, thickness-side parameters and other creation parameters based on the projection factor and the target CAD system capability mapping relationship, and call the target CAD system native rib feature creation interface to create the target CAD system rib feature;

[0141] Step S7: Perform native interface return status verification, fusion relationship verification with the parent entity of the target CAD system, material side and thickness offset side direction consistency verification, and geometric consistency verification on the rib features of the target CAD system; if the verification passes, register the mapping relationship between the rib feature identifier of the source CAD system and the rib feature identifier of the target CAD system; if the verification fails, perform restricted retry or record failure information.

[0142] Example 2

[0143] This embodiment describes the steps of a rib feature conversion method for heterogeneous CAD model conversion, including:

[0144] Step S1: Analysis of rib features in the source CAD system:

[0145] S1.1: Traverse the feature tree of the source CAD system through the secondary development interface or feature access interface of the source CAD system, locate the rib feature object to be converted, and establish the feature record of the source CAD system.

[0146] S1.2: Read the section sketch reference, parent entity association identifier, wall thickness, thickness symmetry parameters, material-side native parameters, and sketch attachment datum information from the definition data or parameter tree of the rib feature object. If the wall thickness is not greater than zero, the section sketch reference is empty, or the parent entity association identifier is unavailable, write a conversion log containing the source CAD system feature identifier and the reason for failure, and stop subsequent processing of the rib feature;

[0147] S1.3: When the thickness symmetry parameter is false, read the one-sided thickness enumeration, Boolean parameter, or local orientation flag; when the thickness symmetry parameter is true, mark the thickness orientation state as invalid and do not construct a thickness offset orientation vector. This process avoids mismapping bilaterally symmetric thickness semantics to one-sided offset semantics.

[0148] S1.4: Read the native parameters on the material side. For source CAD systems that only provide local enumeration values ​​or inverse Booleans, the source CAD system adapter converts the value into a positive or negative semantic relative to the local reference direction of the source CAD system sketch; the native value itself is not passed as a field across systems.

[0149] Step S2: As Figure 2 As shown, the source CAD system has unified directional semantics:

[0150] S2.1: Obtain the sketch plane normal vector of the local coordinate system of the sketch in the source CAD system through the source CAD system interface. The sketch plane normal vectors are normalized. The non-constructed line segments in the section sketch are traversed, prioritizing the first available line segment in the preset order to obtain the starting point of the section segment. and the endpoint of the cross-section line segment and in accordance with Obtain the initial tangent vector When no available non-constructed straight line segments exist, the in-plane coordinate axes of the local coordinate system of the source CAD system sketch are used as the initial tangent vectors.

[0151] S2.2: Calculate the initial tangent vector The normal vector perpendicular to the sketch plane The projection onto the plane yields the projection tangent vector. ,Right now ,in, For vector dot product operations; when the projection tangent vector has a 2-norm. When the preset zero vector tolerance is met, it represents the initial tangent vector. Normal vector of sketch plane If parallel or sketch direction data is abnormal, log the tangent vector degradation and suspend the current task; otherwise, proceed as follows. Obtain the reference tangent vector of the cross section ;

[0152] S2.3: According to Calculate the reference vector in the sketch plane ,in, For vector cross product operation, The vector normalization operation yields the normal vector from the sketch plane. Cross-sectional reference tangent vector and the reference vector in the sketch plane The source CAD system sketch local orientation base Each vector component, sketch identifier, and direction source is written to a temporary transformation record to support subsequent diagnostics;

[0153] S2.4: Select the material side projection axis and thickness offset projection axis based on the extrusion or material fill mode of the rib feature. When the material fill mode is parallel to the sketch plane, use the in-plane reference vector. As the material-side projection axis, with the sketch plane normal vector as the normal vector As the thickness offset projection axis; when the material-side native parameters represent the positive or negative side, respectively, the world coordinate material-side direction vector is set as follows. satisfy or When the unilateral thickness offset direction control information represents the positive or negative side, the world coordinate thickness offset direction vector is respectively set to... satisfy or When the material fill pattern is normal to the sketch plane, the sketch plane normal vector is used. As the material-side projection axis, with the in-plane reference vector... As the thickness offset projection axis; when the material-side native parameters represent the positive or negative side, respectively, the world coordinate material-side direction vector is set as follows. satisfy or When the unilateral thickness offset direction control information represents the positive or negative side, the world coordinate thickness offset direction vector is respectively set to... satisfy or World coordinate material lateral direction vector Used only for inverse calculation of material-side parameters, world coordinate thickness offset direction vector It is only used for inverse calculation of thickness side parameters.

[0154] Step S3: As Figure 3 As shown, the neutral feature representation is constructed as follows:

[0155] S3.1: Construct a unified information model for rib features, whose core fields include sketch logical identifier, parent entity association identifier, wall thickness t, and thickness symmetry parameter. World coordinate material lateral direction vector and in terms of thickness symmetry parameters World coordinate thickness offset direction vector when false ;

[0156] S3.2: Write the unified information model into a neutral feature representation file or a neutral data structure. The sketch logic identifier in the neutral feature representation is used to associate the target CAD system sketch that has been converted or is to be created, and the parent entity association identifier is used to locate the parent entity of the target CAD system.

[0157] S3.3: Parameters such as reference plane offset, draft, reference edge, extrusion mode, and source CAD system sketch index are treated as optional extended fields. When the current serializer or target CAD system adapter does not support the corresponding field, the field name and field value of the source CAD system are retained, and the "unmapped" or "degraded" status is recorded, without replacing it with guessed values.

[0158] Step S4: Preparation of prerequisite objects for the target CAD system:

[0159] S4.1: After reading the neutral feature representation, the target CAD system adapter queries the feature mapping table based on the sketch logical identifier. If the query is successful, the target CAD system sketch object is obtained; if the query fails, the sketch outline, sketch plane, geometric constraints, or necessary sketch data are checked for completeness, and the target CAD system sketch is created if the target CAD system supports sketch reconstruction.

[0160] S4.2: Based on the parent entity association identifier, locate the target CAD system parent entity in the feature mapping table, topology naming mapping table, reconstruction log mapping relationship, or geometric matching index. If the parent entity does not exist, is in an invalid state, or fails to create a usable sketch, output the "Previous object unavailable" log and stop the creation of the current rib feature;

[0161] S4.3: When the neutral feature representation includes a reference plane offset field, the normal vector of the target CAD system reference plane is read, the signed offset distance is determined based on the projection of the offset direction vector onto the normal vector, and the target CAD system reference plane is created using the signed offset distance. This process avoids changing the local coordinate axes of the sketch by physically flipping the reference plane, thereby avoiding the introduction of new directional ambiguities.

[0162] Step S5: Local orientation basis resolution of the target CAD system:

[0163] S5.1: After the sketch in the target CAD system is actually created, call the native interface of the target CAD system to read the local coordinate system of the sketch and obtain the plane normal vector of the sketch in the target CAD system. And the in-plane coordinate axes of the target CAD system, and the normal vector of the sketch plane of the target CAD system. Unitize;

[0164] S5.2: Prioritize obtaining the initial tangent vector of the target CAD system corresponding to the reference line segment of the source CAD system's cross-section. When multiple candidate line segments exist, the candidate line segment can be selected based on the distance between the midpoint of the candidate line segment and the conversion result of the reference point of the source CAD system, the angle between the tangent vector of the candidate line segment and the tangent vector of the source CAD system, and the preset distance tolerance.

[0165] S5.3: According to Calculate the reference tangent vector of the target CAD system section. and in accordance with Calculate the in-plane reference vector of the target CAD system sketch This allows for the construction of a plane normal vector from the target CAD system sketch. Target CAD system cross-section reference tangent vector and the in-plane reference vector of the target CAD system sketch The target CAD system local orientation base Initial tangent vector of the target CAD system When reading, projection, or normalization fails, the in-plane coordinate axes of the target CAD system are used as the initial tangent vectors of the target CAD system. Then rebuild; if it fails again, record the failure of direction basis resolution and stop creating.

[0166] Step S6: Target CAD system creation parameter inversion and feature creation:

[0167] S6.1: Select the material-side projection axis of the target CAD system based on the target CAD system's capability mapping table and the rib feature's stretching or material filling mode. and thickness offset projection axis When the material fill mode is parallel to the sketch plane, let , When the material fill pattern is normal to the sketch plane, let , ; Calculate the material lateral direction vector in world coordinates With the material side projection axis The dot product yields the material-side projection factor. ,Right now When the thickness symmetry parameter When the value is false, calculate the world coordinate thickness offset direction vector. With thickness offset projection axis The dot product yields the thickness offset projection factor. ,Right now Set direction threshold ,and Among them, the maximum permissible angular error The accuracy is determined by the sketch coordinate system extraction accuracy, the unit conversion accuracy, and the geometric kernel tolerance of the target CAD system.

[0168] S6.2: When the absolute value of the material-side projection factor Or, in a scene with unilateral asymmetric thickness, the absolute value of the thickness offset projection factor. If the target CAD system sketch's actual local coordinate system is not met after recalculation, the target CAD system's local orientation base and projection factor are recalculated. If the conditions are still not met after recalculation, the world coordinate material side orientation vector is recorded. Optional world coordinate thickness offset direction vector The target CAD system's local orientation base, unit conversion ratio, and threshold configuration are set without calling the native creation interface.

[0169] S6.3: When the material-side projection factor Greater than or equal to the direction threshold When selecting the projection axis relative to the material side... The target CAD system material-side parameters corresponding to the positive direction; when the material-side projection factor Less than or equal to the negative direction threshold When selecting the projection axis relative to the material side... The corresponding material-side parameters of the target CAD system in reverse; when the thickness symmetry parameters When false, the projection factor is adjusted according to the thickness offset in the same way. Projection axis offset relative to thickness The positive and negative relationship is used to select the thickness-side parameter; when the thickness symmetry parameter... When true, no single-sided thickness parameter is set;

[0170] S6.4: Based on the target CAD system's capability mapping table, determine the available parent entity references, material-side parameters, thickness-side parameters, and wall thickness parameters, and call the target CAD system's native rib feature creation interface. Source CAD system-specific parameters not supported by the target CAD system are not included in the interface call; their downgraded status, combined with the parameters created in this instance, is written to the log.

[0171] Step S7: As Figure 4 As shown, the conversion result is validated and limited retry is performed:

[0172] S7.1: Verify the return status of the native rib feature creation interface to confirm that the target CAD system rib feature object has been generated; then verify whether the target CAD system rib feature and the target CAD system parent entity form a preset intersection, Boolean union, or fusion relationship;

[0173] S7.2: Select sampling points on both sides of the target CAD system sketch plane, or read the signed distance and key section position of the rib feature side relative to the sketch plane, and verify whether the material side direction vector is consistent with the world coordinate material side direction vector. Consistency; In unilateral asymmetric thickness scenarios, further verification is needed to determine whether the thickness offset side is consistent with the world coordinate thickness offset direction vector. Consistent;

[0174] S7.3: Compare the bounding box deviation, key section position deviation, or offline geometric comparison error between the source CAD system and the target CAD system according to a unified coordinate relationship. If the error is within the preset range and all the aforementioned verifications pass, write the feature identifiers of the source CAD system and the target CAD system into the feature mapping table to complete the feature conversion of the rib.

[0175] S7.4: If the initial creation fails or any verification fails, delete or roll back the temporary features generated during the initial creation; perform an additional creation only after reversing the material-side parameters of the target CAD system. If the additional creation still fails or fails verification, terminate the current feature conversion and record the local orientation base and material-side projection factor of the source and target CAD systems. Thickness offset projection factor Direction threshold Unit conversion ratio, target CAD system parameter combination, native interface error information, and temporary feature cleanup results.

[0176] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0177] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0178] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0179] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0180] The embodiments of the present invention have been described above with reference to the accompanying drawings. However, the present invention is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of the present invention without departing from the spirit and scope of the claims. All of these forms are within the protection scope of the present invention.

Claims

1. A method for rib feature conversion for heterogeneous CAD model conversion, characterized in that, include: Obtain the section sketch reference, section sketch logical identifier, parent entity association identifier, thickness parameters, thickness side parameters, material side direction control information, and sketch attachment reference information of the rib feature to be converted in the source CAD system; Based on the cross-section sketch reference and sketch attachment reference information, the material side orientation control information is converted into a world coordinate material side orientation vector; When the rib feature is a unilateral thickness distribution, the unilateral thickness offset direction control information is obtained and converted into a world coordinate thickness offset direction vector; Write the cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, world coordinate material side direction vector, and optional world coordinate thickness offset direction vector into the neutral rib feature representation; Obtain the cross-sectional sketch logical identifier from the neutral reinforcement features, locate or reconstruct the target CAD system cross-sectional sketch based on the logical identifier, and locate the target CAD system parent entity based on the parent entity association identifier; read the actual local coordinate system of the target CAD system cross-sectional sketch to obtain the target CAD system local orientation base; When the world coordinate thickness offset direction vector exists, select the rib feature creation mode supported by the target CAD system, select the material side projection axis and the thickness offset projection axis from the local direction basis of the target CAD system, and calculate the dot product of the world coordinate material side direction vector and the material side projection axis, and the world coordinate thickness offset direction vector and the thickness offset projection axis, respectively, to obtain the corresponding projection factor; The creation parameters of the target CAD system are determined based on the projection factor and the preset capability mapping relationship of the target CAD system, and the interface of the rib feature creation mode is called to reconstruct it; A comprehensive verification is performed on the rib features of the reconstructed target CAD system; if the verification passes, the mapping relationship is registered; if the verification fails, a retry is performed after reversing the material side parameters, and the failure information is recorded.

2. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, Also includes: After the steps of obtaining the cross-section sketch reference, cross-section sketch logical identifier, parent entity association identifier, thickness parameter, thickness side parameter, material side direction control information, and sketch attachment reference information, and before the step of converting the material side direction control information into a world coordinate material side direction vector based on the cross-section sketch reference and sketch attachment reference information, the validity of the thickness parameter, cross-section sketch reference, and parent entity association identifier is verified. If the thickness parameter is not greater than zero, the cross-section sketch reference is empty, or the parent entity association identifier is unavailable, then mark the current rib feature as unconvertible and terminate subsequent processing.

3. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The step of converting the material side orientation control information into a world coordinate material side orientation vector based on the cross-section sketch reference and sketch attachment reference information includes: The local coordinate system of the sketch corresponding to the cross-section sketch reference is obtained through the interface of the source CAD system, the sketch plane normal vector is obtained, and the sketch plane normal vector is normalized. The direction of the non-constructed line segment is extracted from the geometric primitives included in the section sketch reference as the initial tangent vector; if there is no available non-constructed line segment in the section sketch reference, the in-plane coordinate axis of the local coordinate system is used as the initial tangent vector. The initial tangent vector is projected onto a plane perpendicular to the normal vector of the sketch plane, and the projection result is normalized to obtain the cross-sectional reference tangent vector; Calculate the in-plane reference vector of the sketch based on the cross product of the sketch plane normal vector and the cross section reference tangent vector; The local orientation base of the source CAD system sketch is composed of the sketch plane normal vector, the section reference tangent vector, and the sketch in-plane reference vector; Obtain the material fill pattern of the rib feature to be converted in the source CAD system. When the material fill pattern indicates that the material side growth direction is parallel to the sketch plane, use the in-plane reference vector of the sketch plane as the material side projection axis; when the material fill pattern indicates that the material side growth direction is normal to the sketch plane, use the sketch plane normal vector as the material side projection axis. If the material-side orientation control information indicates the positive side relative to the material-side projection axis, then the world coordinate material-side orientation vector is assigned the value as the positive unit vector of the material-side projection axis; if it indicates the negative side, then it is assigned the value as the negative unit vector of the material-side projection axis.

4. The rib feature conversion method for heterogeneous CAD model conversion according to claim 3, characterized in that, The steps for transforming the world coordinate thickness offset direction vector include: When the rib feature is a unilateral thickness distribution, the steps are as follows: When the material fill mode indicates that the material side growth direction is parallel to the sketch plane, the sketch plane normal vector is used as the thickness offset projection axis; when the material fill mode indicates that the material side growth direction is normal to the sketch plane, the sketch plane in-plane reference vector is used as the thickness offset projection axis. If the thickness offset direction control information indicates the positive side relative to the thickness offset projection axis, then the world coordinate thickness offset direction vector is assigned the positive unit vector of the thickness offset projection axis; if it indicates the negative side, then it is assigned the negative unit vector of the thickness offset projection axis. When the rib feature has a two-sided thickness distribution, the world coordinate thickness offset direction vector does not exist.

5. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The neutral rib features include: the cross-section sketch logical identifier, the parent entity association identifier, the thickness parameter, the thickness side parameter, the world coordinate material side direction vector, and the world coordinate thickness offset direction vector when the thickness side parameter indicates a unilateral asymmetric distribution; The neutral rib feature representation also includes optional extended fields, which include rib type, draft parameters, reference edge parameters, and source CAD system sketch index; A field participates in the target CAD system reconstruction only if the target CAD system's capability mapping table indicates that the corresponding extended field is supported; otherwise, the degraded status of the field is recorded.

6. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The step of reading the actual local coordinate system of the target CAD system cross-sectional sketch to obtain the local orientation base of the target CAD system includes: The plane normal vector and in-plane coordinate axis of the cross section sketch of the target CAD system are read through the native interface of the target CAD system, and the plane normal vector is normalized. From the geometric primitives of the target CAD system cross-section sketch, obtain the direction of the target CAD system geometric line segment corresponding to the reference line segment of the source CAD system cross-section as the initial tangent vector of the target CAD system; if the acquisition fails, use the in-plane coordinate axis as the initial tangent vector of the target CAD system. The initial tangent vector of the target CAD system is projected onto a plane perpendicular to the plane normal vector of the target CAD system and normalized to obtain the reference tangent vector of the cross section of the target CAD system; Calculate the in-plane reference vector of the target CAD system sketch based on the cross product of the plane normal vector of the target CAD system and the cross-sectional reference tangent vector of the target CAD system. The local orientation base of the target CAD system is composed of the plane normal vector, the target CAD system section reference tangent vector, and the target CAD system sketch in-plane reference vector.

7. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, After obtaining the corresponding projection factor, and before determining the creation parameters of the target CAD system based on the projection factor and the preset capability mapping relationship of the target CAD system, the method further includes: Set direction threshold ,in, The maximum permissible angular error is determined based on the sketch coordinate system extraction accuracy, unit conversion accuracy, and the geometric kernel tolerance of the target CAD system. If the absolute value of the material-side projection factor is less than Or, when a thickness offset projection factor exists, its absolute value is less than Then, the actual local coordinate system of the target CAD system section sketch is reread and the projection factor is recalculated; If the projection matching condition is still not met after recalculation, stop calling the creation interface and record the direction data error. If the projection factor meets the conditions, the material-side parameters of the target CAD system are determined according to the positive and negative relationship between the material-side projection factor and the material-side projection axis, and the thickness-side parameters of the target CAD system are determined according to the positive and negative relationship between the thickness offset projection factor and the thickness offset projection axis.

8. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The preset target CAD system capability mapping table records the material-side parameters, thickness-side parameters supported by the target CAD system and their correspondence with the local orientation base of the target CAD system; For source CAD system-specific parameters that are not supported by the target CAD system, the source CAD system parameter values, parameter names, and mapping status are retained, and the source CAD system-specific parameters are not forced as creation parameters of the target CAD system.

9. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The comprehensive verification includes: Verify the return status of the target CAD system's reinforcement feature creation interface to confirm that the feature object has been generated; Verify whether a preset intersection, Boolean union, or fusion relationship is formed between the rib features of the target CAD system and the parent entity of the target CAD system; Obtain the signed distance of the rib feature entity of the target CAD system relative to one side of the cross-sectional sketch plane of the target CAD system. Determine the actual material side direction of the rib feature of the target CAD system based on the sign of the signed distance. Compare the actual material side direction with the material side direction vector of the world coordinates. If the directions are consistent, the verification is successful. Obtain the signed distance of the target CAD system rib feature relative to one side of the thickness offset projection axis. Determine the actual thickness offset side direction based on the sign of the signed distance. Compare the actual thickness offset side direction with the world coordinate thickness offset direction vector. If the directions match, the verification is successful. When the thickness distribution is asymmetrical on one side, the consistency of the thickness offset side direction is checked by comparing the signed distance of the rib feature of the target CAD system relative to the thickness offset projection axis with the thickness offset direction vector of the world coordinates. Geometric consistency is verified by comparing the bounding box deviation or key section position deviation of the rib features between the source CAD system and the target CAD system under a unified coordinate relationship.

10. The rib feature conversion method for heterogeneous CAD model conversion according to claim 1, characterized in that, The retry after performing a reversal of the material-side parameters includes: If the initial creation fails or the verification fails, delete or roll back the temporarily created target CAD system rib feature; Only reverse the material-side parameters of the target CAD system, keeping other creation parameters unchanged, and perform an additional creation and verification; If the additional creation still fails, the conversion of the current rib feature will be terminated, and the source CAD system local orientation base, target CAD system local orientation base, material side projection factor, thickness offset projection factor, target CAD system parameter combination, and native interface error information will be recorded.