Solution for one instance of the Topological Naming Problem
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Solution for one instance of the Topological Naming Problem
Edit by moderator chrisb: I have split this part of the discussion from https://forum.freecadweb.org/viewtopic. ... 50#p617032, because it discusses especially how this wiki page should be handled.
What is the Topological Naming Problem? why you can't store key before operation? I don't get it?
What is the Topological Naming Problem? why you can't store key before operation? I don't get it?
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking
Re: Topological Naming, My Take
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
-
- Posts: 225
- Joined: Fri Apr 26, 2019 3:14 pm
Re: Topological Naming, My Take
[Deleted] - du to no belonging to this thread after splitting and moving the thread by chrisb.
Last edited by C_h_o_p_i_n on Thu Aug 18, 2022 6:40 am, edited 1 time in total.
Re: Topological Naming, My Take
I added the page with solution to wiki at: https://wiki.freecadweb.org/TNP_solution
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking
Re: Topological Naming, My Take
That script is pretty useless without the corresponding FreeCAD model?
Cheers,
Markus
Markus
Re: Topological Naming, My Take
Seriously? The Topological_naming_problem page describe how to create the Pads... only thing added is Constrains to be able to resize the model from python script. You can even make GUI for that and move it back and forward and changing the face name like this, and the recompute will be ok.
I am not sure if the wiki support adding FreeCAD files so I add this here, hopefully I didn't delete it I am not good at wiki editing. Wiki is not good to keep code, especially python code where indentation is important.
- Attachments
-
- TNP.FCStd
- (25.81 KiB) Downloaded 93 times
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking
Re: Topological Naming, My Take
I don't understand what you asking for. You asking why I posted this solution for free? or why this wiki page was not created before?
Thanks
Darek
github.com/dprojects
workbench for woodworking is available at: github.com/dprojects/Woodworking
Re: Topological Naming, My Take
My point is that what you are proposing is not the solution of the TNP problem.
Re: Topological Naming, My Take
The Topological_naming_problem wiki page describes the problem with one single example of TNP.
TNP however has many more different incarnations (e.g. a sketch referring external geometry or a plane attached to a face).
Your script solves this one single example of TNP (which is fine of course), but not TNP in general.
Cheers,
Markus
Markus