[SketchArch Add-on] - Automatic Building Generator

A forum dedicated to the Draft, Arch and BIM workbenches development.
Post Reply
paullee
Veteran
Posts: 4855
Joined: Wed May 04, 2016 3:58 pm

[SketchArch Add-on] - Automatic Building Generator

Post by paullee »

Cross-posting :
- https://community.osarch.org/discussion ... ment_17434 Welcome for any comment!

Based on the idea of HomeMaker-Topologic, created a short script on FreeCAD.
In FreeCAD :
  1. Make a single-line Sketch of a building layout, run the script (Topologic-Homemaker like)
    (On 2nd Gen i3, it needs 10s)
  2. You get the wall, slabs, roof, windows on external walls
(Just proof of concept at the moment)

Q :
  • Wondering how to identify a wall access from a corridor to automatically place a door, from a common wall which divides a room from another (thus not placing a wall by the script) ?
  • Found Face.FacingToward() method ( https://topologic.app/topologicpy_doc/t ... cingToward ), seems needs input of direction to test to return result . Any other method available which return the direction?

phpBB [video]


[ Pointer is always not captured on fedora 38 for unknown reason ]
User avatar
yorik
Founder
Posts: 13452
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: [SketchArch Add-on] - Automatic Building Generator

Post by yorik »

Amazing :)
Maykow
Posts: 21
Joined: Tue Mar 30, 2021 10:59 am

Re: [SketchArch Add-on] - Automatic Building Generator

Post by Maykow »

I've recently been working on a similar tool.
The tool uses simple shapes such as lines and rectangles as a base to create the building.
Here's the video:

phpBB [video]


We can collaborate on this if you are interested.

translated with google. :D
paullee
Veteran
Posts: 4855
Joined: Wed May 04, 2016 3:58 pm

Re: [SketchArch Add-on] - Automatic Building Generator

Post by paullee »

Feel free, would post my script when there is a gap :)

Maybe you can outline the goal of your tools, maybe there are more peoples who are interested in collaboration.
Maykow
Posts: 21
Joined: Tue Mar 30, 2021 10:59 am

Re: [SketchArch Add-on] - Automatic Building Generator

Post by Maykow »

With this script I intend to create a tool that facilitates the process of creating BIM construction models, my objective is to reduce the time it takes to model a building, so the architect will be able to generate and test several different floor plan layouts in a short time, This way, the professional will be able to focus on their real work, which is designing, and will not waste time on modeling. With a simple sketch it will be possible to define walls, windows, doors and their types. I also intend to implement the creation of floors and roofs automatically, with the user simply defining a few parameters.
User avatar
johnwang
Veteran
Posts: 1178
Joined: Sun Jan 27, 2019 12:41 am

Re: [SketchArch Add-on] - Automatic Building Generator

Post by johnwang »

@paullee how your window position is given?
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
paullee
Veteran
Posts: 4855
Joined: Wed May 04, 2016 3:58 pm

Re: [SketchArch Add-on] - Automatic Building Generator

Post by paullee »

Thanks @Maykow

Some steps in typical architectural workflow take time, e.g.
  1. Setting-out a floor plan and revising
  2. Placing Door and Windows
For reference, I found using a Sketch helps - augmented by features in the experimental SketchArch add-on. Then placing Door and Windows is kind of Parametric Placement of Arch Objects

For further discussion :)
paullee
Veteran
Posts: 4855
Joined: Wed May 04, 2016 3:58 pm

Re: [SketchArch Add-on] - Automatic Building Generator

Post by paullee »

@johnwang

It is kind of parametric, user (of the SketchArch addon) select in the Snap Preset attribute - See 2. Parametric Placement of Arch Objects Intuitively


" Added Attribute -
(Master Sketch Subelement) Snap Preset : Allow users to snap to a Wall Axis e.g. at -
  • MidPoint
  • 1/4 (of WallLength from StartPoint)
  • 1/3
  • 2/3
  • 3/4
  • AxisStart
  • AxisEnd
  • Custom Value
With 'Custom Value' selected, below Attribute -
(Master Sketch Subelement) Snap Custom : Allow users to snap to any value e.g. in fraction in formula 2/9 etc."
Post Reply