CN109165401B - Method and device for generating two-dimensional construction map based on civil structure three-dimensional model - Google Patents

Method and device for generating two-dimensional construction map based on civil structure three-dimensional model Download PDF

Info

Publication number
CN109165401B
CN109165401B CN201810745681.2A CN201810745681A CN109165401B CN 109165401 B CN109165401 B CN 109165401B CN 201810745681 A CN201810745681 A CN 201810745681A CN 109165401 B CN109165401 B CN 109165401B
Authority
CN
China
Prior art keywords
information
target
dimensional
range
marking
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.)
Active
Application number
CN201810745681.2A
Other languages
Chinese (zh)
Other versions
CN109165401A (en
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 Nuclear Electric Power Planning Design and Research Institute Co Ltd
Original Assignee
State Nuclear Electric Power Planning Design and Research Institute 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 Nuclear Electric Power Planning Design and Research Institute Co Ltd filed Critical State Nuclear Electric Power Planning Design and Research Institute Co Ltd
Priority to CN201810745681.2A priority Critical patent/CN109165401B/en
Publication of CN109165401A publication Critical patent/CN109165401A/en
Application granted granted Critical
Publication of CN109165401B publication Critical patent/CN109165401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Architecture (AREA)
  • Civil Engineering (AREA)
  • Structural Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Processing Or Creating Images (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention discloses a method and a device for generating a two-dimensional construction drawing based on a three-dimensional model of a civil structure, belonging to the technical field of computer drawing. The method comprises the following steps: the method comprises the steps of obtaining a three-dimensional model of a civil structure, analyzing the three-dimensional model of the civil structure into a predefined data structure to be used as information data to be stored, importing the information data into a drawing platform, drawing a two-dimensional expression graph according to a determined drawing range and a target object, and marking the determined target marking information and preset marking information according to preset marking rules. By adopting the method, the self-defined symbols and legends can be adopted, the marking information can be automatically added, the construction drawing which can be directly used can be automatically generated, and later adjustment and modification of the drawing are not needed, namely, the two-dimensional construction drawing which can be directly used is generated by the three-dimensional model of the civil engineering structure.

Description

Method and device for generating two-dimensional construction map based on civil structure three-dimensional model
Technical Field
The invention relates to the technical field of computer drawing, in particular to a method and a device for generating a two-dimensional construction drawing based on a three-dimensional model of a civil engineering structure.
Background
Factory three-dimensional design management systems (PDMS, SP3D, etc.) are now widely used in engineering design and construction processes.
At present, civil engineering professional modeling and drawing generally firstly establishes a three-dimensional model of a civil engineering structure, adopts a drawing module to project the three-dimensional model into a two-dimensional outline drawing, and then a technician manually marks the dimension and marks other information to form a two-dimensional construction drawing.
In carrying out the invention, the inventors have found that the prior art has at least the following problems:
drawing a contour outline drawing in a direct projection mode, wherein the identification and explanation of civil engineering structural members and accessories cannot be realized, and different symbols and legends cannot be adopted to express the members and the accessories; the marking of the size and the marking sign is completed in the drawing module in a manual marking or drawing customization mode; the drawing customization is complicated, the drawing information is easy to overlap, the quality of the drawing is low, most of automatically generated drawings cannot be directly used, and a designer is required to adjust and modify the drawings in the later period.
Disclosure of Invention
In order to solve the problem that a two-dimensional building drawing which can be directly used cannot be directly derived from a three-dimensional model of a civil structure, the embodiment of the invention provides a method and a device for generating a two-dimensional construction drawing based on the three-dimensional model of the civil structure. The technical scheme is as follows:
In a first aspect, a method for generating a two-dimensional construction map based on a three-dimensional model of a civil structure is provided, the method comprising:
acquiring a three-dimensional model of a civil structure;
analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure;
information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform;
acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform;
determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range;
determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram;
drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles;
target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules.
Optionally, the method further comprises:
and determining drawing information of a drawing of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression drawing on the drawing platform.
Optionally, determining the drawing type of the target two-dimensional expression graph of the target content, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression graph includes:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of a target two-dimensional expression diagram, and determining a drawing type;
acquiring an expression pattern selection instruction of intersection content, and determining an expression pattern;
acquiring a target axis network information selection instruction of a three-dimensional model of the civil structure, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the three-dimensional model of the civil structure and used for displaying in a target two-dimensional expression diagram;
and acquiring a drawing angle setting instruction and determining a drawing angle.
Optionally, obtaining target labeling information corresponding to intersection content in the information data and preset labeling information of the drawing platform, and adding the target labeling information and the preset labeling information in the target two-dimensional expression graph according to a preset labeling rule, where the method includes:
The labeling rules comprise a merging principle and an overlapping principle;
the merging principle comprises the following steps: if the marked object is a mergeable marked object, the marked objects with the same type and the same model are obtained from the target drawing range information based on the drawing parameters, and the marked objects are marked by the same lead;
the overlapping principle includes:
if the marking range of the mark is overlapped with the existing content of the drawing, detecting the content of the drawing by taking the centroid of the mark object as a pole and n times of the height of the mark word as a pole diameter;
if no other content exists in the marking range, the marking is successful;
wherein n is an integer greater than 0.
Optionally, if the marking object is a mergeable marking object, the marking object with the same type and the same model is obtained from the target drawing range information based on the drawing parameters, and the marking of the marking object with the same lead includes:
and acquiring a preset merging range, wherein the merging range is used for determining the mark objects which are the same in size and the same type in the merging range as the mergeable mark objects.
Optionally, detecting the graph content by taking the centroid of the marked object as a pole and n times of the height of the marked object as a pole diameter, including:
if other contents exist in all the detected marking ranges of the marking in the effective drawing ranges of the drawing, the effective drawing ranges of the drawing information are enlarged, and marking is carried out on the marking objects.
Optionally, detecting the graph content by taking the centroid of the marked object as a pole and n times of the height of the marked object as a pole diameter, including:
and if other contents exist in all the detected marked ranges of the marks in the drawing, displaying an object setting interface, wherein the object selecting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
Optionally, obtaining target labeling information corresponding to intersection content in the information data and preset labeling information of the drawing platform, and adding the target labeling information and the preset labeling information in the target two-dimensional expression graph according to a preset labeling rule, where the method includes:
acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target axis net of the drawing according to the axis information;
acquiring layer height information in the information data;
and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
In a second aspect, there is provided an apparatus for generating a two-dimensional construction map based on a three-dimensional model of a civil structure, the apparatus comprising:
the first acquisition module is used for acquiring a three-dimensional model of the civil structure;
the storage module is used for analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure;
The importing module is used for importing information data of the three-dimensional model of the civil engineering structure into the drawing platform;
the second acquisition module is used for acquiring two-dimensional symbols and legend information corresponding to the object information in the drawing platform;
the third acquisition module is used for determining the drawing range of the target object to be drawn and the three-dimensional model of the civil structure based on the information data in the drawing platform and acquiring intersection content of the target object and the drawing range;
the first determining module is used for determining the drawing type of the target two-dimensional expression diagram of the target content, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression diagram;
the drawing module is used for drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to the drawing type, the expression pattern, the two-dimensional symbol, the legend information and the drawing angle;
the marking module is used for acquiring target marking information corresponding to intersection content in the information data and preset marking information of the drawing platform, and adding the target marking information and the preset marking information into the target two-dimensional expression graph according to a preset marking rule.
Optionally, the apparatus further comprises:
and the second determining module is used for determining drawing information of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression drawing on the drawing platform.
Optionally, the first determining module is configured to:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of a target two-dimensional expression diagram, and determining a drawing type;
acquiring an expression pattern selection instruction of intersection content, and determining an expression pattern;
acquiring a target axis network information selection instruction of a three-dimensional model of the civil structure, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the three-dimensional model of the civil structure and used for displaying in a target two-dimensional expression diagram;
and acquiring a drawing angle setting instruction and determining a drawing angle.
Optionally, the labeling module is configured to:
the labeling module comprises a merging sub-module and an overlapping sub-module;
the merging submodule is used for: if the marked object is a mergeable marked object, the marked objects with the same type and the same model are obtained from the target drawing range information based on the drawing parameters, and the marked objects are marked by the same lead;
the overlapping submodule is used for:
if the marking range of the mark is overlapped with the existing content of the drawing, detecting the content of the drawing by taking the centroid of the mark object as a pole and n times of the height of the mark word as a pole diameter;
If no other content exists in the marking range, the marking is successful;
wherein n is an integer greater than 0.
Optionally, the merging sub-module is configured to:
and acquiring a preset merging range, wherein the merging range is used for determining the mark objects which are the same in size and the same type in the merging range as the mergeable mark objects.
Optionally, the overlapping sub-module is configured to:
if other contents exist in all the detected marking ranges of the marking in the effective drawing ranges of the drawing, the effective drawing ranges of the drawing information are enlarged, and marking is carried out on the marking objects.
Optionally, the overlapping sub-module is configured to:
and if other contents exist in all the detected marked ranges of the marks in the drawing, displaying an object setting interface, wherein the object selecting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
Optionally, the labeling module is configured to:
acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target axis net of the drawing according to the axis information;
acquiring layer height information in the information data;
and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
The technical scheme provided by the embodiment of the invention has the beneficial effects that:
in the embodiment of the invention, a three-dimensional model of a civil structure is obtained; analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure; information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform; acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform; determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range; determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram; drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles; target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules. Therefore, only the target object and the display range of the target two-dimensional expression graph to be displayed are selected in the two-dimensional platform, and a part of parameters are set, so that the target two-dimensional expression graph can be directly drawn according to the drawing rule according to the set parameters, overlapping of graph information does not occur, expression modes of different accessories and components can be set, the graph information is enriched, marks and symbols required by construction can be automatically marked according to the marking rule according to the parameters, manual marking is not needed, the obtained graph is clear, adjustment and modification are not needed, the graph can be directly used for construction, and the two-dimensional construction graph which can be directly used for generating the three-dimensional model based on the civil engineering structure is realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present invention, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for generating a two-dimensional construction map based on a three-dimensional model of a civil structure provided by an embodiment of the invention;
FIG. 2 is a schematic structural diagram of a three-dimensional model of a civil structure according to an embodiment of the present invention;
FIG. 3 is a hierarchical structure diagram of a civil structure according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a process for generating a two-dimensional construction map based on a three-dimensional model of a civil structure according to an embodiment of the present invention;
FIG. 5 is a flow chart of a drawing platform drawing method for generating a two-dimensional construction drawing based on a three-dimensional model of a civil structure, which is provided by the embodiment of the invention;
FIG. 6 is a flowchart of a labeling method for a drawing platform for generating a two-dimensional construction drawing based on a three-dimensional model of a civil structure according to an embodiment of the present invention;
FIG. 7 is a flowchart of automatic labeling of a three-dimensional model based on a civil structure according to an embodiment of the present invention;
FIG. 8 is a schematic diagram of a device for generating a two-dimensional construction map based on a three-dimensional model of a civil engineering structure according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a terminal structure for generating a two-dimensional construction map based on a three-dimensional model of a civil engineering structure according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention clearer, exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
Example 1
The embodiment of the invention provides a method for analyzing a three-dimensional model of a civil structure and generating a two-dimensional construction drawing, which can be realized by a terminal, wherein the terminal is provided with related drawing software. The terminal may include a processor, memory, screen, etc. The processor may be a CPU (Central Processing Unit ) or the like, and may be configured to receive instructions, perform related processing such as drawing and labeling, and control the display to perform processing such as display. The memory may be RAM (Random Access Memory ), flash (Flash memory), or the like, and may be used to store read data, data required for a processing procedure, data generated during a processing procedure, or the like, such as information data, system data, control pages, or the like. The screen may be a touch screen, may be used to display control pages, etc. The terminal may also include input means, such as a keyboard, a mouse, etc. of a computer terminal, which may be used for operating the terminal, for example, inputting instructions to the terminal, writing data, etc.
As shown in fig. 1, the process flow of the method may include the following steps:
and step 101, acquiring a three-dimensional model diagram of the civil engineering structure.
In practice, an engineering technician may draw an engineering drawing (i.e., a target two-dimensional representation) of the building structure to be built, and then submit the target two-dimensional representation to a constructor for construction. Specifically, the engineering technician may draw a three-dimensional model of the building to be built (i.e., a three-dimensional model of a civil engineering structure) on a three-dimensional design platform on the terminal, and then obtain the three-dimensional model of the civil engineering structure built in the three-dimensional design platform, for example, the three-dimensional design platform may be three-dimensional design software such as AVEVA-PDMS (factory three-dimensional layout management system VANTAGE Plant Design System), solidWorks, SP3D (SmartPlant 3D), and the like. The method comprises the steps of acquiring a three-dimensional model of a civil structure built in a three-dimensional design platform, and designing and acquiring the three-dimensional model of the civil structure from the three-dimensional design platform, or directly acquiring the three-dimensional model of the civil structure in a related file stored in the three-dimensional model of the civil structure.
And 102, analyzing the three-dimensional model of the civil structure to obtain object information of each object, and storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object and storing the object information as information data of the three-dimensional model of the civil structure.
In implementation, as shown in fig. 2, the three-dimensional model of the civil structure is parsed to obtain object information such as names, sizes and the like of objects in the three-dimensional model of the civil structure, and meanwhile, the object information includes a hierarchical relationship, and the hierarchy of the three-dimensional model of the civil structure includes a civil structure integral set, a civil structure region set, a member, a floor slab and an attachment.
As shown in fig. 3, a data structure including the hierarchical relationship of the above-mentioned civil structure including the axis network information is defined in advance by a program language, the three-dimensional model of the civil structure obtained in step 101 is parsed, and the parsed data is stored in the defined data structure of each hierarchy. The axis net information refers to axis information of x-axis, y-axis, z-axis in the three-dimensional platform and a positioning axis in the three-dimensional civil structure (a center line of a beam, a wall, or a column, or other lines that may be used to represent the positioning axis in the three-dimensional civil structure). The information data of the analyzed three-dimensional structure model comprises shaft network information, integrally combined identification information, integrally combined position information, civil structure area combined identification information, position information and the like, and the identification information and the position information of each level of the civil structure three-dimensional model are included; in addition, the information data of the resolved three-dimensional structure model also comprises the topological relation between the component and the accessory contained in the component and the topological relation between the floor slab and the accessory contained in the floor slab.
After the data structure of each level of the civil structure three-dimensional model is defined by adopting a program language, the concrete process of storing information data can be to sequentially scan the civil structure three-dimensional model according to the levels, acquire related information and store the related information in the defined data structure. The information stored in the data structures of each level of the three-dimensional model of the civil structure in step 102 is stored in an independent database, or may be converted into an intermediate file in the form of an XML file or the like, and the converted intermediate file is stored in the independent database as information data of the three-dimensional model of the civil structure, for example, the database may be an MS SQLSever2015 database. In computers, the data may be stored in the form of a data table, as shown in Table 1
Table 1 tables in database
Taking the three-dimensional model of fig. 2 as an example, the model comprises 4 concrete columns (column-001-column-004), 4 concrete beams (beam-001-beam-004) and 1 floor slab (floor slab-001). 1 concrete bracket (N30-3050) is arranged on each of the column-001 and the column-002, and 1 steel beam (beam-005) is arranged on each bracket; the beam-001 side has 1 lug (TR 250×400); two ends of the beam-004 are provided with 2 horizontal haunching plates, 1 steel plate embedded part (M3520B 2) is arranged in the middle of the beam-004, and a floor slab-001 is provided with 1 hole with the diameter of 1500 mm.
Its table and header in the database is shown in table 2:
table 2 tables and headers in a database
The civil structure three-dimensional model comprises 1 whole collection table (comprising 1 data record), 1 region collection table (comprising 1 data record), 1 component table (comprising 9 data records), 1 floor table (comprising 1 data record), 1 bracket table (comprising 2 data records), 1 ear picking table (comprising 1 data record), 1 haunching table (comprising 2 data records), 1 buried table (comprising 1 data record), and 1 hole table (comprising 1 data record).
And step 103, importing the information data of the three-dimensional model of the civil engineering structure into a drawing platform.
In practice, the drawing platform may be opened and then the information data of the three-dimensional model of the civil structure stored in the database is imported into the drawing platform. For example, as shown in fig. 4, the import process of the model is that a three-dimensional model of a civil structure generated on a three-dimensional design platform AVEVA-PDMS (or a three-dimensional drawing platform such as SP 3D) is stored in a data structure defined by c# or c++ language or pml.net language, etc., then information in the data structure is stored in a separate database, or is converted into an intermediate file such as an XML file to be stored in the separate database, a CAD (computer aided design ) is opened, and then information stored in the database is imported into the CAD through a model conversion interface.
Alternatively, the drawing information of the drawing plane of the drawing platform may be determined after the information data is imported into the drawing platform, and the specific process may be as follows: and determining drawing information of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression drawing on the drawing platform.
In implementation, the engineering technician can set or select the drawing information such as the dimension (i.e. the effective display range) and the effective dimension (the effective drawing range) of the drawing by displaying the drawing setting interface, for example, the page type or the effective proportion can be displayed, the user can set the drawing information by inputting the relevant dimension, the paper types A3, A4 and the like can also be directly displayed, and the user directly selects the paper type to obtain the corresponding drawing size. The effective display range is slightly larger than the effective drawing range, so that drawing staff can intuitively know the size of the target two-dimensional expression diagram on a drawing in the drawing process or the labeling process, and further the target drawing range or drawing information is adjusted.
And 104, acquiring two-dimensional symbol and legend information corresponding to intersection content in the drawing platform.
In the implementation, after the information data of the three-dimensional model of the civil structure is imported to the drawing platform, the data in the information data and the database of the drawing platform can be searched, and two-dimensional symbols and legend information (the two-dimensional symbols and the legend information are also collectively called as two-dimensional legend symbols in engineering) corresponding to object information in the three-dimensional model of the civil structure are obtained, wherein the two-dimensional symbols are representation symbols when the target object in the three-dimensional model of the civil structure corresponds to the two-dimensional platform; the legend information value refers to annotation information including information of names, lengths and the like corresponding to the object. For example, a column in a three-dimensional model of a civil structure may correspond to a double vertical line of 3 lbs. of two-dimensional symbol in two-dimensional space, and the legend information obtained may be a column, 5 units. The resulting two-dimensional symbol and legend information is stored in object information in the information data. The two-dimensional symbol and legend information on the drawing platform can be preset and stored by engineering technicians, for example, the two-dimensional symbol and legend information can be divided into a plane view style sheet, an X section view style sheet and a Y section view style sheet according to different view directions, and the content of the style sheet is shown in table 3. Wherein the object types include: axis, concrete beam, concrete column, girder steel, bracket, picking ear, haunching, embedded part, hole, etc.
TABLE 3 mapping style sheet Classification and header
That is, the two-dimensional legend symbol designates the corresponding color, line width, line type, etc. for the object in each three-dimensional model of the civil structure.
And 105, determining the drawing range of the target object to be drawn and the three-dimensional model of the civil structure based on the information data in the drawing platform, and acquiring intersection content of the target object and the drawing range.
In an implementation, after the information data of the generated three-dimensional model of the civil structure is imported to the drawing platform, an information list of the imported information data may be opened, for example, a pull-down list of the information data in a hierarchical relationship is opened. The information list may further include two-dimensional symbols and legend information corresponding to the object information obtained in step 104, and for example, the two-dimensional symbols may be displayed after the names of the object information, and the legend information may be displayed in the list corresponding to the object names. The engineering technician selects a target object and a drawing range of a target two-dimensional expression diagram (namely, a two-dimensional diagram in a two-dimensional drawing which is finally needed) from an information list displayed in the terminal through the operation terminal, wherein the target object is a target object to be drawn selected in the information list by a user. And then, the technician can also input coordinate information in the interface, and set a drawing range by taking the input coordinate point as a vertex, wherein the drawing range can be an area where a target object to be drawn is positioned in the civil structure three-dimensional model. The specific method for selecting the drawing range may also be as follows: opening a civil structure three-dimensional model in a drawing platform, and then selecting a proper three-dimensional space bounding box from the civil structure three-dimensional model by a user as a drawing range. The target object also comprises building structure axis information in the civil structure three-dimensional model.
After the drawing range and the target object are determined, the target object in the drawing range and the partial content of the target object in the drawing range can be obtained, and the partial content of the target object and the target object are used as intersection content. Specifically, when the drawing range is relatively large, the target object is in the drawing range, and at this time, the intersection content is the determined target object; when the drawing range is smaller, part of the target objects or part of one or more target objects is out of the drawing range, at this time, the intersection object is the part of the target object in the intersection range and one or more target objects in the drawing range, and the part of one or more target objects in the drawing range still retains the same information data as the target object corresponding to the part, so that the same-size same-type target object can be conveniently marked as the same-type object in the marking process.
And 106, determining the drawing type of the target two-dimensional expression diagram of the target content, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression diagram.
In practice, after determining the target drawing range information in step 105, a setting interface may be opened in the drawing platform to display all drawing types, and the user may select or input the drawing type of the target two-dimensional expression drawing according to the displayed drawing type, for example, set a front cross-sectional view and a cross-sectional depth, that is, a front cross-sectional view of a certain member, and a corresponding cross-sectional position at the current front (for example, 5 holes are provided in front and rear of the member at a front view angle, and a cross-section is determined at the position of the 3 rd hole). In addition, colors of different target objects and contents in intersection contents may be set at a setting interface of the objects, and an expression type of the objects in the target two-dimensional expression map, for example, a single line with a line type of 5 is used as a beam in the target two-dimensional expression map.
Specific examples are shown in Table 3:
TABLE 3 mapping style sheet Classification and header
Setting a reference angle, namely a drawing angle, of a target two-dimensional expression diagram to be drawn on the basis of coordinate axis information in axis network information at a drawing angle setting interface, wherein the drawing angle can be adjusted by rotating a compass, and related angle parameters can be input at the setting interface. For example, when the drawing angle is set to 90 degrees, when drawing a top view of the target two-dimensional expression map, the target two-dimensional expression map of the top view rotated by 90 degrees clockwise on the basis of the front top view is drawn.
The specific procedure for obtaining the drawing range of the plan view can be as follows: according to the target information data, the elevation of the position where the intersection content of the civil structure is located (namely the longitudinal height of the intersection content in the three-dimensional model of the civil structure) is obtained, the default view is a top view, the given upper and lower lateral offset of the elevation of the layer is obtained, and the drawing object in the target two-dimensional expression graph is determined according to the elevation of the structural layer and the upper and lower offset. The offset may be offset data preset in the drawing platform by an engineering technician.
The specific procedure for obtaining the drawing range of the sectional view may be as follows: the spatial cutting position of the sectional view is determined according to the axis, the view direction of the sectional view is designated, the offset of two sides of the given axis is determined, and the drawing range of the sectional view is determined according to the given axis position and the offset of two sides.
Alternatively, the specific process of determining the drawing type of the target two-dimensional expression map of the target content, the expression pattern of the intersection content, and the drawing angle of the target two-dimensional expression map may be as follows: displaying a parameter setting interface and acquiring a setting instruction of a user; specifically, a drawing type selection instruction of a target two-dimensional expression diagram is obtained, and the drawing type is determined; acquiring an expression pattern of intersection content, and determining the expression pattern; and acquiring a target axis network information selection instruction of the three-dimensional model of the civil structure, and determining a drawing angle. The target axis network information refers to information of building structure axes selected from building structure axes in a three-dimensional model of the civil structure for display in a target two-dimensional expression map; and acquiring a drawing angle setting instruction and determining a drawing angle.
In implementation, a parameter setting interface can be displayed, input operation of engineering technicians is detected, setting instructions related to the engineering technicians are obtained, selection instructions for selecting drawing types of target two-dimensional expression graphs by the engineering technicians can be obtained, and the drawing types selected by the engineering technicians are determined, for example, the engineering technicians can select sectional views or projection views and the like on the setting interface; the method comprises the steps that an instruction for selecting an expression pattern of intersection content by engineering technicians can be obtained, and the obtained expression pattern of a certain object set by the engineering technicians is determined to be the expression pattern of the object in a target two-dimensional expression diagram; the method comprises the steps that a selection instruction of engineering technicians on a building structure axis in the shaft network information of a three-dimensional model of the civil structure can be obtained, and the obtained building structure axis selected by the engineering technicians is determined to be target shaft network information required to be displayed in a target two-dimensional expression diagram; drawing angle data input by engineering technicians can be obtained, and the drawing angle can be determined based on the coordinate axes of the axis network information. Namely, in the parameter setting interface displayed on the interface, engineering technicians can select front view, side view, top view and other views, and select display modes such as projection view, cross-sectional view, semi-section view and the like; setting a specific expression mode of an object or content to be drawn, for example, setting a column in a target two-dimensional expression diagram as a line No. 3, setting a color of the column as red, and the like; selecting a portion of the building structure axis to be displayed; an angle of the selected projection or cross-sectional view in two-dimensional expression is set, for example, a top view on the right side, i.e., a top view with an angle of 90 degrees.
And 107, drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to the drawing type, the expression pattern, the two-dimensional symbol, the legend information and the drawing angle.
After the drawing type of the target two-dimensional expression diagram, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression diagram are obtained, drawing the target two-dimensional expression diagram according to the set expression pattern of the intersection content at a proper position in a drawing area displayed on a drawing platform, wherein the proper position in the area can be a coordinate origin of a drawing space defaulting.
And step 108, acquiring target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform, and adding the target annotation information and the preset annotation information into the target two-dimensional expression graph according to a preset annotation rule.
After the two-dimensional target expression graph is drawn, marking information selected by engineering technicians in marking information such as size, name and the like corresponding to intersection content in the information data in the imported two-dimensional platform, namely target marking information, preset marking information such as all marks of preset intersection content (namely default drawing marking information in the drawing platform) is obtained in the drawing platform, and the obtained target marking information and the preset marking information are marked on the two-dimensional target expression graph according to preset marking rules. The labeling rule can be to label a lead from the center point of a line in the target two-dimensional expression diagram, and corresponding labels are added to the unit length position at one side of the line.
Specifically, the obtained target labeling information and preset labeling information of the drawing platform may include a size labeling style, an object labeling style, and related information of a frame signature column, as shown in table 4 (size labeling style), table 5 (object labeling style), and table 6 (frame and signature column style):
/>
table 4 size-annotated style sheet Classification and header
TABLE 5 object markup style sheet Classification and header
Table 6 frame and sign column style sheet classification and header
Optionally, the object labeling process for the target two-dimensional expression graph may specifically be as follows: the labeling rules comprise a merging principle and an overlapping principle; the merging principle comprises the following steps: if the marked object is a mergeable marked object, the marked objects with the same type and the same model are obtained from the target drawing range information based on the drawing parameters, and the marked objects are marked by the same lead; the overlapping principle includes: if the marking range of the mark is overlapped with the existing content of the drawing, detecting the content of the drawing by taking the centroid of the mark object as a pole and n times of the height of the mark word as a pole diameter; if no other content exists in the marking range, the marking is successful; wherein n is an integer greater than 0.
In implementation, the labeling rule may include a merging principle and an overlapping principle, and in the labeling process, if the types and the types of the labeled objects are the same, the labeled objects with the same types and types may be used as the mergeable labeled objects, and the same lead is used for labeling during labeling, i.e. the merging principle. If the marked range is overlapped with the content existing in the drawing, the centroid of the marked object is taken as the polar center, the content of the drawing is detected according to the clockwise or anticlockwise direction by taking n times of the height of the marked font as the polar path, and the marking is successful when no other content in the marked range is detected, namely the overlapping principle. Wherein n is an integer greater than 0.
Alternatively, when labeling is performed by adopting the merging principle, the following may be specifically mentioned: and acquiring a preset merging range, wherein the merging range is used for determining the mark objects which are the same in size and the same type in the merging range as the mergeable mark objects.
In the implementation, in the process of marking the target two-dimensional expression graph by adopting the merging principle, a merging range can be preset, namely, the merging mark objects in a certain range are led out by adopting the same lead, one mark is used for representing the merging mark objects in the merging range, the merging mark objects outside the merging range can be marked by adopting a simplified marking method, for example, the merging mark objects outside the merging mark range only mark names, models and the like, and the marks of the objects which are identical with the merging mark objects in the merging range can be determined.
The method for determining that the same mark is used for marking the mergeable mark object can be to uniformly mark the mergeable mark object in a circular range by taking the centroid of any mergeable mark object as a circle (or other geometric figures) and taking the preset length as a radius. The process of merging the ranges with the rectangle can be as follows: and uniformly marking the mergeable mark objects in the rectangular range by taking the centroid of any mergeable mark object as the centroid of the corresponding rectangle, taking the preset length as half of the diagonal line of the rectangle, and determining the rectangular range according to preset rectangular information (for example, the rectangular information is the rectangle with the hook ratio of 3:4, or the square and the like).
It is also possible to uniformly mark only the mergeable marker objects in the merging range where the mergeable marker objects are most, and to simply mark the mergeable marker objects outside the merging range.
Alternatively, the specific process of marking by using the overlay mark rule may be as follows: if other contents exist in the marking range of all the detected marks in the effective drawing range of the drawing, the effective drawing range of the drawing information is enlarged, and then the marked objects are marked.
In the implementation, in the process of marking the target two-dimensional expression graph according to the overlapping rule, if other contents exist in all detected marking ranges to be marked in the current graph, namely, the current graph does not have a position capable of being marked, the effective drawing range of the graph information can be enlarged, the marking object is marked, the effective drawing range of the graph information is enlarged, and for example, the terminal can automatically switch the paper type with the size which is one number larger than the current selected paper size to be used as the effective drawing range.
Or if other contents exist in all the detected marking ranges to be marked in the current drawing, namely, when the current drawing has no marking position, displaying an interface for setting the object, namely, an object setting interface, and through the displayed object setting interface, a user can reset the target object and the drawing range, determine a new intersection object slightly smaller than the previous intersection object, redraw the target two-dimensional expression diagram and mark the two-dimensional expression diagram.
Optionally, the labeling of the intersection content includes: axis information in the target axis network information is obtained, and axis sizes and axis numbers are marked on the left side and the lower side of the target axis network of the drawing according to the axis information; acquiring layer height information in the information data; and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
In the implementation, the building structure axis information and the layer height information of the whole civil structure three-dimensional model where the selected target object is located can be obtained from the target axis information, the dimension of the central axis of the target axis is marked on the left side of the building structure axis, and the axis number of the axis information is marked on the lower side; the left side of the target two-dimensional expression graph on the graph plane is marked with the layer height. When marking the layer height and the size of the target object in the intersection content, the target object in the two-dimensional expression diagram can be positioned first, the size information is marked on the left side of the target object, and the layer height information is marked on the left side of the size information of the target object.
Alternatively, the marking of the level and size in the intersection content may be performed using other marking rules that may be implemented, for example, marking the right side or the upper side of the marked object.
Alternatively, the labeling principle of the object image positioning size can be as follows: (1) preferentially adopting positioning labeling with the nearest axis; (2) If other target objects which are marked and positioned exist between the target object and the nearest axis, the positioning mark of the other similar target objects is adopted as the object mark of the target object; (3) If there is another object that has been marked and positioned between the target object and the nearest axis, marking is performed with the nearest axis within or outside the mark of the other object, for example, the target object is a column, there is another member on the column, and when the positioning size is marked, the positioning size of the column is marked outside the mark of the other member.
Alternatively, the object dimensioning principle may be as follows: (1) Objects of the same type are marked only once, and the other objects are marked only with codes. (2) The model or size of the object is expressed in the label of the object, and the object size may not be marked, for example: the label Z800x1000 represents a column with a cross-sectional dimension of 800 mm wide and 1000 mm long, which does not require labeling of the object dimensions.
The frame and the icon can be displayed according to preset contents after the labeling is completed, for example, when a target object is selected, the selection of the frame and the icon can be increased, so that the designated position (generally the position at the lower right corner) in the drawing after the labeling is completed.
Alternatively, as shown in fig. 5, the drawing process on the drawing platform may be as follows:
step 331: reading information of a three-dimensional model of the civil structure from a third-party independent database;
step 332: acquiring a setting instruction of a user, and determining a drawing range in a target two-dimensional expression diagram;
step 333: according to the determined drawing range, determining target axis network information and a target object to be drawn;
step 334: determining a drawing proportion and an expression pattern of each target object according to a setting instruction of a user;
step 335: and circularly selecting each target object of each type, and sequentially drawing according to the determined expression patterns until the drawing of the two-dimensional expression graph is completed.
Alternatively, as shown in fig. 6, the labeling process for the object in the two-dimensional representation may be as follows:
step 41: according to the target shaft network information, sequentially drawing the size label and the axis number of each axis in the target shaft network according to a rule determined by a setting instruction;
step 42: according to the layer height information, dimension marking and elevation information of each layer are set in sequence according to rules determined by the setting instruction;
step 43: sequentially setting the size labels of the target objects according to the information data of the three-dimensional model of the civil structure and the rule determined by the setting instruction;
Step 44: sequentially setting marks of the target object according to the information data of the three-dimensional model of the civil structure and rules determined by the setting instruction, and processing the merging of the marks and the overlapping problem of the marks;
step 45: drawing a picture frame and a picture label according to a rule determined by the setting instruction and according to the effective drawing range of the picture.
Alternatively, as shown in FIG. 7, the automatic labeling process using a computer program of step 108 may be as follows:
step 441: sequentially drawing information marks of various model objects according to the information data of the three-dimensional model of the civil structure and the setting of engineering technicians or programs;
s442: if the marked object is a mergeable marked object, executing S443; if no merging is required, S444 is executed;
s443: according to a merging principle set by engineering technicians or programs, guiding a plurality of objects to preset positions by using the same lead wire for unified marking;
s444: if the mark overlaps with the existing drawing content, S445 is performed; if not, executing S446;
s445: processing the label overlapping problem according to the setting principle of engineering technicians or programs to finish the object label;
s446: if all the object markers are not completed, S441 is executed; if so, the process ends.
In the embodiment of the invention, a three-dimensional model of a civil structure is obtained; analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure; information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform; acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform; determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range; determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram; drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles; target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules. Therefore, only the target object and the display range of the target two-dimensional expression graph to be displayed are selected in the two-dimensional platform, and a part of parameters are set, so that the target two-dimensional expression graph can be directly drawn according to the drawing rule according to the set parameters, overlapping of graph information does not occur, expression modes of different accessories and components can be set, the graph information is enriched, marks and symbols required by construction can be automatically marked according to the marking rule according to the parameters, manual marking is not needed, the obtained graph is clear, adjustment and modification are not needed, the graph can be directly used for construction, and the two-dimensional construction graph which can be directly used for generating the three-dimensional model based on the civil engineering structure is realized.
Example two
Based on the same technical concept, the embodiment of the invention also provides a device for generating a two-dimensional construction map based on a three-dimensional model of a civil structure, as shown in fig. 8, the device comprises:
the first acquisition module is used for acquiring a three-dimensional model of the civil structure;
the storage module is used for analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure;
the importing module is used for importing information data of the three-dimensional model of the civil engineering structure into the drawing platform;
the second acquisition module is used for acquiring two-dimensional symbols and legend information corresponding to the object information in the drawing platform;
the third acquisition module is used for determining the drawing range of the target object to be drawn and the three-dimensional model of the civil structure based on the information data in the drawing platform and acquiring intersection content of the target object and the drawing range;
the first determining module is used for determining the drawing type of the target two-dimensional expression diagram of the target content, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression diagram;
The drawing module is used for drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to the drawing type, the expression pattern, the two-dimensional symbol, the legend information and the drawing angle;
the marking module is used for acquiring target marking information corresponding to intersection content in the information data and preset marking information of the drawing platform, and adding the target marking information and the preset marking information into the target two-dimensional expression graph according to a preset marking rule.
Optionally, the apparatus further comprises:
and the second determining module is used for determining drawing information of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression drawing on the drawing platform.
Optionally, the first determining module is configured to:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of a target two-dimensional expression diagram, and determining a drawing type;
acquiring an expression pattern selection instruction of intersection content, and determining an expression pattern;
acquiring a target axis network information selection instruction of a three-dimensional model of the civil structure, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the three-dimensional model of the civil structure and used for displaying in a target two-dimensional expression diagram;
And acquiring a drawing angle setting instruction and determining a drawing angle.
Optionally, the labeling module is configured to:
the labeling module comprises a merging sub-module and an overlapping sub-module;
the merging submodule is used for: if the marked object is a mergeable marked object, the marked objects with the same type and the same model are obtained from the target drawing range information based on the drawing parameters, and the marked objects are marked by the same lead;
the overlapping submodule is used for:
if the marking range of the mark is overlapped with the existing content of the drawing, detecting the content of the drawing by taking the centroid of the mark object as a pole and n times of the height of the mark word as a pole diameter;
if no other content exists in the marking range, the marking is successful;
wherein n is an integer greater than 0.
Optionally, the merging sub-module is configured to:
and acquiring a preset merging range, wherein the merging range is used for determining the mark objects which are the same in size and the same type in the merging range as the mergeable mark objects.
Optionally, the overlapping sub-module is configured to:
if other contents exist in all the detected marking ranges of the marking in the effective drawing ranges of the drawing, the effective drawing ranges of the drawing information are enlarged, and marking is carried out on the marking objects.
Optionally, the overlapping sub-module is configured to:
and if other contents exist in all the detected marked ranges of the marks in the drawing, displaying an object setting interface, wherein the object selecting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
Optionally, the labeling module is configured to:
acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target axis net of the drawing according to the axis information;
acquiring layer height information in the information data;
and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
In the embodiment of the invention, a three-dimensional model of a civil structure is obtained; analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure; information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform; acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform; determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range; determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram; drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles; target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules. Therefore, only the target object and the display range of the target two-dimensional expression graph to be displayed are selected in the two-dimensional platform, and a part of parameters are set, so that the target two-dimensional expression graph can be directly drawn according to the drawing rule according to the set parameters, overlapping of graph information does not occur, expression modes of different accessories and components can be set, the graph information is enriched, marks and symbols required by construction can be automatically marked according to the marking rule according to the parameters, manual marking is not needed, the obtained graph is clear, adjustment and modification are not needed, the graph can be directly used for construction, and the two-dimensional construction graph which can be directly used for generating the three-dimensional model based on the civil engineering structure is realized.
It should be noted that: the device for generating a two-dimensional construction map based on the three-dimensional model of the civil engineering structure provided in the above embodiment is only exemplified by the division of the above functional modules when drawing, and in practical application, the above functional allocation may be completed by different functional modules according to needs, i.e., the internal structure of the device is divided into different functional modules, so as to complete all or part of the functions described above. In addition, the method embodiments for generating the two-dimensional construction map based on the three-dimensional model of the civil structure provided in the foregoing embodiments belong to the same concept, and detailed implementation processes of the method embodiments are detailed in the method embodiments, which are not repeated herein.
Example III
The terminal may be used to implement the method for communication control provided in the above embodiment. Specifically, the present invention relates to a method for manufacturing a semiconductor device. The terminal may be a terminal such as a desktop computer and a notebook computer, etc. in which drawing programs can be installed, as shown in fig. 9:
fig. 9 is a schematic structural diagram of a computer device according to an embodiment of the present invention, where the computer device 600 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 601 and one or more memories 602, where at least one instruction is stored in the memories 602, and the at least one instruction is loaded and executed by the processor 601 to implement the following method steps for determining user feature data:
Acquiring a three-dimensional model of a civil structure;
analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure;
information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform;
acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform;
determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range;
determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram;
drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles;
target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules.
Optionally, the method further comprises:
and determining drawing information of a drawing of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression drawing on the drawing platform.
Optionally, determining the drawing type of the target two-dimensional expression graph of the target content, the expression pattern of the intersection content and the drawing angle of the target two-dimensional expression graph includes:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of a target two-dimensional expression diagram, and determining a drawing type;
acquiring an expression pattern selection instruction of intersection content, and determining an expression pattern;
acquiring a target axis network information selection instruction of a three-dimensional model of the civil structure, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the three-dimensional model of the civil structure and used for displaying in a target two-dimensional expression diagram;
and acquiring a drawing angle setting instruction and determining a drawing angle.
Optionally, obtaining target labeling information corresponding to intersection content in the information data and preset labeling information of the drawing platform, and adding the target labeling information and the preset labeling information in the target two-dimensional expression graph according to a preset labeling rule, where the method includes:
The labeling rules comprise a merging principle and an overlapping principle;
the merging principle comprises the following steps: if the marked object is a mergeable marked object, the marked objects with the same type and the same model are obtained from the target drawing range information based on the drawing parameters, and the marked objects are marked by the same lead;
the overlapping principle includes:
if the marking range of the mark is overlapped with the existing content of the drawing, detecting the content of the drawing by taking the centroid of the mark object as a pole and n times of the height of the mark word as a pole diameter;
if no other content exists in the marking range, the marking is successful;
wherein n is an integer greater than 0.
Optionally, if the marking object is a mergeable marking object, the marking object with the same type and the same model is obtained from the target drawing range information based on the drawing parameters, and the marking of the marking object with the same lead includes:
and acquiring a preset merging range, wherein the merging range is used for determining the mark objects which are the same in size and the same type in the merging range as the mergeable mark objects.
Optionally, detecting the graph content by taking the centroid of the marked object as a pole and n times of the height of the marked object as a pole diameter, including:
if other contents exist in all the detected marking ranges of the marking in the effective drawing ranges of the drawing, the effective drawing ranges of the drawing information are enlarged, and marking is carried out on the marking objects.
Optionally, detecting the graph content by taking the centroid of the marked object as a pole and n times of the height of the marked object as a pole diameter, including:
and if other contents exist in all the detected marked ranges of the marks in the drawing, displaying an object setting interface, wherein the object selecting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
Optionally, obtaining target labeling information corresponding to intersection content in the information data and preset labeling information of the drawing platform, and adding the target labeling information and the preset labeling information in the target two-dimensional expression graph according to a preset labeling rule, where the method includes:
acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target axis net of the drawing according to the axis information;
acquiring layer height information in the information data;
and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
In the embodiment of the invention, a three-dimensional model of a civil structure is obtained; analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure; information data of the three-dimensional model of the civil engineering structure is imported into a drawing platform; acquiring two-dimensional symbol and legend information corresponding to object information in a drawing platform; determining a drawing range of a target object to be drawn and a civil structure three-dimensional model based on information data in a drawing platform, and acquiring intersection content of the target object and the drawing range; determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram; drawing a target two-dimensional expression diagram in a drawing platform according to a preset drawing rule according to drawing types, expression patterns, two-dimensional symbols, legend information and drawing angles; target annotation information corresponding to intersection content in the information data and preset annotation information of the drawing platform are obtained, and the target annotation information and the preset annotation information are added in the target two-dimensional expression graph according to preset annotation rules. Therefore, only the target object and the display range of the target two-dimensional expression graph to be displayed are selected in the two-dimensional platform, and a part of parameters are set, so that the target two-dimensional expression graph can be directly drawn according to the drawing rule according to the set parameters, overlapping of graph information does not occur, expression modes of different accessories and components can be set, the graph information is enriched, marks and symbols required by construction can be automatically marked according to the marking rule according to the parameters, manual marking is not needed, the obtained graph is clear, adjustment and modification are not needed, the graph can be directly used for construction, and the two-dimensional construction graph which can be directly used for generating the three-dimensional model based on the civil engineering structure is realized.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program for instructing relevant hardware, where the program may be stored in a computer readable storage medium, and the storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The foregoing description of the preferred embodiments of the invention is not intended to limit the invention to the precise form disclosed, and any such modifications, equivalents, and alternatives falling within the spirit and scope of the invention are intended to be included within the scope of the invention.

Claims (12)

1. A method for generating a two-dimensional construction map based on a three-dimensional model of a civil structure, the method comprising:
acquiring a three-dimensional model of a civil structure;
analyzing the three-dimensional model of the civil structure to obtain object information of each object, storing the object information into a pre-defined data structure according to the hierarchical relationship and the connection relationship of each object, and storing the object information as information data of the three-dimensional model of the civil structure;
importing the information data of the civil structure three-dimensional model into a drawing platform;
acquiring two-dimensional symbol and legend information corresponding to object information in the drawing platform;
Determining a drawing range of a target object to be drawn and the civil structure three-dimensional model based on the information data in the drawing platform, and acquiring intersection content of the target object and the drawing range;
determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram;
drawing a target two-dimensional expression diagram in the drawing platform according to a preset drawing rule according to the drawing type, the expression pattern, the two-dimensional symbol, the legend information and the drawing angle;
acquiring target annotation information corresponding to the intersection content in the information data and preset annotation information of the drawing platform, and adding the target annotation information and the preset annotation information into the target two-dimensional expression graph according to a preset annotation rule;
the labeling rules comprise a merging principle and an overlapping principle;
the merging principle comprises the following steps: taking the centroid of any one of the mergeable marker objects as the centroid of a geometric figure and taking a preset length as a radius, acquiring a preset mergeable range, wherein the mergeable range is used for determining marker objects with the same size and the same type in the mergeable range as mergeable marker objects, leading out the mergeable marker objects belonging to the mergeable range by adopting the same lead, and uniformly marking the mergeable marker objects in the mergeable range; marking only part of information for the mergeable marker object outside the merging range, wherein the part of information is used for indicating that the mergeable marker object outside the merging range is identical with the mergeable marker object in the merging range;
The overlapping principle includes: if the marking range of the mark is overlapped with the content of the drawing plane of the drawing platform, detecting the content of the drawing plane by taking the centroid of the marking object as a pole and n times of the height of the marking word as a pole diameter; if no other content exists in the marking range, marking is successful; wherein n is an integer greater than 0.
2. The method according to claim 1, wherein the method further comprises:
and determining drawing information of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression diagram on the drawing platform.
3. The method of claim 1, wherein determining the drawing type of the target two-dimensional representation of the target content, the representation style of the intersection content, and the drawing angle of the target two-dimensional representation comprises:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of the target two-dimensional expression diagram, and determining the drawing type;
acquiring an expression pattern selection instruction of the intersection content, and determining the expression pattern;
acquiring a target axis network information selection instruction of the civil structure three-dimensional model, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the civil structure three-dimensional model and used for displaying the building structure axes in the target two-dimensional expression diagram;
And acquiring a setting instruction of the drawing angle and determining the drawing angle.
4. The method according to claim 2, wherein detecting the content of the drawing plane with the centroid of the marker object as a pole and n times the height of the marker word as a pole diameter comprises:
and if other contents exist in the marking range of all the detected marks in the effective drawing range of the drawing, expanding the effective drawing range of the drawing information and marking the marked object.
5. The method according to claim 1, wherein detecting the content of the drawing plane with the centroid of the marker object as a pole and n times the height of the marker word as a pole diameter comprises:
and if other contents exist in all the detected marked mark ranges in the drawing, displaying an object setting interface, wherein the object setting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
6. The method according to any one of claims 1, 4-5, wherein the obtaining the target annotation information corresponding to the intersection content in the information data and the preset annotation information of the drawing platform, and adding the target annotation information and the preset annotation information in the target two-dimensional expression graph according to a preset annotation rule, includes:
Acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target shaft network of the drawing according to the axis information;
acquiring layer height information in the information data;
and marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
7. An apparatus for generating a two-dimensional construction map based on a three-dimensional model of a civil structure, the apparatus comprising:
the first acquisition module is used for acquiring a three-dimensional model of the civil structure;
the storage module is used for analyzing the three-dimensional model of the civil structure to obtain object information of each object, and storing the object information into a predefined data structure according to the hierarchical relationship and the connection relationship of each object and storing the object information as information data of the three-dimensional model of the civil structure;
the importing module is used for importing the information data of the civil structure three-dimensional model into a drawing platform;
the second acquisition module is used for acquiring two-dimensional symbols and legend information corresponding to the object information in the drawing platform;
a third obtaining module, configured to determine, in the drawing platform, a drawing range of a target object to be drawn and the three-dimensional model of the civil structure based on the information data, and obtain intersection content of the target object and the drawing range;
The first determining module is used for determining the drawing type of a target two-dimensional expression diagram of target content, the expression pattern of intersection content and the drawing angle of the target two-dimensional expression diagram;
the drawing module is used for drawing a target two-dimensional expression diagram in the drawing platform according to a preset drawing rule according to the drawing type, the expression pattern, the two-dimensional symbol, the legend information and the drawing angle;
the marking module is used for acquiring target marking information corresponding to the intersection content in the information data and preset marking information of the drawing platform, and adding the target marking information and the preset marking information into the target two-dimensional expression graph according to a preset marking rule;
the labeling module comprises a merging sub-module and an overlapping sub-module;
the merging sub-module is used for obtaining a preset merging range by taking the centroid of any merging mark object as the centroid of a geometric figure and taking a preset length as a radius, wherein the merging range is used for determining mark objects with the same size and the same type in the merging range as merging mark objects, leading out the merging mark objects belonging to the merging range by adopting the same lead, and uniformly marking the merging mark objects in the merging range; marking only part of information for the mergeable marker object outside the merging range, wherein the part of information is used for indicating that the mergeable marker object outside the merging range is identical with the mergeable marker object in the merging range;
The overlapping sub-module is used for detecting the content of the drawing plane by taking the centroid of the marked object as a pole and n times of the height of the marked word as a pole diameter if the marked range of the mark overlaps with the existing content of the drawing plane of the drawing platform; if no other content exists in the marking range, marking is successful; wherein n is an integer greater than 0.
8. The apparatus of claim 7, wherein the apparatus further comprises:
and the second determining module is used for determining drawing information of the drawing platform, wherein the drawing information comprises an effective display range and an effective drawing range of the target two-dimensional expression diagram on the drawing platform.
9. The apparatus of claim 7, wherein the first determining module is configured to:
displaying a parameter setting interface and acquiring a setting instruction of a user;
acquiring a drawing type selection instruction of the target two-dimensional expression diagram, and determining the drawing type;
acquiring an expression pattern selection instruction of the intersection content, and determining the expression pattern;
acquiring a target axis network information selection instruction of the civil structure three-dimensional model, and determining target axis network information, wherein the target axis network information is information of building structure axes selected from building structure axes in the civil structure three-dimensional model and used for displaying the building structure axes in the target two-dimensional expression diagram;
And acquiring a setting instruction of the drawing angle and determining the drawing angle.
10. The apparatus of claim 8, wherein the overlapping sub-module is configured to:
and if other contents exist in the marking range of all the detected marks in the effective drawing range of the drawing, expanding the effective drawing range of the drawing information and marking the marked object.
11. The apparatus of claim 7, wherein the overlapping sub-module is configured to:
and if other contents exist in all the detected marked mark ranges in the drawing, displaying an object setting interface, wherein the object setting interface is used for prompting a user to reset the drawing ranges of the target object to be drawn and the civil structure three-dimensional model.
12. The apparatus according to any one of claims 7, 10-11, wherein the labeling module is configured to:
acquiring axis information in target axis network information;
marking the axis size and the axis number on the left side and the lower side of the target shaft network of the drawing according to the axis information;
acquiring layer height information in the information data;
And marking the layer height on the left side of the target two-dimensional expression graph of the graph according to the layer height information.
CN201810745681.2A 2018-07-09 2018-07-09 Method and device for generating two-dimensional construction map based on civil structure three-dimensional model Active CN109165401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810745681.2A CN109165401B (en) 2018-07-09 2018-07-09 Method and device for generating two-dimensional construction map based on civil structure three-dimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810745681.2A CN109165401B (en) 2018-07-09 2018-07-09 Method and device for generating two-dimensional construction map based on civil structure three-dimensional model

Publications (2)

Publication Number Publication Date
CN109165401A CN109165401A (en) 2019-01-08
CN109165401B true CN109165401B (en) 2024-03-01

Family

ID=64897522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810745681.2A Active CN109165401B (en) 2018-07-09 2018-07-09 Method and device for generating two-dimensional construction map based on civil structure three-dimensional model

Country Status (1)

Country Link
CN (1) CN109165401B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109920066B (en) * 2019-03-05 2023-07-18 广东三维家信息科技有限公司 Automatic labeling typesetting method and device
CN110008612B (en) * 2019-04-12 2023-04-04 深圳市瑞云科技有限公司 Method for automatically labeling 3D model
CN112231500A (en) * 2019-06-28 2021-01-15 上海理工大学 Method for adjusting three-dimensional digital-analog engineering drawing serial number position
CN110503718B (en) * 2019-08-20 2023-12-05 上海航空工业(集团)有限公司 Three-dimensional engineering model lightweight display method
CN110489890A (en) * 2019-08-23 2019-11-22 中国电建集团成都勘测设计研究院有限公司 Steel bifurcated structure automatic map delivery method
CN111027113B (en) * 2019-12-09 2023-06-09 广联达科技股份有限公司 Method, system and storage medium for generating plane contour map based on building model
CN111091623B (en) * 2019-12-25 2023-08-15 国核电力规划设计研究院有限公司 Load funding method and device
CN111767590B (en) * 2020-07-03 2023-09-08 桂林电子科技大学 Solidworks two-dimensional engineering drawing view automatic adjustment method
CN111859511B (en) * 2020-07-28 2024-03-15 苏州金螳螂三维软件有限公司 Method and device for generating elevation construction drawing by building model
CN113094770B (en) * 2021-03-12 2022-02-18 广州珠江外资建筑设计院有限公司 Drawing generation method and device, computer equipment and storage medium
CN112784350A (en) * 2021-03-17 2021-05-11 杭州品茗安控信息技术股份有限公司 Construction drawing label generation method, device and system and readable storage medium
CN112926221B (en) * 2021-03-25 2022-02-25 广东利元亨智能装备股份有限公司 Mechanical icon annotation method and device and electronic equipment
CN113553453A (en) * 2021-07-20 2021-10-26 广联达科技股份有限公司 Two-dimensional drawing marking method and device and electronic equipment
CN113987616A (en) * 2021-10-27 2022-01-28 广州山水比德设计股份有限公司 Legend labeling method, device and drawing operation system
CN115168957B (en) * 2022-07-14 2023-04-07 中国建筑西南设计研究院有限公司 Wall size marking method and related device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5692115A (en) * 1993-04-02 1997-11-25 Hitachi, Ltd. Method of generating an image and an apparatus for carrying out such a method
CN102831259A (en) * 2012-07-18 2012-12-19 北京中科辅龙科技股份有限公司 Automatic generation method of drawing for three-dimensional concrete structural reinforcement
CN105184865A (en) * 2015-01-05 2015-12-23 中国电建集团华东勘测设计研究院有限公司 Geological map compilation method based on geological three-dimensional modeling process
CN107832541A (en) * 2017-11-20 2018-03-23 中铁第四勘察设计院集团有限公司 One kind parameterizes two-dimentional drawing/threedimensional model intelligent conversion method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11182513B2 (en) * 2019-02-15 2021-11-23 Procore Technologies, Inc. Generating technical drawings from building information models

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5692115A (en) * 1993-04-02 1997-11-25 Hitachi, Ltd. Method of generating an image and an apparatus for carrying out such a method
CN102831259A (en) * 2012-07-18 2012-12-19 北京中科辅龙科技股份有限公司 Automatic generation method of drawing for three-dimensional concrete structural reinforcement
CN105184865A (en) * 2015-01-05 2015-12-23 中国电建集团华东勘测设计研究院有限公司 Geological map compilation method based on geological three-dimensional modeling process
CN107832541A (en) * 2017-11-20 2018-03-23 中铁第四勘察设计院集团有限公司 One kind parameterizes two-dimentional drawing/threedimensional model intelligent conversion method and system

Also Published As

Publication number Publication date
CN109165401A (en) 2019-01-08

Similar Documents

Publication Publication Date Title
CN109165401B (en) Method and device for generating two-dimensional construction map based on civil structure three-dimensional model
US10248751B2 (en) Alternative hierarchical views of a circuit design
US9905048B2 (en) System for authoring and providing augmented reality contents
US9904664B2 (en) Apparatus and method providing augmented reality contents based on web information structure
US11182513B2 (en) Generating technical drawings from building information models
CN111382483B (en) Station yard graph engineering method, device and equipment
US8411107B2 (en) Adaptive snapping
JPH07334549A (en) Method and device for automatically entering size in cad system
CN111400899A (en) Processing method, system and storage medium for cable laying modeling
CN101802887B (en) Map drawing device
CN111597628B (en) Model marking method and device, storage medium and electronic equipment
AU2020221451A1 (en) Generating technical drawings from building information models
CN113850884A (en) Method and device for generating mulberry basic diagram, electronic equipment and storage medium
US20230185984A1 (en) Generating Technical Drawings From Building Information Models
US10650576B1 (en) Snapping experience with clipping masks
JP2000048061A (en) Method for aiding design of temporary scaffold, system for realizing the method and recording medium recording program
CN113407080A (en) Method and device for generating component label, computer equipment and storage medium
CN112950764A (en) Three-dimensional modeling method and three-dimensional modeling device based on plane set diagram
CN111311745A (en) Model placing method and device
JP3883644B2 (en) Leader line automatic creation method, leader line automatic creation apparatus and program storage medium therefor
CN117891448A (en) Visual component editing method, system, equipment and medium for constructing page
JP2006260119A (en) Three-dimensional shape processor, three-dimensional shape processing method, program and recording medium
KR20090123442A (en) Method and apparatus for generating map data
WO2022238410A1 (en) Alignment of element blocks
CN114491720A (en) Method and device for generating detailed diagram of steel structure, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant