TD DraftView Lines of width 1 not showing and Recompute reports deprecation

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
PMac
Posts: 135
Joined: Sat Sep 02, 2017 10:44 pm

TD DraftView Lines of width 1 not showing and Recompute reports deprecation

Post by PMac »

Was testing TechDraw Workbench with basic Draft objects using DraftViews as in attached file.

Issue 1: When the Line Width of the Draft objects is set to 1.00, the respective DraftView seems not to display the horizontal and vertical lines. When the width is set to 2.00 or larger, the respective line displays properly in DraftView. Why?

Issue 2: Was using Recompute on the DraftViews to refresh any changes like line widths were made to the base Draft objects. I notice the following report re a deprecated function. (have App Loglevel set to 4)

02:41:36 <App> AutoTransaction.cpp(45): auto transaction 'Recompute object', 0
02:41:36 <App> AutoTransaction.cpp(138): set active transaction 'Recompute object'
02:41:36 <App> AutoTransaction.cpp(63): construct auto Transaction 1
02:41:36 1082.97 <App> Document.cpp(3486): Recompute pass 0
02:41:36 1082.97 <App> Document.cpp(3739): Recomputing A00150016TechDrawDraftViewTestA#DraftView002
02:41:36 This function will be deprecated. Please use 'get_svg'.
02:41:36 1082.97 <App> Document.cpp(1169): auto transaction (1513) 'A00150016TechDrawDraftViewTestA#DraftView002.Symbol
02:41:36 1082.97 <App> Document.cpp(3541): Recompute time: 0.00345117s
02:41:36 1082.97 <App> Document.cpp(3554): Recompute total time: 0.00353877s
02:41:36 <App> AutoTransaction.cpp(68): before destruct auto Transaction 1
02:41:36 <App> AutoTransaction.cpp(175): close transaction 'Recompute object' 0
02:41:36 <App> AutoTransaction.cpp(87): destruct auto Transaction 0

May be or not be significant. Maybe just another item for Wanderfans long list of TechDraw to-do items. Doesn't seem to affect operations.

ps Yes, it is another hot humid sleepless night

and the required info: freecad-daily at latest update today
OS: Linux Mint 20.1 (X-Cinnamon/cinnamon)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.
Build type: Release
Branch: unknown
Hash: 305fb03c0db6439c8c226c6010183a82ae26c5d7
Python version: 3.8.5
Qt version: 5.12.8
Coin version: 4.0.0
OCC version: 7.3.0
Locale: English/New Zealand (en_NZ)

[title edited]
Attachments
A00150016TechDrawDraftViewTestA.FCStd
(23.42 KiB) Downloaded 23 times
PMac
Posts: 135
Joined: Sat Sep 02, 2017 10:44 pm

Re: TD DraftView Lines of width 1 not showing and Recompute reports deprecation

Post by PMac »

Another similar issue re TechDraw lines not displaying as expected is seen.
https://forum.freecadweb.org/viewtopic.php?f=35&t=54819
Post Reply