on recent builds I have noticed that I'm getting a directory named "%D" created in the working directory at the time FC is run. This would seem to relate to the %D macro in postprocessing which should be expanded to substitute the current working directory.
Files are still getting created correctly and saved with %D apparently correctly used.
Recently I have taken to starting FC from the same directory ( effectively running from %D ) since this same constantly telling FC where I want to save stuff. So this could be an existing bug I have triggered by this change in working method, rather than a new bug.
There does not seem to be anything related to this is the individual post proc code. I'm using grblpost , I have not look at other post procs.
Is this related to the replacement open function:
Code: Select all
# ***************************************************************************
# * to distinguish python built-in open function from the one declared below
if open.__module__ in ['__builtin__', 'io']:
pythonopen = open
OS: Fedora 31 (Thirty One) (LXDE/LXDE)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22872 (Git)
Build type: Release
Branch: master
Hash: 7c9e0f3a99d94d87e43df9fda09097d62537bb53
Python version: 3.7.9
Qt version: 5.13.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
PS just found that this is created on start up. Before I even open a FCStd file. Happens where ever FC is started, even if in the build tree.