Topo Naming Solution in OCC 7.4.0 very important

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Topo Naming Solution in OCC 7.4.0 very important

Post by freecad-heini-1 »

Yeah, it's there:
https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6
Please, please, please integrate it into Master.
Best regards
Wilfried
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx »

freecad-heini-1 wrote: Sat Jan 04, 2020 10:19 am Yeah, it's there:...
Do you know what you are looking at?

Please see this link, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6

This is the same "Overview" documentation for OCCT 7.3, the version that is in current use by most people. It has the same "Topological naming" section as in 7.4. Do you see a difference?

This is the same for OCCT 7.2, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6

This is the same for OCCT 7.0, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6

Do you see any difference?

"Topological naming" just explains how the sub-elements are named; this explanation is the same that has existed since 7.0. But this section does not mean that the topological naming problem is solved in 7.4.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
freecad-heini-1
Veteran
Posts: 7791
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by freecad-heini-1 »

O.k. thank's for your explanation, I'm sorry.
jeno
Veteran
Posts: 1854
Joined: Sun Jun 29, 2014 10:41 am

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by jeno »

vocx wrote: Sat Jan 04, 2020 11:52 pm
freecad-heini-1 wrote: Sat Jan 04, 2020 10:19 am Yeah, it's there:...
Do you know what you are looking at?
Please see this link, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6
This is the same "Overview" documentation for OCCT 7.3, the version that is in current use by most people. It has the same "Topological naming" section as in 7.4. Do you see a difference?
This is the same for OCCT 7.2, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6
This is the same for OCCT 7.0, https://www.opencascade.com/doc/occt-7. ... t_ocaf_5_6
Do you see any difference?
"Topological naming" just explains how the sub-elements are named; this explanation is the same that has existed since 7.0. But this section does not mean that the topological naming problem is solved in 7.4.
Hi
I intially posted that link in the german sub, so it was my bad.
If you don't mind could you please answer me following
- From my plain user point of view this would be a set of tools to adress topo naming problems?
- In case it is, as it is since 7.0 in OCCT, nothing of this is in Freecad implemented?
- Are there any good reasons not to use it and instead develop a different soultion from scratch?

cheers
User avatar
Chris_G
Veteran
Posts: 2601
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by Chris_G »

Here is a topic about OCC's OCAF framework :
FreeCAD OCAF and reinventing the wheel
wmayer wrote:From the beginning on FreeCAD was not designed as a pure CAD system but as a flexible system providing frameworks for different purposes. If it was a pure CAD system then the OCAF framework might have been sufficient but since it's not and we already know that we hit a dead end with OCAF why should we do the same mistake twice?
wmayer wrote:Reinventing something is not per se a bad thing. At the beginning of a project you can evolve very fast if you use an existing framework but the problems will appear in long-term. If a framework is not designed flexible enough (and I have my doubts with OCAF) then at some point you hit a dead end and either you live with its limitations or you put huge effort into implementing something new -- this effort is a multiple times higher than the effort you had if you implemented your own solution from the beginning on.
jeno
Veteran
Posts: 1854
Joined: Sun Jun 29, 2014 10:41 am

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by jeno »

Chris_G wrote: Sun Jan 05, 2020 1:13 pm Here is a topic about OCC's OCAF framework :
FreeCAD OCAF and reinventing the wheel
wmayer wrote:From the beginning on FreeCAD was not designed as a pure CAD system but as a flexible system providing frameworks for different purposes. If it was a pure CAD system then the OCAF framework might have been sufficient but since it's not and we already know that we hit a dead end with OCAF why should we do the same mistake twice?
wmayer wrote:Reinventing something is not per se a bad thing. At the beginning of a project you can evolve very fast if you use an existing framework but the problems will appear in long-term. If a framework is not designed flexible enough (and I have my doubts with OCAF) then at some point you hit a dead end and either you live with its limitations or you put huge effort into implementing something new -- this effort is a multiple times higher than the effort you had if you implemented your own solution from the beginning on.
Thanks for pointing me to the discussion about OCAF. So the decision for not using it was already done.
Again sorry for the noise
User avatar
-alex-
Veteran
Posts: 1861
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by -alex- »

jeno wrote: Sun Jan 05, 2020 2:39 pm Again sorry for the noise
Ah, I guess your OP was due to a huge hope to see a fix of the toponaming issue, and every FreeCAD user share this hope I assume :roll:
BTW a fix already exists as you know maybe, Realthunder already merged a toponaming algorithm in his branch Asm3. I tested this branch by modelising some Partdesign parts. His algorithme works very well, allows very reliable and versatile models.
Realthunder plans to submit his algorithm to be merged for Freecad 0.20.
https://forum.freecadweb.org/viewtopic. ... 24#p345164
So, toponaming could be fixed during release 0.20.... wait and hope :D
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx »

-alex- wrote: Sun Jan 05, 2020 3:24 pm ...
So, toponaming could be fixed during release 0.20.... wait and hope :D
Exactly. This is what everybody wishes.

See Topological Naming, My Take.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
vocx
Veteran
Posts: 5197
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx »

I just wanted to re-iterate this by Werner.

Coin3D - FreeCAD Delegation to help move Coin3D forward
wmayer wrote: Tue Mar 26, 2019 2:43 pm
NormandC wrote: Sat Mar 09, 2019 11:04 pm I find odd that in all those topics about the scene graph issue, the possibility of going with OCCT visualization is never considered. ...
In the early days of FreeCAD we were using the OCCT viewer and even its document framework OCAF. But at that time the viewer was extremely slow for larger objects and lacked of many features that we got with Coin3d for free. The only big advantage of the OCCT viewer over Coin3d was the available highlighting/selection mechanism but by writing our own nodes we could achieve something similar.

And the whole OCAF was a pain in the ass. We got it working for built-in object types but for all custom object types you had to register them with a very weird plugin mechanism which we never got working reliably. And documentation was either non-existent or very poor.

After spending 2-3 years on this we gave up and started to implement something that we have control over and that we understand.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by triplus »

vocx wrote: Thu Jan 16, 2020 2:55 am Why are you bottom quoting? That is horrible!
:D
Post Reply