Techdraw - try creation of a hatching in detail view of section

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Techdraw - try creation of a hatching in detail view of section

Post by maker »

Hi all,

Code: Select all

OS: openSUSE Leap 15.3 (KDE//usr/share/xsessions/default)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: German/Germany (de_DE)
I must create a detail view of a section view to fully describe drawing details.
The selected scale of the drawing is 2 : 1.
When creating the detail view of the section it has no hatching, and it is not possible to select a face for hatching in detail view.
.
TechDraw_section view_Detail.FCStd
(33.86 KiB) Downloaded 20 times
.
Why is it not possible to create a hatching of this detail view?
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw - try creation of a hatching in detail view of section

Post by wandererfan »

maker wrote: Sun Jun 19, 2022 11:47 am Why is it not possible to create a hatching of this detail view?
Usually there is an error message if it can't make faces, but nothing here. It works for a bigger circle, not sure why it doesn't work with a smaller circle. Will have to do some digging.
Attachments
hatchDetailOfSection.png
hatchDetailOfSection.png (49.93 KiB) Viewed 1099 times
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw - try creation of a hatching in detail view of section

Post by maker »

@wandererfan

I' d like to inquire if you have produced any findings.

Kind regards
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw - try creation of a hatching in detail view of section

Post by wandererfan »

maker wrote: Thu Jun 23, 2022 2:53 pm I' d like to inquire if you have produced any findings.
No progress to report. I expect to look into it this week.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw - try creation of a hatching in detail view of section

Post by Shalmeneser »

Don't understand how these sketches can works with grooves.
Attachments
Capture d’écran 2022-06-23 201400.jpg
Capture d’écran 2022-06-23 201400.jpg (8.68 KiB) Viewed 927 times
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw - try creation of a hatching in detail view of section

Post by wandererfan »

maker wrote: Sun Jun 19, 2022 11:47 am Why is it not possible to create a hatching of this detail view?
There are a number of superimposed edges in the projection of the detail. This happens sometimes :( and confuses the face finding algorithm.

A very small bit of comfort is that this file is an excellent test case for the replacement face finder which is in development.
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Techdraw - try creation of a hatching in detail view of section

Post by chrisb »

Shalmeneser wrote: Thu Jun 23, 2022 6:15 pm Don't understand how these sketches can works with grooves.
Groove (and revolve) don't do proper validity checks on sketches as Pad and Pocket do. Although the result may look ok, errors often occur in later steps.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
maker
Posts: 192
Joined: Sun Apr 01, 2018 10:25 am

Re: Techdraw - try creation of a hatching in detail view of section

Post by maker »

wandererfan wrote: Fri Jun 24, 2022 3:18 pm
maker wrote: Sun Jun 19, 2022 11:47 am Why is it not possible to create a hatching of this detail view?
There are a number of superimposed edges in the projection of the detail. This happens sometimes :( and confuses the face finding algorithm.

A very small bit of comfort is that this file is an excellent test case for the replacement face finder which is in development.
@wandererfan

thank you for the info about your analysis.

Of course, I couldn't stop thinking about the fact that no hatching could be created in the detail view.
For this reason I deleted the created TD page again and started a new one.

Again I set the selected drawing scale to 2:1 and kept it throughout.

Interesting was what I then noticed:
I could suddenly create the hatching in the detail view, because the area was selectable.
This surprised me at first and I tried various things.
Only when I increased the ISO Count (default: 0) to 1 for the dimensioning, the hatching disappeared. The effect occurred vice versa. . And it worked also up to scale 5:1 in detail view. But if I scale to 10:1 the hatching disappears in detail view.
So now I come to the conclusion that the problem comes from the change of ISO Count. Poor is for dimensioning reasons that you cannot change ISO Count.

Please check this also.
User avatar
wandererfan
Veteran
Posts: 6265
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw - try creation of a hatching in detail view of section

Post by wandererfan »

maker wrote: Sat Jun 25, 2022 11:00 am I could suddenly create the hatching in the detail view, because the area was selectable.
If the face finding algorithm is not successful, there will be no faces to select.

Using a recent freecad-daily, I was not able to hatch the detail at any scale or any setting for Iso Visible/Iso Count.

If the Iso lines are allowed, they will add additional edges to the views which will change the faces (actually closed regions in the drawing, as opposed to real faces).

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon/cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.
Build type: Release
Branch: unknown
Hash: 9e2ee47b016c1639fb0b2349ab99af8b6a2d3e3d
Python 3.8.10, Qt 5.12.8, Coin 4.0.0, Vtk 7.1.1, OCC 7.5.2
Locale: English/United States (en_US)
Installed mods: 
  * A2plus 0.4.56a
  * AnimationFreeCAD 1.0.0
  * Curves 0.4.4
  * Assembly4 0.12.0
  * fasteners 0.3.44
Post Reply