Skip to content

Feat/add 1d meshes support#31

Merged
ulysse-bouchet-simvia merged 3 commits intomainfrom
feat/add-1D-meshes-support
Apr 23, 2026
Merged

Feat/add 1d meshes support#31
ulysse-bouchet-simvia merged 3 commits intomainfrom
feat/add-1D-meshes-support

Conversation

@ulysse-bouchet-simvia
Copy link
Copy Markdown
Collaborator

Better rendering for 1D meshes and a flatter, more readable face shading.

Added

  • Standalone 1D edges (edges not shared with any face, e.g. beam elements) now render by default in the object color with a thin black contour. Line style adapts to parent opacity, wireframe mode, and the face-edge visibility rules (hide / show / threshold / gradual).

Fixed

  • User-defined face groups whose name contains all_ (e.g. all_plates) are no longer mistakenly treated as file-level object actors.
  • Face specular highlight removed, so colors no longer shift toward white (e.g. blue → turquoise) at camera-facing angles.

Detect edges not shared with any face and render them as outlined
colored lines attached to the parent file group. Line style adapts to
parent opacity, wireframe mode, and face-edge visibility rules.
Switch the file-group skin detection from a loose `includes('all_')`
substring check to an explicit isObject flag so user-defined face
groups like `all_plates` are no longer treated as object actors.
Specular highlights were tinting face colors toward white at
camera-facing angles (e.g. blue → turquoise). Flat shading keeps the
assigned object/group color stable across viewpoints.
@ulysse-bouchet-simvia ulysse-bouchet-simvia self-assigned this Apr 23, 2026
@ulysse-bouchet-simvia ulysse-bouchet-simvia merged commit f2c54d5 into main Apr 23, 2026
5 checks passed
@ulysse-bouchet-simvia ulysse-bouchet-simvia deleted the feat/add-1D-meshes-support branch April 23, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant