[Solved use flatpak version] Vertex and center marks not shown on TechDraw

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
lewatoto
Posts: 6
Joined: Sat Mar 19, 2022 3:27 am

[Solved use flatpak version] Vertex and center marks not shown on TechDraw

Post by lewatoto »

Hi, the repo version of FreeCad on Fedora does not shown the vertex and center marks on the TechDraw Workbench
Screenshot_20220318_224855.png
Screenshot_20220318_224855.png (402.28 KiB) Viewed 3026 times
I have this in the config options:
Screenshot_20220318_225120.png
Screenshot_20220318_225120.png (127.48 KiB) Viewed 3026 times
Screenshot_20220318_232736.png
Screenshot_20220318_232736.png (162.94 KiB) Viewed 3024 times
I've think is a problem with the fedora's repo version since the flatpak version all works ok, just changed the width of some lines, but the vertex and center marks are showed correctly.
Screenshot_20220318_224153.png
Screenshot_20220318_224153.png (244.36 KiB) Viewed 3026 times
The info of the fedora's repo version:

Code: Select all

OS: Fedora Linux 35 (KDE Plasma) (KDE//usr/share/xsessions/plasmax11)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.Unknown
Build type: Unknown
Python version: 3.10.2
Qt version: 5.15.2
Coin version: 4.0.0
OCC version: 7.5.0
Locale: English/United States (en_US)
Should I use the flatpak version instead of repo version? there is a way to debug this and send to the maintainer of the package and try to solve it?
Last edited by lewatoto on Mon Mar 21, 2022 2:46 am, edited 1 time in total.
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: Vertex and center marks not shown on TechDraw

Post by domad »

lewatoto wrote: Sat Mar 19, 2022 5:01 am .......
Hi lewatoto, greetings to the community!
Have you tried clicking on the "Turn view frames on-off" function?
Attachments
turn view frames on-off.png
turn view frames on-off.png (141.65 KiB) Viewed 3000 times
lewatoto
Posts: 6
Joined: Sat Mar 19, 2022 3:27 am

Re: Vertex and center marks not shown on TechDraw

Post by lewatoto »

Thank you and yes, already tried the 'Turn view frames on-off', I'll attach some screenshots

I assume this is enabled
Screenshot_20220319_121041.png
Screenshot_20220319_121041.png (366.26 KiB) Viewed 2867 times
And this is disabled
Screenshot_20220319_121100.png
Screenshot_20220319_121100.png (352.09 KiB) Viewed 2867 times
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Vertex and center marks not shown on TechDraw

Post by Roy_043 »

In theory it is possible that both versions use a different user.cfg file. You can find its location by entering:

Code: Select all

App.getUserConfigDir()
in the Python console.
lewatoto
Posts: 6
Joined: Sat Mar 19, 2022 3:27 am

Re: Vertex and center marks not shown on TechDraw

Post by lewatoto »

Code: Select all

Python 3.10.2 (main, Jan 17 2022, 00:00:00) [GCC 11.2.1 20211203 (Red Hat 11.2.1-7)] on linux
Type 'help', 'copyright', 'credits' or 'license' for more information.
>>> App.getUserConfigDir()
Traceback (most recent call last):
  File "<input>", line 1, in <module>
AttributeError: module 'FreeCAD' has no attribute 'getUserConfigDir'
Tried with others commands maybe someone shows the required info:

Code: Select all

>>> App.getUserAppDataDir()
'/home/lewatoto/.FreeCAD/'
>>> App.getHomePath()
'/usr/lib64/freecad/'
And reading the user.cfg file on home/.FreeCAD/ folder found the CenterMark on this section:

Code: Select all

<FCParamGroup Name="Decorations">
              <FCFloat Name="CenterMarkScale" Value="1.000000000000"/>
              <FCFloat Name="SymbolFactor" Value="1.250000000000"/>
              <FCBool Name="PrintCenterMarks" Value="0"/>
              <FCBool Name="PyramidOrtho" Value="1"/>
              <FCBool Name="ShowCenterMarks" Value="1"/>
              <FCInt Name="LineGroup" Value="0"/>
              <FCInt Name="BalloonArrow" Value="0"/>
              <FCInt Name="BalloonShape" Value="0"/>
              <FCInt Name="CenterLine" Value="2"/>
              <FCInt Name="MattingStyle" Value="0"/>
              <FCInt Name="SectionLine" Value="2"/>
              <FCInt Name="CutSurfaceDisplay" Value="2"/>
              <FCInt Name="HighlightStyle" Value="2"/>
              <FCUInt Name="SectionColor" Value="255"/>
              <FCUInt Name="CenterColor" Value="255"/>
              <FCUInt Name="VertexColor" Value="255"/>
              <FCUInt Name="HighlightColor" Value="255"/>
              <FCInt Name="MaxSVGTile" Value="10000"/>
            </FCParamGroup>
In one thread about Qt6 (yes I know in 0.19 we still in previous versions of Qt) I've read something about python 3.10 that may cause certain troubles but don't know if is something related to my problem.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Vertex and center marks not shown on TechDraw

Post by wandererfan »

lewatoto wrote: Sat Mar 19, 2022 5:01 am Hi, the repo version of FreeCad on Fedora does not shown the vertex and center marks on the TechDraw Workbench
Set Vertex Scale and Center Mark Scale in Preferences to large numbers (say 10) and see if that makes a difference. You need bigger scale settings if you use thin lines.
chrisb
Veteran
Posts: 53933
Joined: Tue Mar 17, 2015 9:14 am

Re: Vertex and center marks not shown on TechDraw

Post by chrisb »

Are you aware, that the preferences in italics are only presets? Did you check the View properties?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
lewatoto
Posts: 6
Joined: Sat Mar 19, 2022 3:27 am

Re: Vertex and center marks not shown on TechDraw

Post by lewatoto »

wandererfan wrote: Sat Mar 19, 2022 11:17 pm Set Vertex Scale and Center Mark Scale in Preferences to large numbers (say 10) and see if that makes a difference. You need bigger scale settings if you use thin lines.
Already try with something like 20 or even 80 and no change on the sketch, so maybe I'll use the flatpak version instead the version provided on Fedora repo, thanks for your help.
chrisb wrote: Sun Mar 20, 2022 12:28 am Are you aware, that the preferences in italics are only presets? Did you check the View properties?
Yes I'll attach the properties of the view section
Screenshot_20220319_194124.png
Screenshot_20220319_194124.png (248.99 KiB) Viewed 2597 times
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Vertex and center marks not shown on TechDraw

Post by wandererfan »

lewatoto wrote: Sun Mar 20, 2022 1:42 am Already try with something like 20 or even 80 and no change on the sketch
recompute the view?

A long shot, but check the color for vertices in the color tab of Preferences.
lewatoto
Posts: 6
Joined: Sat Mar 19, 2022 3:27 am

Re: Vertex and center marks not shown on TechDraw

Post by lewatoto »

wandererfan wrote: Sun Mar 20, 2022 1:19 pm recompute the view?
Yes already try that.
wandererfan wrote: Sun Mar 20, 2022 1:19 pm A long shot, but check the color for vertices in the color tab of Preferences.
Color preferences
fcolor.png
fcolor.png (87.23 KiB) Viewed 2379 times
meanwhile the solution for me at least is to use the flatpak version on Fedora to avoid this problem.
Post Reply