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

In Klee, allow materials to participate in shaping and replacement rules without geometric data #1104

Closed
kennyweiss opened this issue May 31, 2023 · 0 comments · Fixed by #1115
Assignees
Labels
App Integration Issues related to integration with applications Klee Related to the Klee component Quest Issues related to Axom's 'quest' component

Comments

@kennyweiss
Copy link
Member

Our Klee format currently supports input geometry in stl and c2c format.

We have recently added support for importing initial volume fractions into the sample-based shaper, but these shapes cannot participate in the replacement rules, which might lead to invalid results. (See #1069).

I'd like to add the ability for shapes/materials to participate in shaping without an input geometry.

My proposal is to allow a format of none so users can explicitly order the input materials and tag them with replacement rules.

e.g. note the geometry section in the below example

dimensions: 2
units: cm

shapes:
  - name: input_rock
    material: rock
    geometry:
      format: none  # <-- new, has a material name, but no (new) geometric data

  - name: input_paper
    material: paper
    geometry:
      format: none  # <-- new
    does_not_replace: [scissor]  # <-- `paper` material will replace everything, including `rock`, but not `scissor`

I discussed this w/ @wnissen on 5/30/2023.

@kennyweiss kennyweiss added App Integration Issues related to integration with applications Quest Issues related to Axom's 'quest' component Klee Related to the Klee component labels May 31, 2023
@kennyweiss kennyweiss self-assigned this May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
App Integration Issues related to integration with applications Klee Related to the Klee component Quest Issues related to Axom's 'quest' component
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant