Solution for one instance of the Topological Naming Problem

Discussions about the wiki documentation of FreeCAD and its translation.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
dprojects
Posts: 720
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Solution for one instance of the Topological Naming Problem

Post by dprojects »

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?

Image

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
chrisb
Veteran
Posts: 53919
Joined: Tue Mar 17, 2015 9:14 am

Re: Topological Naming, My Take

Post by chrisb »

dprojects wrote: Mon Aug 15, 2022 9:39 pm What is the Topological Naming Problem?
Topological naming problem
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
C_h_o_p_i_n
Posts: 225
Joined: Fri Apr 26, 2019 3:14 pm

Re: Topological Naming, My Take

Post by C_h_o_p_i_n »

[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.
User avatar
dprojects
Posts: 720
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Topological Naming, My Take

Post by dprojects »

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
User avatar
mfro
Posts: 662
Joined: Sat Sep 23, 2017 8:15 am

Re: Topological Naming, My Take

Post by mfro »

That script is pretty useless without the corresponding FreeCAD model?
Cheers,
Markus
User avatar
dprojects
Posts: 720
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Topological Naming, My Take

Post by dprojects »

mfro wrote: Tue Aug 16, 2022 9:39 am That script is pretty useless without the corresponding FreeCAD model?
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 89 times

Thanks
Darek
github.com/dprojects

workbench for woodworking is available at: github.com/dprojects/Woodworking
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Topological Naming, My Take

Post by Roy_043 »

dprojects wrote: Tue Aug 16, 2022 10:40 amSeriously?
The name of the page suggests that this is THE solution for the TNP problem. Is this really what you want to convey?
User avatar
dprojects
Posts: 720
Joined: Mon Mar 06, 2017 6:02 pm
Location: Poland
Contact:

Re: Topological Naming, My Take

Post by dprojects »

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
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Topological Naming, My Take

Post by Roy_043 »

My point is that what you are proposing is not the solution of the TNP problem.
User avatar
mfro
Posts: 662
Joined: Sat Sep 23, 2017 8:15 am

Re: Topological Naming, My Take

Post by mfro »

dprojects wrote: Tue Aug 16, 2022 10:40 am... The Topological_naming_problem page describe ...
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
Post Reply