Methods, apparatus, equipment and products for determining positioning information in a 3D model
By setting reference planes and key characters in the 3D model, positioning points are automatically created and direction lines are established, solving the problems of high labor intensity and low efficiency caused by manually creating positioning information in the existing technology, and realizing fast and accurate positioning point creation.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- TIANJIN MASITE BODYWORK EQUIP TECH CO LTD
- Filing Date
- 2025-05-20
- Publication Date
- 2026-04-21
AI Technical Summary
In computer-aided design in the automotive industry, existing technologies require users to manually create the positioning information of 3D models, resulting in high labor intensity and low work efficiency.
By defining a face of the 3D model as the reference plane, setting key characters, creating positioning points in nodes, and establishing direction lines pointing to the horizontal, vertical, and normal directions of the reference plane, the positioning point creation is automated using a preset positioning point coordinate file and CATIA software.
It enables the rapid creation of positioning points in 3D models, reduces repetitive work, avoids omissions and errors in selection, improves work efficiency, and is applicable to various types of products.
Smart Images

Figure CN120182506B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of computer-aided design, and in particular relates to a method, apparatus, device and product for determining positioning information in a three-dimensional model. Background Technology
[0002] The automotive industry has widely adopted computer-aided design for related products. In existing technologies, during product assembly, users need to manually assemble the units into the appropriate positions or create the positioning information (RPS) of the assembly units in advance. For example, several positioning points are created on the assembly unit to achieve high-quality assembly later. This positioning point creation process is very labor-intensive and highly repetitive, which increases the labor intensity of relevant technical personnel and reduces work efficiency. Summary of the Invention
[0003] In view of this, the present invention aims to overcome the deficiencies in the prior art and proposes a method, apparatus, device and product for determining positioning information in a three-dimensional model.
[0004] To achieve the above objectives, the technical solution of the present invention is implemented as follows:
[0005] In a first aspect, the present invention discloses a method for determining positioning information in a three-dimensional model, wherein a face of the three-dimensional model is determined as a reference face;
[0006] Set the key characters, select nodes in the 3D model, and create positioning points at the nodes in the selected nodes that contain the key characters and whose features are points.
[0007] Establish direction lines for the positioning points, with the direction lines pointing to the horizontal, vertical, and normal directions of the reference plane.
[0008] In one embodiment of the present invention, creating a positioning point at a selected node that contains a key character and is characterized by a dot includes: if the selected node is a parent node, then creating positioning points at all child nodes within the selected node that contain the key character and are characterized by a dot.
[0009] In one embodiment of the present invention, the method further includes: obtaining a preset positioning point coordinate file corresponding to the three-dimensional model, and creating positioning points based on the positioning point coordinate file, wherein the positioning point coordinate file includes the coordinates of a plurality of positioning points.
[0010] In one embodiment of the present invention, the method further includes: selecting a location on a three-dimensional model and creating a positioning point at the selected location.
[0011] In one embodiment of the present invention, the method further includes: determining the positioning surface of the main control point (MCP) model of the three-dimensional model and the projection surface of the main control point (MCP) model, and creating a positioning point at the projection position of the centroid of the positioning surface on the projection surface.
[0012] In one embodiment of the present invention, the method further includes: determining the part nodes and / or geometric nodes of the master control point MCP model, and creating positioning points at the projection positions of the centroids of the part nodes and / or the centroids of the geometric nodes on the projection plane.
[0013] In one embodiment of the present invention, the method further includes: saving the number, coordinates, and direction line of the created positioning point to a specified location.
[0014] Secondly, the present invention discloses an apparatus for determining positioning information in a three-dimensional model, the apparatus comprising:
[0015] The datum plane determination module is used to determine a plane of the 3D model as a datum plane.
[0016] The positioning point creation module is used to set key characters, select nodes in the 3D model, and create positioning points at the selected nodes that contain key characters and whose features are points.
[0017] The direction line establishment module is used to establish the direction lines of the positioning points. The direction lines point to the horizontal, vertical and normal directions of the reference plane.
[0018] Thirdly, the present invention discloses an electronic device comprising: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the above-described method.
[0019] Fourthly, the present invention discloses a computer program product, including a computer program that, when executed by a processor, implements the above-described method.
[0020] Compared with the prior art, the present invention has the following advantages:
[0021] This invention discloses a method, apparatus, device, and product for determining positioning information in a 3D model. The method includes: determining a face of the 3D model as a reference plane; setting key characters; selecting nodes in the 3D model; creating positioning points at the selected nodes containing the key characters and characterized as points; and establishing direction lines for the positioning points, with the direction lines pointing to the horizontal, vertical, and normal directions extending from the reference plane. This invention provides a method, apparatus, device, and product for determining positioning information in a 3D model, enabling rapid creation of positioning points in a 3D model. It offers advantages such as reducing repetitive work intensity for personnel creating positioning points, minimizing missed or incorrect selections of positioning points, improving work efficiency, and being suitable for 3D models of various product types. Attached Figure Description
[0022] The accompanying drawings, which form part of this invention, are used to provide a further understanding of the invention. The illustrative embodiments of the invention and their descriptions are used to explain the invention and do not constitute an improper limitation of the invention.
[0023] In the attached diagram:
[0024] Figure 1 This is a schematic diagram illustrating a method for determining positioning information in a three-dimensional model according to an embodiment of the present invention;
[0025] Figure 2 This is a schematic diagram illustrating the method for determining positioning information in a three-dimensional model according to an embodiment of the present invention, showing the creation of positioning points.
[0026] Figure 3 This is a schematic diagram illustrating a method for determining location information in a 3D model according to an embodiment of the present invention, which creates location points based on key characters.
[0027] Figure 4 This invention provides a method for determining positioning information in a 3D model, which creates a schematic diagram of positioning points based on a positioning point coordinate file.
[0028] Figure 5 This is a schematic diagram of a method for determining positioning information in a three-dimensional model according to an embodiment of the present invention, showing the selection of positions.
[0029] Figure 6 This is a schematic diagram of a method for determining positioning information in a three-dimensional model according to an embodiment of the present invention;
[0030] Figure 7 This is a schematic diagram of the projection plane of a method for determining positioning information in a three-dimensional model according to an embodiment of the present invention;
[0031] Figure 8 This is a schematic diagram of a device for determining positioning information in a three-dimensional model according to an embodiment of the present invention;
[0032] Figure 9This is a schematic diagram of an electronic device for determining positioning information in a three-dimensional model, according to an embodiment of the present invention. Detailed Implementation
[0033] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other.
[0034] In the description of this invention, it should be understood that the terms "center", "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this invention.
[0035] In the description of this invention, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "linking" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art will understand the specific meaning of the above terms in this invention based on the specific circumstances.
[0036] In the description of this invention, it should be further noted that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Therefore, a feature defined with "first," "second," etc., may explicitly or implicitly include one or more of that feature. In the description of this invention, unless otherwise stated, "a plurality of" means two or more.
[0037] The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0038] In one embodiment of the present invention, such as Figure 1 As shown, a method for determining location information in a 3D model includes:
[0039] Step S101: Determine one face of the 3D model as the reference face;
[0040] Step S102: Set key characters, select nodes in the 3D model, and create positioning points at the nodes that contain key characters and whose features are points.
[0041] Step S103: Establish the direction lines of the positioning points. The direction lines point to the horizontal extension directions, the vertical extension directions, and the normal extension directions of the reference plane.
[0042] Furthermore, exemplarily, such as Figure 2 As shown, starting from the positioning point, six line segments are created in the horizontal (H direction), vertical (V direction), and normal directions of the reference plane. Two collinear line segments have opposite directions, thus obtaining the direction line of the positioning point.
[0043] In this embodiment, as Figure 2 As shown, this method can create positioning information in a 3D model to enable subsequent process operations, such as assembly operations. The positioning information consists of several positioning points with six directions. This method can be implemented using mechanical 3D drawing software, such as CATIA software. The following example uses the application environment of CATIA software.
[0044] In this embodiment, a node represents a node in the tree structure of a 3D model file, such as a node in a 3D model generated by CATIA software. Nodes can be of the types of products, parts, geometry, geometric sets, points, etc.
[0045] Based on the previous embodiment, in another implementation of the present invention, step S102, as follows: Figure 2 and 3 As shown, a positioning point is created at the selected node containing the key character and whose characteristic is a point, including: if the selected node is the parent node, then positioning points are created at all child nodes within the selected node that contain the key character and whose characteristic is a point.
[0046] In this embodiment, the selected node can be a product, part, geometry, set of geometric shapes, point, or other nodes, and one or more of these can be selected.
[0047] For example, key characters are keywords.
[0048] Furthermore, such as Figure 3 As shown, if the selected node is a parent node, the default search will be conducted on all nodes contained in that node. Nodes that meet the search criteria will be identified and location points will be created. If the selected node is a child node, the search will not include the parent node of this node. Location points will be created directly at the child nodes that contain the key characters and whose characteristic is a dot.
[0049] In this embodiment, if the selected node is the parent node, then all its child nodes are selected. Based on the tree structure, the location of the positioning point is determined using key characters and key features (such as dots). This method of using the tree structure in conjunction with key characters and key features to retrieve and select the positioning point can significantly improve the efficiency of positioning point determination while reducing the error rate.
[0050] In another embodiment of the present invention, the method further includes: obtaining a preset positioning point coordinate file corresponding to the three-dimensional model, and creating positioning points based on the positioning point coordinate file, wherein the positioning point coordinate file includes the coordinates of a plurality of positioning points.
[0051] Furthermore, preferably, in this embodiment, such as Figure 4 As shown, the starting row and starting column for reading the coordinates of the positioning points are set. The positioning point coordinates file in tabular form is then read, and the positioning point coordinates on the file are read according to the set starting row and starting column, and the corresponding positioning points are created.
[0052] In this embodiment, this method of using a table-based positioning point coordinate file to import positioning point coordinates in batches according to a preset starting row and starting column, and creating corresponding positioning points, significantly improves the efficiency of determining the positioning information of a 3D model. It is convenient to apply to 3D models of various products, greatly reduces the workload of determining the positioning information of a 3D model, and also reduces the error rate.
[0053] In another embodiment of the invention, such as Figure 5 As shown, the method also includes: selecting a location on the 3D model and creating a positioning point at the selected location.
[0054] Furthermore, for example, one can select a point on a surface of the 3D model to create a positioning point, or select an arc on the 3D model to obtain the corresponding center point and create a positioning point.
[0055] In another embodiment of the invention, such as Figure 6 and Figure 7 As shown, the method also includes: determining the positioning surface of the Master Control Point Model (MCP) of the 3D model and the projection surface of the MCP model, and creating a positioning point at the projection position of the centroid of the positioning surface onto the projection surface.
[0056] In this embodiment, the master control point (MCP) model of the 3D model is obtained in advance.
[0057] In another embodiment of the present invention, the method further includes: determining the part nodes and / or geometric nodes of the master control point MCP model, and creating positioning points at the projection positions of the centroids of the part nodes and / or the centroids of the geometric nodes on the projection plane.
[0058] In another embodiment of the present invention, the method further includes saving the number, coordinates, and direction line of the created positioning point to a specified location.
[0059] In this embodiment, for example, the defined reference plane is stored under the reference plane node in the CATIA software; the created positioning points and direction lines are stored as a geometric set under the positioning information node in the CATIA software.
[0060] This invention can create positioning points in a 3D model and determine the positioning information of the 3D model in a variety of ways, with the advantages of high automation, high speed and reliable performance.
[0061] like Figure 8 As shown, the present invention also discloses a device for determining positioning information in a three-dimensional model, comprising:
[0062] The datum plane determination module 701 is used to determine a plane of the three-dimensional model as a datum plane.
[0063] The positioning point creation module 702 is used to set key characters, select nodes in the 3D model, and create positioning points at the selected nodes that contain key characters and whose feature is a point.
[0064] The direction line establishment module 703 is used to establish the direction lines of the positioning points. The direction lines point to the horizontal extension directions, the vertical extension directions, and the normal extension directions of the reference plane.
[0065] The present invention also discloses an electronic device, such as Figure 9 The diagram shows an embodiment applicable to the electronic device described above for determining positioning information in a three-dimensional model.
[0066] The electronic device 80 of this embodiment includes a processor 801, which can perform various appropriate actions and processes according to a program stored in ROM 802 or a program loaded from storage portion 808 into RAM 803. The processor 801 may include, for example, a general-purpose microprocessor, an instruction set processor and / or related chipsets and / or dedicated microprocessors, etc. The processor 801 may also include onboard memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing different actions of the method flow according to embodiments of the present invention.
[0067] RAM 803 stores various programs and data required for the operation of electronic device 80. Processor 801, ROM 802, and RAM 803 are interconnected via bus 804. Processor 801 executes various operations of the method flow according to embodiments of the present invention by executing programs in ROM 802 and / or RAM 803. It should be noted that programs may also be stored in one or more memories other than ROM 802 and RAM 803, and processor 801 may also execute various operations of the method flow according to embodiments of the present invention by executing programs stored in one or more memories.
[0068] According to an embodiment of the present invention, the electronic device 80 may further include an I / O interface 805, which is also connected to a bus 804. The electronic device 80 may also include one or more of the following components connected to the I / O interface 805: an input section 806 including a keyboard, mouse, etc.; an output section 807 including a cathode ray tube, liquid crystal display, and speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card and a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 8010 is also connected to the I / O interface 805 as needed. A removable medium 8011, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on the drive 8010 as needed so that computer programs read from it can be installed into the storage section 808 as needed.
[0069] The present invention also provides a computer-readable storage medium.
[0070] The computer-readable storage medium may be included in the electronic device / apparatus system described in the above embodiments; or it may exist independently and not assembled into the electronic device / apparatus. The computer-readable storage medium carries one or more programs that, when executed, implement the method according to the embodiments of the present invention.
[0071] According to embodiments of the present invention, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples include, but are not limited to: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or flash memory, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this invention, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
[0072] Embodiments of the present invention also include a computer program product.
[0073] The computer program product includes a computer program containing program code for performing the methods provided in the embodiments of the present invention. When the computer program product is run on an electronic device, the program code is used to enable the electronic device to implement the methods provided in the embodiments of the present invention.
[0074] In one embodiment, the computer program may rely on a tangible storage medium such as an optical storage device or a magnetic storage device. In another embodiment, the computer program may also be transmitted and distributed in the form of signals over a network medium. The program code contained in the computer program can be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination thereof.
[0075] According to embodiments of the present invention, program code for executing the computer programs provided in the embodiments of the present invention can be written using any combination of one or more programming languages. Specifically, these computational programs can be implemented using high-level procedural and / or object-oriented programming languages. Programming languages include, but are not limited to, Java, C++, Python, C, or similar programming languages. The program code can be executed entirely on the user's computing device, partially on the user's device, partially on a remote computing device, or entirely on a remote computing device or server. In cases involving remote computing devices, the remote computing device can be connected to the user's computing device via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device.
[0076] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions. Those skilled in the art will understand that the features recited in the various embodiments and / or claims of the present invention can be combined and / or combined in various ways, even if such combinations or combinations are not expressly stated in the present invention. In particular, the features described in the various embodiments and / or claims of this invention can be combined and / or combined in various ways without departing from the spirit and teachings of this invention. All such combinations and / or combinations fall within the scope of this invention.
[0077] The embodiments of the present invention have been described above. However, these embodiments are merely illustrative and not intended to limit the scope of the invention. Although various embodiments have been described above, this does not mean that the measures in the various embodiments cannot be used advantageously in combination. The scope of the invention is defined by the appended claims and their equivalents. Without departing from the scope of the invention, various substitutions and modifications can be made by those skilled in the art, and all such substitutions and modifications should fall within the scope of the invention.
Claims
1. A method for determining positioning information in a three-dimensional model, characterized in that, include: One face of the three-dimensional model is designated as the reference plane; Set a key character, select a node in the 3D model, and create a positioning point at the node in the selected node that contains the key character and whose feature is a point. Establish direction lines for the positioning points, with the direction lines pointing to the horizontal, vertical, and normal directions of the reference plane, respectively. The step of creating a location point at a node containing the key character and whose feature is a dot in the selected node includes: if the selected node is a parent node, then creating the location point at all child nodes within the selected node that contain the key character and whose feature is a dot. This method utilizes a tree structure, combined with key characters and key features, to perform retrieval and select the location point position.
2. The method for determining positioning information in a three-dimensional model according to claim 1, characterized in that, The method further includes: obtaining a preset positioning point coordinate file corresponding to the three-dimensional model, and creating the positioning point based on the positioning point coordinate file, wherein the positioning point coordinate file includes the coordinates of a plurality of positioning points.
3. The method for determining positioning information in a three-dimensional model according to claim 1, characterized in that, The method further includes: selecting a location on the three-dimensional model, and creating the positioning point at the selected location.
4. The method for determining positioning information in a three-dimensional model according to claim 1, characterized in that, The method further includes: determining the positioning surface of the main control point (MCP) model of the three-dimensional model and the projection surface of the main control point (MCP) model, and creating the positioning point by placing the center of gravity of the positioning surface at the projection position of the projection surface.
5. The method for determining positioning information in a three-dimensional model according to claim 4, characterized in that, The method further includes: determining the part nodes and / or geometric nodes of the main control point MCP model, and creating the positioning points at the projection positions of the centroids of the part nodes and / or the centroids of the geometric nodes on the projection plane.
6. The method for determining positioning information in a three-dimensional model according to claim 1, characterized in that, The method further includes saving the number, coordinates, and direction line of the created positioning point to a specified location.
7. A device for determining positioning information in a three-dimensional model, characterized in that: The device includes: The datum plane determination module is used to determine one plane of the three-dimensional model as a datum plane. The positioning point creation module is used to set key characters, select nodes in the 3D model, and create positioning points at the nodes in the selected nodes that contain the key characters and whose feature is a point. The step of creating positioning points at the nodes in the selected nodes that contain the key characters and whose feature is a point includes: if the selected node is a parent node, then creating the positioning points at all child nodes in the selected node that contain the key characters and whose feature is a point. This device uses a tree structure, in conjunction with key characters and key features, to perform retrieval and select the positioning point location. The direction line establishment module is used to establish the direction lines of the positioning point, wherein the direction lines point to the horizontal extension directions, the vertical extension directions, and the normal extension directions of the reference plane.
8. An electronic device, characterized in that, include: One or more processors; A storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to perform the method according to any one of claims 1 to 6.
9. A computer program product, comprising a computer program, characterized in that, When executed by a processor, the computer program implements the method described in any one of claims 1 to 6.
Citation Information
Patent Citations
Positioning point processing method and device, electronic equipment and storage medium
CN117150820A