I think you must be busy with this kind of request, but I try.
I’m a bit noobie with Dynamo but I want to make a script that will help us to create crop of each view from appartment name.
I’m looking for a solution since this morning, tried to read a maximum of information about this… and I didn’t make what I want.
For the moment :
I can select room by name
I can obtain geometry
I can intersect with plan and obtain a kinf of surface
I can create a crop view if there is only one room.
Problem is whene there is more than one room : I don’t know how I can have out boundary of it.
In my head, I hope I can offset each polygon, merge all and have only one area.
But how ?
Thanks @maciek.glowka
But, if I really understand your link, it is the case where we only have points.
With Dynamo, I hope it is possible to create an offset of each room perimeter and make a kind of boolean and get the out hull…
This alpha version seems to be so complex and not accurate for what I want to do…
I expect there is a more efficient way and it’s possible that you won’t always get room boundaries to join perfectly… Obviously if your rooms are not bounded by the same walls it will fail…
@Mark.Ackerley You are wonderfull. I didn’t really understand the conversion from room to surface and perimeter but it solves my problem. I’ve put this in my script and it’s works fine.
Thanks a lot.
EDIT : I’ve tried on a real project and an error is occur with polycurve
I’ve give a try to another method.
First, I’ve looked for a solution to merge each surface together to have only one surface… didn’t find how to achieve this.
Second, I’ve tested different length and find a node which help me : group curve.
Made a test to find the max. length and use it to draw my crop… It seems to works but not with all offset ^^