Skip to content

Commit

Permalink
v0.0.36
Browse files Browse the repository at this point in the history
  • Loading branch information
staniska committed Jun 7, 2021
1 parent 21645f2 commit b165821
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,10 @@

#### v0.0.35
- $P_GG[29] - only for G group 29 (DIAMOF/DIAMON/DIAM90)
- fix some bugs
- fix some bugs

#### v0.0.36
- FOR-ENDFOR with named variable
- calculation of RP perfomed in WCS
- calculation of ANG with MIRROR in WCS
- Circle end point tolerance increased
4 changes: 2 additions & 2 deletions lib/interpretator.js
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ function parseRows(programText, programName, variables, firstCall) {
View.sinumerikView.parseData.canvas.push(msg);
}
if (operator.type == 'M_func') {
if (operator.value === 30 || operator.value === 17) {
if (operator.value === '30' || operator.value === '17') {
// console.log(View.sinumerikView.parseData)
msg = {
type: 'pause',
Expand All @@ -491,7 +491,7 @@ function parseRows(programText, programName, variables, firstCall) {
View.sinumerikView.parseData.canvas.push(msg);
end_of_parse = 1;
}
if (operator.value == 0 || operator.value == 1) {
if (operator.value === '0' || operator.value === '1') {
var pause = {
type: 'pause',
value: `M${operator.value}`
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "sinumerik-highlight",
"main": "./lib/sinumerik",
"version": "0.0.35",
"version": "0.0.36",
"description": "Sinumerik highlight",
"keywords": [],
"activationCommands": {
Expand Down

0 comments on commit b165821

Please sign in to comment.