Object model processing method and device and storage medium

By filtering target geometric features on the object model that are less than a threshold away from the cursor position and adding markers, the picking error problem in complex curved surfaces or dense mesh areas is solved, improving the accuracy and efficiency of object model picking.

CN121786910APending Publication Date: 2026-04-03CHENGDU GONGDING TECHNOLOGY CO LTD +2
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-30
Publication Date
2026-04-03

AI Technical Summary

Technical Problem

When performing point picking or axis picking on a 3D geometric model of a complex object model, it is easy to pick adjacent points or surfaces incorrectly due to complex curved surfaces or dense meshes, resulting in a large deviation in the picking position and reducing the accuracy of the picking process.

Method used

By determining the target position of the cursor on the object model, target geometric features that are less than a threshold away from the target position are filtered out, and visual markers are added based on the target geometric features to establish a stable mapping relationship and avoid picking adjacent points or surfaces.

Benefits of technology

It improves the accuracy of object model picking and processing, reduces operational complexity, and ensures accurate capture and efficient picking of expected feature types.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121786910A_ABST
    Figure CN121786910A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an object model processing method and device and a storage medium. The method comprises the steps that a target position on an object model is determined, the target position is the position indicated by a cursor on the object model, and the object model comprises a plurality of geometric features; a target geometric feature corresponding to the target position is determined in the multiple geometric features, and the distance between the target geometric feature and the target position is smaller than a first threshold value; and based on the target geometric features and the target position, adding a mark to the object model, the mark being used for indicating information of the selected target geometric features. And the accuracy of picking the object model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, and in particular to an object model processing method, device and storage medium. Background Technology

[0002] With the widespread application of Computer Aided Engineering (CAE) technology, in the preprocessing stage of CAE analysis, it is necessary to pick geometric points or axes on the three-dimensional geometric model in order to complete operations such as applying loads, defining measurement points, and setting up local coordinate systems.

[0003] In related technologies, geometric points or axes on a 3D geometric model can be picked up in the following ways: users can pick up geometric points on the 3D geometric model by clicking on them with the cursor, and they can pick up the axis on the model by clicking on two geometric points on the 3D geometric model in sequence in CAE.

[0004] In the above process, when performing point picking or axis picking on complex object models, there may be cases where complex curved surfaces or dense meshes cause adjacent points or surfaces to be picked incorrectly, resulting in a large deviation between the expected picking position and the actual picking position, leading to low accuracy in picking the object model. Summary of the Invention

[0005] This application provides an object model processing method, device, and storage medium to solve the problem of low accuracy in picking up and processing object models.

[0006] In a first aspect, embodiments of this application provide an object model processing method, including:

[0007] Determine the target position on the object model, which is the position indicated by the cursor on the object model, which includes multiple geometric features;

[0008] Among multiple geometric features, the target geometric feature corresponding to the target location is determined, and the distance between the target geometric feature and the target location is less than a first threshold.

[0009] Based on the target's geometric features and location, markers are added to the object model. These markers indicate information about the selected target's geometric features.

[0010] In one possible implementation, among multiple geometric features, determining the target geometric feature corresponding to the target location includes:

[0011] Determine the current selection mode of the object model, including point selection mode and axis selection mode;

[0012] Based on the selection mode, the target geometric feature corresponding to the target location is determined among multiple geometric features.

[0013] In one possible implementation, based on a selection mode, the target geometric feature corresponding to the target location is determined from multiple geometric features, including:

[0014] When the selection mode is point selection mode, the geometric features include multiple feature points, multiple feature edges, and multiple feature faces of the object model;

[0015] Based on multiple feature points, feature edges, or feature surfaces, determine the target geometric features corresponding to the target location.

[0016] In one possible implementation, the target geometric features corresponding to the target location are determined based on multiple feature points, multiple feature edges, or multiple feature surfaces, including:

[0017] For multiple feature points, the distance between each feature point and the ray where the target position is located is determined, and among the multiple feature points, multiple candidate feature points whose distance is less than a first preset deviation are determined, and based on a first threshold, the target geometric features corresponding to the target position are determined among the multiple candidate feature points.

[0018] For multiple feature edges, determine the first intersection point between the multiple feature edges and the ray where the target position is located, and based on a first threshold, determine the target geometric features corresponding to the target position among the multiple first intersection points;

[0019] When the target geometric features are not determined based on feature points and feature edges, the second intersection points of multiple feature surfaces and the ray where the target position is located are determined, and the target geometric features corresponding to the target position are determined among the multiple second intersection points based on a first threshold.

[0020] In one possible implementation, based on a selection mode, the target geometric feature corresponding to the target location is determined from multiple geometric features, including:

[0021] When the selection mode is axial selection mode, the geometric features include multiple feature edges and multiple feature faces of the object model;

[0022] Based on multiple feature edges or multiple feature surfaces, determine the target geometric features corresponding to the target location.

[0023] In one possible implementation, the target geometric features corresponding to the target location are determined based on multiple feature edges or multiple feature surfaces, including:

[0024] When there are multiple feature edges, the distance between each feature edge and the ray where the target position is located is determined. Among the multiple feature edges, multiple candidate feature edges with a distance less than the second preset deviation are determined. Based on the first threshold, the target geometric feature corresponding to the target position is determined among the multiple candidate feature edges.

[0025] When the target geometric features are not determined based on feature edges, if each feature surface includes a cylindrical surface or a torus, the cylindrical surface or torus will be determined as the target geometric feature corresponding to the target position.

[0026] In one possible implementation, markers are added to the object model based on the target's geometric features and location, including:

[0027] When the selection mode is point selection mode, a sphere marker is added to the target geometric feature corresponding to the target location, and the radius of the marker is larger than the radius of the target geometric feature;

[0028] When the selection mode is axial selection mode and the target geometric feature is a feature edge, if the feature edge is an arc, determine the center and normal vector of the circle where the arc is located, and add a marker to the object model based on the center and normal vector.

[0029] When the selection mode is axial selection mode and the target geometry is a cylindrical surface or a torus, obtain the coordinate system of the cylindrical surface or torus, and add markers to the object model based on the origin and coordinate axes of the coordinate system.

[0030] In one possible implementation, when the selection mode is axial selection mode and the target geometric feature is a feature edge, the method further includes:

[0031] If the feature edge is not an arc, then determine the third intersection point between the feature edge and the ray where the target position is located. The third intersection point is the intersection point where the distance between the feature edge and the target position is less than the second threshold.

[0032] Based on the third intersection point, determine the endpoints and corresponding tangent vectors of the object model, and add markers to the object model based on the endpoints and tangent vectors.

[0033] Secondly, embodiments of this application provide an object model processing apparatus, the apparatus comprising:

[0034] The first determining module is used to determine the target position on the object model. The target position is the position indicated by the cursor on the object model, which includes multiple geometric features.

[0035] The second determining module is used to determine the target geometric feature corresponding to the target position among multiple geometric features, wherein the distance between the target geometric feature and the target position is less than a first threshold.

[0036] The processing module adds markers to the object model based on the target's geometric features and location. These markers indicate information about the selected target geometric features.

[0037] In one possible implementation, the second determining module is specifically used for:

[0038] Determine the current selection mode of the object model, including point selection mode and axis selection mode;

[0039] Based on the selection mode, the target geometric feature corresponding to the target location is determined among multiple geometric features.

[0040] In one possible implementation, the second determining module is specifically used for:

[0041] When the selection mode is point selection mode, the geometric features include multiple feature points, multiple feature edges, and multiple feature faces of the object model;

[0042] Based on multiple feature points, feature edges, or feature surfaces, determine the target geometric features corresponding to the target location.

[0043] In one possible implementation, the second determining module is specifically used for:

[0044] For multiple feature points, the distance between each feature point and the ray where the target position is located is determined, and among the multiple feature points, multiple candidate feature points whose distance is less than a first preset deviation are determined, and based on a first threshold, the target geometric features corresponding to the target position are determined among the multiple candidate feature points.

[0045] For multiple feature edges, determine the first intersection point between the multiple feature edges and the ray where the target position is located, and based on a first threshold, determine the target geometric features corresponding to the target position among the multiple first intersection points;

[0046] When the target geometric features are not determined based on feature points and feature edges, the second intersection points of multiple feature surfaces and the ray where the target position is located are determined, and the target geometric features corresponding to the target position are determined among the multiple second intersection points based on a first threshold.

[0047] In one possible implementation, the second determining module is specifically used for:

[0048] When the selection mode is axial selection mode, the geometric features include multiple feature edges and multiple feature faces of the object model;

[0049] Based on multiple feature edges or multiple feature surfaces, determine the target geometric features corresponding to the target location.

[0050] In one possible implementation, the second determining module is specifically used for:

[0051] When there are multiple feature edges, the distance between each feature edge and the ray where the target position is located is determined. Among the multiple feature edges, multiple candidate feature edges with a distance less than the second preset deviation are determined. Based on the first threshold, the target geometric feature corresponding to the target position is determined among the multiple candidate feature edges.

[0052] When the target geometric features are not determined based on feature edges, if each feature surface includes a cylindrical surface or a torus, the cylindrical surface or torus will be determined as the target geometric feature corresponding to the target position.

[0053] In one possible implementation, the processing module is specifically used for:

[0054] When the selection mode is point selection mode, a sphere marker is added to the target geometric feature corresponding to the target location, and the radius of the marker is larger than the radius of the target geometric feature;

[0055] When the selection mode is axial selection mode and the target geometric feature is a feature edge, if the feature edge is an arc, determine the center and normal vector of the circle where the arc is located, and add a marker to the object model based on the center and normal vector.

[0056] When the selection mode is axial selection mode and the target geometry is a cylindrical surface or a torus, obtain the coordinate system of the cylindrical surface or torus, and add markers to the object model based on the origin and coordinate axes of the coordinate system.

[0057] In one possible implementation, the processing module is specifically used for:

[0058] If the feature edge is not an arc, then determine the third intersection point between the feature edge and the ray where the target position is located. The third intersection point is the intersection point where the distance between the feature edge and the target position is less than the second threshold.

[0059] Based on the third intersection point, determine the endpoints and corresponding tangent vectors of the object model, and add markers to the object model based on the endpoints and tangent vectors.

[0060] Thirdly, embodiments of this application provide an object model processing device, including:

[0061] At least one processor; and

[0062] A memory that is communicatively connected to at least one processor; wherein,

[0063] The memory stores instructions that can be executed by at least one processor, which, when executed by at least one processor, enables the at least one processor to perform the method described in any one of the first aspects.

[0064] Fourthly, embodiments of this application provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to perform the method described in any one of the first aspects.

[0065] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the method described in any one of the first aspects.

[0066] The object model processing method, device, and storage medium provided in this application determine a target position on an object model, where the target position is the location indicated by the cursor on the object model. The object model includes multiple geometric features. Among these geometric features, a target geometric feature corresponding to the target position is determined, where the distance between the target geometric feature and the target position is less than a first threshold. Based on the target geometric feature and the target position, a marker is added to the object model to indicate information about the selected target geometric feature. By employing a distance threshold-based geometric feature filtering mechanism and establishing a stable mapping relationship from the cursor position to the geometric feature, the method effectively avoids picking adjacent points or faces in complex curved surfaces or dense mesh areas. Furthermore, the selection result is intuitively fed back through the marker, improving the accuracy of object model picking processing. Attached Figure Description

[0067] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0068] Figure 1 A flowchart illustrating an object model processing method provided in an embodiment of this application;

[0069] Figure 2 A flowchart illustrating another object model processing method provided in an embodiment of this application;

[0070] Figure 3 A flowchart illustrating another object model processing method provided in an embodiment of this application;

[0071] Figure 4 A flowchart illustrating the method for adding markers provided in an embodiment of this application;

[0072] Figure 5 A flowchart illustrating another object model processing method provided in an embodiment of this application;

[0073] Figure 6 A flowchart illustrating another object model processing method provided in this application embodiment;

[0074] Figure 7This is a schematic diagram of the structure of the object model processing device provided in the embodiments of this application;

[0075] Figure 8 This is a schematic diagram of the structure of the object model processing device provided in the embodiments of this application.

[0076] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0077] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0078] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0079] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, use and processing of the relevant data must comply with relevant laws, regulations and standards, and corresponding operation entry points are provided for users to choose to authorize or refuse.

[0080] In related technologies, geometric points or axes on a 3D geometric model can be picked up in the following ways: users can pick up geometric points on the 3D geometric model by clicking on them with the cursor, and they can pick up the axis on the model by clicking on two geometric points on the 3D geometric model in sequence in CAE.

[0081] In the above process, when performing point picking or axis picking on complex object models, there may be cases where complex curved surfaces or dense meshes cause adjacent points or surfaces to be picked incorrectly, resulting in a large deviation between the expected picking position and the actual picking position, leading to low accuracy in picking the object model.

[0082] In this embodiment, by determining the target position indicated by the cursor on the object model, a target geometric feature with a distance less than a first threshold is identified from multiple geometric features, and a corresponding visual marker is added based on the target geometric feature. Because a distance threshold-based geometric feature filtering mechanism is adopted, and a stable mapping relationship is established from the cursor position to the geometric feature, the picking of adjacent points or faces in complex curved surfaces or dense mesh areas is effectively avoided. Furthermore, the selection result is intuitively fed back through markers, eliminating the need for manual input of coordinates or repeated adjustments to the point selection position, thus reducing operational complexity. Moreover, by setting the priority of geometric feature recognition, accurate capture of the expected feature type is ensured, improving both the picking efficiency and the accuracy of object model picking processing.

[0083] The method described in this application will now be illustrated through specific embodiments. It should be noted that the following embodiments may exist independently or in combination with each other; identical or similar content will not be repeated in different embodiments.

[0084] Figure 1 This is a flowchart illustrating an object model processing method provided in an embodiment of this application. Please refer to... Figure 1 The method may include:

[0085] S101. Determine the target location on the object model.

[0086] The execution entity in this application embodiment can be an object model processing device or an object model processing apparatus disposed within an object model processing device. The object model processing apparatus can be implemented in software or a combination of software and hardware. The object model processing device can be a terminal device, a server, etc.

[0087] The target position is the location indicated by the cursor on the object model. That is, the target position can be the position of the cursor on the object model from the current viewpoint. The cursor can be a visible pointer on the display interface controlled by the user through input devices such as a mouse or touchpad.

[0088] An object model comprises multiple geometric features. These geometric features include feature points, feature edges, and feature surfaces.

[0089] The object model is a three-dimensional geometric model used for preprocessing in CAE analysis, and can also be a geometric object at any level within the three-dimensional geometric model. For example, when analyzing the front wheel assembly of a vehicle suspension system, each component that makes up the assembly can be treated as an independent object model, including but not limited to: tire surfaces, brake disc planes, steering knuckle cylinders, and various link components.

[0090] Specifically, when the object model is a tire surface, its geometric features may include the tread contour line, the sidewall surface boundary, etc.; when the object model is a brake disc plane, its geometric features may include the disc surface boundary, the ventilation hole edge, etc.; when the object model is a steering knuckle cylinder, its geometric features may include the cylinder axis, the end face circular boundary, etc. This hierarchical definition method allows this approach to adapt to the geometric feature selection requirements at different levels, providing flexible and accurate geometric positioning capabilities for CAE preprocessing.

[0091] To improve the real-time performance of interacting with complex 3D models, electronic devices can construct a Bounding Volume Hierarchies (BVH) tree for all geometric objects within the CAE canvas area, i.e., the object model. Optionally, a binary tree, a quadtree, or a combination of binary and quadtrees can be used to construct the BVH tree.

[0092] For example, by recursively dividing the two-dimensional screen space using a quadtree, the display area is successively subdivided into four sub-regions. Each node records the index of the geometric object falling into the corresponding screen region, establishing a fast mapping relationship between screen coordinates and geometric objects. Subsequently, a binary tree is used to hierarchically organize each geometric object in three-dimensional space. By recursively dividing the object's bounding box into two sub-spaces, a tree structure containing bounding boxes at each level is formed. This collaborative mechanism enables a rapid mapping from the two-dimensional screen space to the three-dimensional model space: the quadtree quickly determines the range of geometric objects that the cursor position may affect, while the binary tree provides precise three-dimensional space query capabilities, establishing an efficient spatial indexing foundation for subsequent precise picking operations.

[0093] After constructing the BVH tree, the coordinates of the mouse's two-dimensional click (target position) on the canvas are converted into a three-dimensional ray in the world coordinate system. This ray starts from the user's viewpoint (camera position) and extends infinitely along the click direction. By performing collision detection layer by layer with the bounding boxes of each level of the BVH tree, geometric objects that do not intersect with the ray are quickly eliminated. Then, all geometric objects whose bounding boxes intersect with the ray are selected to obtain a set of candidate geometric objects. In this way, the blind traversal of all geometric objects can be avoided through hierarchical filtering, which greatly improves the picking efficiency in complex model scenes.

[0094] S102. Among multiple geometric features, determine the target geometric feature corresponding to the target location.

[0095] Among them, the distance between the target geometric features and the target location is less than the first threshold.

[0096] The target geometric feature is a geometric element determined through a selection operation. For example, the target geometric feature can be a specific location point on the object model, or a specific directional edge on the corresponding model.

[0097] The first threshold is used to determine whether the distance between the target's geometric features and its location is within a valid range. In other words, the first threshold indicates the minimum depth of the target's geometric features from its location.

[0098] The target geometric feature corresponding to the target location can be determined from multiple geometric features in the following way: determine the current selection mode of the object model; based on the selection mode, determine the target geometric feature corresponding to the target location from multiple geometric features.

[0099] The selection modes include point selection mode and axis selection mode.

[0100] The selection mode is a switchable functional mode in CAE used to define the user's picking purpose, meaning that the user can switch the selection mode in CAE.

[0101] Specifically, three mode switching mechanisms can be adopted: graphical interface toolbar, keyboard shortcuts, and right-click menu. Users can switch selection modes by clicking toolbar icons, pressing specific keyboard shortcuts, or selecting right-click menu items. Furthermore, the display interface can reflect the current selection mode status by changing the cursor style and displaying status indicators, ensuring that users are clearly aware of the current operating mode.

[0102] Point selection mode is a functional mode that targets specific spatial locations on the object model, also known as point picking mode. It is suitable for operation scenarios that require precise positioning, such as defining measurement points or applying load points.

[0103] Axial selection mode is a functional mode that aims to determine the direction vector on the object model, also known as axis picking mode. It can be applied to scenarios that require defining direction, such as setting a local coordinate system or specifying the load direction.

[0104] When the selection mode is point selection mode, the target geometric feature can be determined based on the spatial relationship between each geometric feature and the target position. For example, geometric features whose distance from the target position is less than a first threshold can be identified as target geometric features. When the selection mode is axis selection mode, the target geometric feature can be determined based on the intersection relationship between the geometric feature and the target position, as well as the type and geometric attributes of the geometric feature itself.

[0105] S103. Based on the target's geometric features and location, add markers to the object model.

[0106] The markers are used to indicate information about the selected target geometric features.

[0107] After determining the target's geometric features, a visual marker can be generated and rendered at the corresponding location on the object model based on these features and their positional information. This marker, as a graphical interface element, primarily functions to provide the user with clear and intuitive visual feedback to confirm that their selection has been successfully recognized and accepted.

[0108] The visual style of the marker is associated with the current selection mode and the type of the target geometry. For example, when the selection mode is point selection mode, the marker can be a highlighted sphere or a coordinate point; when the selection mode is axis selection mode, the marker can be displayed as a direction arrow or a coordinate system indicator.

[0109] In this way, through this differentiated visual presentation, the relevant information of the selected target geometric feature can be clearly indicated without additional operation. Users can quickly understand the type and meaning of the currently selected geometric feature. The generation of this mark completes the closed loop from user interaction intent recognition to visual feedback, ensuring the visualization and accuracy of preprocessing operations and providing a reliable foundation for subsequent engineering operations such as defining loads, constraints, or local coordinate systems.

[0110] The object model processing method provided in this application determines the target position indicated by the cursor on the object model, identifies target geometric features whose distance from the target position is less than a first threshold among multiple geometric features, and adds corresponding visual markers based on the target geometric features. By employing a distance threshold-based geometric feature filtering mechanism and establishing a stable mapping relationship from the cursor position to the geometric features, it effectively avoids picking adjacent points or faces in complex curved surfaces or dense mesh areas. Furthermore, the selection result is intuitively fed back through markers, eliminating the need for manual input of coordinates or repeated adjustments to the point selection position, thus reducing operational complexity. Moreover, by setting the priority of geometric feature recognition, it ensures accurate capture of the expected feature type, improving both the picking efficiency and the accuracy of object model picking processing.

[0111] Based on any of the above embodiments, the following, in conjunction with Figure 2 This section provides a detailed explanation of the object model processing method.

[0112] Figure 2 This is a flowchart illustrating another object model processing method provided in an embodiment of this application. Please refer to... Figure 2 The method includes:

[0113] S201. When the selection mode is point selection mode, the geometric features include multiple feature points, multiple feature edges, and multiple feature faces of the object model.

[0114] Feature points are discrete points with geometric meaning in the object model, including but not limited to: all vertices of the object model (e.g., the intersection of geometric body edges), the center of an arc (e.g., the center position corresponding to the edge of the arc), and the center of the geometric object (e.g., the centroid or the center of the bounding box).

[0115] Feature edges are the boundary lines between two adjacent faces in an object model, including but not limited to straight lines, arcs, curves, etc.

[0116] Feature surfaces are the boundary lines between two adjacent surfaces in an object model, including but not limited to planes, cylinders, spheres, etc.

[0117] S202. Based on multiple feature points, multiple feature edges, or multiple feature surfaces, determine the target geometric features corresponding to the target location.

[0118] When determining target geometric features, a hierarchical selection strategy based on feature type can be adopted. Feature points, feature edges, and feature surfaces can be prioritized, and points are picked sequentially from highest to lowest priority: feature points (first level), feature edges (second level), and feature surfaces (third level). This hierarchical selection mechanism ensures both the systematization and standardization of the picking process, and guarantees that the geometric features best matching the user's intent can be quickly and accurately located through a systematic search process, thereby effectively improving the accuracy and reliability of the picking operation.

[0119] The target geometric features corresponding to the target location can be determined based on multiple feature points, feature edges, or feature surfaces in the following manner: For multiple feature points, the distance between each feature point and the ray containing the target location is determined, and among the multiple feature points, multiple candidate feature points whose distance is less than a first preset deviation are selected, and based on a first threshold, the target geometric features corresponding to the target location are determined among the multiple candidate feature points; For multiple feature edges, the first intersection points between the multiple feature edges and the ray containing the target location are determined, and based on the first threshold, the target geometric features corresponding to the target location are determined among the multiple first intersection points; When the target geometric features are not determined based on feature points and feature edges, the second intersection points between the multiple feature surfaces and the ray containing the target location are determined, and based on the first threshold, the target geometric features corresponding to the target location are determined among the multiple second intersection points.

[0120] The first preset deviation is used to determine whether the distance between the feature point and the ray where the target position is located exceeds the set range. If the distance is less than the first preset deviation, it means that it does not exceed the set range and can be used as a feature point to be selected. If the distance is greater than or equal to the first preset deviation, it means that it exceeds the set range and cannot be used as a feature point to be selected.

[0121] The specific process for picking the first-level points, which is the picking of all feature points of the object model, is as follows: For any feature point, it is necessary to calculate its vertical distance to the ray where the target position is located. If the vertical distance is less than the first preset deviation (i.e., less than the set tolerance), then the feature point is determined as a feature point to be selected. For these feature points to be selected, it is necessary to calculate their distance to the target position (i.e., the depth to the ray origin position), and select the feature point with a depth less than the first threshold (i.e., the smallest depth) as the target geometric feature, that is, the selected point closest to the ray origin.

[0122] The first intersection point is the point where the feature edge intersects with the ray containing the target location.

[0123] If no points are found when picking points at the first level, points at the second level can be picked. The picking process for points at the second level, which is picking points on all feature edges of the object model, is as follows: traverse all feature edges (i.e., topological edges) of the object model, obtain the geometric curves of each feature edge, and for any feature edge, calculate its intersection point with the ray where the target position is located (i.e., the first intersection point). For these first intersection points, calculate their distance to the target position (i.e., the depth to the origin of the ray), and select feature points with a depth less than the first threshold (i.e., the minimum depth) as the target geometric feature, that is, the selected point closest to the origin of the ray.

[0124] The second intersection point is the point where the feature surface intersects with the ray at the target location.

[0125] The specific process for picking points at the third level, which is picking points on all feature surfaces of the object model, is as follows: traverse all feature surfaces (i.e., topological surfaces) of the object model, obtain the geometric surface of each feature surface, and for any feature surface, calculate the intersection point (i.e., the second intersection point) between it and the ray where the target position is located. For these second intersection points, calculate their distance to the target position (i.e., the depth to the origin of the ray), and select feature points that are less than the first threshold (i.e., the smallest depth) as the target geometric feature, that is, the selected point closest to the origin of the ray.

[0126] The object model processing method provided in this application establishes a hierarchical selection mechanism for feature points, feature edges, and feature surfaces, providing a systematic decision-making basis for the accurate localization of geometric features. This method employs a priority-based decision-making strategy based on spatial geometric relationships, significantly improving the robustness of selection for complex models and effectively avoiding misselection at dense geometric features. By assigning appropriate selection algorithms to geometric features at different levels, it solves the problem of traditional single selection strategies easily failing in complex 3D environments. Through precise ray intersection calculations and depth-optimized selection, it ensures that the finally selected geometric features meet both spatial proximity requirements and visual priority principles, significantly improving the accuracy and reliability of geometric feature selection in CAE preprocessing.

[0127] Based on any of the above embodiments, the following, in conjunction with Figure 3 This section provides a detailed explanation of the object model processing method.

[0128] Figure 3 This is a flowchart illustrating another object model processing method provided in an embodiment of this application. Please refer to... Figure 3 The method includes:

[0129] S301. When the selection mode is axial selection mode, the geometric features include multiple feature edges and multiple feature faces of the object model.

[0130] Feature edges refer to topological edges in an object model that have directional characteristics, including straight edges, circular edges, and other types. Each feature edge corresponds to a bottom-level geometric curve.

[0131] Feature surfaces can refer to topological surfaces in an object model that have directional characteristics, including regular curved surfaces with a defined geometric axis, such as cylindrical surfaces and toroidal surfaces.

[0132] S302. Based on multiple feature edges or multiple feature surfaces, determine the target geometric features corresponding to the target location.

[0133] When determining target geometric features, a hierarchical selection strategy based on feature type can be adopted. Feature edges and features can be prioritized, and axial selection is performed sequentially from highest to lowest priority on feature edges (first level) and feature surfaces (second level). Through this hierarchical selection mechanism, the system can fully utilize the directional characteristics of different geometric features, intelligently identifying the most suitable axial reference. This ensures both the systematization and standardization of the axial selection process and the consistency between the selection results and the model's geometric properties, thereby significantly improving the accuracy and reliability of axial definition.

[0134] The target geometric feature corresponding to the target position can be determined based on multiple feature edges or multiple feature surfaces in the following way: When there are multiple feature edges, the distance between each feature edge and the ray where the target position is located is determined. Among the multiple feature edges, multiple candidate feature edges with a distance less than a second preset deviation are determined. Based on a first threshold, the target geometric feature corresponding to the target position is determined among the multiple candidate feature edges. When the target geometric feature is not determined based on feature edges, if each feature surface includes a cylindrical surface or a torus, the cylindrical surface or torus is determined as the target geometric feature corresponding to the target position.

[0135] The second preset deviation is used to determine whether the distance between the feature edge and the ray where the target position is located exceeds the set range. If the distance is less than the second preset deviation, it means that it does not exceed the set range and can be used as a feature edge to be selected. If the distance is greater than or equal to the second preset deviation, it means that it exceeds the set range and cannot be used as a feature edge to be selected.

[0136] The specific process for picking the first-level axis, which is picking all feature edges of the object model, is as follows: For any feature edge, it is necessary to calculate its distance to the ray where the target position is located. If the distance is less than the second preset deviation (i.e., less than the set tolerance), the feature edge is determined as a feature edge to be selected. For these feature edges to be selected, it is necessary to calculate their intersection with the ray where the target position is located, and select the feature edge with the smallest depth along the ray direction based on the first threshold, that is, the edge closest to the origin of the ray.

[0137] The selected feature edge (target geometric feature) can be geometrically determined: if the feature edge is a circular arc edge, its center position is extracted as the axial origin, and the normal vector of the circular plane is used as the axial direction; if the feature edge is not a circular arc edge, the endpoint closest to the intersection point is extracted as the axial origin, and the tangent direction of the edge line at that point is used as the axial direction.

[0138] If the picking axis is not obtained when picking the first-level point, the second-level axis can be picked. The picking of the second-level axis is the picking of all feature surfaces of the object model. The specific process is as follows: traverse the feature surfaces of all candidate geometric objects, identify regular curved surfaces with clear directions such as cylindrical surfaces and torus surfaces, extract the inherent geometric attributes of the regular curved surfaces, that is, for cylindrical surfaces, obtain the direction of its central axis and the position of the center of the bottom circle, and for torus surfaces, obtain the direction of its rotation axis and the position of its center, and generate the corresponding direction vector and origin coordinates based on the extracted geometric attributes.

[0139] The object model processing method provided in this application, through an axis recognition mechanism based on geometric semantics, can intelligently understand the directional information contained in different geometric features, transforming low-level geometric elements into high-level direction definitions. For edge features, it automatically distinguishes between linear and rotational directions; for surface features, it directly extracts the intrinsic axis of the parametric surface. This significantly simplifies the cumbersome multi-step operations in traditional axis definition, allowing for accurate direction references to be obtained with a single click, greatly improving the efficiency and accuracy of direction definition in CAE preprocessing.

[0140] Based on any of the above embodiments, the following, in conjunction with Figure 4 This section provides a detailed explanation of the process of adding markers to the object model based on the target's geometric features and location.

[0141] Figure 4 This is a flowchart illustrating the method for adding markers provided in an embodiment of this application. Please refer to... Figure 4 The method includes:

[0142] S401. When the selection mode is point selection mode, add a sphere marker to the target geometric feature corresponding to the target position.

[0143] The radius of the marker is larger than the radius of the target geometric feature.

[0144] Successful picking can be marked with high-contrast colors. For example, an orange sphere can be drawn at the selected point (target geometric feature), where the radius of the sphere is larger than the radius of the point. This high-contrast color rendering makes it clearly distinguishable in complex geometric environments, and the display position of the marker accurately corresponds to the three-dimensional coordinates of the feature point.

[0145] S402. When the selection mode is axial selection mode and the target geometric feature is a feature edge, if the feature edge is an arc, determine the center and normal vector of the circle where the arc is located, and add a marker to the object model based on the center and normal vector.

[0146] You can highlight the axis pickup success indicator, for example, by drawing an arrow at the selected point with the arrow pointing in the direction of the selected axis. This arrow is drawn larger than a regular geometric object to ensure visual clarity.

[0147] If the feature edge is an arc, the coordinates of the center of the arc and the normal vector of the plane can be extracted. With the center of the arc as the origin and the direction of the normal vector as the axis, a 3D arrow mark is generated. The arrow starts at the center of the arc and is directed along the normal vector. The size and color of the arrow are set to add the mark to the object model to ensure visual clarity.

[0148] When the selection mode is axial selection mode and the target geometric feature is a feature edge, the method can be further as follows: if the feature edge is not an arc, determine the third intersection point of the feature edge and the ray where the target position is located; based on the third intersection point, determine the endpoints and corresponding tangent vectors of the object model, and generate direction indicator markers based on the endpoints and tangent vectors.

[0149] The third intersection point is the intersection point whose distance from the target location is less than the second threshold.

[0150] If the feature edge is not an arc, the intersection point (third intersection point) of the ray and the feature edge can be calculated. The endpoint of the edge closest to the third intersection point can be determined, and the tangent vector of the edge at that endpoint can be calculated. With the endpoint as the origin and the tangent vector as the direction, a linear arrow mark can be generated.

[0151] S403. When the selection mode is axial selection mode and the target geometric feature is a cylindrical surface or a torus, obtain the coordinate system of the cylindrical surface or torus, and add markers to the object model based on the origin and coordinate axes of the coordinate system.

[0152] If the target geometric feature is a cylindrical surface or a torus, a local coordinate system can be extracted from the geometric parameters of the cylindrical surface or the torus to obtain the origin point and main coordinate axis (usually the Z-axis) of the coordinate system, and markers can be added to the object model based on the origin and axis of the coordinate system.

[0153] The object model processing method provided in this application, through this differentiated marker generation mechanism, can provide the most suitable visual feedback for different types of geometric features and selection modes. In point selection mode, the sphere markers ensure clear indication of the location point; in axial selection mode, it intelligently distinguishes between rotational and linear features, generating corresponding direction indicator markers respectively. This refined visual feedback not only improves the visualization effect of the operation but also enhances the user's understanding and confirmation of the selection results through the differentiated design of the markers, significantly improving the intuitiveness and reliability of CAE preprocessing operations.

[0154] Based on any of the above embodiments, the following, in conjunction with Figure 5 The process of object model processing is illustrated with examples.

[0155] Figure 5 This is a flowchart illustrating another object model processing method provided in an embodiment of this application. Please refer to... Figure 5 The method includes:

[0156] S501, Construct the BVH tree of the geometric object.

[0157] Among them, geometric objects can be three-dimensional geometric models, that is, geometric objects include multiple object models.

[0158] S502. Based on the BVH tree, obtain the object model from the ray where the target location is located.

[0159] S503. When the selection mode is point selection mode, multiple feature points, multiple feature edges and multiple feature faces of the object model are obtained.

[0160] S504. Determine whether feature points have been picked up.

[0161] If so, then execute S512.

[0162] If not, then execute S505.

[0163] S505. Find the intersection of the ray at the target location with all feature edges.

[0164] S506. Determine if a first intersection point exists.

[0165] If so, then execute S507.

[0166] If not, then execute S508.

[0167] S507, Pick the point on the feature edge.

[0168] After S507, S512 is executed.

[0169] S508. Find the intersection of the ray at the target location with all feature surfaces.

[0170] S509. Determine whether a second intersection point exists.

[0171] If so, then execute S510.

[0172] If not, then execute S511.

[0173] S510, Pick up the points on the feature surface.

[0174] After S510, S512 is executed.

[0175] S511, Cancel the highlighting of successful point pickup.

[0176] S512. Generate a highlighted marker indicating successful pickup at this point.

[0177] Based on any of the above embodiments, the following, in conjunction with Figure 6 The process of object model processing is illustrated with examples.

[0178] Figure 6 This is a flowchart illustrating another object model processing method provided in an embodiment of this application. Please refer to... Figure 6 The method includes:

[0179] S601, Construct the BVH tree of the geometric object.

[0180] Among them, geometric objects can be three-dimensional geometric models, that is, geometric objects include multiple object models.

[0181] S602. Based on the BVH tree, obtain the object model from the ray where the target location is located.

[0182] S603. When the selection mode is axial selection mode, multiple feature edges and multiple feature faces of the object model are obtained.

[0183] S604. Determine whether a feature edge has been picked.

[0184] If so, then execute S605.

[0185] If not, then execute S608.

[0186] S605. Determine whether the curve of the feature edge is an arc.

[0187] If so, then execute S606.

[0188] If not, then execute S607.

[0189] S606. The center of the circle is taken as the origin of the axis, and the normal vector of the circle is taken as the vector of the axis.

[0190] After S606, execute S611.

[0191] S607. The endpoint on the side closest to the intersection point is taken as the origin of the axis, and the tangent vector at this point is taken as the vector of the axis.

[0192] After S607, execute S611.

[0193] S608. Determine whether a cylindrical surface or a torus has been picked up.

[0194] If so, then execute S609.

[0195] If not, then execute S610.

[0196] S609. Obtain the coordinate system of the cylindrical or toroidal surface, take its origin as the origin of the axis, and take its Z-axis as the vector of the axis.

[0197] S610, Remove the highlighted axial markings.

[0198] S611, Generate a highlighted axial marker.

[0199] Combination Figure 5 and Figure 6This application includes point picking and axis picking processes for CAE geometric models, specifically: the initial construction of the BVH tree; finding the intersection of rays and the BVH tree to obtain candidate geometric objects; selecting the picking mode; prioritizing picking objects and judging the picking of each priority object in point picking mode; prioritizing picking objects and judging the picking of each priority object in axis picking mode; drawing a successful picking indicator or canceling the indicator display; exiting the picking mode and entering the normal modeling mode. In the above process, this method fills the technical gap in direct geometric interaction in existing CAE software. Through automated point picking and axis picking mechanisms, it replaces the traditional method of relying on manual coordinate input, making it possible to obtain accurate geometric data. In particular, it enables convenient selection of complex geometric features such as the axis direction of a cylinder, significantly expanding the functional boundaries of the system. Secondly, this method simplifies the axis definition operation, which originally required multiple steps, into a single interaction through intelligent recognition and one-click selection, greatly improving preprocessing efficiency. Meanwhile, the system provides real-time visualization feedback by highlighting the best candidate features, making the operation process simple and intuitive. Users only need to move the mouse and click to complete parameter assignment. In addition, thanks to the underlying architecture based on topology and geometric calculation, this method has low dependence on model quality and is not entirely limited by the quality of the rendered data. It can still maintain stable picking ability when faced with geometric models with slight defects, demonstrating excellent robustness.

[0200] The object model processing procedure provided in this application analyzes the geometric model near the current cursor position in real time, automatically identifying and highlighting the nearest key geometric features, including vertices, edges, faces, and reference coordinate axes. Secondly, by collecting all candidate points centered on the cursor according to a preset tolerance radius, and based on the type priority of the geometric features (vertices are higher than edges, edges are higher than faces) and their distance and depth information from the cursor center, the candidate points are comprehensively weighted and sorted, and finally, the target point to be highlighted is determined according to priority. Furthermore, based on the picked points or the currently selected geometric features, the most likely set of candidate directions can be intelligently inferred. This set covers the positive and negative axes of the global coordinate system, the normal direction of the selected face, the direction vector of the edge, the direction of the vector formed by two points, the central axis direction of the cylindrical and conical surfaces, and the user-defined reference axis direction, and these candidate directions are presented graphically for the user to choose from. In addition, this method innovatively combines point picking and axis picking, allowing users to simultaneously complete point positioning and axis definition at a specified location without multiple steps, achieving truly efficient integrated geometric feature picking.

[0201] Figure 7 This is a schematic diagram of the object model processing apparatus provided in an embodiment of this application. Please refer to... Figure 7 The object model processing device 10 may include:

[0202] The first determining module 11 is used to determine the target position on the object model, the target position being the position indicated by the cursor on the object model, and the object model including multiple geometric features;

[0203] The second determining module 12 is used to determine the target geometric feature corresponding to the target position among multiple geometric features, wherein the distance between the target geometric feature and the target position is less than a first threshold.

[0204] Processing module 13 is used to add markers to the object model based on the target geometric features and the target location. The markers are used to indicate information about the selected target geometric features.

[0205] In one possible implementation, the second determining module 12 is specifically used for:

[0206] Determine the current selection mode of the object model, including point selection mode and axis selection mode;

[0207] Based on the selection mode, the target geometric feature corresponding to the target location is determined among multiple geometric features.

[0208] In one possible implementation, the second determining module 12 is specifically used for:

[0209] When the selection mode is point selection mode, the geometric features include multiple feature points, multiple feature edges, and multiple feature faces of the object model;

[0210] Based on multiple feature points, feature edges, or feature surfaces, determine the target geometric features corresponding to the target location.

[0211] In one possible implementation, the second determining module 12 is specifically used for:

[0212] For multiple feature points, the distance between each feature point and the ray where the target position is located is determined, and among the multiple feature points, multiple candidate feature points whose distance is less than a first preset deviation are determined, and based on a first threshold, the target geometric features corresponding to the target position are determined among the multiple candidate feature points.

[0213] For multiple feature edges, determine the first intersection point between the multiple feature edges and the ray where the target position is located, and based on a first threshold, determine the target geometric features corresponding to the target position among the multiple first intersection points;

[0214] When the target geometric features are not determined based on feature points and feature edges, the second intersection points of multiple feature surfaces and the ray where the target position is located are determined, and the target geometric features corresponding to the target position are determined among the multiple second intersection points based on a first threshold.

[0215] In one possible implementation, the second determining module 12 is specifically used for:

[0216] When the selection mode is axial selection mode, the geometric features include multiple feature edges and multiple feature faces of the object model;

[0217] Based on multiple feature edges or multiple feature surfaces, determine the target geometric features corresponding to the target location.

[0218] In one possible implementation, the second determining module 12 is specifically used for:

[0219] When there are multiple feature edges, the distance between each feature edge and the ray where the target position is located is determined. Among the multiple feature edges, multiple candidate feature edges with a distance less than the second preset deviation are determined. Based on the first threshold, the target geometric feature corresponding to the target position is determined among the multiple candidate feature edges.

[0220] When the target geometric features are not determined based on feature edges, if each feature surface includes a cylindrical surface or a torus, the cylindrical surface or torus will be determined as the target geometric feature corresponding to the target position.

[0221] In one possible implementation, the processing module 13 is specifically used for:

[0222] When the selection mode is point selection mode, a sphere marker is added to the target geometric feature corresponding to the target location, and the radius of the marker is larger than the radius of the target geometric feature;

[0223] When the selection mode is axial selection mode and the target geometric feature is a feature edge, if the feature edge is an arc, determine the center and normal vector of the circle where the arc is located, and add a marker to the object model based on the center and normal vector.

[0224] When the selection mode is axial selection mode and the target geometry is a cylindrical surface or a torus, obtain the coordinate system of the cylindrical surface or torus, and add markers to the object model based on the origin and coordinate axes of the coordinate system.

[0225] In one possible implementation, the processing module 13 is specifically used for:

[0226] If the feature edge is not an arc, then determine the third intersection point between the feature edge and the ray where the target position is located. The third intersection point is the intersection point where the distance between the feature edge and the target position is less than the second threshold.

[0227] Based on the third intersection point, determine the endpoints and corresponding tangent vectors of the object model, and add markers to the object model based on the endpoints and tangent vectors.

[0228] The object model processing apparatus provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0229] Figure 8 This is a schematic diagram of the object model processing device provided in an embodiment of this application. Please refer to... Figure 8 The object model processing device 20 may include a memory 21 and a processor 22. Exemplarily, the memory 21 and the processor 22 are interconnected via a bus 23.

[0230] Memory 21 is used to store program instructions;

[0231] The processor 22 is used to execute the program instructions stored in the memory, so that the object model processing device 20 performs the method shown in the above method embodiment.

[0232] The object model processing device provided in this application embodiment can execute the technical solution shown in the above method embodiment. Its implementation principle and beneficial effects are similar, and will not be described again here.

[0233] This application provides a computer-readable storage medium storing computer-executable instructions, which are used to implement the above-described method when executed by a processor.

[0234] This application embodiment may also provide a computer program product, including a computer program that, when executed by a processor, can implement the above-described method.

[0235] All or part of the steps in the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a readable memory. When the program is executed, it performs the steps of the above-described method embodiments; and the aforementioned memory (storage medium) includes: read-only memory (ROM), random access memory (RAM), flash memory, hard disk, solid-state drive, magnetic tape, floppy disk, optical disc, and any combination thereof.

[0236] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should 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 processing unit 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 processing unit of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0237] 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.

[0238] 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.

[0239] Obviously, those skilled in the art can make various modifications and variations to the embodiments of this application without departing from the spirit and scope of this application. Therefore, if these modifications and variations to the embodiments of this application fall within the scope of the claims of this application and their equivalents, this application also intends to include these modifications and variations.

[0240] In this application, the term "comprising" and its variations can refer to non-limiting inclusion; the term "or" and its variations can refer to "and / or". The terms "first", "second", etc., in this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

Claims

1. An object model processing method, characterized in that, include: Determine the target position on the object model, where the target position is the position indicated by the cursor on the object model, and the object model includes multiple geometric features; Among the plurality of geometric features, a target geometric feature corresponding to the target location is determined, wherein the distance between the target geometric feature and the target location is less than a first threshold. Based on the target geometric features and the target location, a marker is added to the object model, the marker being used to indicate information about the selected target geometric features.

2. The method according to claim 1, characterized in that, Determining the target geometric feature corresponding to the target location among the plurality of geometric features includes: Determine the current selection mode of the object model, including point selection mode and axis selection mode; Based on the selection mode, the target geometric feature corresponding to the target position is determined from the plurality of geometric features.

3. The method according to claim 2, characterized in that, Based on the selection mode, the target geometric feature corresponding to the target location is determined from the plurality of geometric features, including: When the selection mode is point selection mode, the geometric features include multiple feature points, multiple feature edges, and multiple feature faces of the object model; Based on the multiple feature points, multiple feature edges, or multiple feature surfaces, determine the target geometric features corresponding to the target position.

4. The method according to claim 3, characterized in that, Based on the multiple feature points, multiple feature edges, or multiple feature surfaces, determine the target geometric features corresponding to the target location, including: For the plurality of feature points, the distance between each feature point and the ray where the target position is located is determined, and among the plurality of feature points, a plurality of candidate feature points whose distance is less than a first preset deviation are determined, and based on the first threshold, the target geometric features corresponding to the target position are determined among the plurality of candidate feature points. For the plurality of feature edges, a first intersection point between the plurality of feature edges and the ray where the target position is located is determined, and based on the first threshold, the target geometric feature corresponding to the target position is determined among the plurality of first intersection points; When the target geometric features are not determined based on the feature points and feature edges, the second intersection point of the plurality of feature surfaces and the ray where the target position is located is determined, and the target geometric features corresponding to the target position are determined among the plurality of second intersection points based on the first threshold.

5. The method according to claim 2, characterized in that, Based on the selection mode, the target geometric feature corresponding to the target location is determined from the plurality of geometric features, including: When the selection mode is axial selection mode, the geometric features include multiple feature edges and multiple feature faces of the object model; Based on the multiple feature edges or multiple feature surfaces, the target geometric features corresponding to the target position are determined.

6. The method according to claim 5, characterized in that, Based on the multiple feature edges or multiple feature surfaces, determine the target geometric features corresponding to the target location, including: When dealing with the multiple feature edges, the distance between each feature edge and the ray where the target position is located is determined. Among the multiple feature edges, multiple candidate feature edges whose distance is less than the second preset deviation are determined. Based on the first threshold, the target geometric feature corresponding to the target position is determined among the multiple candidate feature edges. When the target geometric feature is not determined based on the feature edge, if each feature surface includes a cylindrical surface or a torus surface, the cylindrical surface or the torus surface is determined as the target geometric feature corresponding to the target position.

7. The method according to claim 3, characterized in that, Based on the target's geometric features and location, markers are added to the object model, including: When the selection mode is the point selection mode, a sphere marker is added to the target geometric feature corresponding to the target position, and the radius of the marker is larger than the radius of the target geometric feature; When the selection mode is the axial selection mode and the target geometric feature is a feature edge, if the feature edge is an arc, determine the center and normal vector of the circle where the arc is located, and add a mark to the object model based on the center and the normal vector; When the selection mode is the axial selection mode and the target geometric feature is a cylindrical surface or a torus, the coordinate system of the cylindrical surface or the torus is obtained, and a mark is added to the object model based on the origin and coordinate axes of the coordinate system.

8. The method according to claim 7, characterized in that, When the selection mode is the axial selection mode and the target geometric feature is the feature edge, the method further includes: If the feature edge is not an arc, then the third intersection point of the feature edge and the ray where the target position is located is determined. The third intersection point is the intersection point where the distance between the feature edge and the target position is less than the second threshold. Based on the third intersection point, the endpoints and corresponding tangent vectors of the object model are determined, and a marker is added to the object model based on the endpoints and the tangent vectors.

9. An object model processing device, characterized in that, include: At least one processor; as well as A memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 8.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that, in, The computer instructions are used to cause the computer to perform the method according to any one of claims 1 to 8.