kcl-lib 0.2.186

KittyCAD Language implementation and tools
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//! Internal, render-oriented shape model.

use super::types::SketchVisualizationPoint;
use crate::front::Freedom;

#[derive(Debug, Clone)]
pub(super) struct InternalPoint {
    pub(super) position: SketchVisualizationPoint,
    pub(super) freedom: Freedom,
}

#[derive(Debug, Clone)]
pub(super) struct InternalSegment {
    pub(super) construction: bool,
    pub(super) freedom: Option<Freedom>,
    pub(super) polyline: Vec<SketchVisualizationPoint>,
}