Skip to main content

A command line interface for Tissu

Project description

CI Python CLI

Tissu CLI

A command-line interface for Tissu, letting you run cloth simulations directly from your terminal without writing Python scripts.


Requirements

  • Python >= 3.8
  • Tissu >= 1.0.0

Installation

pip install tissu-cli

Or from source:

git clone https://github.com/evanrock520-ciencias/tissu-cli.git
cd tissu-cli
pip install .

Enable shell completion (optional):

tissu-cli --install-completion

Usage

tissu-cli [COMMAND] [OPTIONS]

info

Show information about a scene (.json) or state (.tissu) file.

tissu-cli info <path>

bake

Bake a cloth simulation and export it to Alembic (.abc).

tissu-cli bake <scene_path> [OPTIONS]
Option Default Description
--out, -o output.abc Output Alembic path
--start 1 Start frame
--end 120 End frame
--fps 24.0 Frames per second
--state, -s Load initial state

view

View a cloth simulation in a 3D viewer.

tissu-cli view <scene_path> [--state, -s <path>]

snapshots

Export OBJ mesh snapshots for each frame of a simulation.

tissu-cli snapshots <scene_path> <out_dir> <cloth> [OPTIONS]
Option Default Description
--start 1 Start frame
--end 120 End frame
--state, -s Load initial state

Example

Sample scenes and assets are included under data/:

tissu-cli info data/scenes/curtain.json
tissu-cli bake data/scenes/curtain.json -o curtain.abc
tissu-cli snapshots data/scenes/curtain.json ./frames curtain

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

tissu_cli-1.0.0.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

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

tissu_cli-1.0.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file tissu_cli-1.0.0.tar.gz.

File metadata

  • Download URL: tissu_cli-1.0.0.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tissu_cli-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c638f6e932178f661d4f61323657164ff4f80b80e38247a4202cabeec557dc06
MD5 276821d5a3071d23d6a71edadf40fd93
BLAKE2b-256 c9948d58e876b374ee92f6f963dfa83931677371bc4fcc2a72ab10b7cb6bc960

See more details on using hashes here.

Provenance

The following attestation bundles were made for tissu_cli-1.0.0.tar.gz:

Publisher: release.yml on evanrock520-ciencias/tissu-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tissu_cli-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: tissu_cli-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for tissu_cli-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c7b10728579673057c06a1500dca11f9627510e51001ed1b861957f759b72ef5
MD5 a6a5916199b825f2ba874d5c3dc9136f
BLAKE2b-256 6e8ba8be2e2ddfdacdc1b31d329bcb0d404a0a0315f6498825157be2ea67e58d

See more details on using hashes here.

Provenance

The following attestation bundles were made for tissu_cli-1.0.0-py3-none-any.whl:

Publisher: release.yml on evanrock520-ciencias/tissu-cli

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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