-
Notifications
You must be signed in to change notification settings - Fork 128
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
FIX: Fixed bug which prevented to skip healing on nastran import #5433
base: main
Are you sure you want to change the base?
Conversation
Thanks for opening a Pull Request. If you want to perform a review write a comment saying: @ansys-reviewer-bot review |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5433 +/- ##
===========================================
- Coverage 84.39% 41.26% -43.13%
===========================================
Files 140 140
Lines 58669 58671 +2
===========================================
- Hits 49513 24211 -25302
- Misses 9156 34460 +25304 |
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.
LGTM I left some questions and minor comments.
except Exception: | ||
pass |
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.
except Exception: | |
pass | |
except Exception: # pragma: no cover | |
logger.debug("Failed to normalize vector.") |
cv1 = GeometryOperators.v_points(fc, v2) | ||
cv2 = GeometryOperators.v_points(fc, v1) |
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.
cv1 = GeometryOperators.v_points(fc, v2) | |
cv2 = GeometryOperators.v_points(fc, v1) | |
cv1 = GeometryOperators.v_points(fc, v1) | |
cv2 = GeometryOperators.v_points(fc, v2) |
Any reason to changes the name values ? I expected cv1 to be the distance between v1 and the center (same for cv2)
@@ -557,32 +557,27 @@ def _write_stl(nas_to_dict, decimation, working_directory, enable_planar_merge=T | |||
def _write_solid_stl(triangle, pp): | |||
try: | |||
# points = [nas_to_dict["Points"][id] for id in triangle] | |||
points = [pp[i] for i in triangle] | |||
points = [pp[i] for i in triangle[::-1]] |
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.
Any reason for using [::-1]
?
@@ -341,14 +341,15 @@ def __init__( | |||
|
|||
self._is_closed = close_surface | |||
self._is_covered = cover_surface | |||
|
|||
self._solve_inside = False |
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.
Why are those changes required ?
No description provided.