Here is the test done on 0.16 relese and 0.17 dev they both create this
EDIT:Added test with Yorik's Python 3 port. at the end
- Screenshot_20160515_223847.png (7 KiB) Viewed 3127 times
OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.Unknown
Build type: Release
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1
Code: Select all
>>> execfile("/home/kjetil/Nedlastinger/FC/face_test2.py/face_test2.py")
disk-Orientation: Forward
disk-Surface: <Plane object>
disk-axis: Vector (0.0, 0.0, 1.0)
hex-Orientation: Forward
hex-Surface: <Plane object>
hex-Axis: Vector (0.0, 0.0, 1.0)
>>>
OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7512 (Git)
Build type: Unknown
Branch: master
Hash: ec54c092d5acdf0616c53ba79a293db28e38947f
Python version: 2.7.11
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1
Code: Select all
>>> execfile("/home/kjetil/Nedlastinger/FC/face_test2.py/face_test2.py")
disk-Orientation: Forward
disk-Surface: <Plane object>
disk-axis: Vector (0.0, 0.0, 1.0)
hex-Orientation: Forward
hex-Surface: <Plane object>
hex-Axis: Vector (0.0, 0.0, 1.0)
>>>
OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7607 (Git)
Build type: Unknown
Branch: py3-17
Hash: ac41a2aa703e2b29f7739a96103be1e50e111117
Python version: 3.5.1
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.9.1
Code: Select all
Python 3.5.1 (default, Mar 3 2016, 09:29:07)
[GCC 5.3.0] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> with open("/home/kjetil/Nedlastinger/FC/face_test2.py/face_test3.py") as f:
... code = compile(f.read(), "/home/kjetil/Nedlastinger/FC/face_test2.py/face_test3.py", 'exec')
... exec(code)
...
disk-Orientation: Forward
disk-Surface: <Plane object>
disk-axis: Vector (0.0, 0.0, 1.0)
hex-Orientation: Forward
hex-Surface: <Plane object>
hex-Axis: Vector (0.0, 0.0, 1.0)