CN110737944B - Method and device for generating floor slab based on Revit - Google Patents
Method and device for generating floor slab based on Revit Download PDFInfo
- Publication number
- CN110737944B CN110737944B CN201911021578.4A CN201911021578A CN110737944B CN 110737944 B CN110737944 B CN 110737944B CN 201911021578 A CN201911021578 A CN 201911021578A CN 110737944 B CN110737944 B CN 110737944B
- Authority
- CN
- China
- Prior art keywords
- target
- line
- list
- center line
- component model
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 27
- 238000000605 extraction Methods 0.000 claims abstract description 17
- 238000007789 sealing Methods 0.000 claims description 34
- 238000004590 computer program Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000002452 interceptive effect Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 229910000831 Steel Inorganic materials 0.000 description 1
- 239000011449 brick Substances 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 239000010410 layer Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000011150 reinforced concrete Substances 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 239000010959 steel Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002344 surface layer Substances 0.000 description 1
- 239000002023 wood Substances 0.000 description 1
Images
Classifications
-
- 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
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the invention discloses a method and a device for generating a floor slab based on Revit, which are used for generating a target floor slab member in a highly-automatic mode through the function of automatically arranging floor slab members, so that the working efficiency of modeling staff is improved. The method of the embodiment of the invention comprises the following steps: responding to the selection operation of a user, and generating a selection instruction; selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model; performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list.
Description
Technical Field
The invention relates to the field of floor slab members, in particular to a method and a device for generating a floor slab based on Revit.
Background
The basic composition of the floor slab can be divided into three parts of a structural layer, a surface layer and a ceiling. Floor slabs are horizontal load-bearing members separating the vertical space of a building and are generally comprised of beam slabs. The materials used for the floor slab can be divided into a wood floor slab, a brick arch floor slab, a reinforced concrete floor slab, a steel lining plate bearing floor slab and the like. In the prior art, the manual arrangement of floor elements is inefficient, labor intensive and cumbersome, particularly involving arcuate conditions.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a floor slab based on Revit, which are used for generating a target floor slab member in a highly-automatic mode through the function of automatically arranging floor slab members, so that the working efficiency of modeling staff is improved.
In view of this, a first aspect of the present invention provides a method of generating a floor slab based on Revit, which may comprise:
responding to the selection operation of a user, and generating a selection instruction;
selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model;
performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result;
calculating a closed area ring list according to the first processing result;
and generating a target floor slab member according to the closed area ring list.
Optionally, in some embodiments of the present invention, the performing segment extraction and regularization on the target component model to obtain a first processing result may include:
acquiring a first center line list of a target component according to the target component model;
obtaining a target line according to the first center line list;
acquiring a second center line list intersected by the target member according to the end coordinates of the target line;
calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set;
and carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result.
Optionally, in some embodiments of the present invention, the acquiring the second center line list intersected by the target member according to the point coordinates of the target line may include:
determining the target member within a target range according to end coordinates of the target line;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Optionally, in some embodiments of the present invention, the acquiring the second center line list intersected by the target member according to the end coordinates of the target line may include:
determining a column member associated with an end point within a target range according to end coordinates of the target line;
acquiring the target member intersecting the pillar member;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Optionally, in some embodiments of the present invention, the calculating the positional relationship between all members in the second centerline list and the target line, and performing a sealing process to obtain a sealed line set may include:
calculating the position relation of the target line and the straight line where each central line is located according to the second central line list, wherein the position relation comprises intersecting or parallel;
and (5) performing sealing treatment to obtain a line set after sealing treatment.
A second aspect of the present invention provides a generating apparatus, which may include:
the acquisition module is used for responding to the selection operation of the user and generating a selection instruction;
the processing module is used for selecting and obtaining a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model; performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list.
Alternatively, in some embodiments of the invention,
the processing module is specifically configured to obtain a first center line list of a target member according to the target member model; obtaining a target line according to the first center line list; acquiring a second center line list intersected by the target member according to the end coordinates of the target line; calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set; and carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result.
Alternatively, in some embodiments of the invention,
the processing module is specifically used for determining the target component in a target range according to the end coordinates of the target line; determining the center line of the target member according to the list of the target member, and obtaining a second center line list intersected by the target member;
or,
the processing module is specifically used for determining a column component related to an endpoint in a target range according to the end coordinates of the target line; acquiring the target member intersecting the pillar member; and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Alternatively, in some embodiments of the invention,
the processing module is further configured to calculate a positional relationship between the target line and a straight line where each center line is located according to the second center line list, where the positional relationship includes intersecting or parallel; and (5) performing line sealing treatment to obtain a line set after sealing treatment.
A third aspect of the present invention provides a quota conversion device, which may include:
the device comprises a transceiver, a processor and a memory, wherein the transceiver, the processor and the memory are connected through a bus;
the memory is used for storing operation instructions;
the transceiver is used for responding to the selection operation of a user and generating a selection instruction;
the processor is configured to invoke the operation instruction to perform the steps of the method for generating a floor slab based on Revit according to the first aspect of the present invention and any optional implementation manner of the first aspect.
A fourth aspect of the present invention provides a computer readable storage medium storing a computer program, wherein the computer program causes a computer to perform the method for generating floors based on Revit provided in the first aspect of the embodiments and any optional implementation manner of the first aspect.
From the above technical solutions, the embodiment of the present invention has the following advantages:
in the embodiment of the invention, a selection instruction is generated in response to a selection operation of a user; selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model; performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list. According to the embodiment of the invention, the target floor slab member can be generated in a highly-automatic mode by automatically arranging the function of the floor slab member, so that the working efficiency of modeling staff is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments and the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the present invention, and that other drawings may be obtained according to these drawings.
FIG. 1 is a schematic diagram of one embodiment of a method for generating a floor slab based on Revit in an embodiment of the invention;
FIG. 2A is a schematic diagram of selecting a target member at an interactive interface according to an embodiment of the present invention;
FIG. 2B is a schematic diagram of a first processing result according to an embodiment of the present invention;
FIG. 2C is a diagram illustrating a second centerline list according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a generating device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of another embodiment of the generating apparatus according to the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a device for generating a floor slab based on Revit, which are used for generating a target floor slab member in a highly-automatic mode through the function of automatically arranging floor slab members, so that the working efficiency of modeling staff is improved.
In order that those skilled in the art will better understand the present invention, reference will now be made to the accompanying drawings in which embodiments of the invention are illustrated, it being apparent that the embodiments described are only some, but not all, of the embodiments of the invention. Based on the embodiments of the present invention, it should be understood that the present invention is within the scope of protection.
The technical scheme of the invention is further described below by way of examples. As shown in fig. 1, an embodiment of a method for generating a floor slab based on Revit according to an embodiment of the present invention is shown, which may include:
s1, responding to selection operation of a user, and generating a selection instruction.
The generating means may generate the selection instruction in response to a selection operation by the user. Exemplary, as shown in fig. 2A, a schematic diagram of selecting a target member at an interactive interface according to an embodiment of the present invention is shown. That is, FIG. 2A is a diagram of an interface display of user interactions that provide a range of selection of a target component model. I.e. the target component is the component framed by the user. The floor type provided at the interface is a template for creating the target floor elements.
For example: beam member model, beam and wall member model. Thus, interference information is removed from the input source, so that the automation degree of floor slab arrangement is improved.
S2, selecting and obtaining a target component model according to the selection instruction.
I.e. after the relevant information is set by the user, the generating means obtains the target component model selected by the user via an application programming interface (Application Programming Interface, API) provided by the Revit SDK, e.g. a Selection Filter. Wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model. And acquiring a beam component list, or a wall component list, or a beam and wall component list according to the target component model, and taking the component list as input data of the next step.
S3, carrying out line segment extraction and regularization treatment on the target component model to obtain a first treatment result.
The generating device performs line segment extraction and regularization processing on the target component model to obtain a first processing result, and may include: the generating device acquires a first center line list of the target component according to the target component model; the generating device obtains a target line according to the first center line list; the generating device acquires a second center line list intersected by the target member according to the end coordinates of the target line; the generating device calculates the position relation between all the components in the second central line list and the target line, and performs sealing treatment to obtain a line set after sealing treatment; and the generating device performs line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result.
Exemplary, fig. 2B is a schematic diagram illustrating a first processing result according to an embodiment of the present invention. The first treatment result can directly influence the automation degree of floor slab arrangement.
In the flow described in fig. 2B, step S31 calculates the line segment center line of the beam, or the line segment center line of the wall, or the line segment center lines of the beam and the wall through API (Location) provided by the Revit SDK; step S35 uses the line segment breaking algorithm provided by the open source item Net Topology Suite to break the line set after the sealing process, and then regularizes the broken line set (for example, eliminates overlapping lines).
It should be noted that, in the descriptions of steps S33 and S34, reference may be made to fig. 2C, which is a schematic diagram of acquiring the second centerline list in the embodiment of the present invention. Wherein, the obtaining, according to the point coordinates of the target line, the second center line list intersected by the target member may include:
(1) Generating means for determining the target member within a target range based on end coordinates of the target wire; the generating device determines the center line of the target component according to the list of the target component, and obtains a second center line list intersected by the target component.
Or,
(2) Generating means for determining a column member associated with an end point within a target range based on end coordinates of the target line; generating means for acquiring the target member intersecting the pillar member; the generating device determines the center line of the target component according to the list of the target component, and obtains a second center line list intersected by the target component.
The generating device calculates the position relation between all the components in the second central line list and the target line, and performs sealing processing to obtain a line set after sealing processing, which may include: the generating device calculates the position relation between the target line and the straight line where each center line is located according to the second center line list, wherein the position relation comprises intersecting or parallel; the generating device performs sealing treatment to obtain a line set after the sealing treatment.
Illustratively, step S331 solves the problem of errors in the spatial position of the component model by acquiring the relevant columns, beams and walls within 30 cm of the end coordinates. The realization mode is that the API-Bounding Box Intersects Filter provided by Revit SDK is adopted to obtain columns, beams and walls; the column is different from the line member (at least one of the beam and the wall) in the intersection determination. For the column, the distance between the projected coordinates and the end coordinates is calculated by projecting the end coordinates of the line X onto the geometric surface of the column, and then whether the distance is within 30 cm is judged by the minimum distance. For at least one of the beams or walls, the center line of the beams or walls is taken, and whether the distance between the coordinates of the X end of the line and the center line is within 30 cm is calculated.
Step S332 further obtains a beam or wall member having an intersection relationship with the column member, based on the column member obtained in step S331, and having a distance from the end coordinates outside the range of 30 cm. Thereby ensuring the integrity of the input data of the subsequent closed area algorithm.
Based on step S33, step S34 calculates the positional relationship between the line X and the straight line where each center line is located from the inputted set of center lines of the beam or wall: intersecting or parallel. For intersections and points outside the line segment, extending line X to the intersection point; for the parallel relationship, the coordinates of the two ends of the center line close to the line X are taken as the end points of the newly built line segment, and are taken as a part of the closed area.
Based on the closed area line set output in step S34, step S35 calculates a broken line segment list using the Simple MC Sweep Line Intersector, robust Line Intersector, and Segment Intersector functional classes provided by Net Topology Suite, and the split edges is the final broken line segment list as shown in the following code.
Due to the broken wire, there may be portions that overlap (completely covered or covered) with each other, requiring a deduplication process. And (3) a duplicate removal process: firstly converting a line into an IGeometric type object provided by NetTopologySuite, judging the overlapping condition according to a geometric relation calculation method provided by IGeometric, and removing the IGeometric object after overlapping.
S4, calculating a closed area ring list according to the first processing result.
And the generation device calculates a closed area ring list according to the first processing result. Step S4, a closed loop is calculated according to the fact that the converted IGeometric object is added to a Polygonizer object provided by NetTopologySuite, and then the edge of the closed loop is converted into a data type which can be identified by a Revit API, wherein the loopList is used as input data in step 5 as shown in the following code:
s5, generating a target floor slab member according to the closed area ring list.
And S5, setting related parameters including the closed area loop line input and output in the previous step by adopting an API (application program interface) provided by Revit, namely a NewFlor, so as to generate a floor slab member. That is, it is to be understood that the target member herein may include a beam construction, a wall member, or a beam and wall member.
In the embodiment of the invention, a selection instruction is generated in response to a selection operation of a user; selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model; performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list. According to the embodiment of the invention, the target floor slab member can be generated in a highly-automatic mode by automatically arranging the function of the floor slab member, so that the working efficiency of modeling staff is improved. That is, the generating means may automatically generate a floor slab member model from the area constituted by the column, the beam or the wall.
As shown in fig. 3, which is a schematic diagram of an embodiment of a generating apparatus in an embodiment of the present invention, may include:
an obtaining module 301, configured to respond to a selection operation of a user and generate a selection instruction;
a processing module 302, configured to select a target component model according to the selection instruction, where the target component model includes a beam component model, or a wall component model, or a beam and wall component model; performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list.
Alternatively, in some embodiments of the invention,
the processing module 302 is specifically configured to obtain a first centerline list of the target member according to the target member model; obtaining a target line according to the first center line list; acquiring a second center line list intersected by the target member according to the end coordinates of the target line; calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set; and carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result.
Alternatively, in some embodiments of the invention,
a processing module 302, specifically configured to determine the target member within a target range according to the end coordinates of the target line; determining the center line of the target member according to the list of the target member, and obtaining a second center line list intersected by the target member;
or,
a processing module 302, specifically configured to determine a column member associated with an endpoint within a target range according to an end coordinate of the target line; acquiring the target member intersecting the pillar member; and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Alternatively, in some embodiments of the invention,
the processing module 302 is further configured to calculate, according to the second center line list, a positional relationship between the target line and a straight line where each center line is located, where the positional relationship includes intersecting or parallel; and (5) performing line sealing treatment to obtain a line set after sealing treatment.
As shown in fig. 4, which is a schematic diagram of another embodiment of the generating apparatus in the embodiment of the present invention, may include:
a transceiver 401, a processor 402, a memory 403, wherein the transceiver 401, the processor 402 and the memory 403 are connected by a bus;
a memory 403 for storing operation instructions;
a transceiver 401 for generating a selection instruction in response to a selection operation by a user;
the processor 402 is configured to call the operation instruction, and perform the following steps:
selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model;
performing line segment extraction and regularization treatment on the target component model to obtain a first treatment result;
calculating a closed area ring list according to the first processing result;
and generating a target floor slab member according to the closed area ring list.
Optionally, in some embodiments of the present invention, the processor 402 is configured to call the operation instruction, and perform the following steps:
acquiring a first center line list of a target component according to the target component model;
obtaining a target line according to the first center line list;
acquiring a second center line list intersected by the target member according to the end coordinates of the target line;
calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set;
and carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result.
Optionally, in some embodiments of the present invention, the processor 402 is configured to call the operation instruction, and perform the following steps:
determining the target member within a target range according to end coordinates of the target line;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Optionally, in some embodiments of the present invention, the processor 402 is configured to call the operation instruction, and perform the following steps:
determining a column member associated with an end point within a target range according to end coordinates of the target line;
acquiring the target member intersecting the pillar member;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
Optionally, in some embodiments of the present invention, the processor 402 is configured to call the operation instruction, and perform the following steps:
calculating the position relation of the target line and the straight line where each central line is located according to the second central line list, wherein the position relation comprises intersecting or parallel;
and (5) performing sealing treatment to obtain a line set after sealing treatment.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center by a wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform 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 removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (8)
1. A method of generating a floor slab based on Revit, comprising:
responding to the selection operation of a user, and generating a selection instruction;
selecting a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model;
acquiring a first center line list of a target component according to the target component model;
obtaining a target line according to the first center line list;
acquiring a second center line list intersected by the target member according to the end coordinates of the target line;
calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set;
carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result;
calculating a closed area ring list according to the first processing result;
and generating a target floor slab member according to the closed area ring list.
2. The method of claim 1, wherein the obtaining a second list of centerlines intersected by the target member based on the end coordinates of the target wire comprises:
determining the target member within a target range according to end coordinates of the target line;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
3. The method of claim 1, wherein the obtaining a second list of centerlines intersected by the target member based on the end coordinates of the target wire comprises:
determining a column member associated with an end point within a target range according to end coordinates of the target line;
acquiring the target member intersecting the pillar member;
and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
4. The method of claim 1, wherein calculating the positional relationship between all the members in the second centerline list and the target line, and performing a sealing process to obtain a sealed line set, includes:
calculating the position relation of the target line and the straight line where each central line is located according to the second central line list, wherein the position relation comprises intersecting or parallel;
and (5) performing sealing treatment to obtain a line set after sealing treatment.
5. A generating apparatus, comprising:
the acquisition module is used for responding to the selection operation of the user and generating a selection instruction;
the processing module is used for selecting and obtaining a target component model according to the selection instruction, wherein the target component model comprises a beam component model, or a wall component model, or a beam and wall component model; acquiring a first center line list of a target component according to the target component model; obtaining a target line according to the first center line list; acquiring a second center line list intersected by the target member according to the end coordinates of the target line; calculating the position relation between all the components in the second center line list and the target line, and performing sealing treatment to obtain a sealed line set; carrying out line segment extraction and regularization treatment on the line set subjected to the sealing treatment to obtain a first treatment result; calculating a closed area ring list according to the first processing result; and generating a target floor slab member according to the closed area ring list.
6. The apparatus of claim 5, wherein the generating means,
the processing module is specifically used for determining the target component in a target range according to the end coordinates of the target line; determining the center line of the target member according to the list of the target member, and obtaining a second center line list intersected by the target member;
or,
the processing module is specifically used for determining a column component related to an endpoint in a target range according to the end coordinates of the target line; acquiring the target member intersecting the pillar member; and determining the center line of the target component according to the list of the target component, and obtaining a second center line list intersected by the target component.
7. The apparatus of claim 5, wherein the generating means,
the processing module is further configured to calculate a positional relationship between the target line and a straight line where each center line is located according to the second center line list, where the positional relationship includes intersecting or parallel; and (5) performing line sealing treatment to obtain a line set after sealing treatment.
8. A computer readable storage medium, wherein a computer program is stored on the computer readable storage medium, which computer program, when executed by a processor, implements a method of generating floors based on Revit according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911021578.4A CN110737944B (en) | 2019-10-25 | 2019-10-25 | Method and device for generating floor slab based on Revit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911021578.4A CN110737944B (en) | 2019-10-25 | 2019-10-25 | Method and device for generating floor slab based on Revit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110737944A CN110737944A (en) | 2020-01-31 |
CN110737944B true CN110737944B (en) | 2023-05-26 |
Family
ID=69271351
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911021578.4A Active CN110737944B (en) | 2019-10-25 | 2019-10-25 | Method and device for generating floor slab based on Revit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110737944B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112199760B (en) * | 2020-10-30 | 2022-07-15 | 久瓴(江苏)数字智能科技有限公司 | Structure size labeling method and device, terminal equipment and storage medium |
CN112199757B (en) * | 2020-10-30 | 2023-09-05 | 久瓴(江苏)数字智能科技有限公司 | Structural floor generation method, device, nonvolatile storage medium and processor |
CN112287443B (en) * | 2020-10-30 | 2022-06-17 | 久瓴(江苏)数字智能科技有限公司 | Method and device for generating structural floor slab, electronic equipment and storage medium |
CN112199759B (en) * | 2020-10-30 | 2022-05-27 | 久瓴(江苏)数字智能科技有限公司 | Structural floor generation method and device and electronic equipment |
CN112199762B (en) * | 2020-10-30 | 2023-03-21 | 久瓴(江苏)数字智能科技有限公司 | Structural floor generation method and device, nonvolatile storage medium and processor |
CN112199755B (en) * | 2020-10-30 | 2023-03-21 | 久瓴(江苏)数字智能科技有限公司 | Structural floor generation method and device, nonvolatile storage medium and processor |
CN113239448B (en) * | 2021-07-13 | 2022-03-01 | 大唐环境产业集团股份有限公司 | Intelligent modeling system, method and device of list type frame structure and electronic equipment |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240681A (en) * | 2018-09-26 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of model generating method, device and computer readable storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107330935B (en) * | 2017-05-24 | 2021-02-26 | 中国科学院深圳先进技术研究院 | Method and device for extracting central line of tubular target |
CN108363867B (en) * | 2018-02-09 | 2021-04-20 | 广州大学 | Building automatic modeling method based on building drawing |
CN110188458A (en) * | 2019-05-28 | 2019-08-30 | 广东工业大学 | A kind of component model method for building up, apparatus and system based on BIM |
CN110232235B (en) * | 2019-06-10 | 2023-06-02 | 博锐尚格科技股份有限公司 | Three-dimensional model-based relational data processing method and device and electronic equipment |
-
2019
- 2019-10-25 CN CN201911021578.4A patent/CN110737944B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109240681A (en) * | 2018-09-26 | 2019-01-18 | 郑州云海信息技术有限公司 | A kind of model generating method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110737944A (en) | 2020-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110737944B (en) | Method and device for generating floor slab based on Revit | |
US20150294488A1 (en) | Graph generating device, graph generating method and graph generating program | |
CN103440364B (en) | Based on the method and system of BIM auto-building model WBS node | |
CN105512099B (en) | Gantt chart generation method and apparatus | |
CN111090903B (en) | BIM-based component statistical method and related device | |
CN112948914B (en) | Method, processing device and storage medium for automatically generating Liang Peijin diagrams | |
CN113010937A (en) | Parametric modeling method of member section steel bar and related device | |
US11080470B2 (en) | Fine-tuning automatically label locations in engineering drawings | |
CN111859494A (en) | Building model creating method and device and intelligent terminal | |
CN111079215A (en) | Method and device for determining ramp engineering quantity and electronic equipment | |
CN111475877A (en) | Method, device and terminal for measuring and calculating space clear height based on BIM technology | |
JP6209909B2 (en) | Concrete strike design drawing support device, concrete strike design drawing support method and program | |
EP3968202A1 (en) | Customizable reinforcement of learning column placement in structural design | |
CN111240622A (en) | Drawing method and device | |
JP5519575B2 (en) | Plant construction process creation support system, plant construction process creation support method and program | |
US9552616B2 (en) | Using OPC UA to automatically generate process graphics | |
CN111080792A (en) | Model simplification processing method and device, electronic equipment and storage medium | |
CN106547528B (en) | Interface layout method and device | |
JP2010122866A (en) | Layout design support apparatus and method | |
CN108920785A (en) | A kind of monomeric complex model regularization modeling method and system | |
JP5815068B2 (en) | Plant construction process creation support system, plant construction process creation support method and program | |
KR102673898B1 (en) | Method and program for drawing all dwg automatically | |
JP2019164429A (en) | Layout design device, method and program | |
WO2024045347A1 (en) | Prefabricated box girder bridge construction monitoring method and related device | |
JP2019500696A (en) | Steel processing formula model management device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |