Exemple #1
0
    def drawrowsset(self):
	'drawrowsset(self) - accept row slices and draw 3D row lines'
	from plot2d import parseint
	st = self.RSW[0].get()
	try:
	    ll = parseint(st)
	except:
	    message(self.RSFrame,'Error in\n\nEnter Row # list Field')
	    return 
	try:
	    self.linewidth = self.RSW[1].get()
	except:
	    message(self.RSFrame,'Error in\n\nEnter Line Width Field')
	    return
	self.drawrows(ll)
Exemple #2
0
 def drawrowsset(self):
     'drawrowsset(self) - accept row slices and draw 3D row lines'
     from plot2d import parseint
     st = self.RSW[0].get()
     try:
         ll = parseint(st)
     except:
         message(self.RSFrame, 'Error in\n\nEnter Row # list Field')
         return
     try:
         self.linewidth = self.RSW[1].get()
     except:
         message(self.RSFrame, 'Error in\n\nEnter Line Width Field')
         return
     self.drawrows(ll)
Exemple #3
0
    def drawstepsset(self):
	'drawstepsset(self) - accept and draw step slices selected in 3D coordinates'
	from plot2d import parseint
	st = self.SSW[0].get()
	try:
	    ll = parseint(st)
	except:
	    message(self.SSFrame,'Error in\nEnter Step # list Field')
	    return 
	try:
	    self.linewidth = self.SSW[1].get()
	except:
	    message(self.SSFrame,'Error in\nEnter Line Width Field')
	    return
	self.stepline = self.SSW[2].get()
	if self.stepline: 
	    self.drawstepSline(ll)
	else:
	    self.linewidth = self.SSW[1].get()
	    self.drawsteps(ll)
Exemple #4
0
 def drawstepsset(self):
     'drawstepsset(self) - accept and draw step slices selected in 3D coordinates'
     from plot2d import parseint
     st = self.SSW[0].get()
     try:
         ll = parseint(st)
     except:
         message(self.SSFrame, 'Error in\nEnter Step # list Field')
         return
     try:
         self.linewidth = self.SSW[1].get()
     except:
         message(self.SSFrame, 'Error in\nEnter Line Width Field')
         return
     self.stepline = self.SSW[2].get()
     if self.stepline:
         self.drawstepSline(ll)
     else:
         self.linewidth = self.SSW[1].get()
         self.drawsteps(ll)