Method, device and equipment for determining multi-part two-dimensional view and storage medium

By determining the view projection of the blank and multiple parts entities, obtaining position and size information, and drawing the outline of the blank, the problem of low efficiency and accuracy of multi-part two-dimensional views in the prior art is solved, and more efficient and accurate view drawing is achieved.

CN115249238BActive Publication Date: 2026-05-01FOSHAN YANXIU MOLD PARTS CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
FOSHAN YANXIU MOLD PARTS CO LTD
Filing Date
2022-07-01
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

Existing technologies have low efficiency and accuracy in determining two-dimensional views of multiple parts in the mechanical mold industry, especially when drawing the outline of the blank material, which is time-consuming and cumbersome to modify.

Method used

By determining the blank and multiple part entities based on multiple projection entities, view projection is performed to obtain position and dimension information, and the outline of the blank is drawn in the projection view of the multiple part entities.

Benefits of technology

It improves the efficiency and accuracy of determining two-dimensional views of multiple parts, simplifies the process of drawing the outline of blank materials, and reduces the tediousness of modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115249238B_ABST
    Figure CN115249238B_ABST
Patent Text Reader

Abstract

This invention relates to the field of computer-aided design technology, and discloses a method, apparatus, device, and storage medium for determining two-dimensional views of multiple parts. The method includes: obtaining corresponding blank entities and multiple part entities based on multiple projection entities; performing view projection on the multiple part entities to obtain corresponding multi-part entity projection views; determining position information and dimension information based on the multiple part entities and blank entities; and drawing the outline of the blank entity in the multi-part entity projection view using the position information and the dimension information. By performing view projection on the multiple part entities in the above manner, and then drawing the outline of the blank view in the multi-part entity projection view based on the position information and dimension information, compared with the prior art of obtaining part views by simultaneously projecting three-dimensional part entities and blank lines, the efficiency and accuracy of determining two-dimensional views of multiple parts can be effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of computer-aided design technology, and in particular to a method, apparatus, device, and storage medium for determining two-dimensional views of multiple parts. Background Technology

[0002] In the mechanical mold industry, machinery or molds are composed of hundreds or thousands of parts, the vast majority of which are made of metal. These metal parts are then processed into the required smaller parts. In actual machining processes, to improve efficiency, manufacturers often assemble the parts to be processed together and machine them from a single blank. However, this assembly process requires the creation of machining drawings for both the small parts and the blank. These drawings are based on 3D models, with the parts themselves being solid 3D models. Specifically, the parts to be assembled are arranged together, and then a solid 3D model of the blank that completely encloses the parts is designed. Finally, a planar view projection is performed on the machined parts and the solid blank. When projecting a planar view, lines that are not visible in the projection direction are represented by dashed lines. Therefore, all the lines of the part view within the blank in the projected three views become dashed lines, which cannot fully express the relationship between the solid and dashed lines of the part's own view. To solve the above projection problem, the commonly used method is to draw the outline of the 3D model of the blank in the form of lines (for example, 12 lines are needed to draw a square), and then select the outline of the blank and the part for projection. However, this method of drawing outlines is very time-consuming. In addition, since the outline of the blank is composed of multiple individual lines, it is quite cumbersome to redraw the outline of the 3D model when the 3D model is modified or changed.

[0003] The above content is only used to help understand the technical solution of the present invention and does not represent an admission that the above content is prior art. Summary of the Invention

[0004] The main objective of this invention is to provide a method, apparatus, device, and storage medium for determining two-dimensional views of multiple parts, aiming to solve the technical problem of low efficiency and accuracy in determining two-dimensional views of multiple parts in the prior art.

[0005] To achieve the above objectives, the present invention provides a method for determining two-dimensional views of multiple parts, the method comprising the following steps:

[0006] The corresponding blank material entity and multiple part entities are obtained from multiple projected entities;

[0007] Perform view projection on the multi-part entities to obtain the corresponding multi-part entity projection view;

[0008] The position and dimension information are determined based on the multi-part entity and the blank entity;

[0009] The outline of the blank entity is drawn in the multi-part entity projection view using the location information and the size information.

[0010] Optionally, obtaining the corresponding blank entity and multiple part entities based on multiple projected entities includes:

[0011] The corresponding length, width, and height are obtained based on the multiple projected entities;

[0012] The volume of the plurality of projected entities is calculated using the length, width, and height.

[0013] The volumes of the multiple projected entities are sorted according to a preset sorting relationship. The entity with the largest volume in the sorting result is taken as the blank entity, and the other entities are taken as multi-part entities.

[0014] Optionally, the step of projecting the view onto the multiple part entities to obtain the corresponding projected view of the multiple part entities includes:

[0015] Obtain preset projection template information, which includes the direction and number of projection views, and the projection views include at least one or more of the following: front view, rear view, top view, left view, right view, and isometric view.

[0016] The multi-part entity is projected using the preset projection template information to obtain the corresponding multi-part entity projection view.

[0017] Optionally, the multi-part solid projection view includes a front view and other views;

[0018] The step of projecting a view onto the multiple part entities using the preset projection template information to obtain a corresponding multi-part entity projection view includes:

[0019] The positive Z-axis direction of the corresponding main view is obtained based on the preset projection template information;

[0020] Projecting along the positive Z-axis direction into the negative Z-axis direction, and viewing... Figure X Align the long direction of the blank entity with the Y-axis and the width direction of the blank entity with the Y-axis of the view to align the views of the multiple parts entities and obtain the main view of the corresponding projection of the multiple parts entities.

[0021] Other views are projected based on the preset projection template information and the main view.

[0022] Optionally, determining the position and dimension information based on the multiple part entities and the blank entity includes:

[0023] Obtain the three-dimensional spatial relationship between the multi-part entities and the blank entity;

[0024] Based on the spatial relationships of the three-dimensional model, the multiple part entities, and the blank entity, the corresponding position and size information are obtained.

[0025] Optionally, drawing the outline of the blank entity in the multi-part entity projection view using the position information and the size information includes:

[0026] The line connection endpoints and line connection directions are obtained based on the location and size information;

[0027] In the multi-part solid projection view, the blank solid is drawn according to the line connection endpoints and line connection directions to obtain the outline of the blank solid.

[0028] Optionally, after drawing the outline of the blank entity in the multi-part entity projection view using the position information and the size information, the method further includes:

[0029] Obtain the entity attributes of the part and extract the part name from the entity attributes;

[0030] The part names are marked at preset positions corresponding to each part in the multi-part solid projection view.

[0031] Furthermore, to achieve the above objectives, the present invention also proposes a device for determining two-dimensional views of multiple parts, the device comprising:

[0032] The acquisition module is used to obtain the corresponding blank material entity and multiple part entities based on multiple projected entities;

[0033] The projection module is used to project the view of the multi-part entity to obtain the corresponding multi-part entity projection view;

[0034] The determination module is used to determine the position information and dimension information based on the multiple part entities and the blank entity;

[0035] A drawing module is used to draw the outline of the blank entity in the multi-part entity projection view using the position information and the size information.

[0036] Furthermore, to achieve the above objectives, the present invention also proposes a device for determining two-dimensional views of multiple parts, the device comprising: a memory, a processor, and a program for determining two-dimensional views of multiple parts stored in the memory and executable on the processor, the program for determining two-dimensional views of multiple parts being configured to implement the method for determining two-dimensional views of multiple parts as described above.

[0037] Furthermore, to achieve the above objectives, the present invention also proposes a storage medium storing a program for determining two-dimensional views of multiple parts, wherein the program for determining two-dimensional views of multiple parts is executed by a processor to implement the method for determining two-dimensional views of multiple parts as described above.

[0038] The present invention proposes a method for determining two-dimensional views of multiple parts. This method involves obtaining corresponding blank entities and multiple part entities based on multiple projection entities; projecting the multiple part entities to obtain corresponding multi-part entity projection views; determining positional and dimensional information based on the multiple part entities and the blank entities; and drawing the outline of the blank entity in the multi-part entity projection view using the positional and dimensional information. By projecting the multiple part entities and then drawing the outline of the blank view in the multi-part entity projection view based on the positional and dimensional information, this method effectively improves the efficiency and accuracy of determining two-dimensional views of multiple parts compared to existing technologies that simultaneously project three-dimensional part entities and blank lines to obtain part views. Attached Figure Description

[0039] Figure 1 This is a schematic diagram of the structure of the device for determining the multi-part two-dimensional view of the hardware operating environment involved in the embodiments of the present invention;

[0040] Figure 2 This is a flowchart illustrating the first embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0041] Figure 3 This is a schematic diagram of multiple projected entities in an embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0042] Figure 4 This is a projection view of a multi-part solid object, representing an embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0043] Figure 5 This is a schematic diagram of a two-dimensional image of a multi-part entity, representing an embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0044] Figure 6 This is a flowchart illustrating a second embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0045] Figure 7 This is a schematic diagram of the overall process of an embodiment of the method for determining two-dimensional views of multiple parts according to the present invention;

[0046] Figure 8 This is a schematic diagram illustrating the overall process of determining a two-dimensional view of multiple parts according to an embodiment of the method for determining a two-dimensional view of multiple parts in the present invention.

[0047] Figure 9 This is a flowchart illustrating the third embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0048] Figure 10 This is a schematic diagram of the functional modules of the first embodiment of the device for determining two-dimensional views of multiple parts according to the present invention.

[0049] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0050] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.

[0051] Reference Figure 1 , Figure 1 This is a schematic diagram of the device structure for determining the multi-component two-dimensional view of the hardware operating environment involved in the embodiments of the present invention.

[0052] like Figure 1 As shown, the device defining the multi-component two-dimensional view may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.

[0053] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the determination of a multi-part two-dimensional view of an apparatus, and may include more or fewer parts than shown, or combinations of certain parts, or different arrangements of parts.

[0054] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a program for determining two-dimensional views of multiple parts.

[0055] exist Figure 1 In the device for determining the two-dimensional view of multiple parts shown, the network interface 1004 is mainly used for data communication with the network integrated platform workstation; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the device for determining the two-dimensional view of multiple parts of the present invention can be set in the device for determining the two-dimensional view of multiple parts. The device for determining the two-dimensional view of multiple parts calls the determination program of the two-dimensional view of multiple parts stored in the memory 1005 through the processor 1001 and executes the determination method of the two-dimensional view of multiple parts provided in the embodiment of the present invention.

[0056] Based on the above hardware structure, an embodiment of the method for determining two-dimensional views of multiple parts according to the present invention is proposed.

[0057] Reference Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the method for determining two-dimensional views of multiple parts according to the present invention.

[0058] In the first embodiment, the method for determining the two-dimensional views of the multiple parts includes the following steps:

[0059] Step S10: Obtain the corresponding blank material entity and multiple part entities based on multiple projected entities.

[0060] It should be noted that the execution subject in this embodiment is a device for determining two-dimensional views of multiple parts. It can also be other devices that can achieve the same or similar functions, such as a view processor. This embodiment does not limit this. In this embodiment, a view processor is used as an example for explanation.

[0061] It should be understood that multiple projected entities refer to entities selected for projection, which are composed of individual projected entities. These multiple projected entities can be raw material entities, specifically including at least blank entities and multi-part entities. A blank entity refers to an entity that has not yet been processed, while a multi-part entity refers to an entity that has been processed. The multi-part entity is composed of individual part entities. Specifically, after obtaining multiple projected entities, the corresponding blank entities and multi-part entities are obtained by calculating the volume of the multiple projected entities.

[0062] Further, step S10 includes: obtaining the corresponding length, width, and height based on the multiple projected entities; calculating the volume of the multiple projected entities using the length, width, and height; sorting the volumes of the multiple projected entities according to a preset sorting relationship, taking the entity with the largest volume in the sorting result as the blank entity, and taking the other entities as multi-part entities.

[0063] It is understandable that length, width, and height are all parameters for calculating the volume of multiple projected entities. After obtaining the length, width, and height, the volume of multiple projected entities is calculated using the volume calculation formula, namely V = a * b * c, where V is the volume, a is the length, b is the width, and c is the height.

[0064] It should be understood that the preset sorting relationship refers to sorting the projected entities from largest to smallest according to their volume values. After calculating the volumes of multiple projected entities, their volumes are sorted according to the preset sorting relationship, for example, L and M. In this case, M has the largest volume, meaning M is the blank entity, and L is the multi-part entity. (Refer to...) Figure 3 , Figure 3 The diagram shows multiple projected entities, specifically: L is a multi-part entity, which is represented by a dashed line. This multi-part entity includes L1 and L2, and M is a blank entity.

[0065] Step S20: Project the view of the multi-part entity to obtain the corresponding multi-part entity projection view.

[0066] It is understandable that a multi-part solid projection view refers to a view obtained by projecting multiple solid parts. This projection view includes the front view and other views, such as the rear view, top view, left view, right view, and isometric view. In other words, there can be multiple multi-part solid projection views. Specifically, the multi-part solids are projected using preset projection template information to obtain the corresponding multi-part solid projection view. (Refer to...) Figure 4 , Figure 4 The projection views are for multiple parts entities. Specifically, T1 is the left view of the projection of parts entities L1 and L2, T2 is the top view of the projection of parts entities L1 and L2, and T3 is the front view of the projection of parts entities L1 and L2.

[0067] Step S30: Determine the position information and size information based on the multi-part entity and the blank entity.

[0068] It should be understood that position information refers to the specific location of the blank entity's outline in the multi-part entity projection view, while size information refers to the outline size information of the blank entity's outline in the multi-part entity projection view. The position information and size information are specifically obtained through the spatial relationship of the three-dimensional model of the multi-part entity and the blank entity.

[0069] Further, step S30 includes: obtaining the three-dimensional model spatial relationship between the multi-part entity and the blank entity; and obtaining corresponding position information and size information based on the three-dimensional model spatial relationship, the multi-part entity, and the blank entity.

[0070] It is understandable that the spatial relationship of the three-dimensional model refers to the spatial relationship between the multi-part entity and the blank entity. The position and size information of the blank entity in the projection view of the multi-part entity are determined through this three-dimensional model spatial relationship.

[0071] Step S40: Draw the outline of the blank entity in the multi-part entity projection view using the position information and the size information.

[0072] It is understandable that the outline of the blank entity is composed of both solid and dashed lines. Specifically, after obtaining the positional and dimensional information, the outline of the blank entity is drawn in the multi-part solid projection view using the positional and dimensional information, which is the multi-part two-dimensional view. (Refer to...) Figure 5 , Figure 5 This is a two-dimensional image diagram of a multi-part entity. Specifically, the outline of the blank entity is drawn in the projection view of the multi-part entity. The outline is not expressed as a solid line, that is, an outline is added to the projection view of the multi-part entity.

[0073] This embodiment obtains corresponding blank entities and multiple part entities based on multiple projection entities; performs view projection on the multiple part entities to obtain corresponding multi-part entity projection views; determines position information and dimension information based on the multiple part entities and blank entities; and draws the outline of the blank entity in the multi-part entity projection view using the position information and dimension information. By performing view projection on multiple part entities and then drawing the outline of the blank view in the multi-part entity projection view based on the position information and dimension information, this embodiment can effectively improve the efficiency and accuracy of determining the two-dimensional views of multiple parts compared to the prior art which obtains part views by simultaneously projecting three-dimensional part entities and blank lines.

[0074] In one embodiment, such as Figure 6 The second embodiment of the method for determining two-dimensional views of multiple parts according to the first embodiment of the present invention includes step S20, which includes:

[0075] Step S201: Obtain the preset projection template information.

[0076] It should be understood that the preset projection template information refers to the template information for projecting multiple part entities in the view. The preset projection template information includes the direction and number of view projections, as well as the setting information for view projection hidden lines. The view projection includes at least one or more of the front view, rear view, top view, left view, right view, and isometric view. The setting information refers to the information for setting the view projection hidden lines to be turned on or off.

[0077] Step S202: Project the view of the multi-part entity using the preset projection template information to obtain the corresponding multi-part entity projection view.

[0078] It is understandable that a multi-part solid projection view includes multiple views. However, during the projection process, the main view of the multi-part solid projection is first projected according to the preset projection template information. Then, other views, such as the top view and the left view, are projected using the main view and the preset projection template information.

[0079] Further, step S202 includes: obtaining the positive Z-axis direction of the corresponding main view according to the preset projection template information; projecting the negative Z-axis direction and the view along the positive Z-axis direction. Figure X Align the long direction of the blank entity with the Y-axis and the width direction of the blank entity with the Y-axis of the view to align the views of the multiple parts entities, thereby obtaining the main view of the corresponding multi-part entity projection; project other views according to the preset projection template information and the main view.

[0080] It should be understood that after obtaining the preset projection template information, it is necessary to align the views of multiple part entities. Specifically, this involves projecting the negative Z-axis direction along the positive Z-axis direction of the main view, while simultaneously adjusting the view... Figure X Align the axis with the length direction of the blank entity and align the Y-axis of the view with the width direction of the blank entity. At this time, the projected view will be automatically aligned with the blank entity. The aligned projected view is the main view of the multi-part entity projection. Then, other views are projected according to the preset projection template information and the main view of the multi-part entity projection.

[0081] Understandably, reference Figure 7 , Figure 7 The overall process diagram is as follows: multiple projected entities are obtained, and the length, width, and height of the multiple projected entities are calculated according to the volume calculation strategy to obtain the volume of the multiple projected entities. Then, the entity corresponding to the largest volume is taken as the blank entity, and the other entities except the blank entity are taken as multi-part entities. Then, the multi-part entities are projected into a view using preset projection template information to obtain the corresponding multi-part entity projection view. In the multi-part entity projection view, the outline of the blank entity is drawn according to the position information and size information.

[0082] It should be understood that, reference Figure 8 , Figure 8The existing technology provides a schematic diagram of the overall process for determining the two-dimensional views of multiple parts. Specifically, parts m and n need to be processed simultaneously. Then, the blank entities corresponding to parts m and n are determined as p. Next, the entities of parts m and n and the corresponding blank entities are projected together. The projection results show that parts m and n are inside the blank and are presented entirely as dashed lines. However, the final projection result cannot express the relationship between the solid and dashed lines in the three views of parts m and n. To solve the above problem, the existing technology does not design based on the blank entities. Before projecting the views, the outline of the blank entities is drawn. Finally, the drawn outline and the three-dimensional part entities are projected together. Although the above method can correctly express the relationship between the solid and dashed lines of the parts and the positional and dimensional relationships of the blank entities, this method is very time-consuming and the process is very cumbersome.

[0083] This embodiment obtains preset projection template information, which includes the direction and number of projection views. The projection views include at least one or more of the following: front view, rear view, top view, left view, right view, and isometric view. The multi-part entity is then projected using the preset projection template information to obtain the corresponding multi-part entity projection view. By obtaining the preset projection template information and then projecting the lock part entity using it, the accuracy of obtaining the multi-part entity projection view is effectively improved.

[0084] In one embodiment, such as Figure 9 The third embodiment of the method for determining two-dimensional views of multiple parts proposed in the first embodiment of the present invention includes step S40, which includes:

[0085] Step S401: Obtain the line connection endpoints and line connection directions based on the position information and size information.

[0086] It is understandable that the line connection endpoints refer to the endpoints of the drawn outline lines, and the line connection direction refers to the direction in which the outline lines are drawn. The line connection endpoints are determined based on the position information, and then the line connection direction is determined based on the position information and the size information.

[0087] Step S402: In the multi-part entity projection view, the blank entity is drawn according to the line connection endpoints and line connection directions to obtain the outline of the blank entity.

[0088] It should be understood that the outline refers to the lines that define the shape of the blank entity in the multi-part entity projection view. The outline is not a solid line. It is drawn according to the endpoints and directions of the line connections. The multi-part entity projection view is composed of solid and dashed lines. After obtaining the endpoints and directions of the line connections, the blank entity is drawn in the multi-part entity projection view according to the endpoints and directions of the line connections to obtain the outline of the blank entity.

[0089] Furthermore, after step S402, the method further includes: obtaining the entity attributes of the parts, extracting the part names from the entity attributes of the parts, and marking the part names at preset positions corresponding to each part in the multi-part entity projection view.

[0090] It should be understood that part entity attributes refer to the attributes of the part itself. These attributes include information such as the part entity's name, structure, and purpose. After obtaining the part entity attributes, the part name is extracted from them. Then, the part names are used to distinguish the various parts in the multi-part entity projection view. Specifically, the part names are marked at preset positions corresponding to each part in the multi-part entity projection view. These preset positions can be the top, bottom, left, or right edge of each part in the multi-part entity projection view. For example, refer to... Figure 4 L1 is the name of the left part, and L2 is the name of the right part. Place L1 below the left part and L2 below the right part.

[0091] This embodiment obtains the line connection endpoints and line connection directions based on the position and size information; in the multi-part entity projection view, the blank entity is drawn according to the line connection endpoints and line connection directions to obtain the outline of the blank entity; by obtaining the line connection endpoints and line connection directions based on the position and size information, and then drawing the outline of the blank entity in the multi-part entity projection view according to the line connection endpoints and line connection directions, the accuracy of drawing the outline of the blank entity can be effectively improved, and the relationship between the solid and dashed lines of the blank entity in the multi-part entity projection view can be simply and clearly expressed.

[0092] Furthermore, this embodiment of the invention also proposes a storage medium storing a program for determining two-dimensional views of multiple parts. When the program for determining two-dimensional views of multiple parts is executed by a processor, it implements the steps of the method for determining two-dimensional views of multiple parts as described above.

[0093] Since this storage medium adopts all the technical solutions of all the above embodiments, it has at least all the beneficial effects brought about by the technical solutions of the above embodiments, which will not be repeated here.

[0094] In addition, refer to Figure 10 This invention also proposes a device for determining two-dimensional views of multiple parts, the device comprising:

[0095] The acquisition module 10 is used to obtain the corresponding blank material entity and multiple part entities based on multiple projected entities.

[0096] The projection module 20 is used to project the view of the multi-part entity to obtain the corresponding multi-part entity projection view.

[0097] The determination module 30 is used to determine position information and size information based on the multi-part entity and the blank entity.

[0098] The generation module 40 is used to draw the outline of the blank entity in the multi-part entity projection view using the position information and the size information.

[0099] This embodiment obtains corresponding blank entities and multiple part entities based on multiple projection entities; performs view projection on the multiple part entities to obtain corresponding multi-part entity projection views; determines position information and dimension information based on the multiple part entities and blank entities; and draws the outline of the blank entity in the multi-part entity projection view using the position information and dimension information. By performing view projection on multiple part entities and then drawing the outline of the blank view in the multi-part entity projection view based on the position information and dimension information, this embodiment can effectively improve the efficiency and accuracy of determining the two-dimensional views of multiple parts compared to the prior art which obtains part views by simultaneously projecting three-dimensional part entities and blank lines.

[0100] It should be noted that the workflow described above is merely illustrative and does not limit the scope of protection of this invention. In practical applications, those skilled in the art can select some or all of the workflow to achieve the purpose of this embodiment according to actual needs, and no restrictions are imposed here.

[0101] In addition, for technical details not described in detail in this embodiment, please refer to the method for determining the two-dimensional view of multiple parts provided in any embodiment of the present invention, which will not be repeated here.

[0102] In one embodiment, the acquisition module 10 is further configured to obtain the corresponding length, width and height based on the plurality of projected entities; calculate the volume of the plurality of projected entities using the length, width and height; sort the volumes of the plurality of projected entities according to a preset sorting relationship, and take the entity with the largest volume in the sorting result as the blank entity, and take the other entities as multi-part entities.

[0103] In one embodiment, the projection module 20 is further configured to acquire preset projection template information, the preset projection template information including: the direction and number of projection views, the projection views including at least one or more of the front view, rear view, top view, left view, right view, and isometric view; and to perform view projection on the multi-part entity through the preset projection template information to obtain the corresponding multi-part entity projection view.

[0104] In one embodiment, the projection module 20 is further configured to: ... Figure X Align the long direction of the blank entity with the Y-axis and the width direction of the blank entity with the Y-axis of the view to align the views of the multiple parts entities, thereby obtaining the main view of the corresponding multi-part entity projection; project other views according to the preset projection template information and the main view.

[0105] In one embodiment, the determining module 30 is further configured to obtain the three-dimensional model spatial relationship between the multi-part entity and the blank entity; and to obtain corresponding position information and size information based on the three-dimensional model spatial relationship, the multi-part entity, and the blank entity.

[0106] In one embodiment, the drawing module 40 is further configured to obtain the line connection endpoints and line connection directions based on the position information and size information; and to draw the blank entity in the multi-part entity projection view according to the line connection endpoints and line connection directions to obtain the outline of the blank entity.

[0107] In one embodiment, the drawing module 40 is further configured to obtain part entity attributes, extract the part name of the part entity attributes, and mark the part name at a preset position corresponding to each part in the multi-part entity projection view.

[0108] Other embodiments or implementation methods of the device for determining two-dimensional views of multiple parts described in this invention can be found in the above-described method embodiments, and will not be repeated here.

[0109] Furthermore, 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 system 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 system. 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 system that includes that element.

[0110] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0111] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as read-only memory (ROM) / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, all-in-one platform workstation, or network device, etc.) to execute the methods described in the various embodiments of the present invention.

[0112] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.

Claims

1. A method for determining two-dimensional views of multiple parts, characterized in that, The method for determining the two-dimensional views of the multiple parts includes the following steps: The corresponding blank material entity and multiple part entities are obtained from multiple projected entities; Perform view projection on the multi-part entities to obtain the corresponding multi-part entity projection view; The position and dimension information are determined based on the multi-part entity and the blank entity; The outline of the blank entity is drawn in the multi-part entity projection view using the location information and the size information.

2. The method for determining two-dimensional views of multiple parts as described in claim 1, characterized in that, The process of obtaining the corresponding blank entity and multiple part entities based on multiple projected entities includes: The corresponding length, width, and height are obtained based on the multiple projected entities; The volume of the plurality of projected entities is calculated using the length, width, and height. The volumes of the multiple projected entities are sorted according to a preset sorting relationship. The entity with the largest volume in the sorting result is taken as the blank entity, and the other entities are taken as multi-part entities.

3. The method for determining two-dimensional views of multiple parts as described in claim 1, characterized in that, The step of projecting the view onto the multiple component entities to obtain the corresponding multi-component entity projected view includes: Obtain preset projection template information, which includes the direction and number of projection views, and the projection views include at least one or more of the following: front view, rear view, top view, left view, right view, and isometric view. The multi-part entity is projected using the preset projection template information to obtain the corresponding multi-part entity projection view.

4. The method for determining two-dimensional views of multiple parts as described in claim 3, characterized in that, The multi-part solid projection view includes a main view and other views; The step of projecting a view onto the multiple part entities using the preset projection template information to obtain a corresponding multi-part entity projection view includes: The positive Z-axis direction of the corresponding main view is obtained based on the preset projection template information; By projecting the negative Z-axis direction along the positive Z-axis, aligning the X-axis of the view with the length of the blank entity, and aligning the Y-axis of the view with the width of the blank entity, the multi-part entity is aligned with the view to obtain the main view of the corresponding multi-part entity projection. Other views are projected based on the preset projection template information and the main view.

5. The method for determining two-dimensional views of multiple parts as described in claim 1, characterized in that, The step of determining position and dimension information based on the multiple part entities and the blank entity includes: Obtain the three-dimensional spatial relationship between the multi-part entities and the blank entity; Based on the spatial relationships of the three-dimensional model, the multiple part entities, and the blank entity, the corresponding position and size information are obtained.

6. The method for determining two-dimensional views of multiple parts as described in any one of claims 1 to 5, characterized in that, The step of drawing the outline of the blank entity in the multi-part entity projection view using the position information and the size information includes: The line connection endpoints and line connection directions are obtained based on the location and size information; In the multi-part solid projection view, the blank solid is drawn according to the line connection endpoints and line connection directions to obtain the outline of the blank solid.

7. The method for determining two-dimensional views of multiple parts as described in any one of claims 1 to 5, characterized in that, After drawing the outline of the blank entity in the multi-part entity projection view using the position information and the size information, the method further includes: Obtain the entity attributes of the part and extract the part name from the entity attributes; The part names are marked at preset positions corresponding to each part in the multi-part solid projection view.

8. A device for determining two-dimensional views of multiple parts, characterized in that, The device for determining the two-dimensional views of the multiple parts includes: The acquisition module is used to obtain the corresponding blank material entity and multiple part entities based on multiple projected entities; The projection module is used to project the view of the multi-part entity to obtain the corresponding multi-part entity projection view; The determination module is used to determine the position information and dimension information based on the multiple part entities and the blank entity; A drawing module is used to draw the outline of the blank entity in the multi-part entity projection view using the position information and the size information.

9. A device for determining two-dimensional views of multiple parts, characterized in that, The device for determining the two-dimensional view of multiple parts includes: a memory, a processor, and a program for determining the two-dimensional view of multiple parts stored in the memory and executable on the processor, wherein the program for determining the two-dimensional view of multiple parts is configured to implement the method for determining the two-dimensional view of multiple parts as described in any one of claims 1 to 7.

10. A storage medium, characterized in that, The storage medium stores a program for determining two-dimensional views of multiple parts, which, when executed by a processor, implements the method for determining two-dimensional views of multiple parts as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Method of determining size of block blank according to parts three-dimensional model

    CN104392062A