Skip to content

Commit

Permalink
Removed hardcoded machine configs
Browse files Browse the repository at this point in the history
  • Loading branch information
will1742 committed Jul 9, 2021
1 parent 8d5156a commit 7aea377
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

Old/haas next generation.cps
*.nc
Haas_Next_Generation/haas next*
Haas_Next_Generation/haas next*
*.dmp
6 changes: 4 additions & 2 deletions Haas_Next_Generation/haas vf2.cps
Original file line number Diff line number Diff line change
Expand Up @@ -1095,9 +1095,11 @@ function defineMachine() {
function onOpen() {
receivedMachineConfiguration = (typeof machineConfiguration.isReceived == "function") ? machineConfiguration.isReceived() :
((machineConfiguration.getDescription() != "") || machineConfiguration.isMultiAxisConfiguration());
if (typeof defineMachine == "function") {
// removed hardcoded machine configs to allow for simulation
/*if (typeof defineMachine == "function") {
defineMachine(); // hardcoded machine configuration
}
}*/
activateMachine(); // enable the machine optimizations and settings

if (staticProperties.useDPMFeeds) {
Expand Down

0 comments on commit 7aea377

Please sign in to comment.