I am getting the error when the line is taken into 3D space. Keeping the label in 2 D space, everything looks correct, change the working plane to some angle and do something like -
Code: Select all
l = Draft.makeLabel(targetpoint=FreeCAD.Vector (0.0, 6.140144073823542, 10.0),direction='Vertical',distance=8.623526292565531,labeltype='Label',placement=FreeCAD.Placement(FreeCAD.Vector (-9.967470493654348, 13.36130042488455, -4.0628612702266),FreeCAD.Rotation(0.4358218936365907, -0.39338361463588356, -0.22007762128379885, 0.7790214691348933)))
- things start to get wonky, (I believe that's the technical tearm for it...)
Edit: Attached the file.
Mark
**build date 2019/05/22 22:17:47**
OS: Ubuntu 18.04.2 LTS (KDE/plasma)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Python version: 3.6.7
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)