CN114154223A - Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model - Google Patents

Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model Download PDF

Info

Publication number
CN114154223A
CN114154223A CN202111511175.5A CN202111511175A CN114154223A CN 114154223 A CN114154223 A CN 114154223A CN 202111511175 A CN202111511175 A CN 202111511175A CN 114154223 A CN114154223 A CN 114154223A
Authority
CN
China
Prior art keywords
dimensional model
dimensional
base point
view
processing module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111511175.5A
Other languages
Chinese (zh)
Inventor
官澜
董建政
胡君慧
谢子骏
文卫兵
李本良
景天
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Economic And Technological Research Institute Co LtdB412 State Grid Office
State Grid Beijing Electric Power Co Ltd
PowerChina Fujian Electric Power Engineering Co Ltd
Original Assignee
State Grid Economic And Technological Research Institute Co LtdB412 State Grid Office
State Grid Beijing Electric Power Co Ltd
PowerChina Fujian Electric Power Engineering Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Economic And Technological Research Institute Co LtdB412 State Grid Office, State Grid Beijing Electric Power Co Ltd, PowerChina Fujian Electric Power Engineering Co Ltd filed Critical State Grid Economic And Technological Research Institute Co LtdB412 State Grid Office
Priority to CN202111511175.5A priority Critical patent/CN114154223A/en
Publication of CN114154223A publication Critical patent/CN114154223A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Civil Engineering (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Computer Graphics (AREA)
  • Software Systems (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention relates to a method, a system, a storage medium and equipment for generating a two-dimensional engineering drawing by a three-dimensional model, which comprises the following steps: carrying out lightweight treatment on the three-dimensional model; determining a three-dimensional model insertion base point after lightweight processing; taking the inserted base point as a positioning point, acquiring each direction view of the three-dimensional model and storing the view into a database; sectioning the three-dimensional model, and selecting a space range needing to be mapped; and carrying out two-dimensional replacement on the three-dimensional model selected after the cutting according to the selected view direction, and printing a drawing. The method can quickly and efficiently generate the two-dimensional engineering drawing from the three-dimensional model, and has higher efficiency. The high-order blanking algorithm is reduced in order, and the processing speed is increased. The method can be widely applied to the technical field of three-dimensional modeling of power transmission and transformation engineering.

Description

Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model
Technical Field
The invention relates to the technical field of three-dimensional modeling of power transmission and transformation projects, in particular to a method, a system, a storage medium and equipment for generating a two-dimensional engineering drawing by a three-dimensional model.
Background
In the engineering design industry, from the historical development, the design means realizes two big changes, firstly, in the middle of the nineties of the twentieth century, along with the popularization of computer technology, the original manual hand-drawing design is gradually developed into the two-dimensional layout design on a computer; secondly, with the continuous development of computer hardware and software technology, the two-dimensional layout design is gradually replaced by the three-dimensional layout design and the automatic drawing.
Compared with a two-dimensional engineering drawing, the three-dimensional model covers richer spatial information. In the process of converting the three-dimensional model into the two-dimensional engineering drawing, a blanking algorithm is required to judge the spatial positions of all geometric units of the three-dimensional model, display the visible part of the view and hide the invisible part of the view so as to satisfy the cognition of engineering personnel on the spatial positions of all parts of the transformer substation. Particularly, when the number of devices covered by the transformer substation model is large, the workload of the blanking algorithm is huge, and long waiting time is needed for generating a two-dimensional engineering drawing from the three-dimensional model, so that the working efficiency of designers is greatly influenced.
Disclosure of Invention
In view of the above problems, an object of the present invention is to provide a method, a system, a storage medium and a device for generating a two-dimensional engineering drawing from a three-dimensional model, which can generate a two-dimensional engineering drawing from a three-dimensional model quickly and efficiently with high efficiency.
In order to achieve the purpose, the invention adopts the following technical scheme: a method of generating a two-dimensional engineering drawing from a three-dimensional model, comprising: carrying out lightweight treatment on the three-dimensional model; determining a three-dimensional model insertion base point after lightweight processing; taking the inserted base point as a positioning point, acquiring each direction view of the three-dimensional model and storing the view into a database; sectioning the three-dimensional model, and selecting a space range needing to be mapped; and carrying out two-dimensional replacement on the three-dimensional model selected after the cutting according to the selected view direction, and printing a drawing.
Further, the performing of the lightweight processing on the three-dimensional model includes: minute parts having a size smaller than a set threshold are deleted, and sub-parts having no surface directly exposed to air are deleted.
Further, the determining the three-dimensional model insertion base point after the weight reduction process includes: the geometric center of the three-dimensional model is selected as the insertion base point.
Further, the two-dimensional replacement of the three-dimensional model selected after the dissection according to the selected view direction includes: and replacing the three-dimensional model with the view direction according to the selected view direction and the insertion base point.
A system for generating a two-dimensional engineering drawing by a three-dimensional model comprises a first processing module, a second processing module, a third processing module, a sectioning module and a conversion module; the first processing module is used for carrying out lightweight processing on the three-dimensional model; the second processing module determines a three-dimensional model insertion base point after the weight reduction processing; the third processing module takes the inserted base point as a positioning point, acquires each direction view of the three-dimensional model and stores the view into a database; the sectioning module is used for sectioning the three-dimensional model and selecting a space range needing to be drawn; and the conversion module performs two-dimensional replacement on the three-dimensional model selected after sectioning according to the selected view direction, and prints a drawing.
Further, in the first processing module, minute parts having a size smaller than a set threshold are deleted, and sub-parts having no surface directly exposed to the air are deleted.
Further, in the second processing module, a geometric center of the three-dimensional model is selected as an insertion base point.
Further, in the conversion module, the three-dimensional model is replaced by the selected view direction according to the insertion base point.
A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the above methods.
A computing device, comprising: one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the above-described methods.
Due to the adoption of the technical scheme, the invention has the following advantages: the method can quickly and efficiently generate the two-dimensional engineering drawing from the three-dimensional model, and has higher efficiency. The high-order blanking algorithm is reduced in order, and the processing speed is increased.
Drawings
FIG. 1 is a schematic flow chart of a method in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
In a first embodiment of the present invention, as shown in fig. 1, there is provided a method for generating a two-dimensional engineering drawing by a three-dimensional model, comprising:
step 1, carrying out lightweight treatment on a three-dimensional model;
deleting tiny parts with the size smaller than a set threshold value, and deleting sub-parts without surfaces directly exposed to air;
for example, for the transformer model, the flange bolts on the transformer are omitted, and the core model is hidden inside the transformer.
Step 2, determining a three-dimensional model insertion base point after lightweight processing;
in the present embodiment, the geometric center of the three-dimensional model may be selected as the insertion base point; for example, the geometric center of the transformer model is selected as the insertion base point.
Step 3, taking the inserted base point as a positioning point, acquiring each direction view of the three-dimensional model and storing the view into a database;
for example, the front, back, left, right and top views of the transformer model can be obtained and stored in a database; these 5 views have the insertion base point as the anchor point.
Step 4, sectioning the three-dimensional model, and selecting a space range needing to be mapped;
for example, a substation model is cut, and a main transformer area is selected as a space range required to be mapped.
Step 5, carrying out two-dimensional replacement on the three-dimensional model selected after the cutting according to the selected view direction, completing the conversion of the two-dimensional engineering drawing, and printing the drawing;
the method specifically comprises the following steps: replacing the three-dimensional model in the view direction according to the selected view direction and the insertion base point;
for example, a plan view angle is selected for a spatial range of a main transformer region, and a three-dimensional model is replaced with a plan view of a transformer according to an insertion base point.
According to the habit of project drawing, electrical equipment and materials are arranged on the top layer of the two-dimensional project drawing, and civil engineering facilities and the like are arranged on the bottom layer of the two-dimensional project drawing.
According to the distance between the equipment and the visual angle, the electrical equipment and the materials are replaced one by one from far to near.
In a second embodiment of the present invention, a system for generating a two-dimensional engineering drawing by a three-dimensional model is provided, which comprises a first processing module, a second processing module, a third processing module, a sectioning module and a conversion module;
the first processing module is used for carrying out lightweight processing on the three-dimensional model;
the second processing module determines a three-dimensional model insertion base point after the lightweight processing;
the third processing module takes the inserted base point as a positioning point, acquires each direction view of the three-dimensional model and stores the view into a database;
the sectioning module is used for sectioning the three-dimensional model and selecting a space range needing to be drawn;
and the conversion module performs two-dimensional replacement on the three-dimensional model selected after sectioning according to the selected view direction, and prints the drawing.
In the above embodiment, in the first processing module, minute parts having a size smaller than a set threshold are deleted, and sub-parts having no surface directly exposed to the air are deleted.
In the above-described embodiment, in the second processing module, the geometric center of the three-dimensional model is selected as the insertion base point.
In the above embodiment, in the conversion module, the three-dimensional model is replaced with the view direction according to the insertion base point according to the selected view direction.
In a third embodiment of the invention, there is provided a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of the first embodiment described above.
In a fourth embodiment of the present invention, there is provided a computing device comprising: one or more processors, memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of the first embodiment described above.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.

Claims (10)

1. A method for generating a two-dimensional engineering drawing by a three-dimensional model is characterized by comprising the following steps:
carrying out lightweight treatment on the three-dimensional model;
determining a three-dimensional model insertion base point after lightweight processing;
taking the inserted base point as a positioning point, acquiring each direction view of the three-dimensional model and storing the view into a database;
sectioning the three-dimensional model, and selecting a space range needing to be mapped;
and carrying out two-dimensional replacement on the three-dimensional model selected after the cutting according to the selected view direction, and printing a drawing.
2. The method of claim 1, wherein the lightening the three-dimensional model comprises: minute parts having a size smaller than a set threshold are deleted, and sub-parts having no surface directly exposed to air are deleted.
3. The method of claim 1, wherein the determining the three-dimensional model insertion base point after the weight reduction process comprises: the geometric center of the three-dimensional model is selected as the insertion base point.
4. The method of claim 1, wherein said two-dimensional replacement of the three-dimensional model selected after the dissection in the selected view direction comprises: and replacing the three-dimensional model with the view direction according to the selected view direction and the insertion base point.
5. A system for generating a two-dimensional engineering drawing by a three-dimensional model is characterized by comprising a first processing module, a second processing module, a third processing module, a sectioning module and a conversion module;
the first processing module is used for carrying out lightweight processing on the three-dimensional model;
the second processing module determines a three-dimensional model insertion base point after the weight reduction processing;
the third processing module takes the inserted base point as a positioning point, acquires each direction view of the three-dimensional model and stores the view into a database;
the sectioning module is used for sectioning the three-dimensional model and selecting a space range needing to be drawn;
and the conversion module performs two-dimensional replacement on the three-dimensional model selected after sectioning according to the selected view direction, and prints a drawing.
6. The system of claim 5, wherein in the first processing module, the tiny components with the size smaller than the set threshold are deleted, and the sub-components without surface directly exposed to air are deleted.
7. The system of claim 5, wherein the second processing module selects a geometric center of the three-dimensional model as the insertion base point.
8. The system of claim 5, wherein the transformation module replaces the three-dimensional model with the view orientation based on the insertion of the base point in the selected view orientation.
9. A computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a computing device, cause the computing device to perform any of the methods of claims 1-4.
10. A computing device, comprising: one or more processors, memory, and one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for performing any of the methods of claims 1-4.
CN202111511175.5A 2021-12-03 2021-12-03 Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model Pending CN114154223A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111511175.5A CN114154223A (en) 2021-12-03 2021-12-03 Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111511175.5A CN114154223A (en) 2021-12-03 2021-12-03 Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model

Publications (1)

Publication Number Publication Date
CN114154223A true CN114154223A (en) 2022-03-08

Family

ID=80450628

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111511175.5A Pending CN114154223A (en) 2021-12-03 2021-12-03 Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model

Country Status (1)

Country Link
CN (1) CN114154223A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344905A (en) * 2022-10-19 2022-11-15 青岛艾德软件有限公司 Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115344905A (en) * 2022-10-19 2022-11-15 青岛艾德软件有限公司 Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model
CN115344905B (en) * 2022-10-19 2023-02-03 青岛艾德软件有限公司 Method and system for automatically generating two-dimensional engineering drawing based on three-dimensional model

Similar Documents

Publication Publication Date Title
CN108648269B (en) Method and system for singulating three-dimensional building models
CN103021024A (en) Method displaying electromagnetic field of converting station in three-dimensional and visual mode
CN114266093A (en) Standardized BIM model lightweight realization method
KR102620835B1 (en) CityGML-based building object information generation method using 3D geometric object information, building object information generation system, and computer program therefor
CN110647596B (en) Map data processing method and device
KR101614065B1 (en) Method and system for reducing 3d modeling data
CN113724401B (en) Three-dimensional model cutting method and device, computer equipment and storage medium
CN112598793A (en) Three-dimensional map tile vector grid integrated system and method
CN115601523A (en) Lightweight processing method, system, equipment and storage medium for building information model
CN114154223A (en) Method, system, storage medium and equipment for generating two-dimensional engineering drawing by three-dimensional model
CN111737780B (en) Online model editing method and online model editing system
CN113010948A (en) BIM lightweight model display system
CN116310060B (en) Method, device, equipment and storage medium for rendering data
KR20080044221A (en) Treatment method for shaping of 3 dimension image using computer
WO2023028777A1 (en) Method and apparatus for automatically generating labeled image, and computer storage medium
Wang et al. Quick segmentation for complex curved surface with local geometric feature based on IGES and Open CASCADE
CN110866056B (en) Method, device and equipment for processing lightweight STEP file
CN114529706A (en) Method, device, equipment and medium for splitting target object in three-dimensional model
Priyadarshi et al. Finding mold-piece regions using computer graphics hardware
Ma et al. Research on 3D Digital Modeling of Power Grid and the Practical Key Technologies based on GIM
CN113808252B (en) Three-dimensional model step-by-step reconstruction method based on interactive labels and macros
KR20140062253A (en) System and method for electric installation design
CN108920860A (en) A kind of GIL piping lane Engineering Digital modeling method
Xu et al. Construction of virtual campus information system
CN112614046B (en) Method and device for drawing three-dimensional model on two-dimensional plane

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination