how add custom windows in Preset library

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Creative25
Posts: 21
Joined: Wed May 25, 2022 5:42 am

Re: how add custom windows in Preset library

Post by Creative25 »

I don't find any error messages.

But I got one step further to get it working.

I moved the arch folder out of the mod folder.

Code: Select all

/Users/admin/Library/Application\ Support/FreeCAD/Arch
So now the Arch workbench is back and I can paste the custom window.
But now it creates a different problem.
Every time I place the custom window it creates a wall.
Not such a big problem since I can delete the wall.
If I place A standard window it does not do that.
Is it possible that the custom window needs some changes so that it will not do that?
Attachments
Paste creates wall.jpg
Paste creates wall.jpg (116.24 KiB) Viewed 439 times
NE2-copy-works.FCStd
(27.16 KiB) Downloaded 17 times
NE2-copy-works.FCStd
(27.16 KiB) Downloaded 15 times
NE2.FCStd
(23.31 KiB) Downloaded 17 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: how add custom windows in Preset library

Post by Roy_043 »

Code: Select all

$ROOT_DIR/Mod/Arch/Windows/Custom/
An Arch folder (even if it is empty) in the User Mod folder indeed leads to the described problem. I have worked a little on the code involved, and although the Arch folder code was already there, I should have tested anyway. My bad. I'll remove this information from the Arch_Window page.

It is possible to test things without installing the library. You need to define a preference, see image, and use the correct folder structure.

Code: Select all

$ROOT_DIR/Mod/parts_library/Architectural Parts/Windows/MyFolder/MyWindow.FCStd
$ROOT_DIR/Mod/parts_library/Architectural Parts/Doors/MyFolder/MyDoor.FCStd
Creative25 wrote: Fri May 27, 2022 5:04 pm Is it possible that the custom window needs some changes so that it will not do that?
You have misunderstood the file I provided. I have just inserted your window file (without any modifications) in a wall to demonstrate that your file works fine.
Attachments
destination.png
destination.png (22.89 KiB) Viewed 377 times
Creative25
Posts: 21
Joined: Wed May 25, 2022 5:42 am

Re: how add custom windows in Preset library

Post by Creative25 »

Thanks It is all working now.

I see I can move th window by moving the sketch or by moving the window itself.

What way is better or recommended?
Post Reply