Arch roof error

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
TheBrick
Posts: 21
Joined: Mon Dec 16, 2013 1:39 pm

Arch roof error

Post by TheBrick »

Hi,
I am trying to put a roof in arch work bench. Initially I am trying a lean to roof but will require a hipped roof.

I have completed a wire (Roof wire) in my sketch that follows the top of the walls I have modelled. I have also tried constraining to the XY plane if that makes a difference but each time I get this error. I know this feature is still in development but I've seen a video of it working on much more complicated roof.

Am I doing something wrong or is it a bug?

Thanks

Code: Select all

 File "C:\Program Files\FreeCAD 0.18\Mod\Arch\ArchRoof.py", line 620, in execute
    self.calcEave(i)
  File "C:\Program Files\FreeCAD 0.18\Mod\Arch\ArchRoof.py", line 346, in calcEave
    eave = DraftGeomUtils.edg(FreeCAD.Vector(pt0Eave1[0]),FreeCAD.Vector(pt1Eave1[0]))
<class 'IndexError'>: list index out of range
File attached and version info below.

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 980bf9060e28555fecd9e3462f68ca74007b70f8
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedKingdom (en_GB)
Attachments
RoofHelpPNG.PNG
RoofHelpPNG.PNG (41.75 KiB) Viewed 399 times
BasePlansV0.1.FCStd
(78.3 KiB) Downloaded 9 times
User avatar
Roy_043
Veteran
Posts: 8585
Joined: Thu Dec 27, 2018 12:28 pm

Re: Arch roof error

Post by Roy_043 »

There are some bugs in the V0.18 version of Arch_Roof. So you should upgrade to V0.19.
The attached file was modified in V0.19.

The base wire for a roof should be plane-parallel to the global XY plane.

And there is no need to draw the triangular tops of the facades.
The roof can be subtracted from the walls with Arch_Remove.

I do not know how the hipped roof portion will look, but you may have to create the roof in two parts with a separate roof for the lean-to.

Code: Select all

OS: Windows 8.1 (6.3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.23074 (Git)
Build type: Release
Branch: master
Hash: 74b866ed3022fd1452c534dae31a721bcc668f2f
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Dutch/Netherlands (nl_NL)
Attachments
BasePlansV0.1_FC0.19.FCStd
(84.36 KiB) Downloaded 11 times
TheBrick
Posts: 21
Joined: Mon Dec 16, 2013 1:39 pm

Re: Arch roof error

Post by TheBrick »

Thanks I'll take a look at your file and try V19. I kept with 18 just because it was latest stable.
User avatar
ebrahim raeyat
Posts: 625
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: Arch roof error

Post by ebrahim raeyat »

TheBrick wrote: Thu Dec 03, 2020 7:40 am Thanks I'll take a look at your file and try V19. I kept with 18 just because it was latest stable.
you may be interested in this forume too:

https://forum.freecadweb.org/viewtopic. ... 12#p453912
TheBrick
Posts: 21
Joined: Mon Dec 16, 2013 1:39 pm

Re: Arch roof error

Post by TheBrick »

That looks brilliant thanks
User avatar
ebrahim raeyat
Posts: 625
Joined: Sun Sep 09, 2018 7:00 pm
Location: Iran
Contact:

Re: Arch roof error

Post by ebrahim raeyat »

TheBrick wrote: Mon Jan 04, 2021 5:23 pm That looks brilliant thanks
:D :D
Post Reply