Skip to main content

License: LGPL v3 Platform Tests

extapps

Standalone apps for the work around a DCC: texture maps, photogrammetry, mesh conversion, scripted jobs in Substance 3D Painter, Marmoset Toolbag and Unity, a live WebXR preview and look matching. Each one runs on its own from the extapps command, and tentacle's Maya and Blender menus open the same apps by name.

extapps (highlighted) in the ecosystem: uitk requires pythontk; unitytk requires pythontk; mayatk requires uitk; blendertk requires uitk; tentacle requires uitk; extapps requires uitk; tentacle installs mayatk as its [maya] extra; tentacle installs blendertk as its [blender] extra; tentacle opens extapps by name (its [apps] extra) and never imports it; mayatk and blendertk share a mirrored API. tentacle and extapps are products, which nothing imports.

Design

Principle In practice
Host-free, opened by name Each app is built on pythontk and uitk alone and registered as an entry point. A host opens one by name and imports nothing of it, and a test fails if any module here imports Maya, Blender or tentacle.
The engine is a library call The texture, mesh, preview and lighting apps are panels over engines in pythontk (MapCompositor, ImgUtils.swap_colors, MeshConvert), so a script runs the same job with no window. An engine tied to one program's SDK stays with its app.
A script brings its own panel In Substance, Marmoset and Unity Scripts, a script declares its settings in its header and the panel draws them as rows. Adding a script adds its controls, with no panel code.
Runs in the app already open A script sent to Unity runs in the project you are working in, and one sent to Painter can run in your own session. A job starts only when you press Run and is one undo step there.
Starts like a desktop app extapps opens with no console window. A desktop or Start-menu shortcut is first tried in the Python it will run and written only if the app starts there; a failure says why.
Test-driven Every bug is reproduced as a failing test before it is fixed, and the test stays in the suite. More than 800 tests run the panels and their engines offscreen.

The reasoning behind each rule is in the code standard.

The apps

A name in code is what extapps <name> opens; a linked name opens that app's guide.

Texture maps

  • Map Compositor (compositor) merges several texture sets that share a UV layout into one, map type by map type. A map that shows no island edges, such as a flat normal, is cut with a mask found from that set's other maps.
  • Map Converter (converter) converts in batches: DirectX and OpenGL normals, spec/gloss to metal/rough, bump to normal, smoothness and roughness.
  • Color Swap (color_swap) recolors a base color map by color pairs picked on the map: a green handle becomes the orange you choose and keeps its wear, grain and shading, and grays stay as they are.
  • Map Packer (packer) packs single-channel maps into one texture, or unpacks one, from templates for ORM, MRAO, MSAO, Metallic Smoothness and glTF.

Photogrammetry

  • Metashape and RealityScan workflows (metashape_workflow, realityscan_workflow) take a capture to a textured mesh in one run: frames pulled from video and curated, then alignment, meshing and texturing, from presets tuned per engine.
  • Gaussian Splat workflow (gaussian_splat_workflow) trains a splat from a COLMAP dataset, and can publish it for Unity (.spz) and for the web (.sog, with a viewer page).

Scripts in other applications

  • Substance Scripts and Marmoset Scripts (substance_scripts, marmoset_scripts) run Python scripts in Painter or Toolbag on a mesh file: the bundled ones and your own.
  • Unity Scripts (unity_scripts) runs C# editor scripts and returns the Console's output to the panel. Opened from Maya or Blender, it can send the current scene, exported by that host's Scene Exporter.

Preview and delivery

  • WebXR Preview (webxr_preview) shows a scene, or an FBX or GLB file, in a browser or an XR headset; a tab left open shows each new push without a reload.
  • Look Match (look_match) lights a baked scene to match a reference image.
  • Mesh Converter (mesh_convert) converts FBX files to GLB in batches.

Install and run

pip install extapps
extapps                             # a browser listing every app
extapps compositor                  # one app (python -m extapps compositor works too)
extapps --shortcut desktop          # a desktop shortcut (start_menu: the Start menu)

From a uitk host: sb.handlers.external_app.launch("compositor"). Launching, shortcuts and what to check when nothing opens are in the usage guide.

See also: changelog · tests · contributing · issues.

License

LGPL-3.0-or-later — see COPYING.LESSER and COPYING.

Metadata

Release files for extapps 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for extapps 0.12.0
File Interpreter ABI Platform Actions
extapps-0.12.0-py3-none-any.whl Python 3 none any Details for extapps-0.12.0-py3-none-any.whl

Release files / extapps-0.12.0-py3-none-any.whl

Download URL extapps-0.12.0-py3-none-any.whl
Size 538.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
349313b67bb390bef9f95d03fcb34f8bdf2426856bddf4e0e7c2cdb8499c99e2
BLAKE2b-256 checksum
How to use checksums
84274e8a6bcd33dc41e4bde0e1b2070ac4168231451c9d5f124b774f07926650
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for extapps 0.12.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.12.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page