forked from 1b-agent/opencadstudio-upstream
Merge pull request #1142 from ramox81
This commit is contained in:
commit
8b17ddaa22
3 files changed
+9
-1
No files matched your search
@@ -0,0 +1,3 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" role="img" aria-label="Construction Line" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path d="M2 22L22 2" stroke="#B4B6B9" stroke-width="1.6"/><path d="M2 17v5h5M17 2h5v5" stroke="#6DB7ED" stroke-width="1.6"/><path d="M10 10h4v4h-4z" fill="#6DB7ED" stroke="none"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 351 B |
@@ -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