forked from 1b-agent/opencadstudio-upstream
- Redesign Insert ribbon tab with 6 groups matching screenshot layout: Reference (Attach/Clip/Adjust large + Underlay Layers/Frames/Snap small), Point Cloud (Attach), Block (Multi-View Block/Insert large + Create/Edit/Base small), Attributes (Define/Edit large + Manage/Sync small), Import (Import/Land XML), Content (Content Browser/Design Center) - Remove Primitives group and dead box_prim/clear/cylinder/sphere modules - Fix all compiler warnings with #[allow(dead_code)] on unused-but-intentional items Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
6 lines
306 B
Rust
6 lines
306 B
Rust
use crate::modules::{IconKind, ModuleEvent, ToolDef};
|
|
pub const ICON: IconKind = IconKind::Svg(include_bytes!("../../../assets/icons/snap_underlays.svg"));
|
|
pub fn tool() -> ToolDef {
|
|
ToolDef { id: "UOSNAP", label: "Snap to\nUnderlays", icon: ICON, event: ModuleEvent::Command("UOSNAP".to_string()) }
|
|
}
|