[Solved] Arch: create Wall error

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
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

[Solved] Arch: create Wall error

Post by johnwang »

Hi,

In Arch WB, pick the Wall object tool. Click in the viewport in two places, I got a wall.

Pick the Wall object tool again, click another two places, sometimes I could got another wall, but sometimes got an error saying:

Code: Select all

<class 'TypeError'>
Traceback (most recent call last):
  File "D:\FreeCAD_0.19.20839_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Draft\draftguitools\gui_snapper.py", line 1366, in click
    accept()
  File "D:\FreeCAD_0.19.20839_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Draft\draftguitools\gui_snapper.py", line 1380, in accept
    callback(self.pt, obj)
  File "D:\FreeCAD_0.19.20839_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchWall.py", line 398, in getPoint
    self.addDefault(l)
TypeError: addDefault() takes 1 positional argument but 2 were given
Thanks for help.

Regards,

John

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20839 (Git)
Build type: Release
Branch: master
Hash: 09005766f10539dfe32314c33c2cd3efe9141d0b
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United States (en_US)
Last edited by johnwang on Fri Aug 07, 2020 8:34 am, edited 1 time in total.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
User avatar
Roy_043
Veteran
Posts: 8550
Joined: Thu Dec 27, 2018 12:28 pm

Re: Arch: create Wall error

Post by Roy_043 »

I cannot confirm this. Please verify with the latest V0.19 version.
User avatar
johnwang
Veteran
Posts: 1382
Joined: Sun Jan 27, 2019 12:41 am

Re: Arch: create Wall error

Post by johnwang »

Roy_043 wrote: Fri Aug 07, 2020 8:08 am I cannot confirm this. Please verify with the latest V0.19 version.
Tried 21937. All good. Thanks.
hfc series CAE workbenches for FreeCAD (hfcNastran95, hfcMystran, hfcFrame3DD, hfcSU2 and more)
Post Reply