forked from 1b-agent/opencadstudio-upstream
Merge pull request #1289 from ramox81/fix/coincident-standard-command
# Conflicts: # src/command.rs # src/scene/mod.rs # src/scene/parametric_solve.rs
This commit is contained in:
commit
acde01cfc3
12 files changed
+1273
-228
No files matched your search
@@ -1331,13 +1331,20 @@ impl OpenCADStudio {
|
||||
}
|
||||
}
|
||||
|
||||
"CCONSTRAINT" => {
|
||||
"CCONSTRAINT" | "GCCOINCIDENT" => {
|
||||
use crate::modules::parametric::CoincidentConstraintCommand;
|
||||
let new_cmd = CoincidentConstraintCommand::new();
|
||||
self.command_line.push_info(&new_cmd.prompt());
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
|
||||
"GEOMCONSTRAINT" => {
|
||||
use crate::modules::parametric::GeomConstraintCommand;
|
||||
let new_cmd = GeomConstraintCommand::new();
|
||||
self.command_line.push_info(&new_cmd.prompt());
|
||||
self.tabs[i].active_cmd = Some(Box::new(new_cmd));
|
||||
}
|
||||
|
||||
"EDCONSTRAINT" => {
|
||||
use crate::modules::parametric::EqualDistanceConstraintCommand;
|
||||
let new_cmd = EqualDistanceConstraintCommand::new();
|
||||
|
||||
Reference in new issue
Block a user