Disclosure of Invention
The embodiment of the invention aims to provide a modeling processing method, a device and a system of a reserved embedded part of an assembly type building and a computer readable storage medium, which can automatically and accurately insert three views of the reserved embedded part into a member outline drawing when a member process drawing is drawn, and are beneficial to improving the working efficiency and the drawing accuracy.
In order to solve the technical problem, an embodiment of the present invention provides a method for processing a shape of a reserved embedded part of an assembly type building, including:
establishing three views of the reserved embedded part in advance according to a three-dimensional contour map corresponding to the reserved embedded part, and calibrating an insertion reference point and an initial direction in each three view;
acquiring a member outline drawing corresponding to a member, and determining an insertion point and an offset direction corresponding to the reserved embedded part in the member outline drawing;
and acquiring three views corresponding to the reserved embedded parts, and inserting the three views into the member outline drawing according to the insertion point and the offset direction to form a member process drawing corresponding to the member.
Optionally, the process of inserting the three views into the component outline drawing according to the insertion point and the offset direction is:
and coinciding the insertion datum point in the three views with the insertion point, and determining the insertion direction of the three views in the member outline drawing according to the offset direction and the initial direction so as to insert the three views into the member outline drawing.
Optionally, after the establishing of each three views of the reserved embedded part, calculating a deduction volume of the reserved embedded part according to the three-dimensional profile, and adding the deduction volume as an attribute to each three views.
Optionally, before the pre-establishing each three-view of the pre-reserved embedded part according to the three-dimensional contour map corresponding to the pre-reserved embedded part, the method further includes:
and establishing a standard database of the reserved embedded parts, wherein the standard database comprises three-dimensional contour maps respectively corresponding to the reserved embedded parts.
Optionally, after the inserting the three views into the component outline according to the insertion point and the offset direction to form a component process diagram corresponding to the component, the method further includes:
and acquiring corresponding three views according to the insertion points in the component process diagram, and adding the three views to the corresponding plan view as projection views.
The embodiment of the invention correspondingly provides a molding processing device of a reserved embedded part of an assembly type building, which comprises:
the establishing module is used for establishing each three-view of the reserved embedded part in advance according to the three-dimensional profile corresponding to the reserved embedded part and calibrating an insertion reference point and an initial direction in each three-view;
the calibration module is used for acquiring a component contour map corresponding to a component and determining an insertion point and an offset direction corresponding to the reserved embedded part in the component contour map;
and the inserting module is used for acquiring three views corresponding to the reserved embedded part and inserting the three views into the component outline drawing according to the inserting point and the offset direction so as to form a component process drawing corresponding to the component.
Optionally, the insertion module includes:
the acquisition unit is used for acquiring three views corresponding to the reserved embedded part;
and the inserting unit is used for coinciding the inserting reference point in the three views with the inserting point and determining the inserting direction of the three views in the component outline drawing according to the offset direction and the initial direction so as to insert the three views into the component outline drawing.
Optionally, the three-dimensional contour map is used for calculating a subtraction volume of the reserved embedded part according to the three-dimensional contour map, and adding the subtraction volume as an attribute to each of the three views.
The embodiment of the invention also provides a molding processing device of the reserved embedded part of the fabricated building, which comprises the following steps:
a memory for storing a computer program;
and the processor is used for realizing the steps of the modeling processing method of the reserved embedded parts of the fabricated building when executing the computer program.
The embodiment of the invention also provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method for processing the shape of the reserved embedded part of the fabricated building are realized.
The embodiment of the invention provides a method, a device and a system for processing the modeling of a reserved embedded part of an assembly type building and a computer readable storage medium, wherein the method comprises the following steps: establishing three views of the reserved embedded part in advance according to the three-dimensional profile corresponding to the reserved embedded part, and calibrating an insertion reference point and an initial direction in each three view; acquiring a member outline drawing corresponding to a member, and determining an insertion point and an offset direction corresponding to a reserved embedded part in the member outline drawing; and acquiring three views corresponding to the reserved embedded parts, and inserting the three views into the member outline drawing according to the insertion point and the offset direction to form a member process drawing corresponding to the member.
It can be seen that the three views corresponding to the reserved embedded parts are inserted into the component outline drawing to form the component process drawing according to the insertion point and the offset direction in the component outline drawing when the component process drawing of the component is formed by establishing the corresponding three views according to the three-dimensional outline drawing corresponding to the reserved embedded parts. According to the method and the device, the three views of the reserved embedded part can be automatically and accurately inserted into the member outline drawing when the member process drawing is drawn, and the working efficiency and the drawing accuracy rate are improved.
Detailed Description
The embodiment of the invention provides a method, a device and a system for molding a reserved embedded part of an assembly type building and a computer readable storage medium, which can automatically and accurately insert three views of the reserved embedded part into a member outline drawing when a member process drawing is drawn, and are beneficial to improving the working efficiency and the drawing accuracy.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a molding processing method of a reserved embedded part of an assembly building according to an embodiment of the present invention.
The method comprises the following steps:
s110: establishing three views of the reserved embedded part in advance according to the three-dimensional profile corresponding to the reserved embedded part, and calibrating an insertion reference point and an initial direction in each three view;
it should be noted that the reserved embedded parts in this embodiment refer to reserved parts or embedded parts, and a standard database of the reserved embedded parts may be pre-constructed in practical applications, where the standard database includes three-dimensional contour maps corresponding to the reserved embedded parts, and the reserved embedded parts may also be numbered, so that each number corresponds to a corresponding three-dimensional contour map, and when a three-dimensional contour map of a certain reserved embedded part is obtained, the three-dimensional contour map corresponding to the number may be called by the number corresponding to the reserved embedded part.
Specifically, after obtaining the three-dimensional profile of the reserved embedded part, obtaining three views corresponding to the reserved embedded part according to the three-dimensional profile, including a plane projection view, an elevation view and a top view, and marking an insertion base point and an initial direction in each three views, where the insertion base point includes XYZ three-axis coordinates. In addition, the established three views can also be correspondingly stored in a standard database, and the reserved embedded parts (or the numbers thereof) are enabled to correspond to the corresponding three views.
S120: acquiring a member outline drawing corresponding to a member, and determining an insertion point and an offset direction corresponding to the reserved embedded part in the member outline drawing;
when a component process diagram of a component is formed, a reserved embedded part to be inserted is determined according to component attributes, and after the corresponding reserved embedded part is determined, an insertion point and an offset direction are set in a component outline diagram, namely the insertion point and the offset direction of the reserved embedded part to be inserted are set.
S130: and acquiring three views corresponding to the reserved embedded parts, and inserting the three views into the component outline drawing according to the insertion point and the offset direction to form a component process drawing corresponding to the component.
When the three views of the reserved embedded part are inserted into the member outline drawing, the corresponding three views are sequentially acquired according to the reserved embedded part, for example, a plane projection drawing of the reserved embedded part is acquired firstly, an insertion reference point and an initial position are identified from the three views, and the three views are inserted into the member outline drawing according to a current insertion point and an offset direction, so that each three view corresponding to the corresponding reserved embedded part is inserted into the member outline drawing to form a member process drawing corresponding to the member.
Further, the process of inserting the three views into the component contour map according to the insertion point and the offset direction in S130 may specifically be:
and (3) coinciding the insertion reference point in the three views with the insertion point, and determining the insertion direction of the three views in the member outline according to the offset direction and the initial direction so as to insert the three views into the member outline.
Furthermore, after the three views of the reserved embedded part are established, the method can further comprise the steps of calculating a deduction volume of the reserved embedded part according to the three-dimensional contour map, and adding the deduction volume as an attribute to each three view.
Specifically, after the insertion reference point and the initial direction are calibrated, the subtraction volume may be calculated, and the subtraction volume attribute is added, or the subtraction volume may be calculated at the calibration insertion reference point and the initial direction first, and the order may be determined according to the actual situation, which is not limited in the present application.
Furthermore, after the three views are inserted into the component outline according to the insertion point and the offset direction to form a component process diagram corresponding to the component, the method further comprises the following steps:
and acquiring corresponding three views according to the insertion points in the component process diagram, and adding the three views to the corresponding plan view as projection views.
It should be noted that, when a corresponding plan view is subsequently established according to the architecture process diagram, the three views at the position may be directly acquired according to the insertion point in the architecture process diagram, and the three views are inserted into the plan view as the projection diagram, so as to form a corresponding plan view, so as to improve the accuracy of the plan view.
It can be seen that the three views corresponding to the reserved embedded parts are inserted into the component outline drawing according to the insertion point and the offset direction in the component outline drawing to form the component technical drawing when the component technical drawing of the component is formed by establishing the corresponding three views according to the three-dimensional outline drawing corresponding to the reserved embedded parts. According to the method and the device, the three views of the reserved embedded part can be automatically and accurately inserted into the member outline drawing when the member process drawing is drawn, and the working efficiency and the drawing accuracy rate are improved.
On the basis of the above embodiments, the embodiment of the present invention correspondingly provides a modeling processing apparatus for a reserved embedded part of an assembly building, and please refer to fig. 2. The device includes:
the establishingmodule 21 is used for establishing each three-view of the reserved embedded part in advance according to the three-dimensional profile corresponding to the reserved embedded part, and calibrating an insertion reference point and an initial direction in each three-view;
thecalibration module 22 is configured to obtain a component contour map corresponding to a component, and determine an insertion point and an offset direction corresponding to a reserved embedded part in the component contour map;
and the insertingmodule 23 is used for acquiring three views corresponding to the reserved embedded parts and inserting the three views into the component outline drawing according to the inserting point and the offset direction so as to form a component process drawing corresponding to the component.
Further, theinsertion module 23 includes:
the acquisition unit is used for acquiring three views corresponding to the reserved embedded part;
and the inserting unit is used for coinciding the inserting reference point in the three views with the inserting point and determining the inserting direction of the three views in the component outline drawing according to the offset direction and the initial direction so as to insert the three views into the component outline drawing.
Further, the device further comprises a calculating unit, which is used for calculating the deduction volume of the reserved embedded part according to the three-dimensional contour map, and adding the deduction volume as an attribute to each three-view.
It should be noted that the molding processing device for the reserved embedded parts of the assembly building provided in this embodiment has the same beneficial effects as the molding processing method for the reserved embedded parts of the assembly building provided in the above embodiment, and for the specific description of the molding processing method for the reserved embedded parts of the assembly building related in this embodiment, please refer to the above embodiment, and this application is not described herein again.
On the basis of the above embodiment, the embodiment of the present invention further provides a modeling processing apparatus for a reserved embedded part of an assembly building, and specifically refer to fig. 3. The system comprises:
amemory 31 for storing a computer program;
and aprocessor 32, configured to implement the steps of the method for processing the reserved embedded parts of the prefabricated building when executing the computer program.
For example, theprocessor 32 is configured to execute the steps of establishing three views of the reserved embedded part in advance according to the three-dimensional profile corresponding to the reserved embedded part, and calibrating an insertion reference point and an initial direction in each three view; acquiring a member outline drawing corresponding to a member, and determining an insertion point and an offset direction corresponding to the reserved embedded part in the member outline drawing; and acquiring three views corresponding to the reserved embedded parts, and inserting the three views into the component outline drawing according to the insertion point and the offset direction to form a component process drawing corresponding to the component.
On the basis of the foregoing embodiment, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements the steps of the method for processing the pre-embedded parts of the assembly building.
The computer-readable storage medium may include: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.