[ Fixed ] Draft Text: Text not aligned with working plane

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

[ Fixed ] Draft Text: Text not aligned with working plane

Post by Roy_043 »

The Draft Text command does not fully respect the current working plane.

Test:
  1. Open the attached file.
  2. Align the Draft workingplane (Draft_SelectPlane) with the face of the box marked with the circle.
  3. Start the Draft_Text command.
  4. Enter 0,0,0 in the local coordinate system.
  5. Result: The coordinates in the LCS are used but the text is aligned with the XY plane of the GCS. See 'Test' text in the image.
If you do the same with the Draft_ShapeString command you will see that coordinates can only be entered in the GCS, but the alignment of the XY plane of the LCS is used. See 'Default' text in the image.

Also compare the Draft_Dimension command which does fully respect the working plane.
Attachments
draft-text-test.png
draft-text-test.png (7.96 KiB) Viewed 3343 times
draft-text-test.FCStd
(20.64 KiB) Downloaded 77 times
Last edited by Roy_043 on Fri Oct 08, 2021 11:29 pm, edited 1 time in total.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Draft Text: Text not aligned with working plane

Post by thomas-neemann »

Roy_043 wrote: Wed May 12, 2021 2:02 pm
i know you're not looking for a workaround, but here's one for anyone interested. 1 min

https://www.youtube.com/watch?v=hdnZMt_sy7A



phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Draft Text: Text not aligned with working plane

Post by Roy_043 »

User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: [ Fixed ] Draft Text: Text not aligned with working plane

Post by Roy_043 »

Merged.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [ Fixed ] Draft Text: Text not aligned with working plane

Post by thomas-neemann »

Roy_043 wrote: Fri Oct 08, 2021 11:29 pmMerged.

it works. Thanks very much

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git) AppImage
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply