(solved) OCCT7.7.1 create view bug with links and PartContainer (master)

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: (solved) OCCT7.7.1 create view bug with links and PartContainer (master)

Post by Roy_043 »

Jolbas wrote: Mon May 15, 2023 5:01 am Here is a code snippet that gives the error:
No problem with:

Code: Select all

OS: Windows 8.1 Version 6.3 (Build 9600)
Word size of FreeCAD: 64-bit
Version: 0.21.0.33175 (Git)
Build type: Release
Branch: master
Hash: c4a6b3a017469f7bd2c20dce44ac1264155a8488
Python 3.10.11, Qt 5.15.8, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C) [ OS: Dutch/Netherlands (nl_NL) ]
Installed mods:
Syres
Veteran
Posts: 2900
Joined: Thu Aug 09, 2018 11:14 am

Re: (solved) OCCT7.7.1 create view bug with links and PartContainer (master)

Post by Syres »

@Jolbas with reference to the first example error, I believe it's triggered here: https://github.com/FreeCAD/FreeCAD/blob ... .cpp#L3055
User avatar
adrianinsaval
Veteran
Posts: 5551
Joined: Thu Apr 05, 2018 5:15 pm

Re: (solved) OCCT7.7.1 create view bug with links and PartContainer (master)

Post by adrianinsaval »

Jolbas wrote: Mon May 15, 2023 5:01 am Shape.transformGeometry() seems to use the same function. Here is a code snippet that gives the error:
I think here the error was in transformGeometry too, I notice the commit that fixed this removed a call to transformGeometry, there is another call left in there so I think the error might happen anyway here in other circumstances. What truly needs fixing is of course transformGeometry, for anyone looking here we have now an issue on github for this: issue #9651
Post Reply