pub struct Pathjson {Show 15 fields
pub bins: Vec<Bin>,
pub cost: Option<Cost>,
pub cut_sheet: Option<bool>,
pub finish: Option<Finish>,
pub material: Material,
pub mill: Option<f64>,
pub nest_bbox: Option<bool>,
pub nesting: Option<bool>,
pub paint: Option<Paint>,
pub paths: Vec<Path>,
pub plugin: Plugin,
pub screw: Option<bool>,
pub screws: Option<Vec<Screw>>,
pub tab: Option<bool>,
pub thickness: f64,
}Expand description
pathjsonのスキーマ
Fields§
§bins: Vec<Bin>材料の幅と奥行きのリスト ¥n 対応した板サイズのbinがないとCAM側でエラーが出る
cost: Option<Cost>コスト情報
cut_sheet: Option<bool>材料を半分にカットするパスを生成するか (true/false)
finish: Option<Finish>仕上げ情報
material: Material材料情報
mill: Option<f64>ミル径
nest_bbox: Option<bool>部材のバウンディングボックスでネスティングを行うか (true/false)
nesting: Option<bool>ネスティングの有無 (true/false)
paint: Option<Paint>塗装情報
paths: Vec<Path>部材ごとのパス情報
plugin: Plugin§screw: Option<bool>ビス生成の有無 (true/false)
screws: Option<Vec<Screw>>ビスの位置
tab: Option<bool>CAMでタブをつけるか
thickness: f64材料の厚さ
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pathjson
impl<'de> Deserialize<'de> for Pathjson
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Pathjson
impl RefUnwindSafe for Pathjson
impl Send for Pathjson
impl Sync for Pathjson
impl Unpin for Pathjson
impl UnwindSafe for Pathjson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more