https://github.com/cmccomb/trussx
https://github.com/cmccomb/trussx
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cmccomb/trussx
- Owner: cmccomb
- Created: 2021-02-03T21:22:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T00:36:58.000Z (over 3 years ago)
- Last Synced: 2025-02-28T11:33:49.772Z (3 months ago)
- Language: Rust
- Size: 25.4 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://crates.io/crates/trussx)
[](https://docs.rs/trussx)
# 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:
```rust
fn main() {
let mut 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 c = x.add_joint([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!