Crate trussx[][src]

Expand description

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!

Structs

This is the truss object that contains all of the necessary information about trusses

Enums

This enum contains different structural shapes

Functions

A helper function supporting conversion of floating point numbers to meters

A helper function supporting conversion of floating point points to length tuples