CN117708942A - Drawing generation method, device, equipment and medium for building three-dimensional model - Google Patents

Drawing generation method, device, equipment and medium for building three-dimensional model Download PDF

Info

Publication number
CN117708942A
CN117708942A CN202311733036.6A CN202311733036A CN117708942A CN 117708942 A CN117708942 A CN 117708942A CN 202311733036 A CN202311733036 A CN 202311733036A CN 117708942 A CN117708942 A CN 117708942A
Authority
CN
China
Prior art keywords
model
bounding box
information
dimensional
symbolized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311733036.6A
Other languages
Chinese (zh)
Inventor
马恩成
李书阳
邱相武
苏贵宾
王童
张磊
刘苗苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Construction Technology Co ltd
Original Assignee
Beijing Construction Technology 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 Beijing Construction Technology Co ltd filed Critical Beijing Construction Technology Co ltd
Priority to CN202311733036.6A priority Critical patent/CN117708942A/en
Publication of CN117708942A publication Critical patent/CN117708942A/en
Pending legal-status Critical Current

Links

Landscapes

  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a drawing generation method, device, equipment and medium for a building three-dimensional model. Comprising the following steps: acquiring a three-dimensional model of a target building, and generating a bounding box model according to the three-dimensional model; sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information; and generating a two-dimensional drawing according to the model sectioning information and the symbolization information. The bounding box model is generated by acquiring the target range of the three-dimensional model selected by the user, the bounding box model is split according to the target visual angle and the preset splitting height to generate model splitting information, and target components in the bounding box model are symbolized to generate symbolized information, so that construction requirements are better met, finally, a view configuration scheme is adopted to control the two-dimensional drawing expression, the requirements of the user on different expression effects of the same model are met, real-time linkage of the model and drawing expression is realized, and great flexibility and convenience are brought to the user.

Description

Drawing generation method, device, equipment and medium for building three-dimensional model
Technical Field
The present invention relates to the field of computer aided design technologies, and in particular, to a method, an apparatus, a device, and a medium for generating a drawing of a three-dimensional building model.
Background
With the development of digitization and informatization of building design, the application of building three-dimensional models is becoming wider and wider. The three-dimensional model of the building can intuitively display the appearance and the internal structure of the building, and is convenient for a designer to design and modify. However, building three-dimensional models typically require conversion to two-dimensional drawings for ease of construction and inspection.
Currently, a drawing generating method of a three-dimensional building model usually creates the model by turning a drawing or manually draws the drawing by a designer.
The prior art turns over the mould based on the drawing of the design stage, is used for the mode of the design and construction stage, has the problems of mould turning precision and insufficient accuracy, and once the drawing design of the design stage changes, the three-dimensional model has no effectiveness, needs to turn over the mould again and has insufficient data connectivity. The manual drawing mode by a designer is low in efficiency and easy to make mistakes.
Disclosure of Invention
The invention provides a drawing generation method, device, equipment and medium for a building three-dimensional model, which realize real-time linkage between the model and drawing expression and bring great flexibility and convenience to users.
According to an aspect of the present invention, there is provided a drawing generation method of a three-dimensional model of a building, the method comprising:
acquiring a three-dimensional model of a target building, and generating a bounding box model according to the three-dimensional model;
sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information;
and generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
Optionally, generating the bounding box model according to the three-dimensional model includes: acquiring a target range selected by a user based on the three-dimensional model; and taking the minimum bounding box corresponding to the target range as a bounding box model.
Optionally, dissecting the bounding box model to generate model dissection information includes: acquiring target visual angles based on the bounding box model, wherein the number of the target visual angles is at least one; acquiring a preset cutting height, and determining a cutting plane in the bounding box model according to the target visual angle and the preset cutting height; projecting the bounding box model based on the section plane to obtain each projection section line; and taking each projection cutting line as model cutting information.
Optionally, acquiring the target perspective based on the bounding box model includes: establishing a coordinate system based on the bounding box model; acquiring a view angle selection instruction input by a user based on a coordinate system, wherein the view angle selection instruction comprises view angle coordinates; the viewing angle corresponding to the viewing angle coordinates is taken as the target viewing angle.
Optionally, the symbolizing processing is performed on the bounding box model to generate symbolized information, including: acquiring a symbolized conversion list, wherein the symbolized conversion list comprises preset component types; determining a target component in the bounding box according to the symbolized conversion list; the size information of the target member is acquired, and the size information is subjected to specified format conversion to generate symbolized information.
Optionally, determining the target component in the bounding box according to the symbolized conversion manifest includes: determining each component contained in the bounding box model and the corresponding component type; screening the component types through the symbolized conversion list to determine the target component type matched with the symbolized conversion list; and determining a target component corresponding to the target component type in the bounding box model.
Optionally, generating the two-dimensional drawing according to the model sectioning information and the symbolization information includes: acquiring display style configuration input by a user based on model sectioning information and symbolization information, wherein the display style configuration comprises linearity, line width, color, display and hidden, filling patterns and filling proportion; and performing style conversion on the model sectioning information and the symbolized information based on the display style configuration to generate a two-dimensional drawing.
According to another aspect of the present invention, there is provided a drawing generating apparatus for a three-dimensional model of a building, the apparatus comprising:
the bounding box model generation module is used for acquiring a three-dimensional model of the target building and generating a bounding box model according to the three-dimensional model;
the model sectioning and symbolizing expression module is used for sectioning the bounding box model to generate model sectioning information and symbolizing the bounding box model to generate symbolized information;
the two-dimensional drawing generation module is used for generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform a method for drawing a three-dimensional model of a building according to any one of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer readable storage medium storing computer instructions for causing a processor to implement a drawing generation method for a three-dimensional model of a building according to any one of the embodiments of the present invention when executed.
According to the technical scheme, the bounding box model is generated by acquiring the target range of the three-dimensional model selected by the user, the bounding box model is split according to the target visual angle and the preset splitting height to generate model splitting information, and target components in the bounding box model are symbolized to generate symbolized information, so that construction requirements are better met, finally, the view configuration scheme is adopted to control the two-dimensional drawing expression, the requirements of the user on different expression effects of the same model are met, real-time linkage between the model and drawing expression is realized, and great flexibility and convenience are brought to the user.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the invention or to delineate the scope of the invention. Other features of the present invention will become apparent from the description that follows.
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 drawings of a three-dimensional model of a building according to a first embodiment of the present invention;
FIG. 2 is a flow chart of another method for generating drawings of a three-dimensional model of a building according to a first embodiment of the present invention;
FIG. 3 is a flowchart of another method for generating drawings of a three-dimensional model of a building according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a drawing generating device for building a three-dimensional model according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device for implementing a drawing generating method of a building three-dimensional model according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
Fig. 1 is a flowchart of a drawing generating method for a building three-dimensional model according to an embodiment of the present invention, where the method may be performed by a drawing generating device for a building three-dimensional model, the drawing generating device for a building three-dimensional model may be implemented in hardware and/or software, and the drawing generating device for a building three-dimensional model may be configured in a computer controller. As shown in fig. 1, the method includes:
s110, acquiring a three-dimensional model of the target building, and generating a bounding box model according to the three-dimensional model.
Wherein, three-dimensional model refers to a building design tool based on computer technology, such as a building information model tool (Building Information Modeling, BIM), which can create a real and detailed building model through three-dimensional modeling software so that a designer can better understand and show the appearance, internal structure, spatial layout, etc. of a building. The three-dimensional building model can help a designer to better design and plan, and can also provide more visual display and experience for clients. A bounding box refers to a method for describing the geometry of a three-dimensional object, which is a cuboid or cube, capable of completely containing the object. The bounding box has the functions of simplifying the collision detection of the object, space division and other calculations and improving the calculation efficiency.
Optionally, generating the bounding box model according to the three-dimensional model includes: acquiring a target range selected by a user based on the three-dimensional model; and taking the minimum bounding box corresponding to the target range as a bounding box model.
In particular, in three-dimensional model processing, it is often necessary to calculate bounding boxes for the model. A bounding box is a simple geometry that can be used to represent the general shape and extent of a three-dimensional model. The target range is determined from the at least one point by acquiring the at least one point selected by the user on the three-dimensional model. The position and size of the bounding box model are determined from the target range, and then the bounding box model is further generated from the position and size of the bounding box model.
Further, the center position and the radius of the bounding box model can be determined according to the center position and the radius of the target range, then eight vertex coordinates of the bounding box model are generated according to the center position and the radius of the bounding box model, and finally the bounding box model is generated according to the eight vertex coordinates. By acquiring the target range selected by the user and taking the minimum bounding box corresponding to the target range as a bounding box model, the shape and the range of the three-dimensional model can be accurately represented, and the accuracy of the two-dimensional drawing is improved.
S120, sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information.
Fig. 2 is a flowchart of a drawing generating method for a three-dimensional model of a building according to an embodiment of the present invention, and step S120 mainly includes steps S121 to S127 as follows:
s121, acquiring target visual angles based on the bounding box model, wherein the number of the target visual angles is at least one.
The target view angle may be a view angle from which the bounding box model is viewed from any direction, for example, a front view, a side view, a top view, a bottom view, and the like.
Optionally, acquiring the target perspective based on the bounding box model includes: establishing a coordinate system based on the bounding box model; acquiring a view angle selection instruction input by a user based on a coordinate system, wherein the view angle selection instruction comprises view angle coordinates; the viewing angle corresponding to the viewing angle coordinates is taken as the target viewing angle.
In particular, the coordinate system is a mathematical tool for describing the position and orientation of an object, which may consist of an origin and three mutually perpendicular coordinate axes. In establishing the coordinate system, it is necessary to determine the directions and units of the origin and coordinate axes. The view selection instruction is an instruction input by a user, which can be used to select a view from which to observe the bounding box model. When the view angle selection instruction is acquired, the view angle coordinates contained in the instruction need to be analyzed according to the input mode and the instruction format of the user. The target view is a view of the user-selected view bounding box model, which may be composed of an origin and three mutually perpendicular coordinate axes. In determining the target viewing angle, it is necessary to convert the viewing angle coordinates into coordinates in a coordinate system and take them as the origin of the target viewing angle and the direction and unit of the coordinate axes.
S122, acquiring a preset cutting height, and determining a cutting plane in the bounding box model according to the target visual angle and the preset cutting height.
The preset cut height may be a height value entered by a user or default by the system, for example, 1 meter, 2 meters, etc. The position and direction of the cut plane in the bounding box model can be determined according to the target viewing angle and the preset cut height.
S123, projecting the bounding box model based on the section plane to obtain each projection section line.
In particular, the projection may be a projection perpendicular to the cut plane or a projection oblique to the cut plane. The projected cut line is a projection line of the bounding box model on the cut surface, and can represent the internal structure and the external shape of the bounding box model.
S124, taking each projection cutting line as model cutting information.
Specifically, the model cut information may be information such as coordinates, length, and direction of the projected cut line, or may be an image of the projected cut line. The model cut-out information may be used to display the internal structure and external shape of the bounding box model, and may also be used to analyze the performance and functionality of the bounding box model.
It can be known that the construction drawing expression is complex, the plane drawing can be cut from any height of the model, and the component expression is not only a cut line, but also a projection line and the like, and the model can be expressed from any angle and any direction through the cut. According to the technical scheme, the drawing expression mainly adopts a sectioning mechanism, and the drawing expression is ensured to be consistent with the three-dimensional actual effect by sectioning the three-dimensional model.
S125, a symbolized conversion list is obtained, wherein the symbolized conversion list comprises preset component types.
Specifically, the symbolized conversion list is a list containing preset component types that can be used to determine the target components in the bounding box model. The preset component type refers to a component type that may exist in the bounding box model, for example, a wall, a window, a door, and the like.
S126, determining a target component in the bounding box according to the symbolized conversion list.
Specifically, the target component is a component in the bounding box model, which needs to be subjected to symbolization processing, and can be determined according to a preset component type in the symbolization conversion list. When determining the target component, all components in the bounding box model need to be traversed, and whether the type of each component matches with the preset component type in the symbolized conversion list is checked.
Optionally, determining the target component in the bounding box according to the symbolized conversion manifest includes: determining each component contained in the bounding box model and the corresponding component type; screening the component types through the symbolized conversion list to determine the target component type matched with the symbolized conversion list; and determining a target component corresponding to the target component type in the bounding box model.
In determining each component included in the bounding box model, the shape and position of each component, and the relationship between them, need to be analyzed according to the definition and characteristics of the bounding box model.
Specifically, the symbolized conversion list is a list containing preset component types, which can be used for classifying and screening each component in the bounding box model. When screening the types of the components through the symbolized conversion list, whether the type of each component is matched with the type of the preset component in the symbolized conversion list is checked according to the type of the preset component in the symbolized conversion list. If so, taking the component as a target component type; if not, the component is ignored. The target component is an actual component corresponding to the target component type in the bounding box model, and the target component corresponding to the target component type in the bounding box model can be determined according to the shape and the position of each component in the bounding box model and the relation between the shapes and the positions.
S127, acquiring size information of the target component, and performing specified format conversion on the size information to generate symbolized information.
Specifically, the size information is information of the length, width, height, and the like of the target member, which can be used to generate symbolized information. When acquiring the size information, the information such as the length, width, height and the like of the target member needs to be calculated according to the type and the position of the target member. In the symbolizing expression, symbolized information can be generated by performing specified format conversion on the acquired size information. The expression modes of different components in the drawing are controlled, so that the expression effect of the drawing can meet the requirement of final design construction.
S130, generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
The two-dimensional drawing is a plane drawing for showing the design of the building, and can help a designer to better express the design intention of the building through the two-dimensional drawing of the building, and meanwhile, guidance and reference can be provided for constructors. And generating a corresponding two-dimensional drawing according to the model sectioning information and the symbolization information, wherein the generated two-dimensional drawing comprises a two-dimensional graph of the bounding box model and the symbolization information of the target component.
In the modeling process using the technical solution of the embodiment, the two-dimensional drawing is completely expressed based on the three-dimensional model, and the two-dimensional data and the three-dimensional model data are bound. The user can generate three-dimensional component data and two dimensions in real time no matter in two-dimensional modeling or three-dimensional modeling, and the three-dimensional component data and the two dimensions are automatically bound. When the subsequent user adjusts the model in two dimensions or three dimensions, the three-dimensional or two-dimensional component expression is synchronously updated according to the binding relation, real-time synchronization of the two-dimensional drawing and the three-dimensional model is ensured, the modeling process is equivalent to drawing process, the three-dimensional model can be checked in real time, and visual feeling is provided for the three-dimensional space.
According to the technical scheme, the bounding box model is generated by acquiring the target range of the three-dimensional model selected by the user, the bounding box model is split according to the target visual angle and the preset splitting height to generate model splitting information, and target components in the bounding box model are symbolized to generate symbolized information, so that construction requirements are better met, finally, the view configuration scheme is adopted to control the two-dimensional drawing expression, the requirements of the user on different expression effects of the same model are met, real-time linkage between the model and drawing expression is realized, and great flexibility and convenience are brought to the user.
Example two
Fig. 3 is a flowchart of a drawing generating method for a three-dimensional model of a building according to a second embodiment of the present invention, where a specific process of generating a two-dimensional drawing according to model sectioning information and symbolizing information is added on the basis of the first embodiment. The specific contents of steps S210 to S220 are substantially the same as steps S110 to S120 in the first embodiment, and thus, a detailed description is omitted in this embodiment. As shown in fig. 3, the method includes:
s210, acquiring a three-dimensional model of the target building, and generating a bounding box model according to the three-dimensional model.
Optionally, generating the bounding box model according to the three-dimensional model includes: acquiring a target range selected by a user based on the three-dimensional model; and taking the minimum bounding box corresponding to the target range as a bounding box model.
S220, sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information.
Optionally, dissecting the bounding box model to generate model dissection information includes: acquiring target visual angles based on the bounding box model, wherein the number of the target visual angles is at least one; acquiring a preset cutting height, and determining a cutting plane in the bounding box model according to the target visual angle and the preset cutting height; projecting the bounding box model based on the section plane to obtain each projection section line; and taking each projection cutting line as model cutting information.
Optionally, acquiring the target perspective based on the bounding box model includes: establishing a coordinate system based on the bounding box model; acquiring a view angle selection instruction input by a user based on a coordinate system, wherein the view angle selection instruction comprises view angle coordinates; the viewing angle corresponding to the viewing angle coordinates is taken as the target viewing angle.
Optionally, the symbolizing processing is performed on the bounding box model to generate symbolized information, including: acquiring a symbolized conversion list, wherein the symbolized conversion list comprises preset component types; determining a target component in the bounding box according to the symbolized conversion list; the size information of the target member is acquired, and the size information is subjected to specified format conversion to generate symbolized information.
Optionally, determining the target component in the bounding box according to the symbolized conversion manifest includes: determining each component contained in the bounding box model and the corresponding component type; screening the component types through the symbolized conversion list to determine the target component type matched with the symbolized conversion list; and determining a target component corresponding to the target component type in the bounding box model.
S230, acquiring display style configuration input by a user based on the model sectioning information and the symbolization information, wherein the display style configuration comprises linearity, line width, color, display and hidden, filling patterns and filling proportion.
Specifically, the user may input the display style configuration through a graphical user interface or a command line interface, or the like. The display style configuration includes parameters such as linearity, line width, color, saliency, fill pattern, and fill scale.
And S240, performing style conversion on the model sectioning information and the symbolization information based on the display style configuration to generate a two-dimensional drawing.
Specifically, style conversion is a process of converting geometric information and symbolized information in a three-dimensional model into graphic elements and text labels in a two-dimensional drawing. In the style conversion process, the model sectioning information and the symbolization information need to be modified correspondingly according to the display style configuration, for example, the color, the line width, the filling pattern, the filling proportion and the like of the lines are changed.
Wherein a two-dimensional drawing is a graphic file representing a two-dimensional view of a three-dimensional model, which may include multiple views, e.g., front view, side view, top view, etc. When the two-dimensional drawing is generated, the model sectioning information and the symbolization information after the style conversion are required to be drawn on the two-dimensional drawing, and necessary text labels, dimension labels and the like are added.
Further, the two-dimensional drawing may be output in a variety of formats, e.g., DWG, DXF, PDF, etc. The user can select and output parameters such as format, resolution and the like of the two-dimensional drawing, and the parameters are stored in a local file system or uploaded to cloud storage service.
According to the technical scheme, the bounding box model is generated by acquiring the target range of the three-dimensional model selected by the user, the bounding box model is split according to the target visual angle and the preset splitting height to generate model splitting information, and target components in the bounding box model are symbolized to generate symbolized information, so that construction requirements are better met, finally, the view configuration scheme is adopted to control the two-dimensional drawing expression, the requirements of the user on different expression effects of the same model are met, real-time linkage between the model and drawing expression is realized, and great flexibility and convenience are brought to the user.
Example III
Fig. 4 is a schematic structural diagram of a drawing generating device for a three-dimensional model of a building according to a third embodiment of the present invention. As shown in fig. 4, the apparatus includes: the bounding box model generating module 310 is configured to obtain a three-dimensional model of the target building, and generate a bounding box model according to the three-dimensional model;
the model sectioning and symbolizing expression module 320 is configured to section the bounding box model to generate model sectioning information, and symbolize the bounding box model to generate symbolized information;
the two-dimensional drawing generation module 330 is configured to generate a two-dimensional drawing according to the model dissection information and the symbolization information.
Optionally, the bounding box model generating module 310 specifically includes: a bounding box model generating unit configured to: acquiring a target range selected by a user based on the three-dimensional model; and taking the minimum bounding box corresponding to the target range as a bounding box model.
Optionally, the model sectioning and symbolizing expression module 320 specifically includes: a model cut information generation unit including: a target view acquisition subunit configured to: acquiring target visual angles based on the bounding box model, wherein the number of the target visual angles is at least one; a section generating subunit for: acquiring a preset cutting height, and determining a cutting plane in the bounding box model according to the target visual angle and the preset cutting height; a projection cut line acquisition subunit configured to: projecting the bounding box model based on the section plane to obtain each projection section line; a model cut information generation subunit configured to: and taking each projection cutting line as model cutting information.
Optionally, the target view acquiring subunit is specifically configured to: establishing a coordinate system based on the bounding box model; acquiring a view angle selection instruction input by a user based on a coordinate system, wherein the view angle selection instruction comprises view angle coordinates; the viewing angle corresponding to the viewing angle coordinates is taken as the target viewing angle.
Optionally, the model sectioning and symbolizing expression module 320 further includes: a symbolized expression unit comprising: a symbolized conversion manifest acquisition subunit configured to: acquiring a symbolized conversion list, wherein the symbolized conversion list comprises preset component types; a target component determination subunit for: determining a target component in the bounding box according to the symbolized conversion list; a symbolized information generation subunit operable to: the size information of the target member is acquired, and the size information is subjected to specified format conversion to generate symbolized information.
Optionally, the target component determining subunit is specifically configured to: determining each component contained in the bounding box model and the corresponding component type; screening the component types through the symbolized conversion list to determine the target component type matched with the symbolized conversion list; and determining a target component corresponding to the target component type in the bounding box model.
Optionally, the two-dimensional drawing generation module 330 is specifically configured to: acquiring display style configuration input by a user based on model sectioning information and symbolization information, wherein the display style configuration comprises linearity, line width, color, display and hidden, filling patterns and filling proportion; and performing style conversion on the model sectioning information and the symbolized information based on the display style configuration to generate a two-dimensional drawing.
According to the technical scheme, the bounding box model is generated by acquiring the target range of the three-dimensional model selected by the user, the bounding box model is split according to the target visual angle and the preset splitting height to generate model splitting information, and target components in the bounding box model are symbolized to generate symbolized information, so that construction requirements are better met, finally, the view configuration scheme is adopted to control the two-dimensional drawing expression, the requirements of the user on different expression effects of the same model are met, real-time linkage between the model and drawing expression is realized, and great flexibility and convenience are brought to the user.
The drawing generating device for the building three-dimensional model provided by the embodiment of the invention can execute the drawing generating method for the building three-dimensional model provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the executing method.
Example IV
Fig. 5 shows a schematic diagram of the structure of an electronic device 10 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. Electronic equipment may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 5, the electronic device 10 includes at least one processor 11, and a memory, such as a Read Only Memory (ROM) 12, a Random Access Memory (RAM) 13, etc., communicatively connected to the at least one processor 11, in which the memory stores a computer program executable by the at least one processor, and the processor 11 may perform various appropriate actions and processes according to the computer program stored in the Read Only Memory (ROM) 12 or the computer program loaded from the storage unit 18 into the Random Access Memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 may also be stored. The processor 11, the ROM 12 and the RAM 13 are connected to each other via a bus 14. An input/output (I/O) interface 15 is also connected to bus 14.
Various components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16 such as a keyboard, a mouse, etc.; an output unit 17 such as various types of displays, speakers, and the like; a storage unit 18 such as a magnetic disk, an optical disk, or the like; and a communication unit 19 such as a network card, modem, wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunication networks.
The processor 11 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, digital Signal Processors (DSPs), and any suitable processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a drawing generation method for building a three-dimensional model. Namely: acquiring a three-dimensional model of a target building, and generating a bounding box model according to the three-dimensional model; sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information; and generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
In some embodiments, a method of drawing a three-dimensional model of a building may be implemented as a computer program tangibly embodied on a computer-readable storage medium, such as the storage unit 18. In some embodiments, part or all of the computer program may be loaded and/or installed onto the electronic device 10 via the ROM 12 and/or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of a drawing generation method of a building three-dimensional model described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform a drawing generation method of building a three-dimensional model in any other suitable manner (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
A computer program for carrying out methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be implemented. The computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) through which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service are overcome.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps described in the present invention may be performed in parallel, sequentially, or in a different order, so long as the desired results of the technical solution of the present invention are achieved, and the present invention is not limited herein.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (10)

1. A method for generating a drawing of a three-dimensional model of a building, comprising:
acquiring a three-dimensional model of a target building, and generating a bounding box model according to the three-dimensional model;
sectioning the bounding box model to generate model sectioning information, and performing symbolization processing on the bounding box model to generate symbolized information;
and generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
2. The method of claim 1, wherein generating a bounding box model from the three-dimensional model comprises:
acquiring a target range selected by a user based on the three-dimensional model;
and taking a minimum bounding box corresponding to the target range as the bounding box model.
3. The method of claim 1, wherein the dissecting the bounding box model to generate model dissecting information comprises:
acquiring target visual angles based on the bounding box model, wherein the number of the target visual angles is at least one;
acquiring a preset cutting height, and determining a cutting plane in the bounding box model according to the target visual angle and the preset cutting height;
projecting the bounding box model based on the section to obtain each projection section line;
and taking each projection cutting line as the model cutting information.
4. The method of claim 3, wherein the obtaining the target perspective based on the bounding box model comprises:
establishing a coordinate system based on the bounding box model;
acquiring a view angle selection instruction input by a user based on the coordinate system, wherein the view angle selection instruction comprises view angle coordinates;
and taking the view angle corresponding to the view angle coordinate as the target view angle.
5. The method of claim 1, wherein the symbolizing the bounding box model to generate symbolized information comprises:
acquiring a symbolized conversion list, wherein the symbolized conversion list comprises a preset component type;
determining a target component in the bounding box according to the symbolized conversion list;
and acquiring size information of the target component, and performing specified format conversion on the size information to generate the symbolized information.
6. The method of claim 5, wherein said determining a target component in the bounding box from the symbolized conversion manifest comprises:
determining each component contained in the bounding box model and a corresponding component type;
screening each component type through the symbolized conversion list to determine a target component type matched with the symbolized conversion list;
and determining a target component corresponding to the target component type in the bounding box model.
7. The method of claim 1, wherein the generating a two-dimensional drawing from the model cut information and the symbolized information comprises:
acquiring display style configuration input by a user based on the model sectioning information and the symbolization information, wherein the display style configuration comprises linearity, line width, color, display and hidden, filling patterns and filling proportion;
and performing style conversion on the model sectioning information and the symbolized information based on the display style configuration to generate the two-dimensional drawing.
8. A drawing generating device for a three-dimensional model of a building, comprising:
the bounding box model generation module is used for acquiring a three-dimensional model of a target building and generating a bounding box model according to the three-dimensional model;
the model sectioning and symbolizing expression module is used for sectioning the bounding box model to generate model sectioning information and symbolizing the bounding box model to generate symbolized information;
and the two-dimensional drawing generation module is used for generating a two-dimensional drawing according to the model sectioning information and the symbolization information.
9. An electronic device, the electronic device comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
10. A computer storage medium storing computer instructions for causing a processor to perform the method of any one of claims 1-7 when executed.
CN202311733036.6A 2023-12-15 2023-12-15 Drawing generation method, device, equipment and medium for building three-dimensional model Pending CN117708942A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311733036.6A CN117708942A (en) 2023-12-15 2023-12-15 Drawing generation method, device, equipment and medium for building three-dimensional model

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311733036.6A CN117708942A (en) 2023-12-15 2023-12-15 Drawing generation method, device, equipment and medium for building three-dimensional model

Publications (1)

Publication Number Publication Date
CN117708942A true CN117708942A (en) 2024-03-15

Family

ID=90163388

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311733036.6A Pending CN117708942A (en) 2023-12-15 2023-12-15 Drawing generation method, device, equipment and medium for building three-dimensional model

Country Status (1)

Country Link
CN (1) CN117708942A (en)

Similar Documents

Publication Publication Date Title
US10268917B2 (en) Pre-segment point cloud data to run real-time shape extraction faster
US11436800B2 (en) Interactive system and method providing real-time virtual reality visualization of simulation data
CN107909541B (en) Map conversion method and device
CN113538706B (en) Digital sand table-based house scene display method, device, equipment and storage medium
US8587586B2 (en) Electronic device and method for meshing curved surface
US7567249B2 (en) Three-dimensional drawing model generation method, three-dimensional model drawing method, and program thereof
CN113920217A (en) Method, apparatus, device and product for generating high-precision map lane lines
CN115082632A (en) Two-dimensional and three-dimensional integrated GIS system based on WebGL and application
CN117252979A (en) Method for inferring 3D geometry onto 2D sketches
US11074747B2 (en) Computer-aided techniques for designing detailed three-dimensional objects
JP2023529790A (en) Method, apparatus and program for generating floorplans
US11803674B2 (en) Dual mode post processing
US20230169680A1 (en) Beijing baidu netcom science technology co., ltd.
CN117708942A (en) Drawing generation method, device, equipment and medium for building three-dimensional model
CN114910892A (en) Laser radar calibration method and device, electronic equipment and storage medium
CN115375812A (en) CAD data rendering method and device, electronic equipment and storage medium
CN114564268A (en) Equipment management method and device, electronic equipment and storage medium
JP2006277712A (en) Fitting device, method and program for three-dimensional model
JP6717536B2 (en) Line drawing device
CN111259567A (en) Layout generating method and device and storage medium
KR102489292B1 (en) Method and Computer-readable Medium for 3D Modeling Method Using Vertex Shape and Texture Images
US11893314B2 (en) Method for designing a 3D object by using a virtual 3D grid and hand drawn sketches
CN112614046B (en) Method and device for drawing three-dimensional model on two-dimensional plane
CN113129362B (en) Method and device for acquiring three-dimensional coordinate data
CN117745970A (en) Model generation method, device, equipment and medium for three-dimensional roadway

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