Skip to content

Add utilities nodes in Meshroom#3072

Open
Alxiice wants to merge 16 commits intodevelopfrom
dev/new_nodes
Open

Add utilities nodes in Meshroom#3072
Alxiice wants to merge 16 commits intodevelopfrom
dev/new_nodes

Conversation

@Alxiice
Copy link
Copy Markdown
Contributor

@Alxiice Alxiice commented Apr 7, 2026

Description

Add new general nodes :

  • InputString
  • InputInt
  • GetParentFolder : get the parent folder of a path
  • GenerateMeshroomScene : generate a meshroom scene based on a template and node overrides
  • MeshroomSceneParameter : utility tool to create overrides strings used on the GenerateMeshroomScene node
  • ComputeMeshroomScene : launch the compute/submit on a meshroom scene

How to use these nodes

I'll skip the InputString, InputInt & GetParentFolder that are pretty straightforward.

For the other nodes here is a pipeline example :

image

Here is the node breakdown :

  • MeshroomSceneParameter :
    image

    • Node is the node instance name (or node type) to override
    • Parameter is the parameter name. For input overrides you must leave this empty and for parameter overrides you must fill it.
    • Value is the value it will be set to. If empty the output will be set to an empty string to avoid errors.
    • Mode is either node_instance (override only one node instance) or node_type (override all nodes from a specific type).
  • GenerateMeshroomScene :
    image

    • Template is the template scene
    • Scene Path is the scene destination. If empty it will be a scene.mg file in the node internal folder
    • Input Overrides are the overrides for input nodes (CameraInit)
    • Parameters Overrides are the overrides for other nodes
    • Invalidation String can be used to set an invalidation string on all nodes (to make sure the graph is unique)
    • Meshroom Scene will be set to the created scene file
  • ComputeMeshroomScene :
    image

    • Scene is the path to the meshroom scene file
    • Force Compute can be set to True to compute nodes even if their status is success.
    • Submit can be used to submit on farm (in opposition to compute locally)
    • Submitter can be used to select the submitter
    • Submit Label can be used to set the submitted job name

@Alxiice Alxiice self-assigned this Apr 7, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 81.27341% with 50 lines in your changes missing coverage. Please review.
✅ Project coverage is 83.42%. Comparing base (2ed841d) to head (75296cc).
✅ All tests successful. No failed tests found.

Files with missing lines Patch % Lines
meshroom/nodes/general/InputNodes.py 50.00% 27 Missing ⚠️
meshroom/nodes/general/ComputeMeshroomScene.py 58.06% 13 Missing ⚠️
meshroom/nodes/general/GenerateMgScene.py 91.46% 7 Missing ⚠️
tests/test_nodes.py 97.00% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #3072      +/-   ##
===========================================
+ Coverage    83.35%   83.42%   +0.06%     
===========================================
  Files           73       75       +2     
  Lines         9890    10133     +243     
===========================================
+ Hits          8244     8453     +209     
- Misses        1646     1680      +34     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread meshroom/nodes/general/GenerateMgScene.py Fixed
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Fixed
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Fixed
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Fixed
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Fixed
@Alxiice Alxiice force-pushed the dev/new_nodes branch 4 times, most recently from f161ae1 to f83527d Compare April 8, 2026 15:49
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Outdated
Comment thread meshroom/nodes/general/ComputeMeshroomScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMgScene.py Outdated
Comment thread meshroom/nodes/general/GenerateMeshroomScene.py
Comment thread meshroom/nodes/general/ReadEnvironmentVariable.py Fixed
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.

2 participants