problems with Freecad 0.19

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Renato
Posts: 179
Joined: Fri Apr 24, 2015 10:14 am
Location: Italy (Tuscany)

problems with Freecad 0.19

Post by Renato »

several problems with Freecad 0.19.
1) does not make windows fit into the wall;
2) completely freezes when importing IFC files;
3) when I open a file made with version 0.18 in which there are measures insert through the Formula Editor and save it with 0.19, when I reopen it with 0.18 the measures have lost the reference to the formulas


OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20738 (Git)
Build type: Release
Branch: master
Hash: 0c96f77184edc0a6747483b2ff1462fc6dae46ff
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Italian/Italy (it_IT)
Attachments
problem windows.JPG
problem windows.JPG (363.12 KiB) Viewed 3622 times
problem with IFC import 2.JPG
problem with IFC import 2.JPG (298.5 KiB) Viewed 3622 times
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: problems with Freecad 0.19

Post by vocx »

Renato wrote: Tue Apr 28, 2020 4:43 pm several problems with Freecad 0.19.
1) does not make windows fit into the wall;
0.19 Appimage Many Errors pointing to /temp/.mount
vocx wrote: Tue Apr 28, 2020 12:45 am
Xantof wrote: Mon Apr 27, 2020 2:42 pm local variable 'os' referenced before assignment
Pull request #3400. This solves the second of the problems, allowing you to insert Arch Windows.
3) when I open a file made with version 0.18 in which there are measures insert through the Formula Editor and save it with 0.19, when I reopen it with 0.18...
Do not mix 0.18 and 0.19 like that. The newest version 0.19 has introduced many new changes to the expression engine and formula editor, so if you go back to 0.18 it will not work. If you start with 0.18 you can only move to 0.19 once. After that you must stay with 0.19.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Renato
Posts: 179
Joined: Fri Apr 24, 2015 10:14 am
Location: Italy (Tuscany)

Re: problems with Freecad 0.19

Post by Renato »

Another problem,
when we want to do Map mode of a sketch (deactivate), to constrain it all objects disappear (except the sketch itself) and therefore we cannot select any object to constrain it to
Attachments
problem with Map Mode Deactivate.JPG
problem with Map Mode Deactivate.JPG (302.18 KiB) Viewed 3565 times
Maj_Po
Posts: 9
Joined: Tue Apr 21, 2020 10:22 am

Re: problems with Freecad 0.19

Post by Maj_Po »

Hello
There seems to be several bugs with the tools&workbenches in the latest daily build. When loading BIM-workbench, most tools are not loaded:

Code: Select all

No module named 'draftviewproviders.view_bspline'
Traceback (most recent call last):
  File "<string>", line 69, in Initialize
  File "/usr/share/freecad-daily/Mod/Draft/DraftTools.py", line 49, in <module>
    import Draft
  File "/usr/share/freecad-daily/Mod/Draft/Draft.py", line 222, in <module>
    from draftmake.make_bspline import make_bspline, makeBSpline
  File "/usr/share/freecad-daily/Mod/Draft/draftmake/make_bspline.py", line 39, in <module>
    from draftviewproviders.view_bspline import ViewProviderBSpline
When loading Draft-Workbench:

Code: Select all

module 'FreeCADGui' has no attribute 'Snapper'
Traceback (most recent call last):
  File "<string>", line 134, in Activated
  File "/usr/share/freecad-daily/Mod/Draft/draftutils/init_draft_statusbar.py", line 342, in show_draft_statusbar
    init_draft_statusbar(sb)
  File "/usr/share/freecad-daily/Mod/Draft/draftutils/init_draft_statusbar.py", line 223, in init_draft_statusbar
    Gui.Snapper.init_draft_snap_buttons(snap_gui_commands,snaps_menu, "_Statusbutton")
etc. ....

My system-info:

Code: Select all

OS: Ubuntu 18.04.4 LTS (ubuntu:GNOME/ubuntu-wayland)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: bd86e1cb67c01f8085ee1e48324b5694187bd399
Python version: 3.6.9
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Just reporting...
carlopav
Veteran
Posts: 2062
Joined: Mon Dec 31, 2018 1:49 pm
Location: Venice, Italy

Re: problems with Freecad 0.19

Post by carlopav »

Maj_Po wrote: Thu Apr 30, 2020 6:48 pm ping
Hello, thanks for reporting, the issue is related to the massive code reorganization we are carrying on, and the bug i introduced should be already fixed, thanks to a common effort!
try next build to see if everything went back to normality :)
follow my experiments on BIM modelling for architecture design
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: problems with Freecad 0.19

Post by vocx »

Maj_Po wrote: Thu Apr 30, 2020 6:48 pm File "/usr/share/freecad-daily/Mod/Draft/draftutils/init_draft_statusbar.py", line 223, in init_draft_statusbar
Gui.Snapper.init_draft_snap_buttons(snap_gui_commands,snaps_menu, "_Statusbutton")[/code]
Pull request #3414. The fix should be integrated into the daily build within one or two days.

Daily build: Draft WB gone
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
Renato
Posts: 179
Joined: Fri Apr 24, 2015 10:14 am
Location: Italy (Tuscany)

Re: problems with Freecad 0.19

Post by Renato »

Hi, Thanks
I continue to put information on the use of 0.19, checking and thinking of giving help.
I have tried the version

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: Italian/Italy (it_IT)


1) as regards the creation of windows and doors, the problem remains

REPORT
"Running the Python command 'Arch_Window' failed:
Traceback (most recent call last):
File "C:\Users\user\Downloads\freeware\programmi cad free\FreeCAD_0.19.20839_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchWindow.py", line 664, in Activated
FreeCADGui.Snapper.getPoint(callback=self.getPoint,movecallback=self.update,extradlg=self.taskbox())
File "C:\Users\user\Downloads\freeware\programmi cad free\FreeCAD_0.19.20839_x64_LP_12.1.2_PY3QT5-WinVS2015\Mod\Arch\ArchWindow.py", line 788, in taskbox
presetdir = os.path.join(FreeCAD.getUserAppDataDir(),"Arch")

local variable 'os' referenced before assignment"

2) the problem of the deactivated sketch remains, that all objects disappear to constrain the sketch

3) instead it now manages to import IFC files.
But it seems to me that it matters too many references (double building and layer) and it seems that the objects appear twice
Attachments
schetch deactivate.JPG
schetch deactivate.JPG (185.13 KiB) Viewed 3464 times
ifc import.JPG
ifc import.JPG (168.79 KiB) Viewed 3464 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: problems with Freecad 0.19

Post by thomas-neemann »

Renato wrote: Tue Apr 28, 2020 4:43 pm
1) does not make windows fit into the wall;

I had the same problem. after deleting .FreeCAD and ./config/FreeCAD everything was ok again
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
poontitming
Posts: 14
Joined: Wed Nov 28, 2018 3:57 pm
Location: Hong Kong / Minneapolis

Re: problems with Freecad 0.19

Post by poontitming »

Please put a warning message that file saved in 0.19 can't be opened on 0.18.

0.18 plugin manager is broken which has to use 0.19 to install plugin and go back to 0.18. Sometime, you use 0.19 to draw a few things but accidentally saved the file. The file can't be reopened on 0.18. However, 0.19 is under development that still not suitable to be used for real work.

I spent two days to draw a part on 0.18 but accidentally saved on 0.19 that can't continue my work on 0.18!
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: problems with Freecad 0.19

Post by chrisb »

poontitming wrote: Thu Jan 14, 2021 9:11 pm I spent two days to draw a part on 0.18 but accidentally saved on 0.19 that can't continue my work on 0.18!
Why don't you continue in 0.19? That would save you two days work. It is normal behaviour, that new versions of a program work with old files, but not vice versa. This was discussed just yesterday in another post (probably in Help forum).
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply