Сut openings from solid

python
dynamo

#1

is this poosible to cut geometry by curvebound inside the geometry /faces ?
image

faces - its room faces . curve inside (closed frame of openings)- its wall opening curve (door, windows or curtain panel)


#2

have you seen this?

and this?


#3

@erfajo thanks for links… i think its some little similar, but im just not understand how i can use this for my case…

my task is abstract. im not need to create holes in Revit walls. im need to create holes in the room faces in Dynamo because of im just want to take room faces area without openings areas

im get room faces
image

faces which touch/intersects with walls

And this room face area im want to get
image


#4

aha, then I misunderstod it a bit.

You should be able to transform room into solid, then into faces.
if you do the same with wall -> transform into solid, then into faces.
combine those faces (they must have the XY location line), then intersect (not intersect) should do the job.

I am pretty sure that you can make holes in rooms.


#5

i’ll try to get curves of openings from the one selected wall, but cant


#6

try to work on this… (you need BimorphNodes)
Home.dyn (6.1 KB)



#7

and filtered…
Home.dyn (8.6 KB)



#8

@erfajo Thank you! Edge.CurveGeometry its most helpful node for me! )

And now if i have a Surfaces of room and curve inside them - can i cut geometry (surfaces) from this curve??

image


#9

@til.shviger The Geometry.Split node should work :slight_smile:


#10

@awilliams its should work)
but i m must convert my lines to surface and after cut them may be… but iim not now how…at first , im must get loop of closed lines and after from this loop create surface if it possible. If it possible - node Geometry.Split should work imho


#11

Why not get the geometry of the walls and intersect it with the room geometry? That would give you the opening (wall geometry excludes openings) provide the results on a per room basis.


#12

Because of im need to get exterior walls area for every rooms. One wall is can belongs to several rooms


#13

By intersecting them with the rooms you will have a face for each wall in each room. :wink:


#14

yes, but its faces (room faces - not wall faces) without openings. Wall faces have openings but intersects with more rooms
that’s why I want to punch a hole exactly in ROOM FACES


#15

actually I found the solution to the problem the other way . I use the grouping and mathematical subtraction of the found area . But it is an abstraction. I want to see in Dynamo these holes and then my soul calms down


#16

Does connecting the output from Edge.CurveGeometry to a Polycurve.ByJoinedCurves node and then Surface.ByPatch get you the surfaces you want?


#17

Dear @awilliams i m already try this))) its good idea but im catch some errors


#18

I think here as in “X-Files”. The truth is somewhere nearby

but now Im go to sleep. Thanks all