-
Notifications
You must be signed in to change notification settings - Fork 32
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
[BUG] - Issues when using simplify - "full" #203
Labels
bug
Something isn't working
Comments
KBGrammer
pushed a commit
to KBGrammer/GEOUNED
that referenced
this issue
Jun 3, 2024
KBGrammer
pushed a commit
to KBGrammer/GEOUNED
that referenced
this issue
Jun 3, 2024
KBGrammer
pushed a commit
to KBGrammer/GEOUNED
that referenced
this issue
Jun 3, 2024
4 tasks
psauvan
pushed a commit
that referenced
this issue
Jun 4, 2024
This bug has been resolved. |
KBGrammer
pushed a commit
to KBGrammer/GEOUNED
that referenced
this issue
Jun 5, 2024
The parameter passed down to get_box should be "self.options" because it is treated as options in get_box. Additionally, there's a call to get_box that was also missing the required second parameter in conversion/cell_definition.py
|
psauvan
pushed a commit
that referenced
this issue
Jun 7, 2024
* Patch for #203 * Responding to comments on #206 * Update core.py Add missing space to call to UF.get_box() * Replace all get_box calls to have options.enlargeBox, change get_box to refer only to enlargeBox instead of options.enlargeBox --------- Co-authored-by: AlvaroCubi <55387701+AlvaroCubi@users.noreply.github.com> Co-authored-by: Grammer, Kyle <grammerkb@ornl.gov>
psauvan
pushed a commit
that referenced
this issue
Jun 17, 2024
psauvan
pushed a commit
that referenced
this issue
Jun 17, 2024
* Patch for #203 * Responding to comments on #206 * Update core.py Add missing space to call to UF.get_box() * Replace all get_box calls to have options.enlargeBox, change get_box to refer only to enlargeBox instead of options.enlargeBox --------- Co-authored-by: AlvaroCubi <55387701+AlvaroCubi@users.noreply.github.com> Co-authored-by: Grammer, Kyle <grammerkb@ornl.gov>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Simplification fails when using the option "full" with the error below. It appers to be a missing second option for calls to get_box() and build_c_table_from_solids().
To Reproduce
Expected behavior
Should process the simplification of the geometry, but it crashes with a number of errors.
Error message
This is the error for get_box:
This is the error for build_c_table_from_solids:
This is the error from the point_inside function:
Please complete the following information):
Additional context
If I had only posted the first error, I wouldn't have found the second. I'm working through these and resolving them as I go.
Errors 1 and 2 seem to be resolved by changing the following lines in core.py:
to this:
Error 3 is because an integer "cut_box" is defined in the function point_inside() as well as being defined as a callable function. Changing the integer to something else resolves it. Affects two lines in utils/boolean_solids.py, with cut_box replaced as "cbox".
The text was updated successfully, but these errors were encountered: