Single-Family House

Show off your FreeCAD projects here!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
furti
Posts: 344
Joined: Mon Nov 27, 2017 5:27 pm

Single-Family House

Post by furti »

Hi FreeCADers,

hope your are all fine :)
I was away from the Forum for quite a while, and I will be away for some more time. But that doesn't mean that I haven't used FreeCAD. I used it nearly every day.
Now I want to show you, what I did in the meantime.

During the last year we planned our single-family house, and now it`s time for the practical stuff. In a few weeks we start to actually build it.
That's why I will be away for some more time.

We got the application plan from our architect. I spent quite a lot of time measuring everything from the plan and 3D Model we got, and modelling it in FreeCAD.
I tried to model it as accurate and detailed as possible.
Haus_FreeCAD.jpg
Haus_FreeCAD.jpg (47.34 KiB) Viewed 3277 times
Afterwards I used a macro to fuse the objects in each level, and created a scaled mesh from it. Exported it to STL and let the 3D Printer do its job.
Now I have a 3D printed house in the scale of 1/200.
Print.jpg
Print.jpg (773.81 KiB) Viewed 3277 times
The next step was, to get some drawings out of the model. I wanted the whole process to be as simple as possible.
With default FreeCAD tools, one needs to create a section plane, then a tech draw page, tweak some settings there, and some settings there, and export it.
In the end, I created about 25 secion cuts, so this was too much work for a lazy guy like me ;)
At first I wanted to extend the Secion Plane of the Arch Workbench. But there is so much code inside, and so much different ways to export stuff, that this was to complicated for me.
And also backwards compatibility was an issue. As I don't need all the power and options of the default secion plane, I created my own SimpleSectionPlane.
https://github.com/furti/FreeCAD-Toolbo ... n_plane.py
https://github.com/furti/FreeCAD-Toolbo ... enderer.py
The section_vector_renderer is basically the renderer used in the Arch Workbench too. But I did some changes and optimizations.
Most noteworthy changes:
1. The renderer filters all faces, that are in a 90 degree angle to the SectionPlane. This faces will end up as a lot of lines on top of each other in the SVG. For me it makes no sense to have faces rendered, that can't be seen anyways.
2. The renderer gives me a boundbox now, of all the objects rendered. This boundbox is used, to scale and center the whole geometry on the page. So I don't need to place anything
3. It filters all faces that lay on top of each other and where all vertexes match.
Imagine you cut a box. Then the face coplanar to the section plane, and the bottom of the box lay on top of each other in the resulting SVG. But only one of them is visible.
Filtering them out, saves a lot of geometry and reduces SVG Sizes drastically.
4. It can generate different Patterns, based on the Material used. E.g. Insulation has other patterns applied than concrete.
5. It can display markers with text in the plan to hightlight important areas.

After all the optimizations, a SVG generated by my SimpleSectionPlane has only about half the size of a SVG generated by the Arch SectionPlane and TechDraw workbench.
Plan.jpg
Plan.jpg (167.66 KiB) Viewed 3277 times
Plan1.jpg
Plan1.jpg (95.02 KiB) Viewed 3277 times
The last step was to create some renderings from the model. I used Blender for it. I mostly did this to get a feeling for different color combinations.
1. I exported the house as stl and imported it in Blender
2. In blender I selected individual faces, that should get the same material, and extracted them to individual objects
3. Applied some materials and image textures to it
4. Added a HDRI texture for the world
5. Rendered some images out
Render.png
Render.png (990.83 KiB) Viewed 3277 times
I did this with a pretty old 0.19 Dev version as it worked for me and I was too lazy to update during the whole process ;)

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18504 (Git)
Build type: Release
Branch: master
Hash: f66023a646db4b2502bb3637897443b3525ca3c7
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: German/Austria (de_AT)
User avatar
furti
Posts: 344
Joined: Mon Nov 27, 2017 5:27 pm

Re: Single-Family House

Post by furti »

And a few more Images:
UG.jpg
UG.jpg (41.01 KiB) Viewed 3275 times
EG.jpg
EG.jpg (54.62 KiB) Viewed 3275 times
OG.jpg
OG.jpg (65.77 KiB) Viewed 3275 times
Print1.jpg
Print1.jpg (434.76 KiB) Viewed 3275 times
Render1.png
Render1.png (799.02 KiB) Viewed 3275 times
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Single-Family House

Post by triplus »

Really nice and have fun with building it!
fc_tofu
Posts: 653
Joined: Sun Jan 05, 2020 4:56 pm

Re: Single-Family House

Post by fc_tofu »

furti wrote: Wed Apr 22, 2020 9:53 am
I tried to model it as accurate and detailed as possible.
Very good example, thanks for sharing.

Whick workbench did you use in this modeling, Part WB or Arch WB ?
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Single-Family House

Post by bitacovir »

Thanks for showing us your project.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: Single-Family House

Post by carlopav »

Nice model and nice house! Bravo Furti!
follow my experiments on BIM modelling for architecture design
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Single-Family House

Post by paullee »

furti wrote: Wed Apr 22, 2020 9:53 am We got the application plan from our architect. I spent quite a lot of time measuring everything from the plan and 3D Model we got, and modelling it in FreeCAD.
...

The next step was, to get some drawings out of the model. I wanted the whole process to be as simple as possible.
With default FreeCAD tools, one needs to create a section plane, then a tech draw page, tweak some settings there, and some settings there, and export it.
In the end, I created about 25 secion cuts, so this was too much work for a lazy guy like me ;)
At first I wanted to extend the Secion Plane of the Arch Workbench. But there is so much code inside, and so much different ways to export stuff, that this was to complicated for me.
And also backwards compatibility was an issue. As I don't need all the power and options of the default secion plane, I created my own SimpleSectionPlane.
Amazing tools again !

Always thought you are Architect by profession but you says you are not :)

Curious how the tools works, mind to elaborate slightly in the readme ?

BTW, BuildingParts has an built-in implicit Arch SectionPlane now so it save some effort https://wiki.freecadweb.org/Arch_BuildingPart
Richardc
Posts: 19
Joined: Wed Apr 22, 2020 9:03 am

Re: Single-Family House

Post by Richardc »

Amazing :) Please post the FreeCAD file (.FCStd, .fcstd) if you're OK with sharing it. We will be able to see how you made it, and learn. Thanks :)
Post Reply