Wall length in Property panel gives a error

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Wall length in Property panel gives a error

Post by yorik »

Your gif goes too fast, I cant read the error message :D
But I'll try to reproduce this on my side to test...
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Wall length in Property panel gives a error

Post by bitacovir »

yorik wrote: Mon Jun 03, 2019 7:08 pm Your gif goes too fast, I cant read the error message :D
But I'll try to reproduce this on my side to test...
Sorry. This is the error message:

Exception (Mon Jun 3 15:41:45 2019): Sketch::checkGeoId. GeoId index out range.
Traceback (most recent call last):
File "C:\Users\Rafael\Documents\Programs\FreeCAD_0.19.16883_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchWall.py", line 760, in onChanged
obj.Base.movePoint(0,2,p2,0)
<class 'Base.FreeCADError'>: Sketch::checkGeoId. GeoId index out range.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Wall length in Property panel gives a error

Post by yorik »

Ok I tested here, and I can't reproduce the issue...
I can make a wall, change its length, save the file, reopen the file, and still change the length.
Can you maybe attach a file where the length is not editable anymore after reopening?
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Wall length in Property panel gives a error

Post by bitacovir »

yorik wrote: Sun Jun 09, 2019 8:40 pm Can you maybe attach a file where the length is not editable anymore after reopening?
Thanks Yorik.
Ok. I deleted all FreeCAD installations and I tested the last FC version. Same problem.
here you are the file
frozenwall.FCStd
(7.64 KiB) Downloaded 34 times
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.16945 (Git)
Build type: Release
Branch: master
Hash: d818a9638424a934bd9da74d187a1af4cb773f05
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Australia (en_AU)
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Wall length in Property panel gives a error

Post by yorik »

This is a strange bug. I found out that the points of a sketch cannot be moved programmatically if the sketch hasn't been in edit mode at least once in the session.

However, I could not succeed in doing a quick in-and-out of edit mode programmatically either, it makes FreeCAD crash. I guess entering and exiting sketches edit mode does a lot of additional operations, it's not meant to be triggered that way.

So ATM as a workaround in git commit 385771153 I just added a message to warn the user that they must enter and exit edit mode for the base sketch. I guess that's already something...
raphael.spiesberger
Posts: 3
Joined: Sun Jun 21, 2020 11:48 am

Re: Wall length in Property panel gives a error

Post by raphael.spiesberger »

yorik wrote: Wed May 15, 2019 1:50 pm In git commit b50ac8606 I experimented a fix for this problem... Let's see if that works well

Hi.
I installed Freecad on Ubuntu and still have this error? Has your bug fix ever gone live?
Thanks a lot
Raphael
schoutem
Posts: 1
Joined: Mon Nov 23, 2020 8:04 pm

Re: Wall length in Property panel gives a error

Post by schoutem »

Hello everybody; I'm experiencing the same problem as described above with version 0.18.
I'm starting to use FreeCad; so not experienced.
I draw a few walls in Arch workbench. The next day I want to continue but modify length of a wall and it's not possible. Same error message. Toggling edit mode doens't resolve the issue. It's not very reassuring.. Anybody found a solution?
chrisb
Veteran
Posts: 54161
Joined: Tue Mar 17, 2015 9:14 am

Re: Wall length in Property panel gives a error

Post by chrisb »

schoutem wrote: Mon Nov 23, 2020 8:07 pm I'm experiencing the same problem as described above with version 0.18.
Install 0.19 and check if the issue still exists.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
bitacovir
Veteran
Posts: 1570
Joined: Sat Apr 19, 2014 6:23 am
Contact:

Re: Wall length in Property panel gives a error

Post by bitacovir »

schoutem wrote: Mon Nov 23, 2020 8:07 pm I draw a few walls in Arch workbench. The next day I want to continue but modify length of a wall and it's not possible. Same error message. Toggling edit mode doens't resolve the issue. It's not very reassuring.. Anybody found a solution?
Don´t try to change the wall's length in the property panel for a saved file.

Just try:

Option 1) Double click on base Sketch (WallTrace) to open sketcher editor. Close editor and now you can modify Length in property panel. If this does not work, try to manipulate the line sketch before close the sketcher editor. Also you could try to use a restriction dimension for this line in sketcher to change the length later.

Option 2) Use a Draft Line/Wire as base of the walls (draw a draft line, select it and click on Arch wall command). This way later you only edit the length property of this wire instead of the wall.

We always must consider the wall as based on a subcomponent and what you should edit is this base component instead of the wall.
::bitacovir::
==================
One must be absolutely modern.
Arthur Rimbaud (A Season in Hell -1873)

Canal Youtube Grupo Telegram de FreeCAD Español

My personal web site
My GitHub repository
Mini Airflow Tunnel Project
Post Reply