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
Posts: 6436
Joined: Tue Jan 07, 2014 11:10 am
Contact:

Topo Naming Solution in OCC 7.4.0 very important

Post by freecad-heini-1 » Sat Jan 04, 2020 10:19 am

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
Posts: 2829
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx » 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.
To support the documentation effort, and code development, your donation is appreciated: paypal.
freecad-heini-1
Posts: 6436
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 » Sat Jan 04, 2020 11:56 pm

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

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by jeno » Sun Jan 05, 2020 11:49 am

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
Posts: 1204
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 » 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.
jeno
Posts: 674
Joined: Sun Jun 29, 2014 10:41 am

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by jeno » Sun Jan 05, 2020 2:39 pm

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-
Posts: 298
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by -alex- » Sun Jan 05, 2020 3:24 pm

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
Posts: 2829
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx » Sun Jan 05, 2020 5:18 pm

-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.
To support the documentation effort, and code development, your donation is appreciated: paypal.
vocx
Posts: 2829
Joined: Thu Oct 18, 2018 9:18 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by vocx » Thu Jan 16, 2020 7:43 pm

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.
To support the documentation effort, and code development, your donation is appreciated: paypal.
triplus
Posts: 9136
Joined: Mon Dec 12, 2011 4:45 pm

Re: Topo Naming Solution in OCC 7.4.0 very important

Post by triplus » Thu Jan 16, 2020 11:09 pm

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

Who is online

Users browsing this forum: Google [Bot] and 11 guests