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

Add hfss.mesh.assign_initial_mesh_manually() function for detailed mesh settings for the initial mesh. #5551

Closed
FgPy93 opened this issue Dec 9, 2024 · 1 comment · Fixed by #5556
Assignees
Labels
enhancement New features or code improvements
Milestone

Comments

@FgPy93
Copy link

FgPy93 commented Dec 9, 2024

Description of the feature

Create counterpart to the assign_initial_mesh_from_slider() method.

Easy implementation via the initial_mesh_settings.props dictionary. Similar to the assign_surface_mesh_manually but only for the initial mesh settings.

It would just complement the function overview for the hfss mesh.

Steps for implementing the feature

something like:

def assign_initial_mesh_manually(args):

mesh_props = hfss.initial_mesh_settings.props

mesh_props[...] = ...

Useful links and references

@Samuelopez-ansys

@FgPy93 FgPy93 added the enhancement New features or code improvements label Dec 9, 2024
@Samuelopez-ansys Samuelopez-ansys self-assigned this Dec 10, 2024
@Samuelopez-ansys
Copy link
Member

@FgPy93 Please check this pull request:

#5556

You will be able to assign initial mesh with the manual settings. But, for now, there is no a pythonic way to edit these properties, you can get the initial mesh:

app.mesh.initial_mesh_settings

Remind to save the project to load the updated properties.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New features or code improvements
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants