New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Topo Naming PR 2 #7435
Topo Naming PR 2 #7435
Conversation
ExtensionContainer::foreach/query/callExtension()
Make use of the shadow subname (i.e. the new topo naming) stored inside PropertyLinkSubList for more robust geometry element referecing. And rely on Part::Feature::getRelatedElements() to deduce missing geometry elements.
Most of the new topo naming code can be disabled by defining Macro FC_NO_ELEMENT_MAP
Used in TaskElementColors for general handling of per geometry element coloring.
The re-tagging is necessary for trace geometry element history to linked object, which is required for Part::ViewProviderPartExt color mapping.
error: ambiguous overload for ‘operator==’ (operand types are ‘App::StringHasher* const’ and ‘const StringHasherRef’ {aka ‘const Base::Reference<App::StringHasher>’})
I will merge now and make the announcement hopefully next Sunday when am back home. |
The CI reports some things that might be of interest, see section "Unchanged files with check annotations": |
For those on Linux who are OK with using Snap packages, it's possible to test @realthunder's toponaming patches via: |
@@ -2501,7 +2513,12 @@ class Module : public Py::ExtensionModule<Module> | |||
&mat,&subObj,retType==2,PyObject_IsTrue(transform) ? true : false, | |||
PyObject_IsTrue(noElementMap) ? true : false); | |||
if (PyObject_IsTrue(refine) ? true : false) { | |||
#ifndef FC_NO_ELMENT_MAP |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Typo here
This is the second batch of patches for the new Topo Naming of geometry elements. It adds code to the features from Part workbench for generating Topo Naming using the new APIs. At this stage, the end-user can see the new Topo Naming in action by testing various features from Part workbench. Only features from Part workbench are supported. And if sketch is involved (e.g. Extrusion from a sketch), then try not to modify the sketch for the purpose of Topo Naming testing until the next batch of patches is in.