ArchSketch + ArchWall ( Multiple Width / Individual Align ) = Building Layout Object

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

ArchSketch + ArchWall ( Multiple Width / Individual Align ) = Building Layout Object

Post by paullee »

[ Edit - Individual Align added in https://forum.freecadweb.org/viewtopic. ... 25#p349625 ]

Hi, more demonstration on two features concept, see anyone find this useful or if there is any other ideas.

An ArchWall could already be built base on Sketch ...
(regardless of recent bugs found)
  1. ArchWall base on a new object SketchObjectPython (I call it ArchSketch) can have different width for each segment - per Sketch Edge
  2. ArchWall base on a Sketch / ArchSketch can then be treated / moved / edited as single floor layout object, the dimension of which, width of individual wall segment can be modified relatively easily

Editing Wall Width
phpBB [video]


Editing Layout dimension / Other objects should attach and move automatically
phpBB [video]


More concepts of adopting SketchObjectPython / ArchSketch as Building Layout Object
  1. Maybe Wall can support different Height for each segment ? - Similarly, this information be saved in the ArchSketch
  2. Different materials for different wall segment?
Pre-requisite
  1. The said information is conceived to be saved in Sketch / SketchObjectPython with Part Geometry Extensions feature - the latter currently has bug which crash FC
  2. Bugs / IFC export / multi-materials etc. to support Wall base on Sketch to be fixed / implemented
Last edited by paullee on Sun Nov 24, 2019 6:17 pm, edited 1 time in total.
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ArchSketch + ArchWall ( Multiple Width / Individual Align ) = Building Layout Object

Post by paullee »

More tests

ArchSketch + ArchWall = Building Layout - - - Move z-Displacement
  1. A Sketch can attach to another Sketch by Map Mode
    (e.g. a dependent Sketch representing 1F attach to a Master Sketch Ground Floor)
  2. The Dependent Sketch can set at a distance at z-direction from the Master Sketch with AttachmentOffset
  3. Changing the AttachmentOffset z-displacement can set the distance between these floor
  4. Moving the Master Sketch (Ground Floor ) also move the Dependent Sketch (1st Floor ) / Whole Block
phpBB [video]


ArchSketch + ArchWall = Building Layout - - - Edit Master Sketch
  • If desirable, editing Master Sketch layout , Dependent Sketch should follow
phpBB [video]



ArchSketch + ArchWall = Building Layout - - - Edit Individual Wall Width
  • More example
phpBB [video]
Last edited by paullee on Sun Nov 24, 2019 6:18 pm, edited 1 time in total.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by bitacovir »

paullee wrote: Tue Aug 20, 2019 7:08 pm Hi, more demonstration on two features concept, see anyone find this useful or if there is any other ideas.
It is very impressive.
it would be cool if you can link more elements to the sketch base. Not only the walls. For instance, the water pipes that go through the walls (and their artifacts in toilets, kitchen, etc. The same for conditioner air ducts, that go at the ceiling. etc.
::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
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by yorik »

bitacovir wrote: Tue Sep 03, 2019 6:16 pm it would be cool if you can link more elements to the sketch base. Not only the walls. For instance, the water pipes that go through the walls (and their artifacts in toilets, kitchen, etc. The same for conditioner air ducts, that go at the ceiling. etc.
Hmm... Using sketches for piping layouts... Interesting idea. There is the problem that sketches are planar, though. And pipe layouts rarely are.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by bitacovir »

yorik wrote: Wed Sep 04, 2019 2:59 pm
Hmm... Using sketches for piping layouts... Interesting idea. There is the problem that sketches are planar, though. And pipe layouts rarely are.
I mean, if you create a group of pipes with different heights (maybe going through a wall), you could link that segment of pipes as a group to a horizontal sketch line as layout only to be moved horizontally. Therefore, later you can make changes in the 2D sketch layout and the pipes will move. If the line shares the link with pipes and walls, both can be moved together.
::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
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ArchSketch + ArchWall ( Multiple Width / Individual Align ) = Building Layout Object

Post by paullee »

bitacovir wrote: Wed Sep 04, 2019 5:42 pm I mean, if you create a group of pipes with different heights (maybe going through a wall), you could link that segment of pipes as a group to a horizontal sketch line as layout only to be moved horizontally. Therefore, later you can make changes in the 2D sketch layout and the pipes will move. If the line shares the link with pipes and walls, both can be moved together.
May not exactly follow your idea but seem could works.

See the few doors in the model shown, editing the layout of the Sketch edges e.g. move the Edge / Wall, the door follow....

The door are 'linked' to the intersecting point of 2 edges in the Sketch / 2 intersecting Wall Segment. So the disposition of the 2 wall segment change, the door follows.

Maybe you can make a hand sketch to further illustrate your idea :)
Last edited by paullee on Sun Nov 24, 2019 6:19 pm, edited 1 time in total.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by bitacovir »

paullee wrote: Wed Sep 04, 2019 6:12 pm
Maybe you can make a hand sketch to further illustrate your idea :)
In addition to windows and doors, walls also have pipes for water supply or electric cables. Therefore, these pipes could follow the same layout of sketch lines for walls. Inside a wall there are several segments of pipes with different heights, but you can consider them as a group of pipes segments inside a single wall.
screenshot275-763x786.jpg
screenshot275-763x786.jpg (31.81 KiB) Viewed 4403 times
In this diagram, the idea is to link the two water pipes segments as a group to the sketch line (red dashed line). If you need to change the position of this group of pipes (because the wall position has changed) you could just move the sketch line.
pipes.png
pipes.png (84.06 KiB) Viewed 4403 times
::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
User avatar
yorik
Founder
Posts: 13640
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by yorik »

Pipes could have a kind of OverrideOffset property that works the same way as @paullee's OverrideWidth, but would say which pipe segment is at what height above the sketch. However, you would only be able to make horizontal pipes with that method...
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: ArchSketch + ArchWall ( Multiple Width / Individual Align ) = Building Layout Object

Post by paullee »

That's interesting, some preliminary thoughts not having study how codes in Pipe works :)

Maybe a series of offsetFigures for each points / turns of pipes so that the fall in the pipe runs can be produced.

( or a fall gradient for each segment of pipe run, start/end of run can be indicated...etc. )


Or better still, a (pipe)Sketch (FeaturePython) containing schematic run of pipes:-
  1. The lines in the pipeSketch can link to the (arch)Sketch which contain Wall Layout
  2. The pipeSketch Object containing the series of height / offset of pipe runs
  3. The pipeSketch Object return a Shape / Wire in 3D for ArchPipe
  4. Then the architectural / wall layout change, the pipe run follows
Now there is method in the SketchPythonFeature to calculate the intersecting point of 2 walls / Sketch edges for the Door to place and offset from the desirable wall faces.

Currently I work on an i3 so every calculate in a SketchPythonFeature is not recomputed automatically otherwise every change in the very bottom underlying object initiate recompute in whole building that needs a much better computer to make recompute fast enough and editing smooth.

Any better ideas? Maybe a hydraulic / building services engineer can better advise.
Last edited by paullee on Sun Nov 24, 2019 6:18 pm, edited 1 time in total.
ABeton
Posts: 150
Joined: Tue Sep 03, 2019 6:39 pm

Re: ArchSketch + ArchWall ( Multiple Width ) = Building Layout Object

Post by ABeton »

Awesome work, subbed :)
Post Reply