Skip to main content

No project description provided

Project description

Open Brush Python Tools

A collection of Python scripts to allow you to interact with Open Brush files and data

This code was previously part of the Tilt Brush Toolkit and was originally written by Google.

Setup

Local clone / development

git clone ...
pip install -e .

PyPI package

pip install openbrush

Contents

Command Line Tools

Python 3.9 code and scripts for advanced Open Brush data manipulation.

  • bin - command-line tools
    • dump_tilt.py - Sample code that uses the openbrush.tilt module to view raw Open Brush data.
    • geometry_json_to_fbx.py - Sample code that shows how to postprocess the raw per-stroke geometry in various ways that might be needed for more-sophisticated workflows involving DCC tools and raytracers. This variant packages the result as a .fbx file.
    • geometry_json_to_obj.py - Sample code that shows how to postprocess the raw per-stroke geometry in various ways that might be needed for more-sophisticated workflows involving DCC tools and raytracers. This variant packages the result as a .obj file.
    • tilt_to_strokes_dae.py - Converts .tilt files to a Collada .dae containing spline data.
    • unpack_tilt.py - Converts .tilt files from packed format (zip) to unpacked format (directory) and vice versa, optionally applying compression.
  • Python - Put this in your PYTHONPATH
    • openbrush - Python package for manipulating Open Brush data.
      • export.py - Parse the legacy .json export format. This format contains the raw per-stroke geometry in a form intended to be easy to postprocess.
      • tilt.py - Read and write .tilt files. This format contains no geometry, but does contain timestamps, pressure, controller position and orientation, metadata, and so on -- everything Open Brush needs to regenerate the geometry.
      • unpack.py - Convert .tilt files from packed format to unpacked format and vice versa.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbrush-0.2.tar.gz (77.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

openbrush-0.2-py3-none-any.whl (34.8 kB view details)

Uploaded Python 3

File details

Details for the file openbrush-0.2.tar.gz.

File metadata

  • Download URL: openbrush-0.2.tar.gz
  • Upload date:
  • Size: 77.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for openbrush-0.2.tar.gz
Algorithm Hash digest
SHA256 195a52060bfccbe20906280007975baef61d16ecc128b6f357bfce564b4a73eb
MD5 c84fd5e7a11dea259c01b5dcec7fd36b
BLAKE2b-256 bdf0f4ca0cc07693c6c11355b0063c39af432787de7cc0bdbd6285511dde31c2

See more details on using hashes here.

File details

Details for the file openbrush-0.2-py3-none-any.whl.

File metadata

  • Download URL: openbrush-0.2-py3-none-any.whl
  • Upload date:
  • Size: 34.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for openbrush-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 eb85df205cb0da719f523acb3a48a67cba889c24f933a0b418b8d85c53b311f3
MD5 07da7335c091e839ff0f54dcf32281dd
BLAKE2b-256 9b08f05020b0139b6f38cb7eb2c8f48edc021c9e0faa2916012c89651cf40000

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page