camlib.py (edited a comment) edited online with Bitbucket
This commit is contained in:
parent
a35a422bcc
commit
cfa078a1e5
@ -2720,7 +2720,7 @@ class CNCjob(Geometry):
|
|||||||
else:
|
else:
|
||||||
selected_tools = [x.strip() for x in tools.split(",")] #we strip spaces and also separate the tools by ','
|
selected_tools = [x.strip() for x in tools.split(",")] #we strip spaces and also separate the tools by ','
|
||||||
selected_tools = filter(lambda i: i in selected_tools, selected_tools)
|
selected_tools = filter(lambda i: i in selected_tools, selected_tools)
|
||||||
tools = [i for i,j in sorted_tools for k in selected_tools if i == k] #create a list of tools from the sorted_tools list only if the tools is in the selected tools
|
tools = [i for i,j in sorted_tools for k in selected_tools if i == k] #create a sorted list of selected tools from the sorted_tools list
|
||||||
log.debug("Tools selected and sorted are: %s" % str(tools))
|
log.debug("Tools selected and sorted are: %s" % str(tools))
|
||||||
|
|
||||||
# Points (Group by tool)
|
# Points (Group by tool)
|
||||||
|
Loading…
Reference in New Issue
Block a user