Conversation
Instead of doing the attribute handling for CAD geometry examples manually, we implement setter and getter functions for the attributes. Still wip
holke
changed the base branch from
main
to
fix-geometry_handler_not_exposed
September 18, 2026 12:16
Collaborator
Author
|
@sandro-elsweijer i dont need a review from you, but would like to hear your opinion: Is a static function in the t8_geometry_cad class a good place for this functionality? |
…_store_attribute_interface
…_store_attribute_interface
holke
marked this pull request as ready for review
September 23, 2026 12:52
…_store_attribute_interface
…_store_attribute_interface
18 tasks
Collaborator
Author
|
Update: The tests should pass, once #2442 is merged. Thus, this can go into review. |
holke
added this pull request to stack #2444
September 24, 2026 08:41
holke
removed this pull request from stack #2444
September 24, 2026 10:01
holke
added this pull request to stack #2445
September 24, 2026 10:01
…_store_attribute_interface
Collaborator
Author
Nope, there is still an error in the cad_hex evaluation. Working on it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe your changes here:
Fixes #2436
Depends on #2442.
The CAD geometries use internal cmesh macros from cmesh_types.h for attribute keys.
The fix is to wrap the attribute functions in cad geometry specific setters and getters such that the attribute keys are hidden.
This has the additional advantage of:
All these boxes must be checked by the AUTHOR before requesting review:
Documentation:,Bugfix:,Feature:,Improvement:orOther:.All these boxes must be checked by the REVIEWERS before merging the pull request:
As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.
General
Tests
If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):
Scripts and Wiki
scripts/internal/find_all_source_files.shto check the indentation of these files.License
doc/(or already has one).