Skip to content

bertoldi-collab/morphing-lattices

Repository files navigation

Morphing lattices

Made with Python DOI GitHub license Hits

Simulation and design of shape-morphing LCE lattices

Paper

This repository contains all the code developed for the paper:

A. Kotikian, A. A. Watkins, G. Bordiga, A. Spielberg, Z. S. Davidson, K. Bertoldi, J. A. Lewis, Liquid Crystal Elastomer Lattices with Thermally Programmable Deformation via Multi-Material 3D Printing. Adv. Mater. 2024, 2310743.

Installation

Assuming you have access to the repo and ssh keys are set up in your GitHub account, you can install the package with

pip install git+ssh://[email protected]/bertoldi-collab/morphing-lattices.git@main

Dev notes

Other ways to install

Installation (with poetry)

The dependency management of the project is done via poetry.

To get started

  • Install poetry
  • Clone the repo
  • cd into the root directory and run poetry install. This will create the poetry environment.
  • If you are using vscode, search for venv path in the settings and paste ~/.cache/pypoetry/virtualenvs in the venv path field. Then select the poetry enviroment as python enviroment for the project.

Installation (with pip)

This is meant to be a quick way to use the package. It is not recommended to use this method for development.

To get started

  • Clone the repo
  • cd into the root directory and run pip install -e .

How to cite

If you use this code in your research, please cite the related paper:

@article{kotikian_2024,
    title   = {Liquid Crystal Elastomer Lattices with Thermally Programmable Deformation via Multi-Material {{3D}} Printing},
    author  = {Kotikian, Arda and Watkins, Audrey A. and Bordiga, Giovanni and Spielberg, Andrew and Davidson, Zoey S. and Bertoldi, Katia and Lewis, Jennifer A.},
    year    = {2024},
    journal = {Advanced Materials},
    pages   = {2310743},
    issn    = {1521-4095},
    doi     = {10.1002/adma.202310743},
}