Skip to content

Merge triangle mesh - #412

Open
shivangj-10 wants to merge 2 commits into
SeequentEvo:mainfrom
shivangj-10:merge-triangle-mesh
Open

shivangj-10 wants to merge 2 commits into
SeequentEvo:mainfrom
shivangj-10:merge-triangle-mesh

Conversation

@shivangj-10

Copy link
Copy Markdown
Contributor

Description

This sample lets you tick several triangle meshes in an Evo workspace, merge them into one mesh by concatenating their vertices and offsetting their triangle indices, and publish the result either as a new object or, by choosing a target mesh, as a new version of an existing mesh.

Checklist

  • I have read the contributing guide and the code of conduct

@shivangj-10
shivangj-10 requested a review from a team as a code owner November 16, 2026 17:46

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Publishing can silently create a new mesh when update mode has no target and overwrite an existing mesh’s name with its filename rather than preserving it.

2 open issues
What changed in this PR

Adds a triangle-mesh merging sample to the Evo Python SDK, supporting publication as either a new object or a new version of an existing mesh.

Changes:

  • Adds interactive mesh selection and coordinate reference system checks.
  • Concatenates vertices, offsets triangle indices, and publishes the merged geometry.
  • Documents the workflow and links it from the geoscience samples index.
File Description
code-samples/​geoscience-objects/​README.md Links to the new merge sample.
code-samples/​geoscience-objects/​bonus/​merge-triangle-meshes/​triangle_mesh_helpers.py Adds selection, download, coordinate reference system, and portal-link helpers.
code-samples/​geoscience-objects/​bonus/​merge-triangle-meshes/​README.md Documents inputs, outputs, and geometry-only limitations.
code-samples/​geoscience-objects/​bonus/​merge-triangle-meshes/​merge-triangle-meshes.ipynb Implements the selection, merging, and publication workflow.

Review effort: Balanced

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.

3 participants