You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's possible that parts of the suggested functionality already exist.
I'm suggesting to allow storage of the following types of sets (groups) with an instance of a child class of Vertices:
groups of vertex IDs (as a dictionary with string-keys) as vertex_groups
groups of edge IDs (for Edges, Faces, Volumes), referencing get_edges(), as edge_groups
groups of face IDs (for Faces, Volumes), referencing get_faces(), as face_groups
groups of volume IDs (for Volumes), referencing volumes, as volume_groups
The purpose is mostly the storage of boundaries as vertex or face groups or also the distinction of materials through volume (3D) or face (2D) groups. I wanna store these groups in the 'mesh' objects to ensure that the information is transferred and adjusted when a mesh is manipulated in some way (e.g. element changes, extrusion, ...).
I would further suggest a method get_element_groups (and get_subelement_groups) that returns the 'most abstract' groups type, e.g. volume_groups (and face_groups) for Volumes etc.
So does any of this already exist? And if not, can I go ahead?
This discussion was converted from issue #18 on April 11, 2023 14:40.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
It's possible that parts of the suggested functionality already exist.
I'm suggesting to allow storage of the following types of sets (groups) with an instance of a child class of
Vertices
:vertex_groups
get_edges()
, asedge_groups
get_faces()
, asface_groups
volumes
, asvolume_groups
The purpose is mostly the storage of boundaries as vertex or face groups or also the distinction of materials through volume (3D) or face (2D) groups. I wanna store these groups in the 'mesh' objects to ensure that the information is transferred and adjusted when a mesh is manipulated in some way (e.g. element changes, extrusion, ...).
I would further suggest a method
get_element_groups
(andget_subelement_groups
) that returns the 'most abstract' groups type, e.g.volume_groups
(andface_groups
) forVolumes
etc.So does any of this already exist? And if not, can I go ahead?
Beta Was this translation helpful? Give feedback.
All reactions