[Annoucement] ArchWall support Multiple Width (& Align) ('toponaming-tolerant' being exposed in 2024)

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: 5136
Joined: Wed May 04, 2016 3:58 pm

[Annoucement] ArchWall support Multiple Width (& Align) ('toponaming-tolerant' being exposed in 2024)

Post by paullee »

[EDIT] - (Width & Align 'toponaming-tolerant' being exposed in 2024)

[EDIT] Latest change
- Sketch with multiple numbers of wires is supported
- And conceiving usecase of building only 1 Wall on a Sketch as layout plan
[EDIT]

Following discussion in below thread, the feature to support ArchWall to have multiple width is accepted.
https://forum.freecadweb.org/viewtopic.php?f=23&t=36772

The concept is simple, example workflow as below:-

  1. Use Draft Wire to outline the series of connecting Wall with different width
  2. Create a Wall based on the Wire
  3. Click 'OverrideWidth' in Property Panel
  4. Enter the figures of width for each segment following the order of Wire
  5. Done
Other Remarks:-
  1. You may note that it may be easier if you have the Wire alignment to either Left or Right of the Wall
    - all depends on what dimensions you have for your walls
    - whether building connecting walls on 1 wire is helpful depends on the layout and advance planning
  2. The classic Width input is overridden apparently when OverrideWidth is used
  3. When a figure in OverrideWidth is 0, the 1st figure in OverrideWidth would be used - less repeated input if possible
  4. - if 1st figure in OverrideWdth is 0, it will fallback to use figure in Width
  5. Using Sketch is similar, but watch the 'order' of the edge, 'connect' all edge in same direction ( as Sketcher 'construct' the Wire taking into account of edge direction )
Example Images / Files below and In Original Discussion Thread:-
Screenshot from 2019-07-14 08-42-00.png
Screenshot from 2019-07-14 08-42-00.png (300.77 KiB) Viewed 2239 times
Screenshot from 2019-07-14 08-42-10.png
Screenshot from 2019-07-14 08-42-10.png (266.67 KiB) Viewed 2239 times
.
.
Example of model if Multiple Width is not used
Wires needs some gaps / overlapping somehow
Screenshot from 2019-07-14 08-42-45.png
Screenshot from 2019-07-14 08-42-45.png (292.5 KiB) Viewed 2239 times
Screenshot from 2019-07-14 08-42-55.png
Screenshot from 2019-07-14 08-42-55.png (272.3 KiB) Viewed 2239 times
Attachments
Test_ ArchWall_ Various Width_ 5.FCStd
(55.52 KiB) Downloaded 34 times
Last edited by paullee on Fri Jul 19, 2019 6:32 pm, edited 1 time in total.
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width

Post by paullee »

More Examples in original thread
Screenshot from 2019-07-14 08-05-48.png
Screenshot from 2019-07-14 08-05-48.png (248.86 KiB) Viewed 2237 times
Screenshot from 2019-07-14 08-10-39.png
Screenshot from 2019-07-14 08-10-39.png (250.83 KiB) Viewed 2237 times
Screenshot from 2019-07-14 08-43-54.png
Screenshot from 2019-07-14 08-43-54.png (275.63 KiB) Viewed 2237 times
Attachments
Test_ ArchWall_ Various Width_ 3.FCStd
(10.4 KiB) Downloaded 37 times
Test_ ArchWall_ Various Width_ 2r.FCStd
(9.47 KiB) Downloaded 30 times
User avatar
dimitar
Posts: 229
Joined: Thu Jun 13, 2019 6:10 am
Contact:

Re: [Annoucement] ArchWall support Multiple Width

Post by dimitar »

Pretty neat tool! Thanks for sharing :)
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width

Post by paullee »

Ok, it should now support Sketch which resulted in multiple numbers of wires.
- just as previous, input list of figures in OverrideWidth
Screenshot from 2019-07-20 02-12-01.png
Screenshot from 2019-07-20 02-12-01.png (212.55 KiB) Viewed 2138 times
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width

Post by paullee »

And conceiving usecase ...
- of using Sketch as layout plan
- Just 1 ArchWall on the Sketch
- set widths of different width as desired
Screenshot from 2019-07-20 02-12-27.png
Screenshot from 2019-07-20 02-12-27.png (223.39 KiB) Viewed 2136 times
Screenshot from 2019-07-20 02-18-23.png
Screenshot from 2019-07-20 02-18-23.png (262.85 KiB) Viewed 2136 times
Screenshot from 2019-07-20 02-21-23.png
Screenshot from 2019-07-20 02-21-23.png (229.79 KiB) Viewed 2136 times
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width

Post by paullee »

If there are a numbers of walls with different Width in 1 Wall Object, which is based on 1 Sketch Object...

is it desirable to edit width of each wall segment with GUI?


A Mock-Up:-

phpBB [video]
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width

Post by paullee »

Another mock-up of GUI to edit width of each wall segment


phpBB [video]
furgo
Posts: 85
Joined: Wed Apr 19, 2023 5:18 am

Re: [Annoucement] ArchWall support Multiple Width

Post by furgo »

Hi,

Thanks @paullee for bringing in this feature a while back. I updated the https://wiki.freecad.org/Arch_Wall wiki page to add a description for the Override Width property, which I've taken from the tooltip on the code. In any case, I've been testing it and I've got a few questions:

1. Where the tooltip mentions: "Ignored if the Base object provides Widths information with the getWidths() method." => could you elaborate on this? Is the Base object suppose to have a "Widths" property? If so, where is the "Widths" property documented?

2. Where the tooltip mentions: "The 1st value overrides the 'Width' attribute for the 1st segment of wall; if a value is zero, 1st value of 'OverrideWidth' will be followed" => either I do not understand this correctly, or the behavior has changed. Whenever a value in the "Override Widths" list is set to 0, then the actual width of the corresponding segment will be set to the value of the "Width" property. That's it, no propagation of the value of the first item in the list, the first item in the list behaves the same as any other list item. Is this the expected behavior?
Captura de pantalla de 2024-04-22 13-12-15.png
Captura de pantalla de 2024-04-22 13-12-15.png (53.1 KiB) Viewed 146 times
Captura de pantalla de 2024-04-22 10-04-42.png
Captura de pantalla de 2024-04-22 10-04-42.png (51.87 KiB) Viewed 146 times
Playpen - Wall width.FCStd
(15.61 KiB) Downloaded 3 times

Code: Select all

OS: Ubuntu Core 22 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36915 (Git) Snap 995
Build type: Release
Branch: main
Hash: 1f9be3f9ed44f7a3f4a453ef4761eea2d96a3dc0
Python 3.10.12, Qt 5.15.10, Coin 4.0.0, Vtk 7.1.1, OCC 7.7.1
Installed mods: 
  * BIM 2021.12.0
  * Curves 0.6.34
  * ExplodedAssembly
  * BillOfMaterials 0.0.8.1
  * Ondsel-Lens 2024.4.16.01
  * Assembly4 0.50.12
Last edited by furgo on Mon Apr 22, 2024 11:14 am, edited 1 time in total.
User avatar
ProjectBP
Posts: 417
Joined: Tue Jun 06, 2023 2:33 pm
Contact:

Re: [Annoucement] ArchWall support Multiple Width

Post by ProjectBP »

This is a wonderful possibility (as well as override align).
But I would really like it to be improved.
This option is difficult to use with a large number of walls. The order in which the width will be assigned is completely unclear. There are not enough identifiers for the sketch elements that would help figure out which wall segment the specified width will be assigned to.

Example in the picture. It is completely unclear why the widest wall is located in the center, although I painted it one of the last. No. 8.
Moreover, this is the first value in the width table. You can find out what width will change only by assigning values one by one and watch how the model changes on the screen.

I understand that this is due to the toponaming problem. But the program works out the sequence. This sequentially just needs to be displayed on the screen somehow. (for example, display the serial number of the table row next to the sketch element)
Attachments
Scr_20240422_113200.jpg
Scr_20240422_113200.jpg (214.39 KiB) Viewed 191 times
There may be a misunderstanding :!: . I communicate with the help of a translator :P
paullee
Veteran
Posts: 5136
Joined: Wed May 04, 2016 3:58 pm

Re: [Annoucement] ArchWall support Multiple Width (& Align) ('toponaming-tolerant' being exposed in 2024)

Post by paullee »

Thanks @furgo and @ProjectBP for the discussion.

Before I go into details at your queries and/or comments, probably I would let you know below first :)
  1. The Width and Align per edge/wall segment support had been 'toponaming-tolerant' since 2021 (but not exposed)
  2. (just like Automatic Placement had been 'toponaming-tolerant' - this was exposed, SketchArch Addon ['Toponamng-Tolerant' Feature] - Intuitive Automatic Placement)
  3. I have some time since a few weeks ago to expose it to support Width and Align soon (in a few days time?)
  4. It means users no more needs to use Override Width and Override Align
  5. Just as shown in earlier youtube demo, use the SketchArch tools (2 separate button for each feature), click on the edge to tell what width or align you want and that's it. And it won't change even you delete a few edges - 'toponaming-tolerant'
More detailed and technical discussion is available at github at the moment - e.g. https://github.com/paullee0/FreeCAD_Ske ... g-tolerant. And you find the features available / being developed there.

Thanks.
Post Reply