forked from 1b-agent/opencadstudio-upstream
feat: expose Construction Line in the Draw expansion
This commit is contained in:
1 parent
b19992cbcb
commit
dc83a3e5fa
3 files changed
+9
-1
No files matched your search
@@ -167,7 +167,6 @@ impl CadCommand for XLineCommand {
|
||||
Vector3::new(base.x, base.y, base.z),
|
||||
Vector3::new(dir_n.x, dir_n.y, dir_n.z),
|
||||
);
|
||||
self.base = None;
|
||||
CmdResult::CommitEntity(EntityType::XLine(xline))
|
||||
} else {
|
||||
self.base = Some(pt);
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
Tool {
|
||||
command: "XLINE",
|
||||
label: "Construction Line",
|
||||
icon: include_bytes!(concat!(env!("CARGO_MANIFEST_DIR"), "/assets/icons/xline.svg")),
|
||||
options: &[],
|
||||
}
|
||||
Reference in new issue
Block a user