microcad_export/stl/mod.rs
1// Copyright © 2025 The µcad authors <info@ucad.xyz>
2// SPDX-License-Identifier: AGPL-3.0-or-later
3
4//! STL Export
5
6mod exporter;
7mod primitives;
8mod writer;
9
10pub use exporter::*;
11pub use writer::*;
12
13/// Trait to write something into an SVG.
14pub trait WriteStl {
15 /// Write SVG tags.
16 fn write_stl(&self, writer: &mut StlWriter) -> std::io::Result<()>;
17}