 ($('#fillet-toggle').is(':checked') && fillet == '') {
            $('#fillet').addClass('ui-state-error');
            $('#fillet').siblings('.error-msg').append('<div>If plate corners is turned on you need to specify a radius value.</div>');
            error_els.push('#fillet');
            has_error = true;
          } else {
            if ($('#fillet-toggle').is(':checked') && fillet != '') {
              data['fillet'] = fillet;
            }
          }

          var thickness = $('#thickness').v