-
Notifications
You must be signed in to change notification settings - Fork 43
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
Plane surface creation. #291
Conversation
620acd3
to
2bcc225
Compare
@ajain-work Is there an issue with a description for what this feature is about? |
@@ -9,13 +9,82 @@ | |||
|
|||
|
|||
class LocalObjectDataExtractor: | |||
class _SurfaceAPI: |
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.
Class provides surface APIs i.e. create/delete surface.
return self.creation_method() == "yz-plane" | ||
if name == "zx_plane": | ||
return self.creation_method() == "zx-plane" | ||
return True |
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.
Plane surface creation.
def surface_name_in_server(cls, local_surface_name): | ||
return "_dummy_surface_for_pyfluent:" + local_surface_name | ||
|
||
def _get_api_handle(self): |
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.
Switch from tui to settings API can be made here in future.
db1782a
to
e7365c2
Compare
e7365c2
to
ea27f6c
Compare
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.
Make sure to add documentation of this feature.
I would really like to see unit/integration testing added concurrently with features. |
1464a7b
to
ca285be
Compare
Added plane surface creation.
Also refactored code and moved surface api commands i.e. create/delete surface under class SurfaceApi.
Plane surface creation example