gRead
index
/home/enrique/Desktop/backup/babbleold/script/reprap/pyRepRap_v0.1/gRead.py

 
Modules
       
math

 
Classes
       
gRead

 
class gRead
     Methods defined here:
__init__(self, filename, layers)
linearMove(self, splitLine)
newLayer(self)
newThread(self)
parseLine(self, line)
setPointComponent(self, point, splitLine)
# Set a point to the gcode split line.

 
Functions
       
getDoubleAfterFirstLetter(word)
# Get the double value of the word after the first letter.
# @param  word string with value starting after the first letter
# @return  double value of the word after the first letter
getFileText(filename)
# Get the entire text of a file.
# @param  filename name of the file
# @return  entire text of a file.
getTextLines(text)
# Get the all the lines of text of a text.
# @param  text text
# @return  the lines of text of a text
indexOfStartingWithSecond(letter, splitLine)
# Get index of the first occurence of the given letter in the split line, starting with the second word.  Return - 1 if letter is not found