Three-dimensional modeling method and device, storage medium and electronic equipment

By extracting information from the two-dimensional plan and generating auxiliary elements for three-dimensional modeling, the problem of time-consuming and error-prone equipment modeling in the prior art is solved, and a fast and accurate three-dimensional modeling process is achieved.

CN119888068APending Publication Date: 2025-04-25CHINA SHIP DEV & DESIGN CENT

Patent Information

Application Number
CN202411805092.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-10
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

In the prior art, equipment modeling requires manual measurement of multiple size data, which is time-consuming and inefficient, prone to operational errors, and requires a lot of time to be checked later.

Method used

By obtaining the two-dimensional plan of the product to be modeled, performing the drawing preprocessing and drawing scale adjustment, obtaining the plan outline diagram, importing the three-dimensional modeling software, generating a top view, side view and bottom view, determining the auxiliary elements of the three-dimensional modeling through feature output, and finally establishing a three-dimensional model based on the auxiliary elements.

Benefits of technology

It realizes the rapid establishment of three-dimensional models through two-dimensional floor plans, improves modeling efficiency, reduces the number of manual operations, and improves the accuracy and consistency of modeling.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119888068A_ABST
    Figure CN119888068A_ABST
Patent Text Reader

Abstract

The invention provides a three-dimensional modeling method and device, a storage medium and electronic equipment. The three-dimensional modeling method comprises the steps that a two-dimensional plane graph of a to-be-modeled product Performing surface preprocessing on the two-dimensional plane graph, and adjusting the drawing proportion of the two-dimensional plane graph after the surface preprocessing to obtain a plane profile graph; importing the plane profile diagram into three-dimensional modeling software; obtaining a top view, a side view and a bottom view of the to-be-modeled product based on the plane profile diagram; according to the top view, the side view and the bottom view, determining auxiliary elements of three-dimensional modeling through feature output; determining design input according to the auxiliary elements; determining a feature operation according to the design input; and establishing a three-dimensional model of the to-be-modeled product according to the feature operation. According to the method, the information is directly extracted from the two-dimensional plane graph, so that the frequency of manually inputting data or creating auxiliary elements by designers is reduced, and the modeling accuracy can be remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of three-dimensional modeling, and in particular relates to a three-dimensional modeling method, device, storage medium and electronic equipment. Background Art

[0002] In the related art, equipment modeling is done by manually measuring the dimensions in the plan view and then modeling in the 3D design software. Manually measuring the dimensions to obtain the necessary information for 3D modeling requires measuring dozens or even dozens of dimension data to complete a piece of equipment modeling, which is time-consuming and inefficient. Operational errors such as dimensional deviation and positioning deviation are prone to occur during manual measurement, and a lot of time is needed for verification later. Summary of the invention

[0003] In the first aspect, an embodiment of the present invention provides a three-dimensional modeling method, which includes: obtaining a two-dimensional plan view of a product to be modeled; performing drawing preprocessing on the two-dimensional plan view, and adjusting the drawing scale of the two-dimensional plan view after drawing preprocessing to obtain a plane contour view; importing the plane contour view into three-dimensional modeling software; based on the plane contour view, obtaining a top view, a side view, and a bottom view of the product to be modeled; according to the top view, the side view, and the bottom view, determining auxiliary elements for three-dimensional modeling through feature output; according to the auxiliary elements, determining design input; according to the design input, determining feature operations; according to the feature operations, establishing a three-dimensional model of the product to be modeled.

[0004] In a second aspect, an embodiment of the present invention provides a three-dimensional modeling device, which includes: an acquisition unit, used to acquire a two-dimensional plan view of a product to be modeled; a first processing unit, used to perform drawing preprocessing on the two-dimensional plan view, and adjust the drawing scale of the two-dimensional plan view after drawing preprocessing to obtain a plane contour view; a second processing unit, used to import the plane contour view into three-dimensional modeling software, and determine a top view, a side view, and a bottom view of the product to be modeled; a third processing unit, used to determine auxiliary elements of three-dimensional modeling through feature output based on the top view, the side view, and the bottom view; a fourth processing unit, used to determine the design input based on the auxiliary elements; a fifth processing unit, used to determine the feature operation based on the design input; and a modeling unit, used to establish a three-dimensional model of the product to be modeled based on the feature operation.

[0005] In a third aspect, an embodiment of the present invention provides a storage medium having a computer program stored thereon, which implements the steps of the three-dimensional modeling method in the first aspect when the program is executed by a processor.

[0006] In a fourth aspect, an embodiment of the present invention provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of the three-dimensional modeling method in the first aspect of the claim are implemented.

[0007] The beneficial effects brought by the present invention are as follows:

[0008] From the above scheme, it can be seen that the embodiment of the present invention provides a three-dimensional modeling method, which can realize the rapid modeling of the product to be modeled through the two-dimensional plane map, and obtain the three-dimensional model of the product to be modeled. In the three-dimensional modeling method, first, a two-dimensional plane map of the product to be modeled is obtained, and the two-dimensional plane map contains graphic information to represent the basic shape and size of the product.

[0009] After obtaining the two-dimensional plane drawing of the product to be modeled, the two-dimensional plane drawing is preprocessed, and the drawing scale of the two-dimensional plane drawing after the preprocessing is adjusted to obtain a plane contour drawing.

[0010] Drawing preprocessing includes removing unnecessary lines, marks, text, etc. to simplify subsequent processing. Adjusting the drawing scale is to ensure the size consistency between the two-dimensional plan and the actual product to be modeled.

[0011] After preprocessing and adjusting the proportion of the two-dimensional plane image, a plane contour image is obtained, which contains the basic shape and contour information of the product.

[0012] Import the plane outline drawing into the 3D modeling software to introduce the 2D information into the 3D modeling environment.

[0013] In 3D modeling software, multiple views of the product are generated using the imported plane profile, and auxiliary elements of 3D modeling are determined through feature output. Specifically, feature output refers to converting specific elements in the top view, side view, and bottom view into operable features for further operations during the modeling process.

[0014] Based on the auxiliary elements, the design input is determined. The design input is the modeling parameters and instructions determined based on the auxiliary elements and product requirements. Based on the design input, the feature operation is determined. The feature operation is the specific step of specifying how to apply these modeling parameters and instructions to create a 3D model. Through the above process, the auxiliary elements are realized as constraints for the feature operation.

[0015] Finally, in the 3D modeling software, the 3D model of the product is gradually constructed according to feature operations.

[0016] The present invention extracts information directly from the two-dimensional plan, reducing the number of times designers need to manually input data or create auxiliary elements, thereby improving modeling efficiency. The present invention uses a digital method to extract information from the drawing, which is usually more accurate and repeatable than manual measurement, and can significantly improve the accuracy of modeling. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1A schematic diagram showing a flow chart of a three-dimensional modeling method according to an embodiment of the present invention;

[0018] Figure 2 A second flow chart showing a three-dimensional modeling method according to an embodiment of the present invention;

[0019] Figure 3 A third flowchart of a three-dimensional modeling method according to an embodiment of the present invention;

[0020] Figure 4 A schematic block diagram showing the structure of a three-dimensional modeling device according to an embodiment of the present invention;

[0021] Figure 5 A schematic block diagram showing the structure of an electronic device according to an embodiment of the present invention;

[0022] Figure 6 A two-dimensional plane diagram before plane preprocessing is performed in an embodiment of the present invention;

[0023] Figure 7 represents a two-dimensional plane diagram after plane preprocessing in an embodiment of the present invention;

[0024] Figure 8 A plane profile diagram showing an embodiment of the present invention imported into a three-dimensional modeling software;

[0025] Fig. 9 A schematic diagram showing extraction of the front view, side view and bottom view of the product to be modeled in an embodiment of the present invention;

[0026] Fig.10 A schematic diagram showing auxiliary element extraction in an embodiment of the present invention;

[0027] Fig.11 A schematic diagram showing modeling using auxiliary elements in an embodiment of the present invention;

[0028] Fig.12 A schematic diagram of a three-dimensional model of a distribution box in an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0029] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is a part of the embodiment of the present invention, not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0030] like Figure 1 As shown, in some embodiments of the present invention, a three-dimensional modeling method is proposed, and the three-dimensional modeling method includes:

[0031] S102: Obtain a two-dimensional plane diagram of the product to be modeled;

[0032] S104: performing drawing preprocessing on the two-dimensional plane drawing, and adjusting the drawing scale of the two-dimensional plane drawing after the drawing preprocessing to obtain a plane outline drawing;

[0033] S106: Importing the plane contour drawing into the three-dimensional modeling software;

[0034] S108: Based on the plane profile diagram, a top view, a side view, and a bottom view of the product to be modeled are obtained;

[0035] S110: Determine auxiliary elements for 3D modeling through feature output according to the top view, the side view, and the bottom view, wherein the auxiliary elements include contour lines and feature forming guide lines;

[0036] S112: Determine design input based on auxiliary elements;

[0037] S114: Determine feature operation according to design input;

[0038] S116: Building a three-dimensional model of the product to be modeled based on the feature operation.

[0039] In this embodiment, the embodiment of the present invention provides a three-dimensional modeling method, which can realize the rapid modeling of the product to be modeled through the two-dimensional plane map, and obtain the three-dimensional model of the product to be modeled. In the three-dimensional modeling method, first, a two-dimensional plane map of the product to be modeled is obtained. Obtaining the two-dimensional plane map of the product to be modeled is the starting point of three-dimensional modeling. The two-dimensional plane map contains graphic information to represent the basic shape and size of the product.

[0040] After obtaining the two-dimensional plan view of the product to be modeled, the two-dimensional plan view is preprocessed, and the drawing scale of the two-dimensional plan view after the preprocessing is adjusted to obtain a plane outline view. The drawing preprocessing includes removing unnecessary lines, marks, text, etc. to simplify the subsequent processing process. The drawing scale is adjusted to ensure the size consistency between the two-dimensional plan view and the actual product to be modeled.

[0041] After preprocessing and adjusting the proportion of the two-dimensional plane image, a plane contour image is obtained, which contains the basic shape and contour information of the product.

[0042] Import the plane outline drawing into the 3D modeling software to introduce the 2D information into the 3D modeling environment.

[0043] In 3D modeling software, multiple views of the product are generated using imported plane contour drawings, and auxiliary elements of 3D modeling are determined through feature output. Specifically, feature output refers to converting specific elements in the top view, side view, and bottom view into operable features for further operations during the modeling process.

[0044] Based on the auxiliary elements, the design input is determined. The design input is the modeling parameters and instructions determined based on the auxiliary elements and product requirements. Based on the design input, the feature operation is determined. The feature operation is the specific step of specifying how to apply these modeling parameters and instructions to create a 3D model. Through the above process, the auxiliary elements are realized as constraints for the feature operation.

[0045] For example, a spatial model requires multiple auxiliary elements to create, such as a cuboid, which is transformed from a rectangular outline (auxiliary element) by stretching along the guide line (auxiliary element) in the height direction. The length, width and height of the cuboid are the length and width of the outline and the height of the guide line. These auxiliary elements constrain the stretching operation.

[0046] Finally, in the 3D modeling software, the 3D model of the product is gradually constructed according to feature operations.

[0047] The present invention extracts information directly from the two-dimensional plan, reducing the number of times designers need to manually input data or create auxiliary elements, thereby improving modeling efficiency. The present invention uses a digital method to extract information from the drawing, which is usually more accurate and repeatable than manual measurement, and can significantly improve the accuracy of modeling.

[0048] Specifically, before the step of importing the plane contour drawing into the three-dimensional modeling software, the three-dimensional modeling method also includes: adjusting the global coordinate system of the two-dimensional plane drawing to make the global coordinate system of the two-dimensional plane drawing consistent with the global coordinate system of the three-dimensional modeling software.

[0049] Specifically, the products to be modeled include ship equipment, ship power and operating equipment, mooring equipment, navigation aids and loading and unloading equipment.

[0050] like Figure 2 As shown, in some embodiments of the present invention, a three-dimensional modeling method is proposed, and the three-dimensional modeling method includes:

[0051] S202: Obtain a two-dimensional plan view of the product to be modeled;

[0052] S204: deleting the drawing information whose weight is lower than a preset threshold in the two-dimensional plane map, retaining the structural information of the product to be modeled in the two-dimensional plane map, and adjusting the drawing scale of the two-dimensional plane map after the drawing preprocessing to obtain a plane contour map;

[0053] S206: Importing the plane contour drawing into the three-dimensional modeling software;

[0054] S208: Based on the plane profile diagram, a top view, a side view, and a bottom view of the product to be modeled are obtained;

[0055] S210: Determine auxiliary elements for three-dimensional modeling through feature output according to the top view, the side view, and the bottom view;

[0056] S212: Determine design input based on auxiliary elements;

[0057] S214: Determine feature operation according to design input;

[0058] S216: Building a three-dimensional model of the product to be modeled based on the feature operation.

[0059] In this embodiment, the drawing preprocessing process is specifically defined, wherein the drawing preprocessing of the two-dimensional plane drawing specifically includes: deleting the drawing information whose weight is lower than a preset threshold in the two-dimensional plane drawing, and retaining the structural information of the product to be modeled in the two-dimensional plane drawing. The drawing information whose weight value is lower than the preset threshold includes: a parts list, a drawing frame, and an annotation.

[0060] The present application sets a threshold value so that the process of preprocessing the two-dimensional plane image is to delete unimportant image information.

[0061] Specifically, the present invention first sets a weight threshold before the preprocessing begins. The weight threshold is used to distinguish which drawing information in the two-dimensional plane is important and which is unimportant.

[0062] Specifically, information directly related to the structure of the product to be modeled is important drawing information, and information such as auxiliary instructions is unimportant drawing information. The present invention deletes the drawing information whose weight is lower than a preset threshold in the two-dimensional plan view and retains the structural information of the product to be modeled in the two-dimensional plan view.

[0063] The present invention sets a drawing preprocessing process to identify low-weight drawing information and delete it from the two-dimensional plane drawing. This can simplify subsequent processing steps, reduce unnecessary interference, reduce processing time and resource consumption, avoid introducing information that is not directly related to the product structure during the modeling process, and thus reduce the possibility of errors and confusion. The preprocessed two-dimensional plane drawing is clearer, easier to understand and analyze, and helps designers understand the structure and requirements of the product more accurately.

[0064] The present invention retains the structural information of the product to be modeled in the two-dimensional plane diagram, thereby ensuring the accuracy of three-dimensional modeling.

[0065] Specifically, the drawing information with a weight value lower than a preset threshold includes: a parts list, a drawing frame, and annotations.

[0066] The parts list is usually located in a corner of the drawing or as an appendix, listing all the parts and quantities required for the product. This information is not directly required for 3D modeling, so the parts list is drawing information with a weight value lower than the preset threshold.

[0067] The drawing frame contains metadata such as the drawing title, scale, date, etc., which is not required during modeling. Therefore, the drawing frame is the drawing information with a weight value lower than the preset threshold.

[0068] The annotations include detailed descriptions of dimensioning, manufacturing tolerances, material types, etc. In the 3D modeling stage, the annotations are not necessary, so the annotations are drawing information with weight values ​​lower than the preset threshold.

[0069] In a 2D plan view, in addition to the parts list, drawing frame and annotations mentioned above, if there are repeated dimension annotations on the drawing, that is, the same dimension is marked multiple times, then the repeated annotations can be deleted to avoid confusion and redundancy. If the 2D plan view contains multiple views, some views are not necessary for 3D modeling, then consider deleting these unnecessary views. For example, if only the top view and side view of the product are needed to build a 3D model, then the bottom view or other auxiliary views can be deleted.

[0070] Auxiliary lines and construction lines are often used to help designers draw and annotate drawings, but during the 3D modeling process, they are no longer necessary, so these lines can be deleted to simplify the drawing and improve readability.

[0071] In some embodiments of the present invention, optionally, after performing surface preprocessing on the two-dimensional plan view, the three-dimensional modeling method further includes: checking the surface preprocessing result of the two-dimensional plan view; if the preprocessing fails, re-performing surface preprocessing on the two-dimensional plan view.

[0072] In this embodiment, after the two-dimensional plan view is preprocessed, the three-dimensional modeling method includes a checking step to ensure that the preprocessing result is in line with expectations and provides accurate and useful information for the subsequent three-dimensional modeling process.

[0073] After the two-dimensional plan view is preprocessed, the preprocessing result of the two-dimensional plan view is checked. Specifically, it is checked whether the preprocessed two-dimensional plan view still contains all necessary structural information and whether all unimportant drawing information is deleted from the preprocessed two-dimensional plan view.

[0074] If it is found during the inspection process that the preprocessing results do not meet expectations, such as deleting important structural information or retaining unnecessary redundant information, the two-dimensional plan view is re-preprocessed.

[0075] Specifically, if the preprocessing is successful, the drawing scale of the two-dimensional plane drawing after the drawing preprocessing is adjusted to obtain a plane contour drawing.

[0076] The present invention helps to ensure that the preprocessing results meet expectations by detecting the preprocessing results, and provides accurate and useful information for subsequent three-dimensional modeling. If the preprocessing fails, the drawing preprocessing needs to be re-performed to ensure that an accurate, complete and easy-to-understand two-dimensional plane drawing is obtained.

[0077] Specifically, before re-preprocessing the drawing, the three-dimensional modeling method further includes: backing up the original two-dimensional plane drawing.

[0078] Before re-processing the drawing, this application backs up the original 2D plan view to prevent data loss or damage.

[0079] In some embodiments of the present invention, optionally, auxiliary elements for three-dimensional modeling are determined through feature output based on the top view, the side view and the bottom view, specifically including: determining feature elements based on the top view, the side view and the bottom view; performing feature output on the feature elements to determine auxiliary elements for three-dimensional modeling, wherein the auxiliary elements include: points, lines and surfaces.

[0080] In this embodiment, the process of determining the auxiliary elements of the three-dimensional model is defined, and the auxiliary elements of the three-dimensional model are determined by feature output according to the top view, the side view and the bottom view, specifically including: determining the feature elements according to the top view, the side view and the bottom view, and outputting the feature elements to determine the auxiliary elements of the three-dimensional modeling. The specific elements in the top view, the side view and the bottom view are converted into operable features for further operation in the modeling process.

[0081] Specifically, auxiliary elements include points, lines and surfaces. Auxiliary elements mainly include points, lines and surfaces, which play a basic supporting role in geometric composition.

[0082] Specifically, the lines include contour lines and feature shaping guide lines. Contour lines define the external shape of the product, while feature shaping guide lines are used to guide the creation of complex features such as curved surfaces and chamfers.

[0083] Specifically, taking the product to be modeled as a distribution box as an example, the contour line includes the box body contour, the cable port contour, the handle contour and the installation backplane contour.

[0084] The characteristic forming guide wires include the box body stretching guide wires, the handle stretching guide wires, the cable port stretching guide wires and the installation back plate stretching guide wires.

[0085] In some embodiments of the present invention, optionally, feature operations include: rib and stretch.

[0086] In this embodiment, the types of feature operations are defined, and specifically, the feature operations include ribs.

[0087] Feature operations also include stretching, which is a basic feature operation that forms a three-dimensional shape by stretching or extruding a two-dimensional plane figure along a specified direction.

[0088] like Figure 3 As shown, in some embodiments of the present invention, a three-dimensional modeling method is proposed, and the three-dimensional modeling method includes:

[0089] S302: Preparation;

[0090] S304: 2D plane preprocessing;

[0091] S306: Check. If the check result is no, execute S304. If the check result is yes, execute step S308.

[0092] S308: Importing into the 3D modeling software, the X, Y, and Z plane sketches correspond to the front view, the side view, and the bottom view respectively;

[0093] S310: extract auxiliary elements;

[0094] S312: Three-dimensional modeling.

[0095] In this embodiment, the three-dimensional modeling of a distribution box is taken as an example for explanation, and the specific implementation steps are as follows:

[0096] 2D plan preprocessing: Delete unnecessary drawing information, such as parts list, drawing frame, notes, etc. At the same time, adjust the drawing scale to 1:1 to avoid inconsistency between the 3D model size and the actual equipment. Figure 6 and Figure 7 shown.

[0097] Auxiliary element extraction: Figure 8 As shown in Figure 1, the processed drawings are imported into the engineering drawing module of the 3D Innovation Experience Platform (3DExperience, 3DE). Fig. 9 As shown in the figure, extract the top view, side view and bottom view in the drawing according to the three directions of X, Y and Z. Fig.10 As shown, the auxiliary elements necessary for three-dimensional modeling are obtained through feature output.

[0098] 3D model creation: Fig.11 As shown in the figure, the extracted auxiliary elements are used as part design input, and the equipment parts are generated by selecting ribs, stretching and other operations. The final three-dimensional model of the distribution box is as follows Fig.12 shown.

[0099] The present invention solves the problems of cumbersome operation and easy error caused by manually measuring two-dimensional engineering drawings to create three-dimensional models, improves the accuracy of three-dimensional modeling and also greatly improves the modeling efficiency. The present invention can directly meet the requirements of three-dimensional modeling by extracting the information of two-dimensional plan drawings, does not require designers to create other auxiliary elements, greatly reduces the number of manual operations, and improves modeling efficiency. The present invention extracts the information of two-dimensional plan drawings as the input of three-dimensional modeling design, avoids the errors caused by manual measurement of drawings, and improves the accuracy of modeling.

[0100] For example, when making a three-dimensional layout of a house, the manufacturer provides a plane drawing of the air conditioner, and then a three-dimensional model is built according to the drawing. The plane drawing contains various views of the air conditioner, such as the front view, side view, and top view. The length and width of the air conditioner are in the top view, and the height is in the side view. The plane contour and height of the air conditioner are extracted as auxiliary elements, as input and constraints for the stretching feature operation in the three-dimensional modeling. For example, if the stretching object is the plane contour, the stretching direction and the starting and ending points are the height, and the three-dimensional model of the air conditioner body is obtained.

[0101] Specifically, when making a three-dimensional layout of ship equipment, a three-dimensional model is built according to the plane drawings of the ship equipment, wherein the plane drawings contain various views of the ship equipment, such as the front view, the side view and the top view. The length and width of the ship equipment are in the top view, and the height is in the side view. The plane contour and height of the ship equipment are extracted as auxiliary elements, as input and constraints for the stretching feature operation in the three-dimensional model. For example, if the stretching object is the plane contour, the stretching direction and the starting and ending points are the height, and the three-dimensional model of the ship equipment is obtained.

[0102] In some embodiments of the present invention, optionally, the plane contour map is imported into the three-dimensional modeling software; based on the plane contour map, the top view, side view and bottom view of the product to be modeled are obtained, specifically including: importing the plane contour map into the engineering drawing module of the three-dimensional modeling software; determining the top view, side view and bottom view of the product to be modeled according to the horizontal, vertical and depth directions of the engineering drawing module of the three-dimensional modeling software.

[0103] In this embodiment, the process of importing the plane outline drawing into the three-dimensional modeling software to determine the top view, side view and bottom view of the product to be modeled is specifically defined. First, the plane outline drawing is imported into the engineering drawing module of the three-dimensional modeling software. The import process includes the conversion of the file format and the adjustment of the import settings, so as to ensure that the plane outline drawing can be correctly displayed and edited in the three-dimensional modeling software.

[0104] In the engineering drawing module of the 3D modeling software, the top view, side view and bottom view of the product to be modeled can be determined according to the software's horizontal, vertical and depth directions. The above views together provide the shape and structural information of the product in different directions to ensure the accuracy and consistency of subsequent modeling.

[0105] Specifically, the top view is usually used to show the top shape and layout of the product, the side view is used to show the side profile and height information of the product, and the bottom view is used to show the bottom shape and structure of the product.

[0106] In some embodiments of the present invention, optionally, the drawing scale is 1:1.

[0107] In this embodiment, for the process of adjusting the drawing scale of the two-dimensional plane drawing after drawing preprocessing, the present invention limits the drawing scale to 1: 1. The drawing scale refers to the ratio of the linear size of the machine part in the drawing to the linear size of the corresponding element of the actual machine part.

[0108] The drawing scale of 1:1 usually means that the size on the drawing is exactly the same as the size of the actual object, that is, 1 unit length on the drawing corresponds to 1 unit length of the actual object. The above-mentioned ratio setting of the present invention helps to ensure that designers can accurately reflect the real size and shape of the object during the drawing and modeling process.

[0109] In some embodiments of the present invention, optionally, the three-dimensional modeling software includes a three-dimensional innovation experience platform.

[0110] In this embodiment, the types of 3D modeling software are limited, and the 3D modeling software specifically includes a 3D innovation experience platform. The 3D innovation experience platform is a comprehensive platform that integrates 3D modeling, simulation, analysis, optimization and other functions, and provides a series of easy-to-use tools and modules to help designers work efficiently from conceptual design to final manufacturing.

[0111] Through the three-dimensional innovative experience platform (3DExperience, 3DE), the present invention can easily realize the acquisition of a three-dimensional model from a two-dimensional plane map.

[0112] In some embodiments of the present invention, optionally, after establishing the three-dimensional model of the product to be modeled according to the feature operation, the three-dimensional modeling method further includes: verifying the dimensions of the three-dimensional model according to a measuring tool of the three-dimensional modeling software.

[0113] In this embodiment, the 3D modeling method proposed in the present invention also includes a dimension verification step. Specifically, after establishing a 3D model of the product to be modeled according to feature operations, the 3D modeling method also includes: verifying the dimension of the 3D model according to the measuring tools of the 3D modeling software.

[0114] In 3D modeling software, there are special measurement tools, such as distance measurement, angle measurement, area measurement, etc.

[0115] When performing dimension verification, select the dimension points or lines that need to be verified in the 3D model, use the measuring tool to measure, record the measurement results, and compare them with the dimensions in the design input to ensure the accuracy of the 3D model dimensions.

[0116] The present invention ensures that the dimensional accuracy of the three-dimensional model meets the design requirements through dimensional verification, thereby avoiding the problem of dimensional mismatch in subsequent manufacturing or processing.

[0117] In some embodiments of the present invention, optionally, after establishing the three-dimensional model of the product to be modeled according to the feature operation, the three-dimensional modeling method further includes: performing color rendering on the three-dimensional model according to the type of the product to be modeled.

[0118] In this embodiment, the 3D modeling method further includes color rendering of the 3D model according to the type of the product to be modeled. By rendering the 3D model, the overall shape of the product and the positions of the parts can be better displayed, making it easier for users to observe the 3D model.

[0119] Rendering according to the type of product to be modeled can make the three-dimensional model closer to the actual product to be modeled.

[0120] like Figure 4 As shown, in some embodiments of the present invention, a three-dimensional modeling device 400 is proposed, and the three-dimensional modeling device 400 includes: an acquisition unit 410, which is used to acquire a two-dimensional plane view of a product to be modeled; a first processing unit 420, which is used to perform drawing preprocessing on the two-dimensional plane view, and adjust the drawing scale of the two-dimensional plane view after drawing preprocessing to obtain a plane contour view; a second processing unit 430, which is used to import the plane contour view into the three-dimensional modeling software to determine the top view, side view and bottom view of the product to be modeled; a third processing unit 440, which is used to determine the auxiliary elements of the three-dimensional modeling through feature output according to the top view, side view and bottom view, wherein the auxiliary elements include contour lines and feature forming guide lines; a fourth processing unit 450, which is used to determine the design input according to the auxiliary elements; a fifth processing unit 460, which is used to determine the feature operation according to the design input; and a modeling unit 470, which is used to establish a three-dimensional model of the product to be modeled according to the feature operation.

[0121] In this embodiment, the present invention proposes a three-dimensional modeling device 400, which includes an acquisition unit 410, a first processing unit 420, a second processing unit 430, a third processing unit 440, a fourth processing unit 450, a fifth processing unit 460 and a modeling unit 470.

[0122] The acquisition unit 410 is used to acquire a two-dimensional plan view of the product to be modeled. Acquiring a two-dimensional plan view of the product to be modeled is the starting point for three-dimensional modeling. Specifically, the two-dimensional plan view may be a CAD drawing, which contains graphic information to represent the basic shape and size of the product.

[0123] After obtaining the two-dimensional plan view of the product to be modeled, the first processing unit 420 performs drawing preprocessing on the two-dimensional plan view and adjusts the drawing scale of the two-dimensional plan view after drawing preprocessing to obtain a plane outline view. Drawing preprocessing includes removing unnecessary lines, marks, text, etc. to simplify subsequent processing. Adjusting the drawing scale is to ensure the size consistency between the two-dimensional plan view and the actual product to be modeled.

[0124] After preprocessing and adjusting the proportion of the two-dimensional plane image, a plane contour image is obtained, which contains the basic shape and contour information of the product.

[0125] The second processing unit 430 imports the plane contour map into the three-dimensional modeling software to realize the introduction of the two-dimensional information into the three-dimensional modeling environment.

[0126] The third processing unit 440 generates multiple views of the product using the imported plane outline drawing in the three-dimensional modeling software, and determines the auxiliary elements of the three-dimensional modeling through feature output.

[0127] The fourth processing unit 450 determines the design input according to the auxiliary elements. The design input is the modeling parameters and instructions determined based on the auxiliary elements and product requirements.

[0128] The fifth processing unit 460 determines the feature operation according to the design input, and the feature operation is a specific step for specifying how to apply these parameters and instructions to create a three-dimensional model.

[0129] Finally, in the three-dimensional modeling software, the modeling unit 470 gradually builds a three-dimensional model of the product according to the feature operations.

[0130] The three-dimensional modeling device 400 proposed by the present invention extracts information directly from the two-dimensional plan view, thereby reducing the number of times that designers need to manually input data or create auxiliary elements, thereby improving modeling efficiency. The present invention uses a digital method to extract information from drawings, which is usually more accurate and repeatable than manual measurement, and can significantly improve the accuracy of modeling.

[0131] In some embodiments of the present invention, optionally, in the process of preprocessing the two-dimensional plan view, the first processing unit 420 is specifically used to: delete the drawing information in the two-dimensional plan view whose weight is lower than a preset threshold, and retain the structural information of the product to be modeled in the two-dimensional plan view, wherein the drawing information with a weight lower than the preset threshold includes: a parts list, a drawing frame, and annotations.

[0132] In some embodiments of the present invention, optionally, the three-dimensional modeling device 400 also includes a fifth processing unit, which is used to check the surface preprocessing result of the two-dimensional plan view after the two-dimensional plan view is preprocessed; if the preprocessing fails, the two-dimensional plan view is preprocessed again.

[0133] In some embodiments of the present invention, optionally, in the process of importing the plane contour map into the three-dimensional modeling software to determine the top view, side view and bottom view of the product to be modeled, the second processing unit 430 is specifically used to import the plane contour map into the engineering drawing module of the three-dimensional modeling software; and determine the top view, side view and bottom view of the product to be modeled according to the horizontal, vertical and depth directions of the engineering drawing module of the three-dimensional modeling software.

[0134] In some embodiments of the present invention, optionally, the three-dimensional modeling apparatus 400 further includes a verification unit for verifying the dimensions of the three-dimensional model according to a measurement tool of the three-dimensional modeling software.

[0135] In some embodiments of the present invention, optionally, the three-dimensional modeling apparatus 400 further includes a rendering unit configured to perform color rendering on the three-dimensional model according to the type of the product to be modeled.

[0136] In some embodiments of the present invention, the present invention further proposes a storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the three-dimensional modeling method in any of the above embodiments are implemented.

[0137] In this embodiment, the present invention proposes a storage medium having a computer program stored thereon. When the program is executed by a processor, the steps of the three-dimensional modeling method in any of the above embodiments are implemented, and thus the three-dimensional modeling method in any of the above embodiments has all the beneficial effects.

[0138] like Figure 5 As shown, in some embodiments of the present invention, the present invention also proposes an electronic device 500, including a memory 510, a processor 520, and a computer program stored in the memory 510 and executable on the processor 520, and when the processor 520 executes the program, the steps of the three-dimensional modeling method in any of the above embodiments are implemented.

[0139] In this embodiment, the electronic device 500 proposed in the present invention includes a memory 510, a processor 520, and a computer program stored in the memory 510 and executable on the processor 520. When the processor 520 executes the program, the steps of the three-dimensional modeling method in any of the above embodiments are implemented, and thus the three-dimensional modeling method in any of the above embodiments has all the beneficial technical effects.

[0140] The above are preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as within the scope of protection of the present invention.

Claims

1. A three-dimensional modeling method, characterized in that: include: Obtain a two-dimensional plan view of the product to be modeled; Performing drawing preprocessing on the two-dimensional plane drawing, and adjusting the drawing scale of the two-dimensional plane drawing after the drawing preprocessing to obtain a plane contour drawing; Importing the plane contour map into three-dimensional modeling software; Based on the plane profile diagram, obtaining a top view, a side view and a bottom view of the product to be modeled; Determining auxiliary elements for three-dimensional modeling through feature output according to the top view, the side view and the bottom view; Determining design inputs based on the auxiliary elements; Determining a feature operation based on the design input; According to the feature operation, a three-dimensional model of the product to be modeled is established.

2. The three-dimensional modeling method according to claim 1, characterized in that: The performing drawing preprocessing on the two-dimensional plane drawing specifically includes: Deleting the drawing information in the two-dimensional plane map whose weight is lower than a preset threshold, and retaining the structural information of the product to be modeled in the two-dimensional plane map; The drawing information with a weight lower than a preset threshold includes: a parts list, a drawing frame and annotations.

3. The three-dimensional modeling method according to claim 1, characterized in that: After the two-dimensional plane drawing is preprocessed, the three-dimensional modeling method further includes: Checking the drawing preprocessing result of the two-dimensional plane drawing; If the preprocessing fails, the two-dimensional plan view is re-preprocessed.

4. The three-dimensional modeling method according to claim 1, characterized in that: According to the top view, the side view and the bottom view, determining auxiliary elements for three-dimensional modeling through feature output specifically includes: Determining characteristic elements according to the top view, the side view and the bottom view; The characteristic elements are outputted to determine auxiliary elements for three-dimensional modeling, wherein the auxiliary elements include points, lines and surfaces.

5. The three-dimensional modeling method according to claim 1, characterized in that: Importing the plane contour map into three-dimensional modeling software; Based on the plane profile diagram, a top view, a side view and a bottom view of the product to be modeled are obtained, specifically including: Importing the plane contour diagram into an engineering drawing module of a three-dimensional modeling software; According to the horizontal, vertical and depth directions of the engineering drawing module of the three-dimensional modeling software, the top view, side view and bottom view of the product to be modeled are determined.

6. The three-dimensional modeling method according to any one of claims 1 to 5, characterized in that: The drawing scale is 1:1; and / or The three-dimensional modeling software includes a three-dimensional innovation experience platform.

7. The three-dimensional modeling method according to any one of claims 1 to 5, characterized in that: After establishing the three-dimensional model of the product to be modeled according to the feature operation, the three-dimensional modeling method further includes: Verifying the dimensions of the 3D model using a measuring tool of the 3D modeling software; and / or The three-dimensional model is rendered in color according to the type of the product to be modeled.

8. A three-dimensional modeling device, characterized in that: include: An acquisition unit, used for acquiring a two-dimensional plane diagram of a product to be modeled; A first processing unit is used to perform drawing preprocessing on the two-dimensional plane drawing and adjust the drawing scale of the two-dimensional plane drawing after the drawing preprocessing to obtain a plane contour drawing; A second processing unit is used to import the plane outline drawing into a three-dimensional modeling software to determine a top view, a side view and a bottom view of the product to be modeled; A third processing unit is used to determine auxiliary elements for three-dimensional modeling through feature output according to the top view, the side view and the bottom view; a fourth processing unit, configured to determine a design input according to the auxiliary element; a fifth processing unit, configured to determine a feature operation according to the design input; A modeling unit is used to establish a three-dimensional model of the product to be modeled according to the feature operation.

9. A storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the three-dimensional modeling method according to any one of claims 1 to 7 are implemented.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the three-dimensional modeling method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Rapid modeling method and system for converting two-dimensional engineering drawing into three-dimensional model of ship light enclosure bulkhead

    CN117077279A

  • Filling room three-dimensional modeling method, system and equipment based on two-dimensional plane graph

    CN118691741A

Cited By

  • Processing method and device of three-dimensional building model, equipment and medium

    CN120070779A