A command line interface for Tissu
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c638f6e932178f661d4f61323657164ff4f80b80e38247a4202cabeec557dc06
|
|
| MD5 |
276821d5a3071d23d6a71edadf40fd93
|
|
| BLAKE2b-256 |
c9948d58e876b374ee92f6f963dfa83931677371bc4fcc2a72ab10b7cb6bc960
|
Provenance
The following attestation bundles were made for tissu_cli-1.0.0.tar.gz:
Publisher:
release.yml on evanrock520-ciencias/tissu-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tissu_cli-1.0.0.tar.gz -
Subject digest:
c638f6e932178f661d4f61323657164ff4f80b80e38247a4202cabeec557dc06 - Sigstore transparency entry: 1794514935
- Sigstore integration time:
-
Permalink:
evanrock520-ciencias/tissu-cli@0c79e0560e80071e1c62c213296b3d07b16dc34f -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/evanrock520-ciencias
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c79e0560e80071e1c62c213296b3d07b16dc34f -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c7b10728579673057c06a1500dca11f9627510e51001ed1b861957f759b72ef5
|
|
| MD5 |
a6a5916199b825f2ba874d5c3dc9136f
|
|
| BLAKE2b-256 |
6e8ba8be2e2ddfdacdc1b31d329bcb0d404a0a0315f6498825157be2ea67e58d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tissu_cli-1.0.0-py3-none-any.whl -
Subject digest:
c7b10728579673057c06a1500dca11f9627510e51001ed1b861957f759b72ef5 - Sigstore transparency entry: 1794515057
- Sigstore integration time:
-
Permalink:
evanrock520-ciencias/tissu-cli@0c79e0560e80071e1c62c213296b3d07b16dc34f -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/evanrock520-ciencias
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@0c79e0560e80071e1c62c213296b3d07b16dc34f -
Trigger Event:
push
-
Statement type: