(SOLVED) Door in a Wall Question

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Palmtree
Posts: 104
Joined: Wed Apr 08, 2020 5:06 am

(SOLVED) Door in a Wall Question

Post by Palmtree »

I used to have no problem adding a door to the middle of a wall (a test model is attached).

I can not do this simple task any more. The latest FC will add the door ONLY to the corner of the host wall.
BIM => Draft Snap Midpoint ON => Click the wall to select => Click Door ( try to insert at the middle of the wall - Image 1) => Problem? The created door reverts to the start/left  corner of the host wall.

Checking the wall sketch => it seems Ok in the intended position (Image3)
I have tried to move the window back to the intended place => Select window => Data-Base- Position => make x =0 y=0 z=0 ===> Problem FC revert to x=-2.500 m y=0.100 m z=0 m (Image3)

Testing on the same computer with FC realthunder (Branch: LinkDaily) ==>  All good No problem (Image4)

Is this normal? Any comments please?


******************************************************************************
******************************************************************************

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.21.29485 (Git)
Build type: Release
Branch: master
Hash: a236ca843fdd6674afb6d7ed1454fbd3b547f5ea
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/Australia (en_AU)
Installed mods: 
  * Behave-Dark-Colors 0.0.1
  * BIM 2021.12.0
  * dodo
  * Help 1.0.3
  * PieMenu
  * ProDarkThemePreferencePack 1.0.0
  * SketchArch
******************************************************************************
******************************************************************************
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2022.709.26244 +5001 (Git)
Build type: Release
Branch: LinkDaily
Hash: 096210d21183e9dfdc3b25777760bfb6c00a210b
Python version: 3.8.10
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/Australia (en_AU)

  
Attachments
Door Tutorial.FCStd
(15.12 KiB) Downloaded 43 times
Image1.jpg
Image1.jpg (487.79 KiB) Viewed 1996 times
Image2.jpg
Image2.jpg (480.95 KiB) Viewed 1996 times
Image3.jpg
Image3.jpg (524.25 KiB) Viewed 1996 times
Image4.jpg
Image4.jpg (355.86 KiB) Viewed 1996 times
Last edited by Palmtree on Thu Aug 04, 2022 5:10 am, edited 1 time in total.
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Door in a Wall Question

Post by paullee »

Palmtree wrote: Wed Jul 27, 2022 9:13 am ... ( try to insert at the middle of the wall - Image 1) => Problem? The created door reverts to the start/left  corner of the host wall.

Code: Select all

Installed mods: 
...
  * SketchArch
 
The 'problem' you have is having installed the SketchArch Add-on :lol: It attempt to make placement of Arch Object Automatic and more Intuitive, it sounds it confuse you and not 'intuitive'.

See the attached model file and try below :-
  1. Switch to the SketchArch add-on
  2. Select the Window object and click Icon (Edit Attachment) as shown below
  3. Now it open the underlying Sketch, the user can pick the edge of Wall segment for the Window to attach to
  4. The Window should switch to the Wall Segment
  5. Press 'Escape' to exit from the command
  6. The attribute 'Master Sketch Subelement Index' should have some number like 0, 1, 2 (index of the selected wall segement)
  7. If you have the latest SketchArch, there should be an attribute 'Master Sketch Subelement Snap', default as 'AxisStart'
  8. Try the options available, 'MidPoint' make the Window ('insertion point') go to the midpoint of the wall segment
  9. Input a number (length in mm) in Master Sketch Subelement Offset, e.g. 500mm make you Window 'insertion point' offset along the 'Wall Axis' by 500mm
  10. [EDIT] Edit the underlying Sketch of the Wall, the Window should follow the new alignment / disposition of the Wall Segments
Finally, you may note the base Sketch of the new Wall is an ArchSketch - Click the ArchSketch Icon to create. It is Sketch with additional features supported by the python add-on.

See the github Readme and/or discussion thread for more information.


Good luck.


Screenshot from 2022-07-27 17-54-16.png
Screenshot from 2022-07-27 17-54-16.png (1.76 KiB) Viewed 1976 times
Door Tutorial_r.FCStd
(34.74 KiB) Downloaded 40 times
Screenshot from 2022-07-27 17-58-42.png
Screenshot from 2022-07-27 17-58-42.png (225.32 KiB) Viewed 1976 times
Screenshot from 2022-07-27 17-58-52.png
Screenshot from 2022-07-27 17-58-52.png (222.13 KiB) Viewed 1976 times
User avatar
Palmtree
Posts: 104
Joined: Wed Apr 08, 2020 5:06 am

Re: Door in a Wall Question

Post by Palmtree »

Hi paullee

I have a feeling there is something is not right... or I am missing something :lol: :lol: :lol: :lol:
your prompt response is very much appreciated.

Many Thanks
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: (SOLVED) Door in a Wall Question

Post by paullee »

I have been thinking about this case for a while.

Considering : If user have installed the SketchArch Add-on, should ArchWall automatically use ArchSketch as its Base, in lieu of stock Sketch, so the features in SketchArch is supported in one go to avoid confusion (without the user's need to create an ArchSketch and select the latter as the ArchWall's Base)


Any opinion is welcome please :)
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Door in a Wall Question

Post by paullee »

Palmtree wrote: Wed Jul 27, 2022 12:39 pm Ping
Following last post, proposing new features : [ArchWall] Auto-creating ArchSketch in ArchWall to streamline the workflow and/or make it more intuitive.

Any time to try and comments ?

Thanks :)
User avatar
Palmtree
Posts: 104
Joined: Wed Apr 08, 2020 5:06 am

Re: Door in a Wall Question

Post by Palmtree »

paullee wrote: Wed Sep 14, 2022 7:17 pm
Palmtree wrote: Wed Jul 27, 2022 12:39 pm Ping
Following last post, proposing new features : [ArchWall] Auto-creating ArchSketch in ArchWall to streamline the workflow and/or make it more intuitive.

Any time to try and comments ?

Thanks :)
Sorry I have missed the earlier posts. This is a quick response to let you know I have just seen your post.
I will study your referenced material and let you know my comments.

Cheers :) :) :)
paullee
Veteran
Posts: 5098
Joined: Wed May 04, 2016 3:58 pm

Re: Door in a Wall Question

Post by paullee »

paullee wrote: Wed Sep 14, 2022 7:17 pm Following last post, proposing new features : [ArchWall] Auto-creating ArchSketch in ArchWall to streamline the workflow and/or make it more intuitive.

In addition to above, ArchSketchObject.py is also updated :

- if supported Arch Object's Base is Not ArchSketch, no automatic Update Attachment of the Arch Object will be initiated, to avoid confusion to users.

https://github.com/paullee0/FreeCAD_SketchArch
User avatar
Palmtree
Posts: 104
Joined: Wed Apr 08, 2020 5:06 am

Re: Door in a Wall Question

Post by Palmtree »

paullee wrote: Tue Oct 25, 2022 5:07 pm In addition to above, ArchSketchObject.py is also updated :
- if supported Arch Object's Base is Not ArchSketch, no automatic Update Attachment of the Arch Object will be initiated, to avoid confusion to users.
https://github.com/paullee0/FreeCAD_SketchArch
I have updated my SketchArch, Many Thanks @paullee
Post Reply