### 5 releases

0.1.4 | Jan 9, 2022 |
---|---|

0.1.3 | Feb 6, 2021 |

0.1.2 | Feb 4, 2021 |

0.1.1 | Feb 3, 2021 |

0.1.0 | Feb 3, 2021 |

#**956** in Math

**31** downloads per month

Used in cisat

**MIT**license

18KB

290 lines

# About

This package provides utilities for designing and analyzing truss structures

# Usage

Here are some basic examples of usage

## Building a truss

For example, you can build a truss with something like:

`use` `trussx``::``{`Truss`,` point`}``;`
`let` `mut` x `=` `Truss``::`new`(``)``;`
`let` a `=` x`.``add_joint``(``point``(``0.``0``,` `0.``0``,` `0.``0``)``)``;`
`let` b `=` x`.``add_joint``(``point``(``3.``0``,` `0.``0``,` `0.``0``)``)``;`
`let` c `=` x`.``add_joint``(``point``(``1.``5``,` `1.``5``,` `0.``0``)``)``;`
`let` _ab `=` x`.``add_edge``(`a`,` b`)``;`
`let` _bc `=` x`.``add_edge``(`b`,` c`)``;`
`let` _ac `=` x`.``add_edge``(`a`,` c`)``;`

## Analyzing a truss

Coming soon!

#### Dependencies

~3.5MB

~72K SLoC