FreeCAD icon indicating copy to clipboard operation
FreeCAD copied to clipboard

[Problem] Selecting edges depends on draw Style

Open dingolino opened this issue 1 month ago • 0 comments

Is there an existing issue for this?

  • [x] I have searched the existing issues

Version

0.20 (Release)

Full version info

OS: Windows 11 build 26200
Word size of FreeCAD: 64-bit
Version: 2025.1020.0dev.Unknown
Build type: Release
Python 3.11.8, Qt 5.15.15, Coin 4.0.6rt, Vtk 9.2.6, OCC 7.7.2
Locale: German/Germany (de_DE)
Installed mods: 
  * Behave-Dark-Colors 0.1.1
  * FusedFilamentDesign 0.25.380
  * OpenTheme 2025.5.20
  * QuickMeasure 2022.10.28

Subproject(s) affected?

None

Problem description

Hi, not sure whether it is a bug or a feature, and this was driving my crazy not only in this most recent Tips Version but since a long time in previous versions. By chance I was finding today something. Please have a a look at the attached sample.

The problem is that if you create a Binder to import something from another body and you want to import from this Binder to a sketch "external elements"

If I was doing this on a brand new file and created several bodies it was working, than after a while when I was adding another body I cannot "catch" external edges with "create external geometrie" any longer and getting an error meassage:

20:18:58 <Sketch> SketchObject.cpp(8595): Skip external reference plane that is not normal to sketch plane in Test_2025_11_01#Sketch002: Binder001.;#31;FAC;:Hdd5:4,F 20:18:58 Test_2025.11.01#Sketch002: App.getDocument('Test_2025_11_01').getObject('Sketch002').addExternal(Part.importExternalObject((FreeCAD.getDocument('Test_2025_11_01').getObject('Body002'), 'Binder001.Face1'), (FreeCAD.getDocument('Test_2025_11_01').getObject('Body002'), 'Sketch002.')), []) 20:18:58 pyException: Traceback (most recent call last): File "", line 1, in <class 'ValueError'>: Not able to add external shape element Face1 20:18:58 Failed to add external geometry: Not able to add external shape element Face1

I was doing exactly what I was doing before, but no chance.

My work arround was, creating an new file, and copy/paste from the old file everything into the new file. But as soon as I stored the file, reopened it, the problem was again there.

What was working was: "Add/toggle intersection geometry"

Today, by chance I found that this behavior is depending on the "draw style:

The problem happens if the the draw sty is "shaded"

If the draw style is "No shading" or "Flat lines" than "create external geometry" is working.

My render cache is "experiamental", not sure whether this is doing something here.

By the way: When I opend preferences I am getting the following meassage:

20:25:36 QLayout::addChildLayout: layout "" already has a parent 20:25:36 QLayout::addChildLayout: layout "" already has a parent 20:25:36 QLayout::addChildLayout: layout "" already has a parent 20:25:36 C++ exception thrown for 'TechDrawGui::DlgPrefsTechDrawAnnotationImp' (invalid vector subscript)

Best regards, dingolino

Test_2025.11.01.FCStd.zip

Anything else?

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

dingolino avatar Nov 01 '25 19:11 dingolino