Lines Matching refs:tools
30 Changed get_tool to find 1.6.04 tools or new tools with corrected spelling
3626 self.OptionParser.add_option("", "--tools-library-type", action="store", type="string", dest="tools_library_type", default='cylinder cutter', help="Create tools definition")
3910 tool = self.tools[layer][0]
4220 self.tools = {}
4255 self.tools[layer] = self.tools[layer] + [tool.copy()] if layer in self.tools else [tool.copy()]
4358 #need to recognise old tools from ver 1.6.04
4379 # print_(("index(layer)=",self.layers.index(layer),"set_tool():layer=",layer,"self.tools=",self.tools))
4384 if self.layers[i] in self.tools :
4386 if self.layers[i] in self.tools :
4387 if self.layers[i] != layer : self.tools[layer] = self.tools[self.layers[i]]
4388 if len(self.tools[layer])>1 : self.error(_("Layer '%s' contains more than one tool!") % self.layers[i].get(inkex.addNS('label','inkscape')), "more_than_one_tool")
4389 return self.tools[layer]
4508 gcode +="(drilling dxfpoint)\nG00 Z%f\nG00 X%f Y%f\nG01 Z%f F%f\nG04 P%f\nG00 Z%f\n" % (self.options.Zsafe,point[0],point[1],self.Zcoordinates[layer][1],self.tools[layer][0]["penetration feed"],0.2,self.options.Zsafe)
4618 for step in range( 0, int(math.ceil( abs((zs-d)/self.tools[layer][0]["depth step"] )) ) ):
4619 z = max(d, zs - abs(self.tools[layer][0]["depth step"]*(step+1)))
4632 for step in range( 0, int(math.ceil( abs((zs-mind)/self.tools[layer][0]["depth step"] )) ) ):
4633 z = zs - abs(self.tools[layer][0]["depth step"]*(step))
4639 z = zs - abs(self.tools[layer][0]["depth step"]*(step+1))
4755 if self.tools[layer][0]['diameter']<=0 :
4816 tool_d = self.tools[layer][0]['diameter']*scale
5001 if self.tools[layer][0]['diameter']<=0 :
5003 tool = self.tools[layer][0]
5536 shape = self.tools[layer][0]['shape']
5540 self.error(_("Tool '%s' has no shape. 45 degree cone assumed!") % self.tools[layer][0]['name'],"Continue")
5543 toolr=self.tools[layer][0]['diameter'] * orientation_scale/2
5546 max_distuu = min(self.tools[layer][0]['diameter']/2, self.options.engraving_max_dist)
5800 self.header+="(Depth, as a function of radius w, must be "+ self.tools[layer][0]['shape']+ ")\n"
5892 if layer in self.tools:
5974 tool_num = sum([len(self.tools[i]) for i in self.tools])
6003 ### Check tools and OP asignment
6023 tool = self.tools[layer][0]
6048 if layer in self.tools :
6050 tool = self.tools[layer][0]
6052 g.attrib["gcodetools"] = "Check tools and OP asignment"
6123 if self.tool != self.tools[layer][0] :
6124 self.tool = self.tools[layer][0]
6485 self.tool = self.tools[layer][0]
6671 if self.tools == {} :