brep_app/workbench/welding.rs
1//! Welds belong to the current part or assembly history.
2use super::{FeatureInfo, Workbench};
3
4pub static WELDING: Workbench = Workbench {
5 id: "welding",
6 label: "Welding",
7 glyph: "\u{E0D6}",
8 includes: |feature: &FeatureInfo<'_>| {
9 matches!(
10 feature.type_code,
11 "WELD" | "S" | "D" | "P" | "ACOMP" | "APAT"
12 )
13 },
14 buttons: &[],
15 panels: &[
16 super::pmi::PANEL_ID,
17 super::assembly::CONSTRAINTS_PANEL_ID,
18 super::assembly::BOM_PANEL_ID,
19 ],
20};