Cadastral plans into Building Law-Compliant house models

Hello everyone! I need some assistance with my Grasshopper project. I’m attempting to generate a house model using a cadastral plan. I basically have a cadastral DXF-File and can adjust the lot borders N,E,S,W. After that I extruded the form.



After that I imported the Terrain as a 3dm as shown in the script. The height of the house is derived from the intersection of the shape and the terrain.

My question is house do I get the point? The terrain isn’t flat so I assume I have to figure out the lowest point of the terrain, to make sure the shape isn’t floating. I need to cut off the excess shape that’s under the terrain and proceed from there. As you may have noticed I’m not the best at grasshopper although I get the logic I don’t know what nodes to use.
I worked with paths so I can’t internalize the data.
I would really appreciate any help you can provide! Thanks so much for your time!

Hi Nick -

Of course, you can - and should. The component downstream from your path should hold the geometry. You can internalize it there.

Apart from that…

How is it derived? Which point are you trying to get? As before, what are the rules?

If you don’t know for sure, how can anyone else in this forum?
I’m afraid there are too many unknowns here…
-wim

Hi,

As @wim said, internalizing your data should be possible - and helpful.

As a first step, you can intersect the terrain with the house contour, then use Bounding Box or Deconstruct Brep to get the highest and lowest altitudes. From there, it’s up to you to define a rule for the first floor placement - lowest, highest, average…

I assumed your terrain was a Mesh.

TerrainHouse.gh (74.3 KB)

Hi, thanks for the fast reply. This my GH file I’ve been working with. I was unsure if the data was internalized, because the button was greyed out. I think it should work
Prototype cadastralplan.gh (45.3 KB)

Hi Nick -
Please always state the plug-in dependencies when posting a Grasshopper file so that people don’t needlessly download and try to open your file…

-wim

Hi, Apologies for any confusion. To import the DXF file, I downloaded ShapeDiver. Additionally, I used Mesh Area to ensure the measurements were accurate and opted for 3DM as it proved to be more efficient than the pre-existing option. I used bounding box to find out the highest and lowest altitudes. I Set the start of the House cube at the lowest altitude, so that every point of the cube is below the terrain.


I suppose I can take the middle point of the surface I extruded the House form from. But I have no clue how to get the intersection point with the landlot dm3 modell (Point in yellow). My house form is a Brep and the lot is mesh.
Prototype Cadastralplan.gh (35.1 KB)

Hi Nick -

It looks like it’s just gotten worse…

Also, there’s no C:\Users\Nick Zweifel\ [...] on anyone’s machine but yours.

No matter which plug-ins you use, your definition will only correctly open on your machine.

The Grasshopper native Import 3DM component will import DXF files just fine.

image

If you want anyone else to be able to use your definition, you can then flow the output of that parameter into a Geometry parameter and internalize it there:

Does that mean there’s a bug in the native Area component?
image

-wim

1 Like

Hi Wim, I internalized all the data and switched out all the downloaded nodes for native ones. It should work now.
Prototype Cadastralplan.gh (340.2 KB)