CN113779670A - Method and system for achieving double-control modeling of Revit pile foundation based on Dynamo - Google Patents

Method and system for achieving double-control modeling of Revit pile foundation based on Dynamo Download PDF

Info

Publication number
CN113779670A
CN113779670A CN202110989722.4A CN202110989722A CN113779670A CN 113779670 A CN113779670 A CN 113779670A CN 202110989722 A CN202110989722 A CN 202110989722A CN 113779670 A CN113779670 A CN 113779670A
Authority
CN
China
Prior art keywords
pile foundation
pile
model
circle
family
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
CN202110989722.4A
Other languages
Chinese (zh)
Other versions
CN113779670B (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.)
China Railway First Engineering Group Co Ltd
Construction and Installation Engineering Co Ltd of China Railway First Engineering Group Co Ltd
Original Assignee
China Railway First Engineering Group Co Ltd
Construction and Installation Engineering Co Ltd of China Railway First Engineering Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Railway First Engineering Group Co Ltd, Construction and Installation Engineering Co Ltd of China Railway First Engineering Group Co Ltd filed Critical China Railway First Engineering Group Co Ltd
Priority to CN202110989722.4A priority Critical patent/CN113779670B/en
Publication of CN113779670A publication Critical patent/CN113779670A/en
Application granted granted Critical
Publication of CN113779670B publication Critical patent/CN113779670B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

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)
  • Processing Or Creating Images (AREA)

Abstract

The application relates to the technical field of construction engineering, in particular to a method and a system for achieving double-control modeling of a Revit pile foundation based on Dynamo. The method comprises the steps of obtaining parameter information of the pile foundation based on a CAD model; performing parameter definition on a pile family based on the three-dimensional coordinates of the circle center of the pile foundation to obtain a pile family model; performing parameter definition on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model; acquiring a terrain, and converting the terrain into a multiple curved surface; acquiring projection points corresponding to the circle center of the pile foundation on the multiple curved surfaces; acquiring the distance between the circle center of the pile foundation and the corresponding projection point, and acquiring the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point; obtaining a second pile foundation model according to the pile family model and the corresponding effective pile length; and obtaining a pile foundation design model based on the first pile foundation model and the second pile foundation model. By acquiring original design data and automatically creating the model, the problem of low efficiency caused by manually clicking definition parameters in sequence is effectively solved, and therefore the efficiency of creating the pile foundation model is improved conveniently.

Description

Method and system for achieving double-control modeling of Revit pile foundation based on Dynamo
Technical Field
The application relates to the technical field of construction engineering construction, in particular to a method and a system for achieving double-control modeling of a Revit pile foundation based on Dynamo.
Background
The BIM (Building Information model) is used for establishing a Building model by taking relevant Information data of each item of a project as a basis of the model, and simulating real Information of a Building through digital Information. BIM is not only software similar to CAD, but also an engineering management means, and is an important technical tool for realizing fine and information management in the construction industry.
The Revit series software is constructed for BIM, can help architects to design, build and maintain buildings with better quality and higher energy efficiency, and is one of the most widely used software in a BIM system.
Because Revit needs to click one by one when modeling the pile foundation and needs to define the parameters of each pile foundation manually, the time and the labor are wasted, and the missing filling and the wrong filling are easy to occur, so that the efficiency is low.
Disclosure of Invention
In order to improve efficiency, the application provides a method and a system for realizing double-control modeling of a Revit pile foundation based on Dynamo.
In a first aspect, the method for achieving double-control modeling of the Revit pile foundation based on Dynamo adopts the following technical scheme:
a method for realizing double-control modeling of a Revit pile foundation based on Dynamo comprises the following steps:
obtaining a CAD model, wherein the CAD model is obtained by selecting a CAD file linked with Revit by Dynamo;
acquiring parameter information of the pile foundation based on the CAD model, wherein the parameter information comprises a three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation;
setting the type of the group as a pile group, and performing parameter definition on the pile group based on the three-dimensional coordinate of the circle center of the pile foundation to obtain a pile group model;
parameter definition is carried out on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model;
acquiring a terrain, and converting the terrain into a multiple curved surface;
acquiring projection points corresponding to the circle center of the pile foundation on the multiple curved surfaces;
acquiring the distance between the circle center of the pile foundation and the corresponding projection point, and acquiring the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point;
obtaining a second pile foundation model according to the pile family model and the corresponding effective pile length;
and obtaining a pile foundation design model based on the first pile foundation model and the second pile foundation model.
By adopting the technical scheme, a pre-created CAD model is obtained, the three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation are obtained according to the CAD model, the positioning point of the pile foundation group is determined based on the three-dimensional coordinate of the circle center of the pile foundation, and the value of the diameter of the pile foundation is given to the pile foundation group, so that a first pile foundation model is obtained; acquiring a pre-established terrain, converting and processing the terrain in a format to obtain an effective pile length, namely the height of a pile foundation, and endowing the height value of the pile foundation to a pile family to obtain a second pile foundation model; obtaining a finally finished pile foundation design model based on the first pile foundation model and the second pile foundation model;
by acquiring the original design data, processing and automatically creating the model, the problem of low efficiency caused by manually clicking the definition parameters in sequence is effectively solved, and therefore the efficiency of creating the pile foundation model is improved conveniently.
Optionally, the method for acquiring the parameter information of the pile foundation includes:
acquiring a circle in the CAD model based on the CAD model, and determining the circle as a pile foundation;
acquiring a three-dimensional coordinate of the circle center of the pile foundation and the radius of the pile foundation;
and obtaining the diameter of the pile foundation based on the radius of the pile foundation.
By adopting the technical scheme, the three-dimensional coordinate of the circle center of the pile foundation and the radius of the pile foundation are obtained based on the circle in the CAD model, so that the efficiency of establishing the pile foundation model is improved conveniently.
Optionally, the method for obtaining a circle in the CAD model includes:
acquiring a geometric figure in the CAD model based on the CAD model;
and screening the geometric figures, and removing figures except for the circle in the geometric figures.
By adopting the technical scheme, only the pile foundation in the CAD model is circular, the graphs except the circular graph in the geometric graph are removed, and the circular graph is kept, so that the data of the pile foundation can be acquired, and the modeling efficiency is improved; in addition, due to the fact that the figures except the circular figure are removed, the possibility that errors are generated due to the fact that other figures are mistakenly detected by pile foundation data is effectively reduced.
Optionally, the method for obtaining the projection point includes:
and taking the center of the pile foundation as an original point, and projecting the original point onto the multiple curved surfaces according to a preset projection direction to obtain a projection point.
Through adopting above-mentioned technical scheme, for satisfying the design requirement and improving the steadiness of pile foundation, the bottom of pile foundation will sink to the predetermined degree of depth or reach the holding power layer, and with the pile foundation centre of a circle according to the projection of predetermineeing the direction on multiple curved surface, can obtain the position of this pile foundation on multiple curved surface, help judging the pile height of pile foundation.
Optionally, the method for acquiring the effective pile length includes:
obtaining the distance between the origin and the projection point;
judging whether the distance between the original point and the projection point is greater than the designed pile length, and if so, taking the distance between the original point and the projection point as the effective pile length; and if not, the pile length is designed as the effective pile length.
By adopting the technical scheme, the effective pile length is determined based on the distance between the original point and the projection point and the designed pile length, so that the effective pile length not only meets the designed pile length, but also meets the requirement that the bottom end of the pile foundation is sunk to the preset depth.
Optionally, the method for obtaining the distance between the origin and the projection point includes:
acquiring a three-dimensional coordinate of a projection point;
and calculating the difference value between the coordinate value of the three-dimensional coordinate of the center of the pile foundation in the Z-axis direction and the coordinate value of the three-dimensional coordinate corresponding to the projection point in the Z-axis direction, and taking the difference value as the distance between the origin and the projection point.
By adopting the technical scheme, because the projection point is obtained by projecting the pile foundation circle center as the original point, the difference value between the coordinate value of the Z-axis direction of the pile foundation circle center and the coordinate value of the Z-axis direction of the corresponding projection point is obtained, the difference value is determined to be the distance between the pile foundation circle center and the projection point, namely the distance between the preset depth of the top elevation of the pile foundation circle center and the pile foundation bottom end, and the distance between the original point and the projection point is convenient to obtain.
In a second aspect, the system for implementing double-control modeling of the Revit pile foundation based on Dynamo adopts the following technical scheme:
a system for realizing double-control modeling of Revit pile foundations based on Dynamo comprises:
the first pile foundation model obtaining module is configured to obtain a CAD model, obtain a three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation based on the CAD model, and perform parameter definition on the created pile family based on the three-dimensional coordinate of the circle center of the pile foundation to obtain a pile family model; parameter definition is carried out on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model;
the projection point acquisition module is configured to acquire a terrain, convert the terrain into a multiple curved surface and acquire projection points corresponding to the circle center of the pile foundation on the multiple curved surface;
the second pile foundation model acquisition module is configured to acquire the distance between the circle center of the pile foundation and the corresponding projection point, obtain the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point, and obtain a second pile foundation model based on the pile family model and the effective pile length;
and the pile foundation design model acquisition module is configured to obtain a pile foundation design model based on the first pile foundation model and the second pile foundation model.
By adopting the technical scheme, a pre-created CAD model is obtained, the three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation are obtained according to the CAD model, the positioning point of the pile foundation group is determined based on the three-dimensional coordinate of the circle center of the pile foundation, and the value of the diameter of the pile foundation is given to the pile foundation group, so that a first pile foundation model is obtained; acquiring a pre-established terrain, converting and processing the terrain in a format to obtain an effective pile length, namely the height of a pile foundation, and endowing the height value of the pile foundation to a pile family to obtain a second pile foundation model; obtaining a finally finished pile foundation design model based on the first pile foundation model and the second pile foundation model;
by acquiring the original design data, processing and automatically creating the model, the problem of low efficiency caused by manually clicking the definition parameters in sequence is effectively solved, and therefore the efficiency of creating the pile foundation model is improved conveniently.
Optionally, the pile foundation design model obtaining module includes:
a model acquisition unit configured to acquire a CAD model;
a geometric figure obtaining unit configured to obtain all geometric figures in the CAD model;
a circle setting unit configured to set a circle;
a removing unit configured to screen the geometric figures, remove figures except for the circle set by the figure setting unit from the geometric figures, and generate a circle list based on all the circles;
a circle center obtaining unit configured to obtain three-dimensional coordinates of the circle center of the circle in the circular list;
a radius acquisition unit configured to acquire a radius of a circle in the circle list;
a diameter acquisition unit configured to acquire a diameter of the circle based on a radius of the circle;
a family type setting unit configured to set a family type as a pile family;
the pile family model obtaining unit is configured to perform parameter definition on the pile family based on the three-dimensional coordinates of the circle center of the circle to obtain a pile family model;
and the first pile foundation model obtaining unit is configured to perform parameter definition on the pile family model based on the circular diameter to generate a first pile foundation model.
Through adopting above-mentioned technical scheme, obtain first pile foundation model and help defining the diameter of pile foundation.
Optionally, the projective point obtaining module includes:
a terrain obtaining unit configured to obtain a terrain model;
a terrain conversion unit configured to convert the terrain model into a multiple curved surface;
a direction setting unit configured to acquire a projection direction;
the projection point list data set acquisition unit is configured to project the center of a circle of the pile foundation onto the multiple curved surfaces according to the projection direction to obtain a projection point list data set; wherein the proxel list data set includes three-dimensional coordinates of proxels;
and the projective point one-dimensional list data acquisition unit is configured to extract the three-dimensional coordinates of the projective points in the projective point list data set and generate projective point one-dimensional list data.
Through adopting above-mentioned technical scheme, for satisfying the design requirement and improving the steadiness of pile foundation, the bottom of pile foundation will sink to the predetermined depth or reach the holding power layer, and on the basis that obtains the pile foundation centre of a circle, can obtain the position of this pile foundation on the geological structure layer according to the projection direction projection, help acquireing the projection point to be convenient for acquire the pile foundation centre of a circle and predetermine the distance between the geological structure layer.
Optionally, the pile foundation model obtaining module includes:
the distance acquisition unit is configured to acquire the distance between the center of the pile foundation circle and the projection point;
a design pile length setting unit configured to set a design pile length;
the judging unit is configured to judge whether the distance between the center of the pile foundation and the projection point is larger than the designed pile length;
the condition control unit is configured to take the distance between the center of the pile foundation and the projection point as an effective pile length under the condition that the distance between the center of the pile foundation and the projection point is judged to be larger than the designed pile length; taking the designed pile length as an effective pile length under the condition that the distance between the center of the pile foundation and the projection point is judged to be smaller than the designed pile length;
and the second pile foundation model obtaining unit is configured to perform parameter definition on the pile family model by using the effective pile length to generate a second pile foundation model.
Through adopting above-mentioned technical scheme, obtain the second pile foundation model and help defining the effective pile length of pile foundation.
In summary, the present application includes at least one of the following beneficial technical effects:
acquiring a pre-created CAD model, acquiring a three-dimensional coordinate of the circle center of a pile foundation and the diameter of the pile foundation according to the CAD model, determining a positioning point of a pile family based on the three-dimensional coordinate of the circle center of the pile foundation, and giving the value of the diameter of the pile foundation to the pile family to obtain a first pile foundation model; acquiring a pre-established terrain, converting and processing the terrain in a format to obtain an effective pile length, namely the height of a pile foundation, and endowing the height value of the pile foundation to a pile family to obtain a second pile foundation model; obtaining a finally finished pile foundation design model based on the first pile foundation model and the second pile foundation model; by acquiring the original design data, processing and automatically creating the model, the problem of low efficiency caused by manually clicking the definition parameters in sequence is effectively solved, and therefore the efficiency of creating the pile foundation model is improved conveniently.
Drawings
Fig. 1 is a flowchart of a pile foundation double-control modeling method according to an embodiment of the present disclosure.
Fig. 2 is a structural block diagram of a pile foundation double-control modeling method according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a terrain model according to an embodiment of the present application.
Fig. 4 is a schematic diagram of a pile foundation design model according to an embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating a structure of a pile foundation dual-control modeling system according to an embodiment of the present disclosure.
Description of reference numerals: 1. a first pile foundation model obtaining module; 11. a model acquisition unit; 12. a geometric figure acquisition unit; 13. a circular setting unit; 14. a removing unit; 15. a radius acquisition unit; 16. a circle center obtaining unit; 17. a diameter obtaining unit; 18. a family type setting unit; 19. a pile family model acquisition unit; 20. a first pile model obtaining unit; 2. a projection point acquisition module; 21. a terrain acquisition unit; 22. a terrain conversion unit; 23. a direction setting unit; 24. a projection point list data set acquisition unit; 25. a projection point one-dimensional list data acquisition unit; 3. a second pile foundation model obtaining module; 31. a distance acquisition unit; 32. designing a pile length setting unit; 33. a judgment unit; 34. a condition control unit; 35. a parameter name setting unit; 36. a second pile model obtaining unit; 4. pile foundation design model acquisition module.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
First, terms related to embodiments of the present application will be described.
Dynamo is a typical tree-structured flow-based visual programming software, the minimum unit of the code is a Node (Node), and different nodes with specific functions are connected according to the needs, so that visual programming is realized. A user inputs (Input) data on a left connecting line of the nodes, the operation of the node function is carried out, and then an (Output) structure is Output from the right of the nodes, the nodes are connected in sequence and logically, and finally a complete script is formed; the API of Revit can be called by a user, and the user can realize operations such as rapid modeling, parameterization and batch processing of model information in Revit.
Revit, which is a component dedicated to the Building Information Model (BIM), provides tools that support building design, MEP engineering design, and structural engineering, and can help architects design, build, and maintain buildings of better quality and higher energy efficiency.
And the Select Model Element node acquires family members of Revit, namely the CAD files linked by Revit.
And acquiring the geometric figure of the primitive, namely the geometric figure in the CAD model by using the element.
The Code Block node is a Code node, allows a node for directly writing a DesignScript Code, and can directly input numbers, character strings, lists, function commands and the like.
And obtaining a geometric figure list by using the RemoveIfNot node, and removing figures except the figure to be reserved configured by the Code Block node in the geometric figure list.
Center point node, the center of the circle is obtained.
Radius node, obtain the radius of the circle.
And the Family Types of the Family files are set by the Family Types of the Family nodes.
And selecting the family type of the family file to be placed according to the family type of the family file, and placing the read family according to the selected point.
Setparameterbyname node, the primitive parameter is set by the input string.
A topographiytoposurface (battenbim) node that transforms the terrain into multiple surfaces.
Project node, project the object of "point" input to the object of "baseGeometry" input according to the projection direction of "project direction" input, namely project the centre of a circle to multiple curved surfaces.
Flatten nodes, reduce the data dimension by one level.
Geometry, distance to node, obtaining the space position relation between the geometric shapes, and measuring the shortest distance between the two geometric shapes.
And > node, acquiring an x value and a y value, and judging whether the x value is larger than the y value.
If node, which is a conditional control node, the test input is a Boolean value, and the true and false inputs can accept any data type. If test is true, the node will return the entry from the true input, and if test is false, the node will return the entry from the false input.
The embodiment of the application discloses a method for realizing double-control modeling of a Revit pile foundation based on Dynamo.
As shown in fig. 1, as an embodiment of the dual-control modeling method for a pile foundation, the method includes the following steps:
and S1, acquiring a CAD model, wherein the CAD model is obtained by selecting the CAD file of the Revit link by Dynamo.
In particular, Dynamo is an opening source of visual programming software that can be used as a plug-in Revit software. And (3) selecting a CAD file linked with Revit by using a Select Model Element node in Dynamo software to obtain a CAD Model, wherein the CAD Model is a pile foundation construction two-dimensional graph.
In addition, before the CAD file is selected, the pile foundation construction two-dimensional graph in the CAD file needs to be processed, circles except for the pile foundation in the pile foundation construction two-dimensional graph are deleted, and the fact that the circles of the pile foundation construction two-dimensional graph are the pile foundation is guaranteed.
And S2, acquiring parameter information of the pile foundation based on the CAD model, wherein the parameter information comprises a three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation.
Wherein, the step S2 specifically includes the following substeps:
and S21, acquiring a circle in the CAD model based on the CAD model, and determining the circle as a pile foundation.
As an implementation mode of the method for acquiring the circle in the CAD model, all geometric figures in the CAD model are acquired based on the CAD model, the geometric figures are screened, and figures except the circle in all the geometric figures are removed.
Specifically, an input interface of an Element in Dynamo software is connected with an output interface of a Select Model Element node, and is used for acquiring all geometric figures in a CAD Model and outputting a geometric figure list. For example: the geometric figures in the CAD model include polyline curves, circles, rectangles, and the like.
Respectively connecting an input interface of a List.RemoveIfNot node in Dynamo software with an output interface of an element.geometry node and an output interface of a Code Block node; the Code Block node is used for configuring the graph to be reserved by the List. And the RemoveIfNot node is used for acquiring a geometric figure list, screening the geometric figure list based on the figures configured by the Code Block node and removing figures except the figures to be reserved in the geometric figure list.
And the list.
And S22, acquiring the three-dimensional coordinate of the center of the pile foundation and the radius of the pile foundation.
Specifically, an input interface of a circle point node in Dynamo software is connected with an output interface of a list point node, removeifnot node, and is used for acquiring a circle center of a circle in a circular list and a three-dimensional coordinate of the circle center, namely the three-dimensional coordinate of the circle center of the pile foundation.
The method for acquiring the three-dimensional coordinate of the circle center of the pile foundation comprises the following steps of acquiring an X-axis coordinate and a Y-axis coordinate of the circle center of each circle on a CAD model by taking an endpoint of the lower left corner of the CAD model as an origin, acquiring an elevation of the CAD model in Revit, and acquiring the three-dimensional coordinate of the circle center of each circle by taking the elevation as a Z-axis coordinate of the circle center of each circle. Wherein the corresponding elevation has been set by the CAD model when it was imported into Revit.
And connecting an input interface of a circle node in Dynamo software with an output interface of a List RemoveIfNot node to obtain the radius of the circle in the circular list, namely the radius of the pile foundation.
And S23, obtaining the diameter of the pile foundation based on the radius of the pile foundation.
The method comprises the steps of utilizing an input interface of a Code Block node in Dynamo software to be connected with an output interface of a circle.
The method comprises the following steps of obtaining the diameter D of the pile foundation according to a formula D = A × 2, wherein A is the radius of the pile foundation.
And S3, setting the type of the group as a pile group, and performing parameter definition on the pile group based on the three-dimensional coordinate of the center of the pile foundation to obtain a pile group model.
Specifically, the Family type of the Family instance is read by using the Family Types in the Dynamo software, wherein the Family instance is the type of each Family component extracted from the Revit software. For example: family types include british standard universal beam: 610 × 229 × 101UB, circular handrail: 30mm, plant-repeat-shrub plane: unmasked area, brick-uk standard: paddle frame, pile family: pile family and table: 1525X 762mm, etc.
Setting the Family type as a pile Family by using a Family type node in Dynamo software; the method comprises the steps of utilizing an input interface of a Family instruction point node in Dynamo software to be connected with an output interface of a Family type node and an output interface of a circle point node respectively, obtaining a Family type to be placed and a three-dimensional coordinate of the circle center of a pile foundation, carrying out parameter definition on the pile foundation based on the three-dimensional coordinate of the circle center of the pile foundation, namely determining the three-dimensional coordinate of the circle center of the pile foundation as a positioning point of each pile foundation, and obtaining a pile foundation model.
And S4, performing parameter definition on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model.
Specifically, an input interface of an element & setparameterbyname node in Dynamo software is respectively connected with an output interface of a family & life instrument & bypoint node and an output interface of a Code Block node, and the input interface is used for acquiring a pile family model, a parameter name to be set and the diameter of a pile foundation, and the diameter of the pile family model is subjected to parameter definition based on the diameter of the pile foundation, so that a first pile foundation model is obtained.
And S5, acquiring the terrain, and converting the terrain into multiple curved surfaces.
With reference to fig. 3, selecting a terrain Model created by Revit based on a linked Excel file by using a Select Model Element node in Dynamo software; the Excel file comprises three-dimensional coordinates of all exploration points in the actual terrain, and the Revit creates a terrain model based on the three-dimensional coordinates of all the exploration points.
Since terrain (topograph) is a special entity type in Revit, when the terrain needs to be analyzed and processed in Dynamo software, the terrain entity of Revit needs to be converted into a commonly used graphics type supported by Dynamo: surface or Solid.
As an implementation manner of the conversion of the terrain entity in this embodiment, an input interface of a topographiytopopolyssurface (battenbim) node in Dynamo software is connected to an output interface of a Select Model Element node, and is used to obtain a terrain Model and convert the terrain Model into a multiple curved surface.
And S6, acquiring projection points corresponding to the circle center of the pile foundation on the multiple curved surfaces.
As an embodiment of the method for obtaining the projection point, a center of a circle of a pile foundation is used as an origin, and the origin is projected onto the multiple curved surfaces according to a preset projection direction to obtain the projection point.
Specifically, a projection direction is set by using a Code Block node of Dynamo software, an input interface of a point.project node of the Dynamo software is respectively connected with an output interface of a circle.center point node, an output interface of a topographitytopersurface (battenbim) node and an output interface of the Code Block node, a pile foundation center is used as an origin, the projection is projected onto a multiple curved surface according to the projection direction set by the Code Block node to obtain a projection point, three-dimensional coordinates of the projection point are obtained, and a projection point list data set is generated, wherein the projection point list data set comprises the three-dimensional coordinates of all the projection points.
For satisfying the design requirement and improving the steadiness of pile foundation, the bottom of pile foundation will sink to the predetermined depth or reach the holding power layer, and after the top elevation that obtains the pile foundation centre of a circle, downward projection can obtain the position of this pile foundation on the geological structure layer, helps obtaining the pile length of this pile foundation.
Specifically, the method for acquiring the three-dimensional coordinates of the projection point comprises the following steps: and because the projection point is obtained by projecting the center of the pile foundation downwards, based on the CAD model, the X-axis coordinate and the Y-axis coordinate of the projection point are consistent with the X-axis coordinate and the Y-axis coordinate of the center of the corresponding pile foundation, the elevation of the projection point is obtained, and the elevation of the projection point is used as the Z-axis coordinate of the projection point, so that the three-dimensional coordinate of each projection point is obtained.
Because two-dimensional structure data are nested in the projection point List data set, wherein the two-dimensional structure data comprise Geometry [ ], the Geometry [ ] comprises 0 List, 1 List and 2 List.
When the three-dimensional coordinates of the projection points need to be analyzed and processed in Dynamo software, the three-dimensional coordinates of the projection points need to be extracted from the projection point list data set.
As an implementation manner of the processing method of the projection point list data set, an input interface of a list.
And S7, obtaining the distance between the center of the pile foundation and the corresponding projection point, and obtaining the effective pile length based on the distance between the center of the pile foundation and the corresponding projection point.
The implementation mode of the effective pile length acquisition method comprises the following steps:
and S71, acquiring the distance between the origin and the projection point.
In one embodiment of the method for obtaining the distance between the origin and the projection point, a difference between a coordinate value in the Z-axis direction of the three-dimensional coordinate of the center of the pile foundation and a coordinate value in the Z-axis direction of the three-dimensional coordinate of the corresponding projection point is calculated, and the difference is used as the distance between the origin and the projection point.
Specifically, an input interface of a geometry node and a distance node of Dynamo software are respectively connected with an output interface of a list node and an output interface of a circle node, and are used for acquiring a three-dimensional coordinate of a circle center of a pile foundation and a three-dimensional coordinate of a projection point, and taking a difference value between a coordinate value of the three-dimensional coordinate of the circle center of the pile foundation in a Z-axis direction and a coordinate value of the three-dimensional coordinate of the corresponding projection point in the Z-axis direction as a distance between an origin and the corresponding projection point.
The projection point is obtained by projecting downwards by taking the pile foundation circle center as an original point, the coordinate value of the pile foundation circle center in the Z-axis direction is the top elevation of the pile foundation circle center, the difference value between the coordinate value of the pile foundation circle center in the Z-axis direction and the coordinate value of the corresponding projection point in the Z-axis direction is obtained, and the difference value is determined as the distance between the pile foundation circle center and the projection point, namely the distance between the top elevation of the pile foundation circle center and the foundation.
S72, judging whether the distance between the original point and the projection point is larger than the designed pile length, and if so, taking the distance between the original point and the projection point as the effective pile length; and if not, the pile length is designed as the effective pile length.
Specifically, an effective pile length node of Dynamo software is used for acquiring a designed pile length, an input interface of the node is respectively connected with an output interface of a geometry. If not, outputting an error result.
An input interface of an if node of Dynamo software is respectively connected with an output interface of a node, an output interface of a geometry. And under the condition of receiving an error result, returning an effective pile length node, and extracting the designed pile length as the effective pile length.
And S8, performing parameter definition on the pile family model based on the effective pile length to obtain a second pile foundation model.
The method comprises the steps of utilizing an input interface of an element.SetParameterByName node of Dynamo software to be respectively connected with an output interface of a FamilyInstance.ByPoint node, an output interface of a Code Block node and an output interface of an if node, obtaining a pile family model, a parameter name to be set and an effective pile length, and carrying out parameter definition on the pile height of the pile family model based on the effective pile length to obtain a second pile model.
And S9, obtaining a pile foundation design model based on the first pile foundation model and the second pile foundation model.
It should be noted that the first pile model and the second pile model exist independently and do not affect each other, and the acquisition time and the acquisition steps of the first pile model and the second pile model do not have a sequential requirement, and may be executed simultaneously or sequentially in any order.
Combine figure 4, because first pile foundation model prescribes a limit to the diameter of pile foundation, the pile height of pile foundation is prescribed a limit to the second pile foundation model, only when the circumstances of carrying out first pile foundation model and second pile foundation model under, just can establish pile foundation design model.
As a technical solution of the present application, a key point to be protected is to select a proper functional node according to a target requirement logical relationship and establish an effective connection therebetween to form a method capable of implementing dual-control modeling of a pile foundation, and in particular, Dynamo software and a plurality of built-in functional nodes thereof are not objects to be solved and protected by the present application.
Based on the method for double-control modeling of the pile foundation, the embodiment of the application also discloses a system for realizing double-control modeling of the Revit pile foundation based on Dynamo.
As shown in fig. 5, a system for implementing double-control modeling of Revit pile foundation based on Dynamo includes:
the first pile foundation model obtaining module 1 is configured to obtain a CAD model, obtain a three-dimensional coordinate of the circle center of a pile foundation and the diameter of the pile foundation based on the CAD model, and perform parameter definition on a created pile family based on the three-dimensional coordinate of the circle center of the pile foundation to obtain a pile family model; and performing parameter definition on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model.
And the projection point acquisition module 2 is configured to acquire a terrain, convert the terrain into a multiple curved surface and acquire projection points corresponding to the circle center of the pile foundation on the multiple curved surface.
And the second pile model obtaining module 3 is configured to obtain the distance between the circle center of the pile foundation and the corresponding projection point, obtain the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point, and obtain the second pile model based on the pile family model and the effective pile length.
And the pile foundation design model obtaining module 4 is configured to obtain a pile foundation design model based on the first pile foundation model and the second pile foundation model.
As an embodiment of the first pile model obtaining module 1, the method includes:
a model acquisition unit 11 configured to acquire a CAD model;
a geometry acquiring unit 12 configured to acquire all the geometries in the CAD model;
a circle setting unit 13 configured to set a circle;
a removing unit 14 configured to filter the geometric figures, remove figures other than the circle set by the figure setting unit from the geometric figures, and generate a circle list based on all the circles;
a circle center obtaining unit 16 configured to obtain three-dimensional coordinates of the center of a circle in the circular list;
a radius acquisition unit 15 configured to acquire a radius of a circle in the circle list;
a diameter acquisition unit 17 configured to acquire a diameter of the circle based on a radius of the circle;
a family type setting unit 18 configured to set a family type as a pile family;
a pile family model obtaining unit 19 configured to perform parameter definition on the pile family based on the three-dimensional coordinates of the circle center of the circle, so as to obtain a pile family model;
a first pile model obtaining unit 20 configured to perform parameter definition on the pile family model based on the circular diameter to generate a first pile model.
As an embodiment of the proxel acquiring module 2, it includes:
a terrain obtaining unit 21 configured to obtain a terrain model;
a terrain conversion unit 22 configured to convert the terrain model into a multiple curved surface;
a direction setting unit 23 configured to acquire a projection direction;
a projection point list data set acquisition unit 24 configured to project the pile foundation origin onto the multiple curved surfaces according to the projection direction to obtain a projection point list data set; wherein the proxel list data set includes three-dimensional coordinates of proxels;
a projective point one-dimensional list data obtaining unit 25 configured to extract three-dimensional coordinates of the projective points in the projective point list data set, and generate projective point one-dimensional list data.
An implementation method of the second pile model obtaining module 3 includes:
a distance obtaining unit 31 configured to obtain a distance between the pile foundation circle center and the projection point based on the three-dimensional coordinate of the pile foundation circle center and the three-dimensional coordinate of the projection point;
a design pile length setting unit 32 configured to set a design pile length;
a judging unit 33 configured to judge whether a distance between the center of the pile foundation and the projection point is greater than a designed pile length;
a condition control unit 34 configured to take the distance between the center of the pile foundation and the projection point as an effective pile length when judging that the distance between the center of the pile foundation and the projection point is greater than a designed pile length; taking the designed pile length as an effective pile length under the condition that the distance between the center of the pile foundation and the projection point is judged to be smaller than the designed pile length;
a parameter name setting unit 35 configured to set a name of a parameter to be set, i.e., a peg height "H";
and a second pile model obtaining unit 36 configured to perform parameter definition on the pile family model by using the effective pile length, and generate a second pile model.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A method for realizing double-control modeling of a Revit pile foundation based on Dynamo is characterized by comprising the following steps:
obtaining a CAD model, wherein the CAD model is obtained by selecting a CAD file linked with Revit by Dynamo;
acquiring parameter information of the pile foundation based on the CAD model, wherein the parameter information comprises a three-dimensional coordinate of the circle center of the pile foundation and the diameter of the pile foundation;
setting the type of the group as a pile group, and performing parameter definition on the pile group based on the three-dimensional coordinate of the circle center of the pile foundation to obtain a pile group model;
parameter definition is carried out on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model;
acquiring a terrain, and converting the terrain into a multiple curved surface;
acquiring projection points corresponding to the circle center of the pile foundation on the multiple curved surfaces;
acquiring the distance between the circle center of the pile foundation and the corresponding projection point, and acquiring the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point;
obtaining a second pile foundation model according to the pile family model and the corresponding effective pile length;
and obtaining a pile foundation design model based on the first pile foundation model and the second pile foundation model.
2. The method for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 1, wherein the method for obtaining the parameter information of the pile foundation comprises:
acquiring a circle in the CAD model based on the CAD model, and determining the circle as a pile foundation;
acquiring a three-dimensional coordinate of the circle center of the pile foundation and the radius of the pile foundation;
and obtaining the diameter of the pile foundation based on the radius of the pile foundation.
3. The method for achieving double-control modeling of Revit pile foundations based on Dynamo according to claim 2, wherein the method for obtaining the circle in the CAD model comprises the following steps:
acquiring a geometric figure in the CAD model based on the CAD model;
and screening the geometric figures, and removing figures except for the circle in the geometric figures.
4. The method for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 2, wherein the method for obtaining the projection points comprises:
and taking the center of the pile foundation as an original point, and projecting the original point onto the multiple curved surfaces according to a preset projection direction to obtain a projection point.
5. The method for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 1 or 4, wherein the method for obtaining the effective pile length comprises the following steps:
obtaining the distance between the origin and the projection point;
judging whether the distance between the original point and the projection point is greater than the designed pile length, and if so, taking the distance between the original point and the projection point as the effective pile length; and if not, the pile length is designed as the effective pile length.
6. The method for achieving double-control modeling of the Revit pile foundation based on Dynamo according to claim 4, wherein the method for obtaining the distance between the origin and the projection point comprises:
acquiring a three-dimensional coordinate of a projection point based on the three-dimensional coordinate of the center of the pile foundation;
and calculating the difference value between the coordinate value of the three-dimensional coordinate of the center of the pile foundation in the Z-axis direction and the coordinate value of the three-dimensional coordinate corresponding to the projection point in the Z-axis direction, and taking the difference value as the distance between the origin and the projection point.
7. A system for realizing double-control modeling of a Revit pile foundation based on Dynamo is characterized by comprising:
the first pile foundation model obtaining module (1) is configured to obtain a CAD model, obtain three-dimensional coordinates of the circle center of the pile foundation and the diameter of the pile foundation based on the CAD model, and perform parameter definition on the created pile family based on the three-dimensional coordinates of the circle center of the pile foundation to obtain a pile family model; parameter definition is carried out on the pile family model based on the diameter of the pile foundation to obtain a first pile foundation model;
the projection point acquisition module (2) is configured to acquire a terrain, convert the terrain into a multiple curved surface and acquire projection points corresponding to the circle center of the pile foundation on the multiple curved surface;
the second pile foundation model obtaining module (3) is configured to obtain the distance between the circle center of the pile foundation and the corresponding projection point, obtain the effective pile length based on the distance between the circle center of the pile foundation and the corresponding projection point, and obtain a second pile foundation model based on the pile family model and the effective pile length;
and the pile foundation design model acquisition module (4) is configured to obtain a pile foundation design model based on the first pile foundation model and the second pile foundation model.
8. The system for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 7, wherein the pile foundation design model obtaining module (4) comprises:
a model acquisition unit (11) configured to acquire a CAD model;
a geometry acquisition unit (12) configured to acquire all geometries in the CAD model;
a circle setting unit (13) configured to set a circle;
a removing unit (14) configured to filter the geometric figures, remove figures other than the circle set by the circle setting unit (13) from the geometric figures, and generate a list of circles based on all the circles;
a circle center acquisition unit (16) configured to acquire three-dimensional coordinates of the center of a circle in the circular list;
a radius acquisition unit (15) configured to acquire the radius of a circle in the circle list;
a diameter acquisition unit (17) configured to acquire a diameter of the circle based on a radius of the circle;
a family type setting unit (18) configured to set a family type as a pile family;
a pile family model obtaining unit (19) configured to perform parameter definition on the pile family based on the three-dimensional coordinates of the circle center of the circle to obtain a pile family model;
a first pile foundation model obtaining unit (20) configured to perform parameter definition on the pile family model based on the circular diameter, generating a first pile foundation model.
9. The system for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 7, wherein the projection point obtaining module (2) comprises:
a terrain acquisition unit (21) configured to acquire a terrain model;
a terrain conversion unit (22) configured to convert the terrain model into a multiple curved surface;
a direction setting unit (23) configured to acquire a projection direction;
the projection point list data set acquisition unit (24) is configured to project the center of a circle of the pile foundation onto the multiple curved surfaces according to the projection direction to obtain a projection point list data set; wherein the proxel list data set includes three-dimensional coordinates of proxels;
and a projective point one-dimensional list data acquisition unit (25) configured to extract three-dimensional coordinates of the projective points in the projective point list data set, and generate projective point one-dimensional list data.
10. The system for achieving double-control modeling of Revit pile foundation based on Dynamo according to claim 7, wherein the second pile foundation model obtaining module (3) comprises:
a distance acquisition unit (31) configured to acquire a distance between a pile foundation circle center and a projection point;
a design pile length setting unit (32) configured to set a design pile length;
the judging unit (33) is configured to judge whether the distance between the center of the pile foundation and the projection point is larger than the designed pile length;
the condition control unit (34) is configured to take the distance between the center of the pile foundation and the projection point as an effective pile length under the condition that the distance between the center of the pile foundation and the projection point is judged to be larger than the designed pile length; taking the designed pile length as an effective pile length under the condition that the distance between the center of the pile foundation and the projection point is judged to be smaller than the designed pile length;
and a second pile foundation model obtaining unit (36) configured to perform parameter definition on the pile family model by the effective pile length to generate a second pile foundation model.
CN202110989722.4A 2021-08-26 2021-08-26 Method and system for realizing dual-control modeling of Revit pile foundation based on Dynamo Active CN113779670B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110989722.4A CN113779670B (en) 2021-08-26 2021-08-26 Method and system for realizing dual-control modeling of Revit pile foundation based on Dynamo

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110989722.4A CN113779670B (en) 2021-08-26 2021-08-26 Method and system for realizing dual-control modeling of Revit pile foundation based on Dynamo

Publications (2)

Publication Number Publication Date
CN113779670A true CN113779670A (en) 2021-12-10
CN113779670B CN113779670B (en) 2023-08-29

Family

ID=78839559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110989722.4A Active CN113779670B (en) 2021-08-26 2021-08-26 Method and system for realizing dual-control modeling of Revit pile foundation based on Dynamo

Country Status (1)

Country Link
CN (1) CN113779670B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114549776A (en) * 2022-01-27 2022-05-27 中建五局装饰幕墙有限公司 Rectangular family batch placement method based on Dynamo and Revit
CN114565727A (en) * 2022-02-09 2022-05-31 中建八局第二建设有限公司 Civil3d + Revit + Dynamo-based improved three-dimensional geological modeling method
CN114969954A (en) * 2022-07-29 2022-08-30 中交(天津)生态环保设计研究院有限公司 Pile model arrangement method and system based on Dynamo and Revit

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170357738A1 (en) * 2016-06-11 2017-12-14 Flux Factory, Inc. Process for Merging Parametric Building Information Models
WO2018040838A1 (en) * 2016-08-29 2018-03-08 广州地铁设计研究院有限公司 Modeling and designing method for elevated structure bim model
CN110580376A (en) * 2019-07-30 2019-12-17 浙江大学 revit and Dynamo-based pile foundation model creation method
CN112417578A (en) * 2020-12-30 2021-02-26 中国二十冶集团有限公司 Method and system for modeling precast pile based on Dynamo and Excel

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170357738A1 (en) * 2016-06-11 2017-12-14 Flux Factory, Inc. Process for Merging Parametric Building Information Models
WO2018040838A1 (en) * 2016-08-29 2018-03-08 广州地铁设计研究院有限公司 Modeling and designing method for elevated structure bim model
CN110580376A (en) * 2019-07-30 2019-12-17 浙江大学 revit and Dynamo-based pile foundation model creation method
CN112417578A (en) * 2020-12-30 2021-02-26 中国二十冶集团有限公司 Method and system for modeling precast pile based on Dynamo and Excel

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
田兴旺;王顺波;刘峰;郭佳鑫;马经纬;刘怡迪;周晓钰;严锦涛: "BIM技术在彩钢板排布中的应用初探", 山西建筑, no. 022 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114549776A (en) * 2022-01-27 2022-05-27 中建五局装饰幕墙有限公司 Rectangular family batch placement method based on Dynamo and Revit
CN114565727A (en) * 2022-02-09 2022-05-31 中建八局第二建设有限公司 Civil3d + Revit + Dynamo-based improved three-dimensional geological modeling method
CN114969954A (en) * 2022-07-29 2022-08-30 中交(天津)生态环保设计研究院有限公司 Pile model arrangement method and system based on Dynamo and Revit

Also Published As

Publication number Publication date
CN113779670B (en) 2023-08-29

Similar Documents

Publication Publication Date Title
CN113779670A (en) Method and system for achieving double-control modeling of Revit pile foundation based on Dynamo
Garagnani et al. Parametric accuracy: building information modeling process applied to the cultural heritage preservation
KR100753537B1 (en) Method for reverse modeling using mesh data with feature
KR100753536B1 (en) Method for detecting 2 dimension sketch data of source model data for 3 dimension reverse modeling
KR101425576B1 (en) Method for acquiring and processing a three-dimensional data to product a precise wide-area scale model
CN113593030B (en) Geological profile generation method, system, terminal and medium based on three-dimensional model
CN110189409B (en) PLAXIS-based rapid true three-dimensional geological modeling method and system
CN111950051A (en) BIM-based three-dimensional geological modeling and geological model-based construction application method
CN106600700B (en) Three-dimensional model data processing system
US9886529B2 (en) Methods and systems for feature recognition
EP0837430B1 (en) Enhanced solid model generation
JP2009122999A (en) Three-dimensional shape optimization apparatus and three-dimensional shape optimization method
CN115455512A (en) Three-dimensional geological model two-dimensional plotting method based on 3DE platform
CN105184854A (en) Quick modeling method for cloud achievement data of underground space scanning point
KR20230086087A (en) Construction site supervision apparatus and supervision method using 3D scanning
CN113538695A (en) Method and device for quickly discretizing complex curved surface with arbitrary boundary and storage medium
CN111445569B (en) Sedimentary geological evolution dynamic simulation method
Garagnani Semantic Building Information Modeling and high definition surveys for Cultural Heritage sites
CN109933588B (en) Method and system for converting dwg data into gdb data
KR102156641B1 (en) System and method of generating 3d topography data for construction basic excavation, and a recording medium having computer readable program for executing the method
Shoaib Khan et al. Methodology for voxel-based earthwork modeling
CN115979243A (en) Mobile robot navigation map conversion method and system based on BIM information
CN114936390A (en) Method for calculating actual pile length of engineering pile based on Dynamo visual programming
CN113486424A (en) Method and model for realizing Revit room modeling and naming labeling based on Dynamo
JP3143464B2 (en) Apparatus and method for creating three-dimensional model

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