Method of building ceiling paint model based on Dynamo and Revit

Through the combined method of Dynamo and Revit, structural component grouping, shelling and Boolean difference operations are used to solve the efficiency and accuracy problems of Revit in establishing ceiling paint models, and achieve efficient ceiling paint model creation and rapid modification.

CN114781023BActive Publication Date: 2024-10-18CHINA CONSTR FIFTH BUREAU DECORATION CURTAIN WALL CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202210331806.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-30
Publication Date
2024-10-18
Estimated Expiration
2042-03-30

AI Technical Summary

Technical Problem

When the existing Revit software builds a ceiling paint model, the modeling accuracy is greatly affected by human factors and the efficiency is low. Especially when the structural model changes, the workload of modifying and adjusting the model is very large and difficult to handle efficiently.

Method used

Using the ceiling paint model building method based on Dynamo and Revit, a structural component list is generated by picking up structural components, grouped and packed, Boolean difference set operations are performed, geometric surface thickening and intersection graphics are obtained, and natural number sequences and text are used to generate model names. , and finally imported into Revit to establish a solid model of ceiling paint.

Benefits of technology

It improves the modeling efficiency of the ceiling paint model and the speed of later modification. It is suitable for decorative ceiling paint models such as parking lot ceiling paint models. It significantly reduces the workload and improves the efficiency of model establishment and modification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114781023B_ABST
    Figure CN114781023B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for establishing a ceiling paint model based on Dynamo and Revit, including picking up structural components to generate a structural component list; grouping and separating the structural component list; obtaining a structural entity list; performing shell processing on the entity to the outside, obtaining a three-level list of entity shelling and combining; performing Boolean difference processing on the entity to obtain a first entity difference list; querying the highest geometric surface of the entity and performing thickening processing to obtain a generated geometric surface thickening combination list; performing Boolean difference processing again and obtaining intersecting geometric figures; using a bounding box to make a judgment and performing Boolean difference processing again; using a natural number series and text to name and import, and obtaining a ceiling paint entity model. The present invention has high modeling efficiency and fast late model modification, and is of great significance for the establishment and totalization of decorative ceiling paint models represented by parking lot ceiling paint models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of civil engineering modeling, and in particular relates to a method for establishing a ceiling paint model based on Dynamo and Revit. Background Art

[0002] With the rapid development of society and the rapid promotion of building information modeling technology, BIM technology is being used more and more frequently in the industry. However, Revit, as the most widely used software in BIM technology, cannot solve the problem of building a ceiling paint model at this stage. At present, a layer of ceiling paint model is usually built on the surface of the structural model using the built-in model of Revit. The modeling accuracy of this method is greatly affected by human factors and the modeling efficiency is low. Especially when the structural model changes, whether it is modifying or adjusting the model, the workload is very large. Summary of the invention

[0003] The purpose of the present invention is to provide a high-efficiency and high-speed method for establishing a ceiling paint model based on Dynamo and Revit, which can establish a decorative ceiling paint model represented by a parking lot ceiling paint model.

[0004] The method for establishing a ceiling paint model based on Dynamo and Revit provided by the present invention comprises the following steps: picking up structural components to generate a structural component list; grouping and separating the structural component list; obtaining a structural entity list; shelling the entity outward to obtain a three-level entity shelling list and combining the lists; performing Boolean difference processing on the entity to obtain a first entity difference list; querying the highest geometric surface of the entity and performing thickening processing to obtain a generated geometric surface thickening combination list; performing Boolean difference processing again to obtain intersecting geometric figures; making a judgment using a bounding box and performing Boolean difference processing again; naming using a natural number series and text and importing the naming to obtain a ceiling paint entity model.

[0005] The specific steps include:

[0006] S1. Pick up structural components to generate a list of structural components;

[0007] S2. Pick up the category name of each component in the current structure list, and group them according to the text characters of the category name as the key value, put the components with the same keyword in the same list, and generate a corresponding keyword list, and then judge whether each value in the keyword list contains floor text, frame text, wall text and column text in turn to generate a three-level judgment list, and then use the three-level judgment list to separate the grouped structural component list, and finally obtain a four-level list of filtered structural components;

[0008] S3. Obtain the geometric entities of each structural component in the first item and the second item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of floor slabs and frames; meanwhile, obtain the geometric entities of each structural component in the third item and the fourth item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of walls and columns;

[0009] S4. Group the floor and frame geometric entity lists according to tolerances to generate a three-level entity grouping list, and perform shelling on each entity in the three-level entity grouping list, where the shell thickness is the thickness of the ceiling paint, to finally obtain a three-level entity shelling list;

[0010] S5. Merge all entities in each secondary list in the entity grouping three-level list into a single entity to generate an entity grouping combination list, and merge all entities in each secondary list in the entity shelling three-level list into a single entity to generate an entity shelling combination list;

[0011] S6. Perform a Boolean difference process on each entity in the entity group combination list and each entity in the entity shell combination list with the corresponding serial number to obtain an entity difference list 1;

[0012] S7. Split each entity in the entity shell three-level list into geometric faces in turn, and generate a four-level list of entity splitting; filter according to the size of the Z coordinate value of the midpoint of the geometric face in each second-level list in the four-level list of entity splitting, obtain the geometric face corresponding to the maximum value, and finally generate a three-level list of the highest geometric face;

[0013] S8. All faces in the highest geometric face third-level list are thickened on both sides along the normal direction, with the total thickening thickness being twice the thickness of the ceiling paint, to obtain a third-level list of thickened entities. All entities in each second-level list in the third-level list of thickened entities are then merged into a single entity, and finally a geometric face thickening combination list is generated;

[0014] S9. Perform Boolean difference processing on each entity in the entity difference list 1 and each entity in the geometric surface thickening combination list with the corresponding serial number in turn to obtain the entity difference list 2;

[0015] S10. Split each entity in the entity difference set list 2 into geometric faces in turn, and generate a three-level list of entity difference set 2 split. Obtain the intersecting geometric figures of all faces in each second-level list in the entity difference set 2 split three-level list and the entities with corresponding serial numbers in the geometric face thickening combination list, obtain a fourth-level list of intersecting geometry, and then flatten each third-level list in the above list to obtain a third-level list of intersecting geometry;

[0016] S11. Obtain the bounding box of each entity in the entity difference list 2 to obtain a bounding box list, then obtain the difference between the Z coordinate values ​​of the maximum point and the minimum point of each bounding box and multiply the difference by two to finally obtain a difference list;

[0017] S12. All geometric faces in each secondary list in the third-level intersecting geometry list are thickened on both sides along their normal direction, and the thickening thickness is the value of the difference list corresponding to the secondary list sequence number, to generate an intersecting thickened list, and then remove the empty values ​​and empty lists in the intersecting thickened list, and finally obtain an intersecting thickened clear list;

[0018] S13. All entities in each secondary list of the intersection thickening clear list are merged into a single entity to generate an intersection thickening combination list; then each entity in the entity difference list 2 is subjected to Boolean difference processing with each entity in the intersection thickening combination list of the corresponding serial number in turn to obtain an entity difference list 3;

[0019] S14. Perform Boolean difference processing on each entity in the entity difference list three and the union of all entities in the wall and column geometric entity list in turn to obtain the entity difference list five; then perform split processing on the entities in the entity difference list five to obtain the entity difference five split three-level list, then group all geometric figures in each second-level list in the entity difference five split three-level list according to tolerance to obtain the entity difference five split combination four-level list, finally combine all faces in each second-level list in the entity difference five split combination four-level list into a single entity, and finally obtain the entity difference five combined three-level list;

[0020] S15. Obtain the number of each secondary list in the three-level list of the five combinations of entity difference sets, generate a secondary number list, and use the values ​​of each item in the secondary number list as the last item of the natural number sequence in turn to obtain a secondary sequence three-level list, and then convert it into text to generate a secondary text three-level list; obtain the number of all items in the secondary number list, generate a primary number list, and use the values ​​in the primary number list as the last item of the natural number sequence to obtain a primary sequence list, and then convert it into text to generate a primary text list; combine the input ceiling paint text with the primary text list and the secondary text three-level list in turn to generate a name three-level list;

[0021] S16. Combine the entity geometry in the three-level list of entity difference five combinations with the name text of the corresponding sequence in the three-level list of names, the selected family template file and the input family type to generate the corresponding family model and import it into Revit to obtain the ceiling paint entity model.

[0022] In the step S2, whether each value in the keyword list contains floor text, frame text, wall text and column text is judged in turn. If the item contains floor text, the output value is True, otherwise the output value is False; if the item contains frame text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False.

[0023] The Boolean difference processing includes deleting the overlapping part of the input geometric entity A and the geometric entity B, thereby obtaining a new geometric entity C.

[0024] The step S11 includes obtaining the bounding box of each entity in the entity difference list 2 to obtain a bounding box list, then obtaining the Z coordinate values ​​of the maximum point and the minimum point of each bounding box, and finally obtaining twice the difference between the Z coordinate values ​​of the maximum point and the minimum point of each bounding box through the formula: 2*(a+b), and finally obtaining a difference list, where a represents the Z coordinate value of the maximum point and b represents the Z coordinate value of the minimum point.

[0025] The step S15 includes: obtaining the number of each secondary list in the entity difference set five-combination three-level list, generating a secondary number list, and using a sequence formula: taking the values ​​of each item in the secondary number list as the last item of the natural number sequence in turn, obtaining a secondary sequence three-level list, and then converting the secondary sequence three-level list into text to generate a secondary text three-level list; obtaining the number of all items in the secondary number list, generating a primary number list, and using a sequence formula: taking the values ​​in the primary number list as the last item of the natural number sequence, obtaining a primary sequence list, and converting it into text to generate a primary text list; by combining the formula: a 1 +k+b 1 +k+c 1 Combine the input ceiling paint text with the first-level text list and the second-level text third-level list in sequence to generate a third-level list of names, a 1 Indicates ceiling paint text; b 1 Represents each text in the first-level text list; c 1 Represents the text in the third-level list of the secondary text; k represents the - character.

[0026] The ceiling paint model establishment method based on Dynamo and Revit provided by the present invention has high modeling efficiency and fast later model modification, and is of great significance for the establishment and totalization of decorative ceiling paint models represented by parking lot ceiling paint models. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] Figure 1 It is a schematic diagram of the process of the present invention.

[0028] Figure 2 Schematic diagram of selected structural components of an embodiment of the present invention.

[0029] Figure 3 This is a schematic diagram of a ceiling paint model generated according to an embodiment of the present invention.

[0030] Figure 4 Schematic diagram of a partial ceiling paint model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0031] like Figure 1 The structure diagram of the system of the present invention is as follows: The method for establishing a ceiling paint model based on Dynamo and Revit provided by the present invention comprises the following steps:

[0032] S1. Pick up the required structural components to generate a list of structural components;

[0033] S2. Pick up the category name of each component in the current structure list, and group them according to the text characters of the category name as the key value, put the components with the same keyword in the same list, and generate a corresponding keyword list, and then judge whether each value in the keyword list contains floor text, frame text, wall text and column text in turn to generate a three-level judgment list, and then use the three-level judgment list to separate the grouped structural component list, and finally obtain a four-level list of filtered structural components;

[0034] S3. Obtain the geometric entities of each structural component in the first item and the second item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of floor slabs and frames; meanwhile, obtain the geometric entities of each structural component in the third item and the fourth item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of walls and columns;

[0035] S4. Group the floor and frame geometric entity lists according to tolerances to generate a three-level entity grouping list, and perform shelling on each entity in the three-level entity grouping list, where the shell thickness is the thickness of the ceiling paint, to finally obtain a three-level entity shelling list;

[0036] S5. Merge all entities in each secondary list in the entity grouping three-level list into a single entity to generate an entity grouping combination list, and merge all entities in each secondary list in the entity shelling three-level list into a single entity to generate an entity shelling combination list;

[0037] S6. Perform a Boolean difference process on each entity in the entity group combination list and each entity in the entity shell combination list with the corresponding serial number to obtain an entity difference list 1;

[0038] S7. Split each entity in the entity shell three-level list into geometric faces in turn, and generate a four-level list of entity splitting. Then filter according to the Z coordinate values ​​of the midpoints of the geometric faces in each second-level list in the four-level list of entity splitting, obtain the geometric face corresponding to the maximum value, and finally generate a three-level list of the highest geometric face;

[0039] S8. All faces in the highest geometric face third-level list are thickened on both sides along the normal direction, with the total thickening thickness being twice the thickness of the ceiling paint, to obtain a third-level list of thickened entities. All entities in each second-level list in the third-level list of thickened entities are then merged into a single entity, and finally a geometric face thickening combination list is generated;

[0040] S9. Perform Boolean difference processing on each entity in the entity difference list 1 and each entity in the geometric surface thickening combination list with the corresponding serial number in turn to obtain the entity difference list 2;

[0041] S10. Split each entity in the entity difference set list 2 into geometric faces in turn, and generate a three-level list of entity difference set 2 split. Obtain the intersecting geometric figures of all faces in each second-level list in the entity difference set 2 split three-level list and the entities with corresponding serial numbers in the geometric face thickening combination list, obtain a fourth-level list of intersecting geometry, and then flatten each third-level list in the above list to obtain a third-level list of intersecting geometry;

[0042] S11. Obtain the bounding box of each entity in the entity difference list 2 to obtain a bounding box list, then obtain the difference between the Z coordinate values ​​of the maximum point and the minimum point of each bounding box and multiply the difference by two to finally obtain a difference list;

[0043] S12. All geometric faces in each secondary list in the third-level intersecting geometry list are thickened on both sides along their normal direction, and the thickening thickness is the value of the difference list corresponding to the secondary list sequence number, to generate an intersecting thickened list, and then remove the empty values ​​and empty lists in the intersecting thickened list, and finally obtain an intersecting thickened clear list;

[0044] S13. All entities in the second-level lists in the intersection thickening clear list are merged into a single entity to generate an intersection thickening combination list. Then, each entity in the entity difference list 2 is processed with each entity in the intersection thickening combination list with the corresponding serial number in turn by Boolean difference to obtain entity difference list 3;

[0045] S14. Perform Boolean difference processing on each entity in entity difference list 3 and the union of all entities in the wall and column geometric entity list in turn to obtain entity difference list 5. Then perform split processing on the entities in entity difference list 5 to obtain entity difference five split three-level list, then group all geometric figures in each second-level list in entity difference five split three-level list according to tolerance to obtain entity difference five split combination four-level list, finally combine all faces in each second-level list in entity difference five split combination four-level list into a single entity, and finally obtain entity difference five combination three-level list;

[0046] S15. Obtain the number of each secondary list in the three-level list of the five combinations of entity difference sets, generate a secondary number list, and use the numerical values ​​of each item in the secondary number list as the last item of the natural number sequence, i.e., the value N, to obtain a secondary sequence three-level list, and then convert it into text to generate a secondary text three-level list. Similarly, obtain the number of all items in the secondary number list, generate a primary number list, and use the numerical values ​​in the primary number list as the last item of the natural number sequence, i.e., the value N, to obtain a primary sequence list, and then convert it into text to generate a primary text list. Finally, combine the input ceiling paint text with the primary text list and the secondary text three-level list in sequence to generate a three-level name list;

[0047] S16. Combine the entity geometry in the three-level list of entity difference five combinations with the name text of the corresponding sequence in the three-level list of names, the selected family template file and the input family type to generate the corresponding family model and import it into Revit, and finally obtain the ceiling paint entity model.

[0048] In this embodiment, a list represents a sequence composed of a group of ordered variable elements. Each element or item in the list is assigned a number or index. The first item index is 0, the second item index is 1, and so on. In order to facilitate the representation of lists, the lists are represented by brackets and commas. For example, the list [A, P] means that the item value with index value 0 in the list is A, and the item value with index value 1 is P. The definition of a three-level list is that if the corresponding item in the list is a single list, then the list is a three-level list. For example, the three-level list [[A, P], [A, D]] means that the item value with index value 0 in the list is list [A, P], and the item value with index value 1 is list [A, D]. The definition of a four-level list is that if the corresponding items in the list are three lists, then the list is a four-level list. For example, the four-level list [[[A,P],[A,D]],[[A,D],[A,P]]] means that the item with index 0 in the list is the list [[A,P],[A,D]], and the item with index 1 is the list [[A,D],[A,P]].

[0049] The specific steps include:

[0050] Step 1: Pick the required structural components through the Select Model Elements node to generate a list of structural components;

[0051] Step 2. Get the category name of each component in the current structure list through the Element.GetCategory node, convert it into text through the String from Object node, group it according to the text characters of the category name as the key value through the List.GroupByKey node, and then use the String.Contains node to determine whether the values ​​in the keyword list contain floor text, frame text, wall text and column text. If the item contains floor text, the output value is True, otherwise the output value is False; if the item contains frame text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False. Determine the keyword lists in sequence, for example, list 1 = [floor, frame, wall, column], determine list 1 in sequence, that is, first determine whether it contains floor text, and then determine the text after that to obtain a three-level list 2 = [[True, False, False, False], [False, True, False, False], [False, False, False, True], [False, False, False, True]], and finally use the List.FilterByBoolMask node to separate the grouped structural component list by using the three-level list to obtain a filtered four-level list of structural components;

[0052] Step 3. Obtain the geometric entities of each structural component in the first item and the second item of the third-level list in the filtered four-level list of structural components through the List.GetItemAtIndex node and the Element.Solids node, and flatten them using the List.Flatten node to generate a list of geometric entities of slabs and frames; similarly, obtain the geometric entities of each structural component in the third item and the fourth item of the third-level list in the filtered four-level list of structural components through the List.GetItemAtIndex node and the Element.Solids node, and flatten them using the List.Flatten node to generate a list of geometric entities of walls and columns.

[0053] Step 4: Use the Spring.Geometry.GroupByDistance node to group the floor and frame geometric entity lists according to the tolerance, generate a three-level list of entity grouping, and use the Solid.ThinShell node to shell each entity outward. The shell thickness is the thickness of the ceiling paint, and finally obtain a three-level list of entity shelling.

[0054] Step 5: Merge all entities in each second-level list in the entity grouping three-level list into a single entity through the Solid.ByUnion node to generate an entity grouping combination list. At the same time, merge all entities in each second-level list in the entity shelling three-level list into a single entity through the Solid.ByUnion node to generate an entity shelling combination list.

[0055] Step 6: Use the Solid.Difference node to perform Boolean difference processing on each entity in the entity grouping combination list and each entity in the entity shell combination list with the corresponding serial number, and obtain entity difference list 1.

[0056] Step 7: Use the Geometry.Explode node to split each entity in the entity shell three-level list into geometric faces in turn, and generate a four-level list of entity splitting. Then use the Surface.PointAtParameter node, Point.Z node, Function Compose node and List.MaximumItemByKey node to filter the Z coordinate values ​​of the midpoints of the geometric faces in each second-level list in the four-level list of entity splitting, obtain the geometric face corresponding to the maximum value, and finally generate a three-level list of the highest geometric faces.

[0057] Step 8. Use the Surface.Thicken node to thicken both sides of all faces in the highest level 3 list of geometric faces along the normal direction. The total thickness is twice the thickness of the ceiling paint, and a level 3 list of thickened entities is obtained. Then use the Solid.ByUnion node to merge all entities in each level 2 list of the thickened entity level 3 list into a single entity, and finally generate a geometric face thickening combination list.

[0058] Step 9: Use the Solid.Difference node to perform Boolean difference processing on each entity in the entity difference list 1 and each entity in the geometric surface thickening combination list with the corresponding serial number, and obtain entity difference list 2. The Boolean difference processing includes deleting the overlapping part of the input geometric entity A and the geometric entity B, so as to obtain a new geometric entity C.

[0059] Step 10. Use the Geometry.Explode node to split each entity in the entity difference set list 2 into geometric faces in turn, and generate a three-level list of entity difference set 2 splits. Use the Geometry.Intersect node to obtain the intersecting geometric figures of all faces in each second-level list in the entity difference set 2 split three-level list and the entities with corresponding serial numbers in the geometric face thickening combination list, and obtain a fourth-level list of intersecting geometry. Then use the List.Flatten node to flatten each third-level list in the above list to obtain a third-level list of intersecting geometry.

[0060] Step 11. Get the bounding box of each entity in entity difference list 2 through the BoundingBox.ByGeometry node to get the bounding box list, then use BoundingBox.MaxPoint, BoundingBox.MinPoint and Point.Z to get the Z coordinate values ​​of the maximum and minimum points of each bounding box, and finally use the formula written in the Code Block node: 2*(a+b) to get twice the difference between the Z coordinate values ​​of the maximum and minimum points of the above bounding boxes, and finally get the difference list, where a represents the Z coordinate value of the maximum point and b represents the Z coordinate value of the minimum point.

[0061] Step 12: Use the Surface.Thicken node to thicken both sides of all geometric faces in each secondary list in the intersecting geometry third-level list along their normal direction. The thickening thickness is the value of the difference list corresponding to the secondary list sequence number. Generate an intersecting thickened list, and then use the List.Clean node to remove empty values ​​and empty lists in the intersecting thickened list, and finally obtain an intersecting thickened cleared list.

[0062] Step 13: Use the Solid.ByUnion node to merge all entities in the intersecting thickening clear list into a single entity to generate an intersecting thickening combination list. Then use the Solid.Difference node to perform Boolean difference processing on each entity in the entity difference list 2 and each entity in the intersecting thickening combination list with the corresponding sequence number to obtain the entity difference list 3.

[0063] Step 14. Use the Solid.DifferenceAll node to perform Boolean difference processing on each entity in the entity difference list 3 and the union of all entities in the wall and column geometric entity lists in turn to obtain the entity difference list 5. Then use the Geometry.Explode node to split the entities in the entity difference list 5 to obtain the entity difference list 5 split three-level list. Then use the Spring.Geometry.GroupByDistance node to group all the geometric figures in each second-level list in the entity difference list 5 split three-level list according to the tolerance to obtain the entity difference list 5 split combination four-level list. Finally, use the Solid.ByJoinedSurfaces node to combine all the faces in each second-level list in the entity difference list 5 split combination four-level list into a single entity, and finally obtain the entity difference list 5 combined three-level list.

[0064] Step 15. Use the List.Count node to obtain the number of each secondary list in the three-level list of the five combinations of entity difference sets, generate a secondary number list, and use the sequence formula in the Code Block node: use the values ​​of each item in the secondary number list as the last item of the natural number series, that is, the N value, to obtain a secondary sequence three-level list, and then convert it into text through String from Object to generate a secondary text three-level list. Similarly, use the List.Count node to obtain the number of all items in the secondary number list, generate a primary number list, and use the sequence formula in the Code Block node: use the values ​​in the primary number list as the last item of the natural number series, that is, the N value, to obtain a primary sequence list, and then convert it into text through String from Object to generate a primary text list. Finally, through the file in the Code Block node, by combining the formula: a 1 +k+b 1 +k+c 1 Combine the input ceiling paint text with the first-level text list and the second-level text third-level list in sequence to generate a third-level list of names, where a 1 Indicates ceiling paint text; b 1 Represents each text in the first-level text list; c 1 Represents the text in the third-level list of the secondary text; k represents the - character.

[0065] Step 16. Use the Spring.FamilyInstance.ByGeometry node to combine the entity geometry in the entity difference five-combination three-level list with the name text of the corresponding sequence in the name three-level list, the selected family template file, and the input family type to generate the corresponding family model and import it into Revit, and finally obtain the ceiling paint entity model.

Claims

1. A method for establishing a ceiling paint model based on Dynamo and Revit, characterized in that The method includes picking up structural components to generate a list of structural components; grouping and separating the list of structural components; obtaining a list of structural entities; shelling the entities outward to obtain a three-level list of entity shelling and combining them; performing Boolean difference processing on the entities to obtain a first entity difference list; querying the highest geometric surface of the entity and performing thickening processing to obtain a thickened combination list of generated geometric surfaces; performing Boolean difference processing again to obtain intersecting geometric figures; using a bounding box for judgment and performing Boolean difference processing again; using a natural number series and text to name and import into Revit to obtain a ceiling paint entity model; The specific implementation includes the following steps: S1. Pick up structural components to generate a list of structural components; S2. Pick up the category name of each component in the current structural component list, and group them according to the text characters of the category name as keywords, put the components with the same keyword in the same list, and generate a corresponding keyword list, and then judge whether each value in the keyword list contains floor text, frame text, wall text and column text in turn to generate a three-level judgment list, and then use the three-level judgment list to separate the grouped structural component list, and finally obtain a four-level list of filtered structural components; S3. Obtain the geometric entities of each structural component in the first item and the second item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of floor slabs and frames; meanwhile, obtain the geometric entities of each structural component in the third item and the fourth item of the third-level list in the four-level list of filtered structural components and flatten them to generate a list of geometric entities of walls and columns; S4. Group the floor and frame geometric entity lists according to tolerances to generate a three-level entity grouping list, and perform shelling on each entity in the three-level entity grouping list, where the shell thickness is the thickness of the ceiling paint, to finally obtain a three-level entity shelling list; S5. Merge all entities in each secondary list in the entity grouping three-level list into a single entity to generate an entity grouping combination list, and merge all entities in each secondary list in the entity shelling three-level list into a single entity to generate an entity shelling combination list; S6. Perform a Boolean difference process on each entity in the entity group combination list and each entity in the entity shell combination list with the corresponding serial number to obtain an entity difference list 1; S7. Split each entity in the entity shell three-level list into geometric faces in turn, and generate a four-level list of entity splitting; filter according to the size of the Z coordinate value of the midpoint of the geometric face in each second-level list in the four-level list of entity splitting, obtain the geometric face corresponding to the maximum value, and finally generate a three-level list of the highest geometric face; S8. All faces in the highest level 3 list of geometric faces are thickened on both sides along the normal direction, with the total thickening thickness being twice the thickness of the ceiling paint, to obtain a level 3 list of thickened entities; all entities in each level 2 list in the level 3 list of thickened entities are then merged into a single entity, and finally a geometric face thickening combination list is generated; S9. Perform Boolean difference processing on each entity in the entity difference list 1 and each entity in the geometric surface thickening combination list with the corresponding serial number in turn to obtain the entity difference list 2; S10. Split each entity in the entity difference set list 2 into geometric faces in turn, generate a three-level list of entity difference set 2 split; obtain the intersecting geometric figures of all faces in each second-level list in the entity difference set 2 split three-level list and the entities with corresponding serial numbers in the geometric face thickening combination list, obtain a fourth-level list of intersecting geometry, and then flatten each third-level list to obtain a third-level list of intersecting geometry; S11. Obtain the bounding box of each entity in the entity difference list 2 to obtain a bounding box list, then obtain the difference between the Z coordinate values ​​of the maximum point and the minimum point of each bounding box and multiply the difference by two to finally obtain a difference list; S12. All geometric faces in each secondary list in the third-level intersecting geometry list are thickened on both sides along their normal direction, and the thickening thickness is the value of the difference list corresponding to the secondary list sequence number, to generate an intersecting thickened list, and then remove the empty values ​​and empty lists in the intersecting thickened list, and finally obtain an intersecting thickened clear list; S13. All entities in each secondary list of the intersection thickening clear list are merged into a single entity to generate an intersection thickening combination list; then each entity in the entity difference list 2 is subjected to Boolean difference processing with each entity in the intersection thickening combination list of the corresponding serial number in turn to obtain an entity difference list 3; S14. Perform Boolean difference processing on each entity in the entity difference list three and the union of all entities in the wall and column geometric entity list in turn to obtain the entity difference list five; then perform split processing on the entities in the entity difference list five to obtain the entity difference five split three-level list, then group all geometric figures in each second-level list in the entity difference five split three-level list according to tolerance to obtain the entity difference five split combination four-level list, finally combine all faces in each second-level list in the entity difference five split combination four-level list into a single entity, and finally obtain the entity difference five combined three-level list; S15. Obtain the number of each secondary list in the three-level list of the five combinations of entity difference sets, generate a secondary number list, and use the values ​​of each item in the secondary number list as the tail item of the natural number sequence in turn to obtain a secondary sequence three-level list, and then convert it into text to generate a secondary text three-level list; Get the number of all items in the secondary number list, generate a primary number list, and use the value in the primary number list as the last item of the natural number sequence to obtain a primary sequence list, which is then converted into text to generate a primary text list; combine the input ceiling paint text with the primary text list and the secondary text third-level list in sequence to generate a third-level name list; S16. Combine the entity geometry in the three-level list of entity difference five combinations with the name text of the corresponding sequence in the three-level list of names, the selected family template file and the input family type to generate the corresponding family model and import it into Revit to obtain the ceiling paint entity model.

2. The method for establishing a ceiling paint model based on Dynamo and Revit according to claim 1, characterized in that In the step S2, whether each value in the keyword list contains floor text, frame text, wall text and column text is judged in turn. If the item contains floor text, the output value is True, otherwise the output value is False; if the item contains frame text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False; if the item contains floor text, the output value is True, otherwise the output value is False.

3. The method for establishing a ceiling paint model based on Dynamo and Revit according to claim 2, characterized in that The Boolean difference processing includes deleting the overlapping part of the input geometric entity A and the geometric entity B, thereby obtaining a new geometric entity C.

4. The method for establishing a ceiling paint model based on Dynamo and Revit according to claim 3, characterized in that The step 11 includes obtaining the bounding box of each entity in the entity difference list 2 to obtain a bounding box list, then obtaining the Z coordinate values ​​of the maximum point and the minimum point of each bounding box, and finally obtaining twice the difference between the Z coordinate values ​​of the maximum point and the minimum point of each bounding box through the formula: 2*(ab), and finally obtaining a difference list, where a represents the Z coordinate value of the maximum point and b represents the Z coordinate value of the minimum point.

5. The method for establishing a ceiling paint model based on Dynamo and Revit according to claim 4, characterized in that The step S15 includes: obtaining the number of each secondary list in the three-level list of the five combinations of entity difference sets, generating a secondary number list, and using a sequence formula: taking the numerical values ​​of each item in the secondary number list as the last item of the natural number series in turn, obtaining a secondary sequence three-level list, and then converting the secondary sequence three-level list into text to generate a secondary text three-level list; obtaining the number of all items in the secondary number list, generating a primary number list, and using a sequence formula: taking the numerical values ​​in the primary number list as the last item of the natural number series, obtaining a primary sequence list, and converting it into text to generate a primary text list; using the file combination formula: a1+k+b1+k+c1 to sequentially combine the input ceiling paint text with the primary text list and the secondary text three-level list to generate a name three-level list, wherein a1 represents the ceiling paint text; b1 represents the text in the primary text list; c1 represents the text in the secondary text three-level list; k represents the - character.

Citation Information

Patent Citations

  • Method and device for generating floor slab surface layer model based on BIM forward design

    CN112632682A

  • Revit formwork area calculation method based on Dynamo, and rapid modeling method and system

    CN114091148A

  • Parameterized water collecting well modeling method based on Revit and Dynamo

    CN114218632A

  • Semantic Classification of Entities in a Building Information Model Based on Geometry and Neighborhood

    US20200081979A1

  • Method and System for Hybrid Modeling Using Geometric Facets

    US20210158612A1