-
Notifications
You must be signed in to change notification settings - Fork 35
Types for surfaces updated #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
Conversation
test for all surface types added +some refurbishment unit tests: 128 passed, 9 skipped in 170.76s
…TypesForSurfaces_updated unit tests: 136 passed, 9 skipped in 170.03s
| no (int, optional): Number | ||
| offset (float, optional): Offset value | ||
| assigned_to_surfaces (str, optional): Eccentricity assignmet | ||
| thickness_alignment (_type_, optional): Thickness alignment |
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.
To be more clear in the documentation, it would be better the change types of enumeration items. I usually use this:
thickness_alignment(enum, optional): Thickness alignment
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.
Corrected
| no: int = 1, | ||
| offset: float = 0.1, | ||
| assigned_to_surfaces: str = '1', | ||
| thickness_alignment = SurfaceEccentricityAlignment.ALIGN_BOTTOM, |
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.
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.
corrected
UnitTests/test_TypesForSurfaces.py
Outdated
| SurfaceSupport() | ||
|
|
||
| # Surface Eccentricities | ||
| SurfaceEccentricity() |
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.
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.
MEMBER -> SURFACE
| clientObject.offset = offset | ||
|
|
||
| # Assigned to Surfaces | ||
| clientObject.assigned_to_surfaces = assigned_to_surfaces |
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.
clientObject.assigned_to_surfaces = ConvertToDlString(assigned_to_surfaces) would be better in case of several surface assignment.
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.
corrected
| clientObject.no = no | ||
|
|
||
| # Assigned to Surfaces | ||
| clientObject.surfaces = surfaces |
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.
ConvertToDlString(surfaces) would be better.
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.
fixed
…TypesForSurfaces_updated fixed test
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |


all types for surfaces updated
test for all surface types added
+some refurbishment
unit tests: 136 passed, 9 skipped in 170.03s