Topological Naming, My Take

Here's the place for discussion related to coding in FreeCAD, C++ or Python. Design, interfaces and structures.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
wsteffe
Posts: 461
Joined: Thu Aug 21, 2014 8:17 pm

Re: Topological Naming, My Take

Post by wsteffe »

Perhaps I made a wrong test. Now I am suspecting that names which I read after selecting an object are index based and not mapped names. But I have done what RT said at the end of page https://github.com/realthunder/FreeCAD_ ... -Algorithm. Perhaps there is some setting which prevents me from viewing the mapped names ?
User avatar
adrianinsaval
Veteran
Posts: 5541
Joined: Thu Apr 05, 2018 5:15 pm

Re: Topological Naming, My Take

Post by adrianinsaval »

That's not the name given by the algorithm, that's just the face index as provided by occt.
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: Topological Naming, My Take

Post by aapo »

wsteffe wrote: Wed Oct 12, 2022 6:47 am You will see that the face that, before filletting, was named "Pad.Face3" gets the name "Fillet.Face7" when the fillet is made.
And to me this is really wired because that face was not changed at all by the fillet.
For me the names of those faces are (in realthunder's LinkStage3-version of FreeCAD):
  • Pad.Face3 : Pad.;g3;SKT;:T4514:6:E;:G;XTR;:T4514:17:F;:T-4515:36:F.Face3
  • Fillet.Face7 : Fillet.;g3;SKT;:T4514:6:E;:G;XTR;:T4514:17:F;:T-4515:36:F;:T4515:49:F.Face7
As one would probably expect (note the common parts g3;SKT;:T4514:6:E;:G;XTR;:T4514:17:F;:T-4515:36:F). The real question for me is, how to decide when they have common enough substrings in the general case..?

Code: Select all

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2022.709.28846 (Git)
Build type: Release
Branch: LinkStage3
Hash: c880c050c5f7601e4bae6740de71500edf2be0c7
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
wsteffe
Posts: 461
Joined: Thu Aug 21, 2014 8:17 pm

Re: Topological Naming, My Take

Post by wsteffe »

aapo wrote: Wed Oct 12, 2022 12:41 pm For me the names of those faces are (in realthunder's LinkStage3-version of FreeCAD):
I am also using the LinkStage3-version of FreeCAD but for some obscure reason I could not see anymore the mapped name of selected object. See the following image. I remember that some time ago I could also see those complex strings. I don't know what has changed.
noMappedName.png
noMappedName.png (125.19 KiB) Viewed 2624 times
Cadder
Posts: 46
Joined: Sat Sep 03, 2022 6:52 am

Re: Topological Naming, My Take

Post by Cadder »

@realthunder , hi!

I would like to build Link branch, but which LibPack should I use? More general question - how can we now to which upstream version/revision your fork is updated?
Post Reply