@wandererfan
I ran across this error a few more times on the latest builds and remembered I was supposed to provide an example. Sorry for the delay.
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31155 (Git)
Build type: Release
Branch: master
Hash: 6f1b29769b33676edca2bd883b80bed25a0758c8
Python 3.8.15, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* Assembly4 0.12.4
* CurvedShapes 1.0.4
* Curves 0.6.4
* DynamicData 2.46.0
* fasteners 0.4.25
* fcgear 1.0.0
* MOOC 2022.4.21
* sheetmetal 0.2.59
Anyway, I still have this problem with TechDraw when I have an LCS from Assembly 4 enabled. Now that I know what is causing the error, I can just go in and disable the LCS in the drawings and everything works fine. However, it would be nice if FreeCAD could handle them more gracefully.
I've got the example down to a simple box with an LCS. To keep things consistent with how I use the program, I have also created another file that just holds the TechDraw pages. I have found keeping drawings with the original part file seems to slow things down considerably, especially when I'm working with an Assembled Part. The part I want to keep track of in the drawing file is simply a Link to the original part in the original file.
If you load the two files and look at the Drawing_Base file, you will see that the Page, View has an exclamation point. The report view shows the
SurfaceToBSplinedSurface() - infinite surface error.
If you go into the part and see the LCS_Top line and disable it (press spacebar), go back to the Techdraw page and recompute, everything works fine.
Let me know if this is not what you are seeing.
Thanks