0.20 Centerlines don't appear on circular pockets.

Discussions about the development of the TechDraw workbench
techGuy
Posts: 20
Joined: Sat Jun 18, 2022 12:48 am

0.20 Centerlines don't appear on circular pockets.

Post by techGuy »

Code: Select all

OS: Ubuntu Core 20 (KDE/plasmax11)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) Snap 66
Build type: Release
Branch: tag: 0.20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.3, Coin 4.0.0, Vtk 7.1.1, OCC 7.6.2
Locale: English/Canada (en_CA)
Create a body.
Create a sketch for some holes. Draw circle. Pocket the sketch, creating a hole in the body.
Create a Techdraw page.
Select the body. Create a view for it.
Select a hole on a face. Select Add Circle Centerlines. The hole will get deselected and nothing will happen.
NewJoker
Veteran
Posts: 1179
Joined: Sun Oct 11, 2020 7:49 pm

Re: 0.20 Centerlines don't appear on circular pockets.

Post by NewJoker »

Can't confirm this:

centerlines.png
centerlines.png (7.29 KiB) Viewed 340 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: Polish/Poland (pl_PL)
openBrain
Veteran
Posts: 7992
Joined: Fri Nov 09, 2018 5:38 pm

Re: 0.20 Centerlines don't appear on circular pockets.

Post by openBrain »

Can't reproduce with

Code: Select all

OS: Ubuntu 21.04 (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Debug
Branch: (HEAD detached at 68e337670e)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.5, Qt 5.15.2, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: English/United States (en_US) [ OS: French/France (fr_FR) ]
Syres
Veteran
Posts: 1646
Joined: Thu Aug 09, 2018 11:14 am

Re: 0.20 Centerlines don't appear on circular pockets.

Post by Syres »

Surely this is related to already existing Graphics Issues in Some Linux Configurations https://github.com/FreeCAD/FreeCAD/issues/6698 ??
User avatar
wandererfan
Veteran
Posts: 4785
Joined: Tue Nov 06, 2012 5:42 pm

Re: 0.20 Centerlines don't appear on circular pockets.

Post by wandererfan »

techGuy wrote: Wed Jun 22, 2022 4:47 am Select a hole on a face. Select Add Circle Centerlines. The hole will get deselected and nothing will happen.
Need an example file to diagnose. If the file is proprietary, you can attach it to a PM. Best guess is that the hole is not actually a circle, but Add Circle Centerlines should detect this (as Diameter/Radius dimensions do).
user1234
Veteran
Posts: 1697
Joined: Mon Jul 11, 2016 5:08 pm

Re: 0.20 Centerlines don't appear on circular pockets.

Post by user1234 »

Also could be, that the view in 3D was while making the view in TechDraw, a little bit rotated. Then this the circle is also not a circle and this function does not work. Just look in the properties, if all is straight. If not, you can easily correct that per hand.

1.png
1.png (20.31 KiB) Viewed 232 times


Greetings
user1234
techGuy
Posts: 20
Joined: Sat Jun 18, 2022 12:48 am

Re: 0.20 Centerlines don't appear on circular pockets.

Post by techGuy »

Syres wrote: Wed Jun 22, 2022 8:41 am Surely this is related to already existing Graphics Issues in Some Linux Configurations https://github.com/FreeCAD/FreeCAD/issues/6698 ??
I was running Qt 5.15.3. That version of Qt appears to fix the issue.
techGuy
Posts: 20
Joined: Sat Jun 18, 2022 12:48 am

Re: 0.20 Centerlines don't appear on circular pockets.

Post by techGuy »

wandererfan wrote: Wed Jun 22, 2022 1:23 pm
techGuy wrote: Wed Jun 22, 2022 4:47 am Select a hole on a face. Select Add Circle Centerlines. The hole will get deselected and nothing will happen.
Need an example file to diagnose. If the file is proprietary, you can attach it to a PM. Best guess is that the hole is not actually a circle, but Add Circle Centerlines should detect this (as Diameter/Radius dimensions do).
Sorry, I can't share it.

The hole is a circle in Sketch. I then pocket it. In the reverse direction, if that makes any difference.
techGuy
Posts: 20
Joined: Sat Jun 18, 2022 12:48 am

Re: 0.20 Centerlines don't appear on circular pockets.

Post by techGuy »

user1234 wrote: Wed Jun 22, 2022 3:35 pm Also could be, that the view in 3D was while making the view in TechDraw, a little bit rotated.
Nope, it is a 2D view, normal to the plane that it was drawn in.
user1234
Veteran
Posts: 1697
Joined: Mon Jul 11, 2016 5:08 pm

Re: 0.20 Centerlines don't appear on circular pockets.

Post by user1234 »

Have you checked, if

- the circle is in 3D really a circle? (in the curves wb in the addonmanager, there is a tool for that)

- in the values are a "-" before the "0". Fore example "-0.000", which can mean, that the view value is actual very very small, but not zero.

Or maybe Syres is correct and the graphic issue.


Greetings
user1234
Post Reply