Skip to content

Commit

Permalink
Reapir of parameter conut of selecting tool for REZ NC-program language
Browse files Browse the repository at this point in the history
Repair of unwished dependency on Python 2.6.
Use of batch files needs path to python.exe in PATH environment variable
of the operating system
  • Loading branch information
peter.fodrek committed Aug 13, 2010
1 parent 6f73483 commit 9b734f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion nc/rez2.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ def tool_change(self, id):
#self.write((iso.TOOL % id) + '\n')
#self.write('\n')
pass
def tool_defn(self, id, name='', radius=None, length=None):
def tool_defn(self, id, name='', radius=None, length=None, gradient=None):
#self.write_blocknum()
#self.write(iso.TOOL_DEFINITION)
#self.write(('P%i' % id) + ' ')
Expand Down
3 changes: 2 additions & 1 deletion nc_read.bat
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
%HOMEDRIVE%\python26\python.exe nc\%1_read.py %2
REM %HOMEDRIVE%\python26\python.exe nc\%1_read.py %2
python nc\%1_read.py %2
5 changes: 3 additions & 2 deletions post.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
%HOMEDRIVE%\python26\python.exe %1
rem HOMEDRIVE%\python26\python.exe %1

#pause
python %1
rem pause

0 comments on commit 9b734f9

Please sign in to comment.