trussx 0.1.1

Utilities for designing and analyzing truss structures
Documentation

Build Status Crates.io docs.rs

About

This package provides utilities for designing and analyzing truss structures

Installation

Install through crates.io with:

cargo install trussx

Then add it to your ``Cargo.toml` with:

[dependencies]
trussx = "0.1.1"

and add this to your root:

use trussx;

Usage

Here are some basic examples of usage

Building a truss

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

let x = Truss::new()
let a = x.add_joint(0.0, 0.0, 0.0);
let b = x.add_joint(3.0, 0.0, 0.0);
let ab = x.add_edge(
    a,
    b,
    StructuralShape::Pipe {
        radius: 1.0,
        thickness: 0.1,
    },
    0.0,
    0.0,
);

Analyzing a truss

Coming soon!