microcad-export 0.5.0

µcad export API
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright © 2025-2026 The µcad authors <info@microcad.xyz>
// SPDX-License-Identifier: AGPL-3.0-or-later

//! STL Export

mod exporter;
mod primitives;
mod writer;

pub use exporter::*;
pub use writer::*;

/// Trait to write something into an SVG.
pub trait WriteStl {
    /// Write SVG tags.
    fn write_stl(&self, writer: &mut StlWriter) -> std::io::Result<()>;
}