Skip to main content

treillis logo

treillis: lattices generation and simulation

treillis (/tʁɛji/, French for truss) is a Python library built to help researchers and whoever is interested in microlattices. It provides tools to modelize 2D and 3D microlattices, to compute their elastic properties as well as calculate stresses, strains and elastic constants. It was written by experimental physicists with the language that they know, and may need some optimization work, but aims at being as easy to use and iterate on as possible.

treillis offers tools to

  • generate lattices from different periodic or random base meshes
  • modify lattice structures by playing with the connectivity, the element shape, the node position...
  • display lattices in paper-quality figures or in interactive 3D figures
  • apply solid mechanics models to the lattices by treating them as basic meshes

Install

From source

Download the repository. Create a new conda environment, and install the needed packages in environment.yml, then move src/treillis to the lib/site-packages folder of your environment.

Pypi

Create a new environment and copy

pip install treillis

Documentation

Find the treillis documentation here.

License

treillis is under a GNU lesser general public license v3.0. See LICENSE.

Citation

If you use this library, please kindly cite us! See the CITATION file.

Metadata

Release files for treillis 1.3

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

Source distribution (sdist)

Source distribution for treillis 1.3
File Size Uploaded
treillis-1.3.tar.gz 80.1 kB Details

Built distribution (wheel)

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

Total release size: 164.6 kB

Release files / treillis-1.3.tar.gz

Download URL treillis-1.3.tar.gz
Size 80.1 kB
Tags Source
SHA-256 checksum
How to use checksums
92f4af99a76f92a898d0ee50f7bf3c8ffb4ea6a52376c7f803b7e016e079cdf4
BLAKE2b-256 checksum
How to use checksums
545bec6fe1d6f351c21d86e9bcb67131f0a0841412e34cc8d1da19bc31593945
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release files / treillis-1.3-py3-none-any.whl

Download URL treillis-1.3-py3-none-any.whl
Size 84.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93f19ad0f5556b9119f7bed08f733201bac29440432531f3167dbf9498a72145
BLAKE2b-256 checksum
How to use checksums
19c92c58743ae15d6942306209e93cd245ce1501a2f3b3055ec5ca08f2547400
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.0

Release history Release notifications | RSS feed

1.4

2 release files

This release

1.3 This release

2 release files

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