Skip to content
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

Multidimension entity models #108

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Multidimension entity models #108

wants to merge 6 commits into from

Conversation

simbilod
Copy link
Owner

@simbilod simbilod commented Jan 2, 2025

working on automatic tagging of arbitrary dimension entities

  • loop over entities from higher dimension (in mesh order) to lower (in their mesh order)
  • process entities of the same dimension the usual way (cut --> create labeled entity w/ info)
  • if there are entities with higher dimension, embed
    • use occ.fragment, deleting both object and tool: if OCC.PreserveNumbering is True, and if object is lower dimension than tool, this does not change the higher order entity tags
    • the output of occ.fragments has all the dimtags resulting from the operation: filter out the current entity dimension dimtags, and the ones that don't correspond to an existing updated boundary (since higher dim hasn't changed, we can retrieve those again) or a previous entity of same dimension that we cut from (doesn't changed its tags?) should be the embedded ones

@simbilod simbilod changed the title Multidimension2 Multidimension entity models Jan 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant