When speaking about Toponaming and TNP it seems that is not very clear how it is and hoe the "TNP mitigation" will solve issues, and seems that discussion were scattered around.
I open this topic.
https://wiki.freecad.org/Topological_naming_problem
Other relevant links are at bottom of page linked above under Links.
I have some idea that TNP mitigation could be a good place were integrate a different way of storing the model (intended as the operation that will create solids and eventually compose them in a more complex thing.) using a database.
This could be integrated without the need to add anything to FreeCAD as the stock Python offers SQLite library in his standard library packs, so no need for big additions.
iintegrating SQL tabels and queries to retrieve "model data" instead of relying of the XML file structure, that with big models is slowing down things.
Once integrated and set up correctly it will be even possible to use an external SQL database to store model data and this will permit things like:
- distribuited model hosting, as example an enterprise could have his models in a centralized database.
- extending SQL tables will permit to manage things like PDM and similar as you can store data in the database even if FreeCAD wil not use them, provided SQL queries will not alter table structure.
- Hopefully doing searches in a SQL database is optimized in case of big data
- SQLite permit to store even binary blobs so adding other things will not be a big hassle, like images and similar things, or even OCCT produce brp files (that however are text files, but maybe in future will not be)
Some thing:
- be polite, strong opinion could lead to some harsh answers, don't be too reactive.
- we are in an international contest, so think that maybe misunderstanding could be done because the writer is not a "native English writer" and some subtle difference between terms could be not known, so prior to start a flame war, ask the real meaning of the "offending phrases".
- It is a discussion, so it is in the "nature of the thing" that there will be different opinions, usually changing the point of view could be interesting and lead to big ideas.
Kind Regards to all the partecipants.
Carlo D.