New To Arch

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
greg252
Posts: 5
Joined: Sun Jan 15, 2023 2:53 pm

New To Arch

Post by greg252 »

Running v 20.1 on a mac.
Trying to design a house (to learn).
Can't seem to get a window added properly.
Here's what I thought was correct:
1) in Draft, draw a line
2) in Arch, make it a wall
3) change the working plane to the wall surface
4) click Window icon
5) select type of window and use snaps to place on wall

Whatever I do, I get errors:

10:53:00 Choose a face on an existing object or select a preset
10:53:07 Traceback (most recent call last):
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Arch/ArchWindow.py", line 889, in execute
shapes = self.buildShapes(obj)
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Arch/ArchWindow.py", line 687, in buildShapes
wires.append(obj.Base.Shape.Wires[j])
<class 'IndexError'>: list index out of range
10:53:07 Recompute failed! Please check report view.
10:53:07 Traceback (most recent call last):
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Arch/ArchWindow.py", line 889, in execute
shapes = self.buildShapes(obj)
File "/Applications/FreeCAD.app/Contents/Resources/Mod/Arch/ArchWindow.py", line 687, in buildShapes
wires.append(obj.Base.Shape.Wires[j])
<class 'IndexError'>: list index out of range
10:53:07 Recompute failed! Please check report view.

Any ideas what I'm doing wrong?
Thanks!
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: New To Arch

Post by chrisb »

Moved from Help forum.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: New To Arch

Post by Roy_043 »

I can't reproduce. Please upgrade to V0.20.2 and test again. If that does not help: post your file.

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29177 +426 (Git)
Build type: Release
Branch: (HEAD detached from 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US) [ OS: Dutch/Netherlands (nl_NL) ]
Installed mods:

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32198 (Git)
Build type: Release
Branch: master
Hash: f51b2156f35399cab38eef1e957a59ad5a11de66
Python 3.8.16, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US) [ OS: Dutch/Netherlands (nl_NL) ]
Installed mods:
greg252
Posts: 5
Joined: Sun Jan 15, 2023 2:53 pm

Re: New To Arch

Post by greg252 »

Updated to latest version. No help.
Red error says "List index out of range".
Can't figure out what I'm doing wrong.
Any help would be appreciated.
Attachments
Window.FCStd
(21.15 KiB) Downloaded 33 times
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: New To Arch

Post by Roy_043 »

There is something wrong with the sketch your window is based on. The standard "Open 2-pane" window is based on a sketch with 24 lines. Between the 8 lines that define the fixed frame and the 8 lines that define each of the two window frames there is a gap. In your file this gap is missing resulting in superimposed lines. This confuses the algorithm that looks for closed loops in the sketch. Can you specify which inputs (Width, Height, H1, H2, etc.) you have used?
greg252
Posts: 5
Joined: Sun Jan 15, 2023 2:53 pm

Re: New To Arch

Post by greg252 »

That's it!
Thank you so much!
Edit the parameters prior to placement, and all good.
It's going to take some getting used to committing to a set value, because, it doesn't seem that I can change type of window once placed, but at least I have WINDOWS!

Thank you.
Post Reply