draftwright 0.6.0-alpha.2

Automated technical drawings from STEP B-rep: a Rust port of draftwright.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Scope vocabulary shared with independent lint advice; no drawing or authoring state.
use serde::{Deserialize, Serialize};

#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Serialize, Deserialize)]
#[serde(rename_all = "snake_case")]
pub enum Scope {
    Local,
    View,
    Sheet,
}

/// Conservative scope when no addressable edit paths are available.
pub const UNBOUND_SCOPE: Scope = Scope::Sheet;