forked from 1b-agent/opencadstudio-upstream
cargo fmt
This commit is contained in:
1 parent
468cbde5e1
commit
ca07268c7c
204 files changed
+13997
-5525
No files matched your search
@@ -18,7 +18,9 @@ impl PlotWindowCommand {
|
||||
}
|
||||
|
||||
impl CadCommand for PlotWindowCommand {
|
||||
fn name(&self) -> &'static str { "PLOTWINDOW" }
|
||||
fn name(&self) -> &'static str {
|
||||
"PLOTWINDOW"
|
||||
}
|
||||
|
||||
fn prompt(&self) -> String {
|
||||
if self.p1.is_none() {
|
||||
@@ -48,10 +50,14 @@ impl CadCommand for PlotWindowCommand {
|
||||
Some(WireModel {
|
||||
name: "plotwindow_preview".into(),
|
||||
points: vec![
|
||||
[p1.x, p1.y, p1.z], [pt.x, p1.y, p1.z],
|
||||
[pt.x, p1.y, p1.z], [pt.x, pt.y, pt.z],
|
||||
[pt.x, pt.y, pt.z], [p1.x, pt.y, pt.z],
|
||||
[p1.x, pt.y, pt.z], [p1.x, p1.y, p1.z],
|
||||
[p1.x, p1.y, p1.z],
|
||||
[pt.x, p1.y, p1.z],
|
||||
[pt.x, p1.y, p1.z],
|
||||
[pt.x, pt.y, pt.z],
|
||||
[pt.x, pt.y, pt.z],
|
||||
[p1.x, pt.y, pt.z],
|
||||
[p1.x, pt.y, pt.z],
|
||||
[p1.x, p1.y, p1.z],
|
||||
],
|
||||
color: WireModel::CYAN,
|
||||
selected: false,
|
||||
|
||||
Reference in new issue
Block a user