scad_tree

Crates.ioscad_tree
lib.rsscad_tree
version0.4.2
sourcesrc
created_at2023-03-30 03:48:25.240265
updated_at2024-12-06 23:11:40.34078
descriptionGenerate OpenSCAD code from Rust.
homepage
repositoryhttps://github.com/mrclean71774/scad_tree
max_upload_size
id824610
size284,947
Michael H. Phillips (mrclean71774)

documentation

https://docs.rs/scad_tree

README

scad_tree

A Rust solid modeling library that generates OpenSCAD code.

To use this library in your project add this to your Cargo.toml.

[dependencies]
scad_tree = { git="https://github.com/mrclean71774/scad_tree" }

Or you can get it from crates.io.

[dependencies]
scad_tree = "0.4.x"

To run the examples clone this repository and from the root folder run

cargo run --example example_name

Project Structure

  • scad_tree - The main crate with examples of usage.
    • examples/scad_tree - Explaines the main data structure and basic usage.
  • scad_tree_math - Linear algebra and other math mostly re-exported from scad_tree.
  • images - Images of things made with this library and images of some examples.
  • output - Output from some of the examples.

A Blender render of metric thread parts. metric_thread.png

A photo of my bottle example 3D printed. bottle_make.jpg

Commit count: 82

cargo fmt