CN112199757A - Structural floor generation method and device, nonvolatile storage medium and processor - Google Patents
Structural floor generation method and device, nonvolatile storage medium and processor Download PDFInfo
- Publication number
- CN112199757A CN112199757A CN202011194150.2A CN202011194150A CN112199757A CN 112199757 A CN112199757 A CN 112199757A CN 202011194150 A CN202011194150 A CN 202011194150A CN 112199757 A CN112199757 A CN 112199757A
- Authority
- CN
- China
- Prior art keywords
- line segments
- floor slab
- floor
- simulated
- enclosure
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T90/00—Enabling technologies or technologies with a potential or indirect contribution to GHG emissions mitigation
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Geometry (AREA)
- Theoretical Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Evolutionary Computation (AREA)
- General Engineering & Computer Science (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Civil Engineering (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Architecture (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a structural floor generation method and device, a nonvolatile storage medium and a processor. Wherein, the method comprises the following steps: acquiring a simulated floor slab; determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab; and (4) utilizing the simulated floor slab and the wall beam to enclose and generate the structural floor slab. The invention solves the technical problem of low efficiency of the generation of the structural floor slab.
Description
Technical Field
The invention relates to the field of building aided design, in particular to a structural floor generation method and device, a nonvolatile storage medium and a processor.
Background
At present, when the structural floor slab is generated, a developer is required to design the structural floor slab by himself to realize corresponding functions. However, the method also has differences in designed structural floor slabs according to different theoretical knowledge and experience of different developers, and needs a lot of time to complete, so that the structural floor slabs cannot be generated quickly, and the technical problem of low generation efficiency of the structural floor slabs exists.
Aiming at the technical problem of low efficiency of the generation of the structural floor slab, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a structural floor slab, a nonvolatile storage medium and a processor, which are used for at least solving the technical problem of low efficiency of generating the structural floor slab.
According to an aspect of an embodiment of the present invention, there is provided a structural floor slab generation method. The method can comprise the following steps: acquiring a simulated floor slab; determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab; and (4) utilizing the simulated floor slab and the wall beam to enclose and generate the structural floor slab.
Optionally, determining that the wall beam enclosure matched with the simulated floor slab based on the floor slab line comprises: with floor line offset to wall roof beam enclose close corresponding position, wherein, floor line includes: each two adjacent line segments in the plurality of line segments are sequentially connected to form the peripheral outline of the simulated floor slab; determining partially or fully disjoint segments from the plurality of segments; and connecting every two adjacent line segments in part of or all of the non-intersecting line segments in sequence to form a wall beam enclosure.
Optionally, sequentially connecting every two adjacent line segments of the partially or all non-intersecting line segments to form a wall beam enclosure comprises: acquiring a first intersection point formed by extension lines of every two adjacent line segments in part or all of the non-intersecting line segments; and sequentially connecting every two adjacent line segments in the partial or all non-intersecting line segments based on the first intersection point to form a wall beam enclosure.
Optionally, obtaining a first intersection point formed by extension lines of every two adjacent line segments in part or all of the non-intersecting line segments comprises: judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; when determining that every two adjacent line segments in part or all of the non-intersecting line segments are coplanar, converting a current plane where the two adjacent line segments are located to a reference plane and calculating to obtain a second intersection point; and converting the second intersection point from the reference plane back to the current plane to obtain the first intersection point.
Optionally, the reference plane is parallel to the current plane, and a value of the reference plane on a coordinate axis perpendicular to the reference plane is a preset value.
Optionally, the method further comprises: judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; and sending out prompt information when determining that the non-coplanar adjacent line segments exist in part or all of the non-intersecting line segments, wherein the prompt information is used for prompting a user that the non-coplanar adjacent line segments exist currently.
According to another aspect of the embodiments of the present invention, there is also provided a structural floor generating apparatus. The apparatus may include: the acquisition module is used for acquiring a simulated floor slab; the determining module is used for determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is the enclosure of a shear wall and a coupling beam around the simulated floor slab; and the generation module is used for generating the structural floor slab by utilizing the simulated floor slab and the wall beam enclosure.
According to another aspect of the embodiments of the present invention, there is also provided a non-volatile storage medium. The storage medium has stored therein a computer program, wherein the computer program is arranged to perform the structural floor generation method of an embodiment of the invention when executed.
According to another aspect of the embodiments of the present invention, there is also provided a processor. The processor is for running a program, wherein the program is arranged to perform the structural floor generation method of an embodiment of the invention when run.
According to another aspect of the embodiment of the invention, an electronic device is also provided. The electronic device is for running a program, wherein the program is arranged to perform the structural floor generation method of an embodiment of the invention when run.
In the embodiment of the invention, a simulated floor slab is obtained; determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab; and (4) utilizing the simulated floor slab and the wall beam to enclose and generate the structural floor slab. That is to say, this application can call the function that has been sealed, only need acquire the simulation floor, enclose through the floor line and close with the wall roof beam that this simulation floor looks adaptation, and then utilize simulation floor and wall roof beam to enclose to close and generate the structural floor, and need not the development personnel oneself design and realize the function that generates the structural floor to reduce development personnel development time, improve development efficiency, solved the technical problem of the inefficiency that the structural floor generated, reached the technological effect of the efficiency that improves the generation of structural floor.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of creating a structural floor slab according to an embodiment of the invention;
FIG. 2 is a schematic view of a simulated floor slab according to an embodiment of the invention;
FIG. 3 is a schematic view of a wall beam enclosure according to an embodiment of the present invention;
FIG. 4A is a schematic view of some or all of the non-intersecting line segments as the floor line is shifted to the position corresponding to the wall beam enclosure, according to an embodiment of the present invention;
FIG. 4B is a schematic diagram of a method for determining a first intersection point formed by the extension lines of every two adjacent line segments in a partially or totally non-intersecting line segment according to an embodiment of the invention;
FIG. 4C is a schematic illustration of a determination of a first intersection point according to an embodiment of the invention;
FIG. 4D is a diagram of a circuit according to an embodiment of the present invention0And l1A schematic view in parallel;
FIG. 5 is a schematic view of a resulting structural floor slab in accordance with an embodiment of the present invention; and
figure 6 is a schematic view of a structural floor generating apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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
In accordance with an embodiment of the present invention, there is provided an embodiment of a method of structural floor creation, it being noted that the steps illustrated in the flowchart of the drawings may be performed in a computer system, such as a set of computer-executable instructions, and that while a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be performed in an order different than presented herein.
Figure 1 is a flow chart of a method of structural floor creation according to an embodiment of the present invention. As shown in fig. 1, the method comprises the steps of:
and S102, obtaining a simulated floor slab.
In the technical solution provided in step S102 of the present invention, in the function of generating the structural floor slab, a simulated floor slab may be obtained first, the peripheral profile of the simulated floor slab may be formed by a floor slab line of the simulated floor slab, and a shear wall and a coupling beam are provided around the simulated floor slab.
Optionally, when the simulated floor is obtained, the embodiment may call the packaged function, refer to a library file set in advance, configure the attribute of the simulated floor in the library file, and set the corresponding parameter through the function interface. Alternatively, the attributes of this embodiment may include the dimensions of the simulated floor, for example, the dimensions set to 120-50 mm. Optionally, the attributes of the simulated floor slab of this embodiment may further include constraints (constraints), structures, dimensioning, identification data, and the like, wherein the constraints may include elevations, height offsets of target heights, room boundaries, structures may include enabling of the analytical model, dimensioning may include information about slopes, perimeters, areas, volumes, top elevations, bottom elevations, thicknesses, and the like, and the identification data may include images, and the like.
And S104, determining the wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab.
In the technical solution provided in step S104 of the present invention, after the simulated floor slab is obtained, a wall beam enclosure matched with the simulated floor slab may be determined based on a floor slab line of the simulated floor slab, where the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab.
In this embodiment, different simulated floors have differently adapted wall beam enclosures, and the embodiment may determine the floor line of the simulated floor first, and then determine the wall beam enclosure adapted to the simulated floor based on the floor line. Optionally, the embodiment determines the adapted shear walls and coupling beams around the simulated floor slab based on the floor slab line, and then obtains the wall beam enclosure adapted to the simulated floor slab through the enclosure of the adapted shear walls and coupling beams. Optionally, the above-described floor line of this embodiment may also be used to determine the peripheral profile of the simulated floor.
And S106, enclosing the simulation floor slab and the wall beam to generate a structural floor slab.
In the technical solution provided in step S106 of the present invention, after determining the wall beam enclosure matched with the simulated floor based on the floor line of the simulated floor, the structural floor may be generated by enclosing the simulated floor and the wall beam.
In this embodiment, the structural floor is generated by enclosing the obtained simulated floor and the wall beam adapted to the simulated floor, so as to achieve the purpose of rapidly generating the structural floor.
Obtaining a simulated floor slab through the steps S102 to S106; determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab; and (4) utilizing the simulated floor slab and the wall beam to enclose and generate the structural floor slab. That is to say, this embodiment can call the function that has been packaged, only need acquire the simulation floor, and the wall roof beam that confirms to be fit for with this simulation floor encloses through the floor line and closes, and then utilizes simulation floor and wall roof beam to enclose and close and generate the structural floor, and does not need the development personnel oneself to design to realize the function of generating the structural floor to reduce development personnel development time, improved development efficiency, solved the inefficiency technical problem that the structural floor generated, reached the technological effect of the efficiency of the generation that improves the structural floor.
The above-described method of this embodiment is further described below.
As an alternative embodiment, the step S104 of determining the wall beam enclosure matched with the simulated floor based on the floor line includes: with floor line offset to wall roof beam enclose close corresponding position, wherein, floor line includes: each two adjacent line segments in the plurality of line segments are sequentially connected to form the peripheral outline of the simulated floor slab; determining partially or fully disjoint segments from the plurality of segments; and connecting every two adjacent line segments in part of or all of the non-intersecting line segments in sequence to form a wall beam enclosure.
In this embodiment, when determining the enclosure of the wall beam adapted to the simulated floor based on the floor line, the floor line may be shifted first until the floor line is shifted to the corresponding position of the enclosure of the wall beam. Optionally, the floor line of the embodiment includes a plurality of line segments for forming a peripheral outline of the simulated floor, and the peripheral outline of the simulated floor is formed by sequentially connecting every two adjacent line segments of the plurality of line segments, and the embodiment offsets the floor line, that is, offsets the plurality of line segments of the floor line.
When the floor slab line is deviated to the position corresponding to the enclosure of the wall beam, the method of using the line and the intersection point of the straight line and the straight line is needed. The embodiment may determine some or all of the disjoint segments from the plurality of segments of the floor line for some or all of the disjoint segments in the plurality of segments. Optionally, the embodiment may determine whether the plurality of shifted line segments are still connected to the originally connected line segment, if it is determined that some or all of the plurality of shifted line segments are no longer connected to the originally connected line segment, determine the some or all of the line segments that are no longer connected to the originally connected line segment as some or all of the non-intersecting line segments, and then sequentially connect every two adjacent line segments of the some or all of the non-intersecting line segments, where the sequentially connected line segments may form a wall-beam enclosure, which is an enclosure of a shear wall and a coupling beam around a simulated floor slab.
As an optional implementation manner, sequentially connecting every two adjacent line segments of part or all of the non-intersecting line segments to form a wall beam enclosure comprises: acquiring a first intersection point formed by extension lines of every two adjacent line segments in part or all of the non-intersecting line segments; and sequentially connecting every two adjacent line segments in the partial or all non-intersecting line segments based on the first intersection point to form a wall beam enclosure.
In this embodiment, when each two adjacent line segments of the partial or all non-intersecting line segments are sequentially connected to form the enclosure of the wall beam, each two adjacent line segments of the partial or all non-intersecting line segments may be first extended to obtain extension lines (which are rays or straight lines) corresponding to each two adjacent line segments of the partial or all non-intersecting line segments, then a first intersection point formed by the extension lines corresponding to each two adjacent line segments is obtained, and then each two adjacent line segments of the partial or all non-intersecting line segments are sequentially connected again based on the first intersection point, so that the enclosure of the wall beam of this embodiment is formed.
As an alternative embodiment, obtaining a first intersection point formed by extension lines of every two adjacent line segments in part or all of the disjoint line segments comprises: judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; when determining that every two adjacent line segments in part or all of the non-intersecting line segments are coplanar, converting a current plane where the two adjacent line segments are located to a reference plane and calculating to obtain a second intersection point; and converting the second intersection point from the reference plane back to the current plane to obtain the first intersection point.
In this embodiment, when obtaining the first intersection point formed by the extension lines of every two adjacent line segments of the partial or all of the disjoint line segments, it may be determined whether every two adjacent line segments of the partial or all of the disjoint line segments are coplanar first, or it may be determined whether every two adjacent line segments of the partial or all of the disjoint line segments are coplanar through a vector. Alternatively, in the extension lines (rays or extension lines) corresponding to every two adjacent line segments in the partial or all non-intersecting line segments, the embodiment may use the direction vector of the ray or straight line, the direction vector of the straight line, the vector of the starting point of a point on the straight line and the starting point of the ray or the starting point of the line segment and a point on the straight line, and the three vectors are used to calculate a mixed product, and then determine whether the mixed product is 0, if the mixed product is determined to be 0, it may be determined that every two adjacent line segments in the partial or all non-intersecting line segments are coplanar.
When every two adjacent line segments in part or all of the disjoint line segments are determined to be co-planar, the current plane in which every two adjacent line segments are located may be converted to the reference plane. In this embodiment, a second intersection point corresponding to every two adjacent line segments may be calculated in the reference plane, and then the second intersection point is converted back to the current plane from the reference plane, so as to obtain an actual intersection point result formed by the extension lines corresponding to every two adjacent line segments in some or all of the non-intersecting line segments of this embodiment, that is, the first intersection point.
As an alternative embodiment, the reference plane is parallel to the current plane, and a value of the reference plane on a coordinate axis perpendicular to the reference plane is a preset value.
In this embodiment, a plane parallel to the current plane may be determined as a reference plane, and a value of the reference plane on a Z axis perpendicular to the reference plane may be a preset value, for example, the preset value is 0, that is, the reference plane of this embodiment may be a plane where Z is 0.
As an optional implementation, the method further comprises: judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; and sending out prompt information when determining that the non-coplanar adjacent line segments exist in part or all of the non-intersecting line segments, wherein the prompt information is used for prompting a user that the non-coplanar adjacent line segments exist currently.
In this embodiment, after determining whether each two adjacent line segments in part or all of the disjoint line segments are coplanar, if it is determined that an out-of-plane adjacent line segment exists in the part or all of the disjoint line segments, a result of the out-of-plane adjacent line segment may be directly output, and a prompt message may be directly sent to the user, where the prompt message is used to prompt the user that the out-of-plane adjacent line segment currently exists, and the prompt message may be voice message, text message, image message, or the like, and this is not limited specifically here.
The structural floor generation method of the embodiment can be applied to a Building Information model (BIM for short), a user only needs to refer to library files in a project and then transmits corresponding parameters of a functional interface, the packaged functions can be called, the wall beam enclosure matched with the simulated floor is determined through a floor line by obtaining the simulated floor, and then the structural floor is generated by utilizing the enclosure of the simulated floor and the wall beam without the need of designing by a developer to realize the function of generating the structural floor, so that the development time of the developer is reduced, the development efficiency is improved, the technical problem of low generation efficiency of the structural floor is solved, and the technical effect of improving the generation efficiency of the structural floor is achieved.
Example 2
The technical solutions of the embodiments of the present invention will be further illustrated with reference to preferred embodiments.
The scenario in which the method of this embodiment is applicable is a scenario generated by a structural floor in the BIM.
This embodiment can acquire a simulated floor in the function of generating a structural floor. Figure 2 is a schematic view of a simulated floor slab according to an embodiment of the invention. As shown in fig. 2, when the simulated floor is obtained, the packaged function may be called, an operation interface for configuring the property of the simulated floor is displayed, and corresponding parameters may be set on the operation interface through the function interface. Alternatively, the attributes of this embodiment may include the dimensions of the simulated floor, for example, the dimensions set to 120-50 mm. Optionally, the attributes of the simulated floor slab of this embodiment may further include constraints, structures, dimensioning, identification data, and the like, wherein the constraints may include elevation F3, height offset of target height 0.0, room boundaries, structures may include enabled analytical models, dimensioning may include information about slope, perimeter, area, volume, top elevation, bottom elevation, thickness, and the like, and identification data may include images, and the like.
The enclosure of the wall beam of this embodiment is an enclosure of shear walls and coupling beams around the simulated floor slab. Simulating the enclosure of the shear wall and the coupling beam around the floor slab generates a wall beam enclosure, such as wall beam enclosure X shown in fig. 3, where fig. 3 is a schematic diagram of a wall beam enclosure according to an embodiment of the present invention.
In the embodiment, when the floor slab line of the simulated floor slab is deviated to the position corresponding to the wall beam enclosure, a method of intersecting the line, the straight line and the straight line is needed. The floor line of this embodiment can include many line segments, can judge whether many line segments after the skew still are connected with the line segment of originally connecting. If not, it is determined to be a partially or fully disjoint segment.
Fig. 4A is a schematic view of some or all of non-intersecting line segments when offsetting a floor slab line to a position corresponding to the enclosed wall beams according to an embodiment of the invention. As shown in FIG. 4A, the partially or fully disjoint segments include segment a, segment b, segment c, segment d, segment e, and segment f.
In the embodiment, every two adjacent line segments in the line segments a, b, c, d, e and f can be sequentially connected to form the wall beam enclosure, and every two adjacent line segments in the partially or completely non-intersecting line segments can be sequentially connected again to form the wall beam enclosure based on the first intersection point formed by the extension lines of every two adjacent line segments in the line segments a, b, c, d, e and f.
FIG. 4B is a schematic diagram of a method for determining a first intersection point formed by extension lines of every two adjacent line segments in a partially or totally non-intersecting line segment according to an embodiment of the invention. As shown in fig. 4B, first, every two adjacent line segments of the line segments a, B, c, d, e, and f may be extended to obtain extensions (which are rays or straight lines) corresponding to every two adjacent line segments of the line segments a, B, c, e, and f, and then obtain first intersection points a ', B', c ', d', e ', and f' formed by the extensions corresponding to every two adjacent line segments.
Optionally, the embodiment may determine whether each two adjacent line segments of the line segments a, b, c, d, e, and f are coplanar, and when it is determined that each two adjacent line segments of the line segments a, b, c, d, e, and f are coplanar, convert the current plane where the two adjacent line segments are located to the reference plane where Z is 0 and calculate to obtain a corresponding second intersection point, and further convert the second intersection point from the reference plane back to the current plane to obtain the first intersection point.
Fig. 4C is a schematic diagram of determining a first intersection point according to an embodiment of the invention. As shown in fig. 4C, line l0Its direction vector isStraight line l1Its direction vector isThe line l can be solved by the following equation of the interaction parameters0And a straight line l1Intersection p0+ td 0:
p0+td0=p1+sd1 (1)
wherein p0 is used to denote a straight line l0The upper point, p1, is used to denote the straight line l1The upper points, t, s, are used to represent unknown coefficients.
Alternatively, this embodiment cross-multiplies d simultaneously on both sides of the above equation (1)0:
p0×d0=p1×d0+s·d1×d0 (2)
(p0-p1)×d0=s·d1×d0 (3)
The coefficient s is further obtained by equation (3):
alternatively, this embodiment may cross-multiply d simultaneously on both sides of equation (1) above1:
p0×d1+t·d0·d1=p1×d1 (5)
The coefficient t is further obtained by equation (5):
the first intersection from this embodiment can be found by p0+ td 0.
Alternatively, in this embodiment, if l0For a ray, then t must satisfy t>0, thereby obtaining:
if t is<0, then there is no first intersection and the denominator d0×d1≠0。
Alternatively, when d0×d1When equal to 0, l0And l1Parallel.
Direction vector between p0 and p 1:referring to FIG. 4D, in which FIG. 4D is a diagram of an embodiment of the present invention0And l1Schematic view in parallel.
If p1-p0 ≠ 0, it can be determined that l0And l1Parallel and non-collinear.
If p1-p0 is 0, it may be determined that l0And l1Co-linear.
Alternatively, the embodiment may determine whether each adjacent two of the line segments a, b, c, d, e, and f are coplanar through a vector. Alternatively, in the extension lines (rays or straight lines) corresponding to every two adjacent line segments in the line segment a, the line segment b, the line segment c, the line segment d, the line segment e and the line segment f, the embodiment may use a direction vector of the rays or straight lines, a direction vector of the straight lines, a starting point of a point on the straight lines and a starting point of the rays or a vector of the starting point of the line segments and a point on the straight lines, and these three vectors are used to calculate a mixed product, and then determine whether the mixed product is 0, if the mixed product is 0, then it may be determined that every two adjacent line segments in the partially or completely disjoint line segments are coplanar.
Figure 5 is a schematic view of a resulting structural floor slab in accordance with an embodiment of the present invention. As shown in fig. 5, the attributes of the resulting structural floor may include dimensions 220mm, constraints including elevation F3, height offset of target height-50.0, room boundaries, and structure including the provision of a protective layer of rebar.
The embodiment encapsulates the related algorithm for calculating the ray and the intersection point of the straight line and the straight line in the development, and a user can call the encapsulated function to quickly obtain a result only by introducing the library file of the invention into a project and transmitting corresponding parameters of a functional interface, so that developers are not required to design and realize the function, the development time of the developers is reduced, the development efficiency is improved, the technical problem of low efficiency of the generation of the structural floor slab is solved, and the technical effect of improving the efficiency of the generation of the structural floor slab is achieved.
Example 3
The embodiment of the invention also provides a structural floor slab generation device. It should be noted that the structural floor generation apparatus of this embodiment may be used to perform the structural floor generation method of the embodiment of the present invention.
Figure 6 is a schematic view of a structural floor generating apparatus according to an embodiment of the present invention. As shown in fig. 6, the structural floor generating device 60 may include: an acquisition module 61, a determination module 62 and a generation module 63.
And the obtaining module 61 is used for obtaining the simulated floor slab.
And the determining module 62 is configured to determine a wall beam enclosure matched with the simulated floor based on the floor line of the simulated floor, wherein the wall beam enclosure is an enclosure of the shear wall and the coupling beam around the simulated floor.
A generating module 63 for generating a structural floor by using the simulated floor and the wall beam enclosure
Optionally, the determining module 62 comprises: the skew unit for enclose to close corresponding position with floor line skew to wall roof beam, wherein, floor line includes: each two adjacent line segments in the plurality of line segments are sequentially connected to form the peripheral outline of the simulated floor slab; a determining unit, configured to determine a part or all of the disjoint line segments from the plurality of line segments; and the connecting unit is used for sequentially connecting every two adjacent line segments in part of or all of the non-intersecting line segments to form a wall beam enclosure.
Optionally, the connection unit comprises: the acquisition subunit is used for acquiring a first intersection point formed by extension lines of every two adjacent line segments in part of or all of the non-intersecting line segments; and the connecting subunit is used for sequentially connecting every two adjacent line segments in part of or all of the non-intersecting line segments based on the first intersection point to form a wall beam enclosure.
Optionally, the obtaining subunit is configured to obtain a first intersection point formed by extension lines of every two adjacent line segments in the partially or all of the disjoint line segments by: judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; when determining that every two adjacent line segments in part or all of the non-intersecting line segments are coplanar, converting a current plane where the two adjacent line segments are located to a reference plane and calculating to obtain a second intersection point; and converting the second intersection point from the reference plane back to the current plane to obtain the first intersection point.
Optionally, the reference plane is parallel to the current plane, and a value of the reference plane on a coordinate axis perpendicular to the reference plane is a preset value.
Optionally, the apparatus further comprises: the judging module is used for judging whether every two adjacent line segments in part of or all of the non-intersecting line segments are coplanar; and the sending module is used for sending prompt information when the fact that the different-surface adjacent line segments exist in part of or all of the non-intersecting line segments is determined, wherein the prompt information is used for prompting a user that the different-surface adjacent line segments exist currently.
In the structural floor generation device of this embodiment, the acquisition module 61 acquires the simulated floor, the determination module 62 determines the enclosure of the wall beam adapted to the simulated floor based on the floor line of the simulated floor, where the enclosure of the wall beam is the enclosure of the shear wall and the coupling beam around the simulated floor, and the generation module 63 generates the structural floor by using the enclosure of the simulated floor and the wall beam. That is to say, this embodiment can call the function that has been packaged, only need acquire the simulation floor, and the wall roof beam that confirms to be fit for with this simulation floor encloses through the floor line and closes, and then utilizes simulation floor and wall roof beam to enclose and close and generate the structural floor, and does not need the development personnel oneself to design to realize the function of generating the structural floor to reduce development personnel development time, improved development efficiency, solved the inefficiency technical problem that the structural floor generated, reached the technological effect of the efficiency of the generation that improves the structural floor.
Example 4
According to the embodiment of the invention, a nonvolatile storage medium is also provided. The storage medium has stored therein a computer program, wherein the computer program is arranged to perform the structural floor generation method of an embodiment of the invention when executed.
Example 5
According to the embodiment of the invention, the invention also provides the processor. The processor is for running a program, wherein the program is arranged to perform the structural floor generation method of an embodiment of the invention when run.
Example 6
According to the embodiment of the invention, the electronic device is also provided. The apparatus may include a memory and a processor. The memory has stored therein a computer program, and the processor is arranged to run the computer program to perform a structural floor generation method of an embodiment of the invention.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.
Claims (10)
1. A method of creating a structural floor comprising:
acquiring a simulated floor slab;
determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab;
and utilizing the simulated floor slab and the wall beam to enclose and generate a structural floor slab.
2. A structural floor generation method according to claim 1, wherein determining the wall beam enclosure to fit the simulated floor based on the floor line comprises:
with floor line offset to wall roof beam encloses closes corresponding position, wherein, floor line includes: every two adjacent line segments in the plurality of line segments are sequentially connected to form the peripheral outline of the simulated floor slab;
determining partially or fully disjoint segments from the plurality of segments;
and sequentially connecting every two adjacent line segments in the partial or all non-intersecting line segments to form the wall beam enclosure.
3. A method for creating a structural floor according to claim 2, wherein connecting each two adjacent ones of said partially or fully non-intersecting line segments in sequence to form said wall beam enclosure comprises:
acquiring a first intersection point formed by extension lines of every two adjacent line segments in the partial or all non-intersecting line segments;
and sequentially connecting every two adjacent line segments in the partial or all non-intersecting line segments based on the first intersection point to form the wall beam enclosure.
4. A method for creating a structural floor according to claim 3, wherein obtaining the first intersection point formed by the extension lines of every two adjacent line segments of the partially or totally non-intersecting line segments comprises:
judging whether every two adjacent line segments in the partial or all non-intersecting line segments are coplanar;
when determining that every two adjacent line segments in the partial or all non-intersecting line segments are coplanar, converting the current plane where the two adjacent line segments are located to a reference plane and calculating to obtain a second intersection point;
and converting the second intersection point from the reference plane back to the current plane to obtain the first intersection point.
5. A method of creating a structural floor according to claim 4, wherein the reference plane is parallel to the current plane and the reference plane has a predetermined value on a coordinate axis perpendicular to the reference plane.
6. A method of creating a structural floor according to claim 4, further comprising:
judging whether every two adjacent line segments in the partial or all non-intersecting line segments are coplanar;
and sending prompt information when determining that the partially or all non-intersected line segments have the different-surface adjacent line segments, wherein the prompt information is used for prompting a user that the different-surface adjacent line segments exist currently.
7. A structural floor generating apparatus, comprising:
the acquisition module is used for acquiring a simulated floor slab;
the determining module is used for determining a wall beam enclosure matched with the simulated floor slab based on the floor slab line of the simulated floor slab, wherein the wall beam enclosure is an enclosure of a shear wall and a coupling beam around the simulated floor slab;
and the generating module is used for generating the structural floor slab by utilizing the simulated floor slab and the wall beam in a surrounding manner.
8. A non-volatile storage medium, wherein a computer program is stored in the storage medium, wherein the computer program is arranged to perform the method of creating a structural floor slab as claimed in any one of claims 1 to 6 when run.
9. A processor for running a program, wherein the program is arranged to perform the method of structural floor creation of any of claims 1 to 6 when run.
10. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the structural floor creation method of any of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011194150.2A CN112199757B (en) | 2020-10-30 | 2020-10-30 | Structural floor generation method, device, nonvolatile storage medium and processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011194150.2A CN112199757B (en) | 2020-10-30 | 2020-10-30 | Structural floor generation method, device, nonvolatile storage medium and processor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112199757A true CN112199757A (en) | 2021-01-08 |
CN112199757B CN112199757B (en) | 2023-09-05 |
Family
ID=74010575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011194150.2A Active CN112199757B (en) | 2020-10-30 | 2020-10-30 | Structural floor generation method, device, nonvolatile storage medium and processor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112199757B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113656863A (en) * | 2021-07-22 | 2021-11-16 | 上海市城市建设设计研究总院(集团)有限公司 | BIM (building information modeling) lintel generation method based on inventory item |
CN114818036A (en) * | 2021-01-29 | 2022-07-29 | 久瓴(江苏)数字智能科技有限公司 | Roof panel generation method and device of building model |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105019555A (en) * | 2015-07-24 | 2015-11-04 | 陕西昊兴房屋工程有限公司 | Novel steel reinforced concrete shearing wallboard fabricated building system |
CN108571063A (en) * | 2017-03-16 | 2018-09-25 | 吕少雅 | A kind of shear wall structure building assembly System Design |
CN109242969A (en) * | 2018-09-29 | 2019-01-18 | 中民筑友科技投资有限公司 | A kind of outer profile model generating method, device and the equipment of assembled architecture |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN110439140A (en) * | 2019-07-17 | 2019-11-12 | 广州大学 | A kind of modular assembly formula shear wall structure and its construction method |
CN110737944A (en) * | 2019-10-25 | 2020-01-31 | 厦门海迈科技股份有限公司 | floor slab generation method and generation device based on Revit |
CN111079263A (en) * | 2019-11-22 | 2020-04-28 | 久瓴(上海)智能科技有限公司 | Building main body structure generation method and device, computer equipment and storage medium |
-
2020
- 2020-10-30 CN CN202011194150.2A patent/CN112199757B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105019555A (en) * | 2015-07-24 | 2015-11-04 | 陕西昊兴房屋工程有限公司 | Novel steel reinforced concrete shearing wallboard fabricated building system |
CN108571063A (en) * | 2017-03-16 | 2018-09-25 | 吕少雅 | A kind of shear wall structure building assembly System Design |
US20190251209A1 (en) * | 2018-02-09 | 2019-08-15 | Guangzhou University | Method for Automatic Modeling of an Architecture Based on an Architectural Drawing |
CN109242969A (en) * | 2018-09-29 | 2019-01-18 | 中民筑友科技投资有限公司 | A kind of outer profile model generating method, device and the equipment of assembled architecture |
CN110439140A (en) * | 2019-07-17 | 2019-11-12 | 广州大学 | A kind of modular assembly formula shear wall structure and its construction method |
CN110737944A (en) * | 2019-10-25 | 2020-01-31 | 厦门海迈科技股份有限公司 | floor slab generation method and generation device based on Revit |
CN111079263A (en) * | 2019-11-22 | 2020-04-28 | 久瓴(上海)智能科技有限公司 | Building main body structure generation method and device, computer equipment and storage medium |
Non-Patent Citations (2)
Title |
---|
颜巍,罗志伟,蔡士杰: "建筑楼板结构平面图的自动识别方法", 计算机辅助设计与图形学学报 * |
黄吉锋;杨志勇;: "建筑结构设计软件中的关键技术问题", 建筑结构 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114818036A (en) * | 2021-01-29 | 2022-07-29 | 久瓴(江苏)数字智能科技有限公司 | Roof panel generation method and device of building model |
CN113656863A (en) * | 2021-07-22 | 2021-11-16 | 上海市城市建设设计研究总院(集团)有限公司 | BIM (building information modeling) lintel generation method based on inventory item |
CN113656863B (en) * | 2021-07-22 | 2024-01-09 | 上海市城市建设设计研究总院(集团)有限公司 | BIM generation lintel method based on clear item |
Also Published As
Publication number | Publication date |
---|---|
CN112199757B (en) | 2023-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112199757A (en) | Structural floor generation method and device, nonvolatile storage medium and processor | |
EP3448020B1 (en) | Method and device for three-dimensional presentation of surveillance video | |
CN105787993A (en) | Augmented reality method and system | |
US10147240B2 (en) | Product image processing method, and apparatus and system thereof | |
KR102003481B1 (en) | Method and apparatus for creating virtual reality contents for virtual reality-based interior consulting service | |
CN112199762B (en) | Structural floor generation method and device, nonvolatile storage medium and processor | |
WO2018086572A1 (en) | Virtual reality device and method and plug-in unit for implementing message prompt box displaying in the same | |
CN112199755B (en) | Structural floor generation method and device, nonvolatile storage medium and processor | |
CN112598786A (en) | Parameterized wall cutting method and device | |
CN113989468A (en) | Panoramic roaming generation method and device and computer equipment | |
CN114511668A (en) | Method, device and equipment for acquiring three-dimensional decoration image and storage medium | |
US6977660B2 (en) | Data processing apparatus | |
CN113538562B (en) | Indoor area determination method and device, electronic equipment and storage medium | |
CN111143924A (en) | Automated pipeline integration method and related products | |
CN112801435B (en) | Substation fireproof verification method and device, equipment and storage medium | |
TWI503781B (en) | Stereo building model managing system and the method thereof | |
CN115544622B (en) | Urban and rural participated three-dimensional planning design platform, method, equipment and storage medium | |
CN107564112B (en) | Model compression conversion method and system | |
CN114061593B (en) | Navigation method and related device based on building information model | |
CN112685871B (en) | Lightning protection range simulation method, device, equipment and storage medium | |
CN113872798A (en) | Method and device for constructing space network topological graph, storage medium and electronic equipment | |
CN115633021A (en) | Remote debugging method and device for terminal equipment | |
CN112883468A (en) | Control method and device of building model, storage medium and electronic equipment | |
JP7573385B2 (en) | Design Support Equipment | |
CN113987650A (en) | Beam model generation method and device and computer equipment |
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 | ||
CB02 | Change of applicant information |
Address after: Room 701, East Building, innovation and Research Center, 8 Yanzheng West Avenue, Wujin District, Changzhou City, Jiangsu Province, 213100 Applicant after: Jiuling (Jiangsu) Digital Intelligent Technology Co.,Ltd. Address before: Room d1-9999, 58 Fumin Branch Road, Hengsha Township, Chongming District, Shanghai, 201914 (Shanghai Hengtai Economic Development Zone) Applicant before: Jiuling (Jiangsu) Digital Intelligent Technology Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |