[solved] TechDraw Center lines not created/shown for holes

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
akredd
Posts: 71
Joined: Wed Mar 19, 2014 8:31 pm
Location: D-02733 Cunewalde

[solved] TechDraw Center lines not created/shown for holes

Post by akredd »

After compiling FC from source today i can't create center lines for holes.
My system:

Code: Select all

OS: Ubuntu 22.04.2 LTS (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32539 (Git)
Build type: Unknown
Branch: master
Hash: 251022cfc92cc74bd7bde42ff37d69af1447f63d
Python 3.10.6, Qt 5.15.3, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.1
Locale: German/Germany (de_DE)
Installed mods: 
  * fcgear 1.0.0
  * GDTplus 0.1.0
  * fasteners 0.4.55
  * workfeature
  * Curves 0.6.8
  * lattice2 1.0.0
  * Defeaturing 1.2.0
  * symbols_library
  * FreeCAD-GDT-master 0.20.1
  * Ship 2022.4.11
  * workfeature-macro
  * MRail 0.1.0
  * sheetmetal 0.2.62
  * Plot 2022.4.17
  * nurbs
  * Trails 2022.1.0
  * freecad.workbench_starterkit-master
  * A2plus 0.4.60k
  * CurvedShapes 1.0.4
  * slic3r-tools
  * 3DfindIT 1.2.0
  * Manipulator 1.5.0
  * retr3d
In the middle of February it was possible to create these center lines (see file)
M001-Kopf_01_03.pdf
(277.91 KiB) Downloaded 37 times
For some reasons i like to make this drawing again. But when i select one of the circles an press the appropriate button nothing happens. I'm not shure if it is an issue or if my FCSdt-file is somehow corrupt.
Regards
Andreas
Last edited by akredd on Tue Mar 28, 2023 11:00 am, edited 2 times in total.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: TechDraw Center lines not created/shown for holes

Post by Shalmeneser »

This TechDraw_ExtensionCircleCenterLines ?

or this in Edit>Preferences>TechDraw>Annotations ??
Show Center Marks: Show arc center marks in views.
Print Center Marks: Show arc centers in printed output.
or this : "Arc Center Marks" in ComboView>View>Decoration
akredd
Posts: 71
Joined: Wed Mar 19, 2014 8:31 pm
Location: D-02733 Cunewalde

Re: TechDraw Center lines not created/shown for holes

Post by akredd »

Shalmeneser wrote: Sun Mar 26, 2023 6:02 pm This TechDraw_ExtensionCircleCenterLines ?

or this in Edit>Preferences>TechDraw>Annotations ??
Show Center Marks: Show arc center marks in views.
Print Center Marks: Show arc centers in printed output.
or this : "Arc Center Marks" in ComboView>View>Decoration
It is the first one...(TechDraw_ExtensionCircleCenterLines )
But i found that it is not an issue because in some of my parts the centerlines will be created, in others not. So it must be something in my parts. But i can't configure out what it can be :(
Regards
Andreas
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: TechDraw Center lines not created/shown for holes

Post by Shalmeneser »

Picture of your problem (or the file) ?
domad
Veteran
Posts: 2052
Joined: Mon Jun 22, 2020 12:16 pm

Re: TechDraw Center lines not created/shown for holes

Post by domad »

akredd wrote: Mon Mar 27, 2023 11:37 am ...
Hi akredd, greetings to the Community!
As anticipated by @Shalmeneser, without a file or an image it is difficult to locate the problem and make suggestions, in any case based on your statements, I can guess that if in some cases it works and in others it doesn't, it is probably due to the fact that TD (ExtensionCircleCenterLine) does not interpret the circumference as such but as a "Spline" curve.
To verify, try to dimension the circumference (radius or diameter) if TD dimensions regularly (without any warning) then for TD it is a circumference, otherwise (with warning) it is a spline curve.
If TD has projected a spline instead of a circle it can be due to several reasons, that's why it is necessary that we have a file to understand where the problem lies and try to solve it.
akredd
Posts: 71
Joined: Wed Mar 19, 2014 8:31 pm
Location: D-02733 Cunewalde

Re: TechDraw Center lines not created/shown for holes

Post by akredd »

domad wrote: Mon Mar 27, 2023 2:41 pm
Hi all,
that was a good Idea
Bildschirmfoto zu 2023-03-28 10-43-38.png
Bildschirmfoto zu 2023-03-28 10-43-38.png (22.7 KiB) Viewed 1113 times
But now there is the question why it worked 4 weeks ago as shown in the pdf-file in my first post (the circle with dims 40 and 120 - section F/5).
Give you the file has two problems:
- it is 4.1 MB
-i created features with a special script (should become a WB in future), so that you may get a lot of errors
Any way, where should i post that large file?
Regards
Andreas
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: TechDraw Center lines not created/shown for holes

Post by chrisb »

akredd wrote: Tue Mar 28, 2023 8:52 am Give you the file has two problems:
- it is 4.1 MB
-i created features with a special script (should become a WB in future), so that you may get a lot of errors
Any way, where should i post that large file?
It is best to vastly reduce such a file, so that it still shows the issue. If that's not possible, use a publicly available fileservice without the need for the helpers to register.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
akredd
Posts: 71
Joined: Wed Mar 19, 2014 8:31 pm
Location: D-02733 Cunewalde

Re: TechDraw Center lines not created/shown for holes

Post by akredd »

Ok, i reduced the file.
The features "Versteifungsnut_K01_03" and "Befestigung_K01_03" shows that behavior that i can't understand. They are created with arcs and circles.
May be you got some problems with the stuff in "skel", that was created with the mentioned module but that is not the problem here.
Regards
Andreas
Attachments
M001-Kopf_01_03.FCStd
(119.73 KiB) Downloaded 26 times
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: TechDraw Center lines not created/shown for holes

Post by chrisb »

akredd wrote: Tue Mar 28, 2023 9:55 am The features "Versteifungsnut_K01_03" and "Befestigung_K01_03" shows that behavior that i can't understand. They are created with arcs and circles.
It is an alignment problem. Look at the Front Direction. It shows in the Z component -0.000 (I use three decimals). The "-" indicates that there is a minuscule negative deviation from the "real" zero. Set it explicitely to 0 shows the centermarks.
SnipScreenshot-f3af3b.png
SnipScreenshot-f3af3b.png (6.22 KiB) Viewed 1066 times
Attachments
M001-Kopf_cb.FCStd
(108.5 KiB) Downloaded 22 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: TechDraw Center lines not created/shown for holes

Post by Shalmeneser »

I've already encounter this problem (from files of other users) of -0 value for Direction.
Where does it come from ?
Post Reply