CN110599584A - Layered solid model creation method based on Dynamo and Revit - Google Patents

Layered solid model creation method based on Dynamo and Revit Download PDF

Info

Publication number
CN110599584A
CN110599584A CN201910697691.8A CN201910697691A CN110599584A CN 110599584 A CN110599584 A CN 110599584A CN 201910697691 A CN201910697691 A CN 201910697691A CN 110599584 A CN110599584 A CN 110599584A
Authority
CN
China
Prior art keywords
dynamo
revit
model
plane
layered
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
Application number
CN201910697691.8A
Other languages
Chinese (zh)
Other versions
CN110599584B (en
Inventor
张柳柳
申永刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang University ZJU
Original Assignee
Zhejiang University ZJU
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang University ZJU filed Critical Zhejiang University ZJU
Priority to CN201910697691.8A priority Critical patent/CN110599584B/en
Publication of CN110599584A publication Critical patent/CN110599584A/en
Application granted granted Critical
Publication of CN110599584B publication Critical patent/CN110599584B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T17/00Three dimensional [3D] modelling, e.g. data description of 3D objects

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Graphics (AREA)
  • Geometry (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention discloses a layered solid model establishing method based on Dynamo and Revit, which adopts a modeling method of cutting a solid by a curved surface. The method comprises the following steps: s1, making each layer model interface data file; s2 generating interfaces of entity models of each layer in Dynamo according to the data files in S1; s3 obtaining boundary lines of the curved surfaces in S2 in Dynamo, and accordingly regenerating the whole closed edge line of each curved surface; s4 projecting the curved surface obtained in S3 to a plane with zero elevation or a plane parallel to the plane with zero elevation to obtain a plane closed curve; s5 generating a stretching body by the curve generated in S4 along the normal direction of the plane where the curve is located; s6, cutting the entity generated in S5 by the curved surface generated in S2 to obtain a layered entity model; s7 imports the Dynamo model generated in S6 into Revit in the form of a family by means of a springs.

Description

Layered solid model creation method based on Dynamo and Revit
Technical Field
The invention relates to a method for secondarily developing and creating a model by Revit, in particular to a method for creating a layered solid model based on Dynamo and Revit.
Background
At present, the BIM (Building Information model; abbreviation of English Building Information Modeling) technology in China is developed rapidly, and Modeling software is numerous, wherein Revit is the most common Modeling software. Based on the API opened by Revit, the programming language under the framework of C #, C + +, VB and the like can be used for secondary development, and the specific function of Revit in modeling in a specific field is increased. Visualization programs can also be written through a secondary development platform Dynamo of Revit, and the establishment of a more complex BIM model is realized in Revit.
The functional module of Revit can not solve the problem of layered entity modeling. In general, building components are built in Revit, a geological model is generated in Civil3d, and then the geological model generated in Civil3d is imported into Revit for integration, so that the defects that the geological model generated by Civil3d is not editable in Revit and cannot meet the requirement of modifying the model at any time are overcome.
Disclosure of Invention
The invention aims to provide a layered entity model establishing method based on Dynamo and Revit, which has high modeling efficiency, is convenient for subsequent modification of the model and has important significance for visualization of layered entities with irregular interfaces represented by geological models.
In order to achieve the purpose, the invention adopts the following technical scheme:
the invention discloses a method for creating a layered solid model based on Revit + dyanmo, which comprises the following steps:
s1: making each layer of model interface data files;
s2: generating interfaces of all layers of entity models in Dynamo according to the data file in S1;
s3: acquiring boundary lines of the boundary curved surfaces in the step S2 in Dynamo, and correspondingly regenerating the whole closed side lines of each boundary;
s4: projecting the closed side line obtained in the S3 to a plane with zero elevation or a plane parallel to the plane with zero elevation to obtain a closed curve in the plane;
s5: generating a stretching body along the normal direction of the plane of the curve by using the curve generated in S4;
s6: cutting the stretched body generated in the S5 by using the interface generated in the S2 to obtain a layered solid model;
s7: and (4) introducing the layered entity model generated in the S6 into Revit in a family form through a springs.
The invention has the following beneficial effects: the method is a dynamic modeling method based on Dynamo, real-time linkage change of the model shape can be realized through data modification, and the model change is rapid and efficient. After the layered entity model is established, Boolean operation can be performed with other models according to the requirements of actual use scenes.
Drawings
FIG. 1 is a schematic structural view of the present invention;
FIG. 2 is an interface of a layered solid model;
FIG. 3 is a layered solid model generated by the method.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is further described in detail with reference to the following embodiments. The specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
As shown in fig. 1, the present embodiment is to create a geological model based on the inventive method, and includes the following steps:
s1: making each layer of model interface data file, wherein the data comprises: the plane position coordinates x and y of the probing hole and the elevation value of the geological formation layered interface are shown in the following table;
point number x y Miscellaneous fill Powdery clay Medium sand Gravel sand Weakly weathered rock formations
ZK1 270.2816 -29.7937 1.6 -11.8 -30.3 -54.8 -72.1
ZK2 294.9897 9.4822 1.5 -10.8 -33.7 -54.5 -73.3
ZK3 281.6977 2.8856 1.5 -12.2 -33 -53.2 -71.1
ZK4 316.1435 -3.0451 4.7 -10.9 -35 -53.9 -70.2
ZK5 310.8802 -9.483 2.6 -10.9 -31.4 -53.1 -71.9
ZK6 297.2805 -11.9805 1.7 -12.4 -31.5 -53.3 -70.9
ZK7 287.8137 -9.7237 0 -10.5 -33.4 -50.1 -70.2
ZK8 277.365 10.116 1 -12.6 -31.3 -5 0.2 -72.9
ZK9 271.0812 -0.2508 1.1 -11.7 -32.5 -51 -71.8
ZK10 271.2904 -9.6997 4.7 -11.6 -30.5 -53.5 -71.3
ZK11 276.8047 -16.1168 1.9 -13 -32.2 -51.9 -72
ZK12 291.7921 -20.164 4.2 -10 -34.1 -52.3 -71
ZK13 306.832 -20.4326 2.7 -11.5 -31.8 -52.5 -73.7
ZK14 279.1444 -27.7527 2.9 -13 31.4 -53.2 -70. 4
ZK15 307.6991 8.5518 5 -11.4 -33 -50.4 -72.7
ZK16 267.7529 -17.0073 4.6 -11.8 -31 -50.6 -72.4
ZK17 301.6211 -26.7717 4.4 -13.2 -32.7 -50.5 -73.9
ZK18 312.752 -26.719 1.9 -12.6 34.7 -52.7 -71.2
ZK19 268.8916 7.5383 1.6 -10.4 -31.3 -50.7 -71.4
ZK20 305.3588 -0.4469 4.5 -10.2 -32.4 -54 -72.1
ZK21 295.6692 -1.4977 0.2 -12.4 -32.3 -50.2 -73.7
ZK22 193.0831 76.5343 3.5 -14 -32.6 -53.3 -70
ZK23 264.4302 72.4393 3.9 -12 -3 0.9 -52.4 -72.7
ZK24 257.4041 66.495 2.4 -14.1 -32 -51.2 -71.4
ZK25 303.7099 48.6686 4 -14.9 -31.2 -50.5 -70.5
ZK26 300.7417 41.0493 0.3 -14.8 -34.8 -53 -71.6
ZK27 176.0706 60.4332 0 -14.9 -34.9 -52.5 -71.6
ZK28 175.2466 -22.3605 4.2 -12.5 -33.8 -54.7 -71.9
ZK29 188.3372 17.9764 3.6 -11.5 -31.5 -51.8 -73.5
ZK30 188.7344 -27.6696 3.2 -14.8 -31 -53.3 -71.9
ZK31 196.7438 -29.0279 3.5 -12 -34.1 -52.3 -70.3
ZK32 208.5981 -31.766 3.4 -14.9 -33.3 -52 -72.6
ZK33 216.0003 -35.6435 3.4 -13.4 -33.2 -51.6 -71.6
ZK34 223.1316 -39.585 3.2 -10.8 -32.9 -52.5 -70.7
ZK35 234.0193 -37.538 2.5 -11.5 -34.6 -54.6 -70.3
ZK36 183.9399 -6.8416 4.7 -10.7 -33.5 -54.8 -72.2
ZK37 239.5645 -31.5063 0.6 -12.8 -32 -53.4 -72.3
ZK38 260.7936 -22.9189 2.9 -10.2 -31.8 -50.6 -71.8
ZK39 239.3612 -6.4 371 0 -13.8 -32.5 -52.7 -72.3
ZK40 261.4321 -0.3239 4.0 -12.2 -33.6 -51.6 -74
ZK41 246.6629 57.8685 3 -14.2 -32.2 -50.3 -71.5
ZK42 237.1804 49.8983 4.8 -14.9 -34.2 -50.6 -73.7
ZK43 227.7039 42.3675 3.6 -11.3 -33.5 -54.1 -70.9
ZK44 219.8476 37.6149 4.1 -10.1 -30 -53 -71.6
ZK45 266.34 18.57 2 .1 -13.4 -30.6 -53.3 -73.8
ZK46 237.115 7.4052 1.6 -12 .4 -32.7 -53 -71.1
ZK47 324.4493 -14.5626 3.1 -10.6 -33.9 -54.9 -72
ZK48 322.9987 -27.2278 0.1 -13.4 -33.1 -51.2 -72.8
ZK49 306.8363 -42.8668 4.6 -11.9 -35 -54.6 -72.6
S2: generating interfaces of the entity models of the layers in Dynamo according to the data file in S1: generating points in Dynamo through point.bycodings nodes according to coordinate values in the data file, and then generating a terrain surface through the points by using a topograph.bypoints node, wherein the topograph.polysurface node converts the terrain surface into interfaces of each layer of geology in the Dynamo, as shown in fig. 2;
s3: boundary lines of the boundary surfaces in the step S2 are obtained in Dynamo, and accordingly, the whole closed edge line of each boundary is regenerated: using a node surface.PerimerCurves to extract a side line of an interface of any two layers of geology, and forming a closed curve by a plurality of terrain side lines through a PolyCurve.ByJoinedCurves node;
s4: projecting the closed side line obtained in the step S3 to a plane with zero elevation or a plane parallel to the plane with zero elevation to obtain a closed curve in the plane: projecting the node of Curve, PullOntoPlan to a plane Z equal to 0 or a plane parallel to the plane Z to obtain a terrain edge line in a horizontal plane;
s5: the stretched body is generated with the curve generated in S4 along the normal to the plane in which the curve lies: using solid ByLoft nodes to stretch a terrain boundary line in a horizontal plane into an entity, wherein for facilitating later operation, the elevation of the top of a stretched entity model is not lower than a data point with the maximum elevation, and the lowest point of the stretched entity model is not higher than a data point with the minimum elevation;
s6: and cutting the stretched body generated in the S5 by using the interface generated in the S2 to obtain the layered solid model: cutting the tensile solid model into a layered solid model by using interfaces of geology of each layer under the action of a user-defined node package geometry.
S7: importing the layered solid model generated in the step S6 into Revit in a form of a family through a springs. The cut layered solid model can be imported into Revit by self-defining a node package springs, family instance, bygeometry, and double-clicking the model of the corresponding layer in Revit to enter the editing state of the family, giving material to the layer geological model and replacing the original model, thereby obtaining the geological model, as shown in fig. 3.
The technical solution of the present invention is not limited to the limitations of the above specific embodiments, and all technical modifications made according to the technical solution of the present invention fall within the protection scope of the present invention.

Claims (9)

1. A layered solid model creation method based on Dynamo and Revit is characterized by comprising the following steps:
s1: making each layer of model interface data files;
s2: generating interfaces of all layers of entity models in Dynamo according to the data file in S1;
s3: acquiring boundary lines of the interfaces in the step S2 in Dynamo, and accordingly regenerating the whole closed edge line of each interface;
s4: projecting the closed side line obtained in the S3 to a plane with zero elevation or a plane parallel to the plane with zero elevation to obtain a closed curve in the plane;
s5: generating a stretching body along the normal direction of the plane of the curve by using the curve generated in S4;
s6: cutting the stretched body generated in the S5 by using the interface generated in the S2 to obtain a layered solid model;
s7: and (4) introducing the layered entity model generated in the S6 into Revit in a family form through a springs.
2. The Dynamo + Revit-based layered solid model creation method as claimed in claim 1, wherein the model in S1 is a geological model.
3. The Dynamo + Revit-based layered mockup creation method of claim 2, wherein in S1, the data in the data file comprises: the plane position coordinates x and y of the probe hole and the elevation value of the geological formation layered interface.
4. The Dynamo + Revit-based layered solid model creation method of claim 3, wherein S2 is as follows:
generating points in the Dynamo through point.
5. The Dynamo + Revit-based layered solid model creation method of claim 4, wherein S3 is as follows:
and (3) extracting edge lines of interfaces of any two layers of geology by using the surface.
6. The Dynamo + Revit-based layered mockup creation method of claim 5, wherein S4 is as follows:
a topographical line in the horizontal plane is obtained by projecting the cut.
7. The Dynamo + Revit-based layered mockup creation method of claim 6, wherein S5 is as follows:
and stretching a terrain boundary line in a horizontal plane into an entity by using solid ByLoft nodes, wherein the top elevation of the stretched entity model is not lower than the data point with the maximum elevation, and the lowest point of the stretched entity model is not higher than the data point with the minimum elevation.
8. The Dynamo + Revit-based layered mockup creation method of claim 7, wherein S6 is as follows:
the stretched solid model is cut into layered solid models by using interfaces of geology of each layer under the action of a user-defined node package geometry.
9. The Dynamo + Revit-based layered mockup creation method of claim 8, wherein S7 is as follows:
and (3) importing the cut layered entity model into Revit through a user-defined node package spring.
CN201910697691.8A 2019-07-30 2019-07-30 Layered solid model creation method based on Dynamo and Revit Active CN110599584B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910697691.8A CN110599584B (en) 2019-07-30 2019-07-30 Layered solid model creation method based on Dynamo and Revit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910697691.8A CN110599584B (en) 2019-07-30 2019-07-30 Layered solid model creation method based on Dynamo and Revit

Publications (2)

Publication Number Publication Date
CN110599584A true CN110599584A (en) 2019-12-20
CN110599584B CN110599584B (en) 2021-04-13

Family

ID=68853099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910697691.8A Active CN110599584B (en) 2019-07-30 2019-07-30 Layered solid model creation method based on Dynamo and Revit

Country Status (1)

Country Link
CN (1) CN110599584B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475897A (en) * 2020-04-16 2020-07-31 中国电建集团成都勘测设计研究院有限公司 Revit and Dynamo-based volute model creation method
CN111597610A (en) * 2020-04-29 2020-08-28 成都建筑材料工业设计研究院有限公司 Method for realizing rapid modeling of nonstandard parts in BIM design of cement plant by utilizing Dynamo
CN111859515A (en) * 2020-07-30 2020-10-30 广东天元建筑设计有限公司 Pump room modeling method based on BIM technology
CN111950051A (en) * 2020-07-03 2020-11-17 成都理工大学 BIM-based three-dimensional geological modeling and geological model-based construction application method
CN112184893A (en) * 2020-10-15 2021-01-05 洛阳众智软件科技股份有限公司 Drawing method, device and equipment for integration of linear surface body and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107240152A (en) * 2016-03-28 2017-10-10 中国石油化工股份有限公司 The modeling method and system of three-dimensional geological model
US20180031721A1 (en) * 2016-07-29 2018-02-01 Tiago Etiene Queiroz Method and System for Generating a Subsurface Model
CN109102564A (en) * 2018-06-27 2018-12-28 中核第四研究设计工程有限公司 A kind of coupling modeling method of complex geologic body numerical model
CN109711052A (en) * 2018-12-27 2019-05-03 河南省交通规划设计研究院股份有限公司 Tunnel model creation method based on Revit+Dynamo
CN109859316A (en) * 2019-01-07 2019-06-07 杭州易明远科技有限公司 A kind of geological structure three-dimensional visualization physical model

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107240152A (en) * 2016-03-28 2017-10-10 中国石油化工股份有限公司 The modeling method and system of three-dimensional geological model
US20180031721A1 (en) * 2016-07-29 2018-02-01 Tiago Etiene Queiroz Method and System for Generating a Subsurface Model
CN109102564A (en) * 2018-06-27 2018-12-28 中核第四研究设计工程有限公司 A kind of coupling modeling method of complex geologic body numerical model
CN109711052A (en) * 2018-12-27 2019-05-03 河南省交通规划设计研究院股份有限公司 Tunnel model creation method based on Revit+Dynamo
CN109859316A (en) * 2019-01-07 2019-06-07 杭州易明远科技有限公司 A kind of geological structure three-dimensional visualization physical model

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
车冠宇 等: "Revit+Dynamo参数化隧道模型构建体系探析", 《公路交通科技》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475897A (en) * 2020-04-16 2020-07-31 中国电建集团成都勘测设计研究院有限公司 Revit and Dynamo-based volute model creation method
CN111475897B (en) * 2020-04-16 2023-10-13 中国电建集团成都勘测设计研究院有限公司 Volute model creation method based on Revit and Dynamo
CN111597610A (en) * 2020-04-29 2020-08-28 成都建筑材料工业设计研究院有限公司 Method for realizing rapid modeling of nonstandard parts in BIM design of cement plant by utilizing Dynamo
CN111950051A (en) * 2020-07-03 2020-11-17 成都理工大学 BIM-based three-dimensional geological modeling and geological model-based construction application method
CN111950051B (en) * 2020-07-03 2022-07-01 成都理工大学 BIM-based three-dimensional geological modeling and geological model-based construction application method
CN111859515A (en) * 2020-07-30 2020-10-30 广东天元建筑设计有限公司 Pump room modeling method based on BIM technology
CN111859515B (en) * 2020-07-30 2024-01-23 广东天元建筑设计有限公司 Pump house modeling method based on BIM technology
CN112184893A (en) * 2020-10-15 2021-01-05 洛阳众智软件科技股份有限公司 Drawing method, device and equipment for integration of linear surface body and storage medium
CN112184893B (en) * 2020-10-15 2024-05-24 众智软件股份有限公司 Line-surface body integrated drawing method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110599584B (en) 2021-04-13

Similar Documents

Publication Publication Date Title
CN110599584B (en) Layered solid model creation method based on Dynamo and Revit
CN111709092B (en) Radial tire tread pattern finite element automatic modeling method based on finite element unit nodes
CN102184299B (en) Model conversion method and system from CAD (Computer Aided Design) system to three-dimensional checking system
CN109102564B (en) Coupling modeling method for numerical model of complex geologic body
CN104574511A (en) Rapidly progressive three-dimensional geologic modeling method
CN110189409B (en) PLAXIS-based rapid true three-dimensional geological modeling method and system
CN106204748B (en) A kind of CAD volume mesh model editing, optimization method based on feature
CN108898670B (en) Three-dimensional geological modeling method based on entity and profile
CN105426590A (en) Machining process feature tree and construction method thereof
CN105740521B (en) Small grid elimination method and device during reservoir numerical simulation system solution
CN111984796B (en) Automatic compliance inspection method based on standard knowledge graph IFC model
CN109859312A (en) A kind of fining three-dimensional geological model modeling method based on BIM technology
CN107481320A (en) A kind of gridless routing of three-dimensional geological modeling
CN108170970A (en) A kind of quick method for establishing vehicle statistics energy model based on VAOne
CN104090995B (en) The automatic generation method of rebar unit grids in a kind of ABAQUS tire models
CN106528929A (en) Method for dynamic display and light-weight storage of intermediate process model based on dynamic processing element-modeling tree matrix
CN110349262A (en) A kind of tunnel geological forecast three-dimensional modeling method and system based on BIM
CN113011072B (en) Discrete element complex model identification method based on MIDAS-PFC3D
CN106408178A (en) Multi-dimensional data snapshot-based product BOM management method and device
CN103729516B (en) The backward modeling method and device of three-dimensional process
CN108550187B (en) Rapid reconstruction method of three-dimensional geological cover layer model
CN110704916B (en) BIM technology-based large complex three-dimensional geological model grid coarsening method
CN105446883B (en) A kind of model verification analysis method based on data configuration tool
CN106780741B (en) Geological curved surface rapid fitting interpolation method based on multi-point occurrence data
CN108197353A (en) A kind of solid propellant rocket Fixture Design method of the APDL language based on ANSYS

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