Skip to content

Commit

Permalink
Acro a1
Browse files Browse the repository at this point in the history
  • Loading branch information
petervanderwalt committed Nov 26, 2024
1 parent 4968ca3 commit fd9031c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 49 deletions.
Binary file added images/mch/acroA1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
62 changes: 13 additions & 49 deletions js/application-settings-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -372,29 +372,9 @@ function selectMachine(type) {
var yaxis = 1300
var zaxis = 0
//$('#toolheadSelect').data('select').val('laserm4')
} else if (type == "acro55pen") {
var xaxis = 300
var yaxis = 300
var zaxis = 0
//$('#toolheadSelect').data('select').val('plotter')
} else if (type == "acro510pen") {
var xaxis = 800
var yaxis = 300
var zaxis = 0
//$('#toolheadSelect').data('select').val('plotter')
} else if (type == "acro1010pen") {
var xaxis = 800
var yaxis = 800
var zaxis = 0
//$('#toolheadSelect').data('select').val('plotter')
} else if (type == "acro1510pen") {
var xaxis = 1300
var yaxis = 800
var zaxis = 0
//$('#toolheadSelect').data('select').val('plotter')
} else if (type == "acro1515pen") {
var xaxis = 1300
var yaxis = 1300
} else if (type == "acroA1") {
var xaxis = 863
var yaxis = 609
var zaxis = 0
//$('#toolheadSelect').data('select').val('laserm4')
} else if (type == "minimill") {
Expand Down Expand Up @@ -463,16 +443,8 @@ function setMachineButton(type) {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 1510`
} else if (type == "acro1515") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 1515`
} else if (type == "acro55pen") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 55 with Servo Pen Attachment`
} else if (type == "acro510pen") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 510 with Servo Pen Attachment`
} else if (type == "acro1010pen") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 1010 with Servo Pen Attachment`
} else if (type == "acro1510pen") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 1510 with Servo Pen Attachment`
} else if (type == "acro1515pen") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds Acro 1515 with Servo Pen Attachment`
} else if (type == "acroA1") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds ACRO A1`
} else if (type == "minimill") {
template = `<img src="images/mch/` + type + `.png"/> OpenBuilds MiniMill`
} else if (type == "cbeam") {
Expand Down Expand Up @@ -539,23 +511,15 @@ $(document).ready(function() {
<a style="width: 100%;" class="button dropdown-toggle bd-openbuilds outline" id="context_toggle2"><img src="images/mch/sphinx55.png"/> Select Machine</a>
<ul class="ribbon-dropdown" data-role="dropdown" data-duration="100">
<li>
<a href="#" class="dropdown-toggle"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds Acro</a>
<ul class="ribbon-dropdown" data-role="dropdown">
<li onclick="selectMachine('acro55');"><a href="#"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds Acro 55</a></li>
<li onclick="selectMachine('acro510');"><a href="#"><img src="images/mch/acro510.png" width="16px"/> OpenBuilds Acro 510</a></li>
<li onclick="selectMachine('acro1010');"><a href="#"><img src="images/mch/acro1010.png" width="16px"/> OpenBuilds Acro 1010</a></li>
<li onclick="selectMachine('acro1510');"><a href="#"><img src="images/mch/acro1510.png" width="16px"/> OpenBuilds Acro 1510</a></li>
<li onclick="selectMachine('acro1515');"><a href="#"><img src="images/mch/acro1515.png" width="16px"/> OpenBuilds Acro 1515</a></li>
</ul>
</li>
<li>
<a href="#" class="dropdown-toggle"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds Acro with Servo Pen Attachment</a>
<a href="#" class="dropdown-toggle"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds ACRO</a>
<ul class="ribbon-dropdown" data-role="dropdown">
<li onclick="selectMachine('acro55pen');"><a href="#"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds Acro 55 with Servo Pen Attachment</a></li>
<li onclick="selectMachine('acro510pen');"><a href="#"><img src="images/mch/acro510.png" width="16px"/> OpenBuilds Acro 510 with Servo Pen Attachment</a></li>
<li onclick="selectMachine('acro1010pen');"><a href="#"><img src="images/mch/acro1010.png" width="16px"/> OpenBuilds Acro 1010 with Servo Pen Attachment</a></li>
<li onclick="selectMachine('acro1510pen');"><a href="#"><img src="images/mch/acro1510.png" width="16px"/> OpenBuilds Acro 1510 with Servo Pen Attachment</a></li>
<li onclick="selectMachine('acro1515pen');"><a href="#"><img src="images/mch/acro1515.png" width="16px"/> OpenBuilds Acro 1515 with Servo Pen Attachment</a></li>
<li onclick="selectMachine('acro55');"><a href="#"><img src="images/mch/acro55.png" width="16px"/> OpenBuilds ACRO 55</a></li>
<li onclick="selectMachine('acro510');"><a href="#"><img src="images/mch/acro510.png" width="16px"/> OpenBuilds ACRO 510</a></li>
<li onclick="selectMachine('acro1010');"><a href="#"><img src="images/mch/acro1010.png" width="16px"/> OpenBuilds ACRO 1010</a></li>
<li onclick="selectMachine('acro1510');"><a href="#"><img src="images/mch/acro1510.png" width="16px"/> OpenBuilds ACRO 1510</a></li>
<li onclick="selectMachine('acro1515');"><a href="#"><img src="images/mch/acro1515.png" width="16px"/> OpenBuilds ACRO 1515</a></li>
<li class="divider"></li>
<li onclick="selectMachine('acroA1');"><a href="#"><img src="images/mch/acroA1.png" width="16px"/> OpenBuilds ACRO A1</a></li>
</ul>
</li>
<li>
Expand Down

0 comments on commit fd9031c

Please sign in to comment.