jaheyns / CfdOF

Computational Fluid Dynamics (CFD) for FreeCAD based on OpenFOAM solver

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug reporting - Freecad 0.21.2 Error when loading CfdOF file

mas985 opened this issue · comments

commented

Error occurs on 0.21.2 but not 0.21.1:

https://forum.freecad.org/viewtopic.php?style=5&t=89695&sid=10ec71b4e145527f54b2af47ac62d06e

10:12:46  Traceback (most recent call last):
  File "C:\Users\Mark\AppData\Roaming\FreeCAD\Mod\CfdOF\.\CfdOF\Mesh\CfdMesh.py", line 214, in updateData
    if num_refinement_objs != self.num_refinement_objs:
<class 'AttributeError'>: 'ViewProviderCfdMesh' object has no attribute 'num_refinement_objs'

Occurs when opening the file (after mesh created and loaded) and/or loading surface mesh

OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.21.2.33771 (Git)
Build type: Release
Branch: releases/FreeCAD-0-21
Hash: b9bfa5c5507506e4515816414cd27f4851d00489
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)
Installed mods: 
  * CfdOF 1.27.4