ansys / ansys/pyprimemesh

Feature to visualize Face Quality Distribution for a quality measure.

Open
#405 1 comment 0 reactions 0 assignees View on GitHub
enhancement graphics
Dominant language
Python
Stars
35
Forks
14
Avg merge
3d 5h
Merged PRs (30d)
11

Description

### 📝 Description of the feature

This particular feature helps to visualize the face quality distribution of a surface mesh.

### 💡 Steps for implementing the feature

There may be a definition under mesh utility class

The API must take the quality parameter, quality range, scope as input and number of divisions. histogram can be used to visualize the data generated from this API

e.g.,

```python
mesh_util = MeshUtil(Model)​
mesh_util.plot_face_distribution(min = 0, max = 1, number_of_divisions = 10, quality_measure = skewness,
scope = prime.ScopeDefinition(model, part_expression=result[1].name))​

```

### 🔗 Useful links and references

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by inspecting the mesh utility class and the existing quality-measure APIs. Trace how MeshUtil receives a Model and ScopeDefinition, then determine how a plot_face_distribution API would accept quality bounds, divisions, and scope. Done means the requested face-quality distribution can be generated and visualized as a histogram for the example inputs.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.