#truss #engineering #structural-analysis

trussx

Utilities for designing and analyzing truss structures

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

#1158 in Math


Used in cisat

MIT license

19KB
290 lines

tests Crates.io docs.rs

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

~4MB
~79K SLoC