Module Expr Str Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body AugAssignAdd SubscriptStore AttributeLoad NameLoad attr ExtSlice Slice Index Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Slice Num AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Lambda arguments args NameParam defaults ListLoad ListLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr While CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Call NameLoad NameLoad If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr orelse Break Assign NameStore CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return Call NameLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return Call NameLoad Call NameLoad SubscriptLoad AttributeLoad NameLoad attr ExtSlice Slice Index Num decorator_list NameLoad FunctionDef arguments args NameParam defaults body Return BinOpSub AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad Call NameLoad NameLoad Call NameLoad NameLoad keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad AugAssignBitAnd NameStore CompareLt NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad AugAssignBitAnd NameStore CompareGt NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad AugAssignBitAnd NameStore CompareLt NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr BinOpMult ListLoad ListComp AttributeLoad NameLoad attr comprehension NameStore NameLoad Call NameLoad NameLoad AugAssignBitAnd NameStore CompareGt NameLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Assign NameStore BinOpMult ListLoad NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr ListLoad ListLoad Num Num For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore ListComp IfExp BoolOpOr Call NameLoad SubscriptLoad NameLoad ExtSlice Slice Index NameLoad SubscriptLoad NameLoad Index NameLoad Call NameLoad Str Call NameLoad Call AttributeLoad Call NameLoad BinOpSub NameLoad SubscriptLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Index Num Slice Num Num Num attr comprehension NameStore Call NameLoad Call NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad NameLoad Assign SubscriptStore NameLoad Index NameLoad NameLoad Assign SubscriptStore NameLoad ExtSlice Index NameLoad Slice NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index NameLoad If AttributeLoad SubscriptLoad NameLoad Index Num attr body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num Slice Num Num orelse Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad SubscriptLoad NameLoad Index Num attr Index Num Slice Num Num Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults Num body Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad Assign NameStore Call NameLoad GeneratorExp AttributeLoad NameLoad attr comprehension NameStore NameLoad If NameLoad body Assign NameStore BinOpSub NameLoad NameLoad AugAssignSub NameStore BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Assign NameStore BinOpSub NameLoad NameLoad AugAssignSub NameStore BinOpMult NameLoad NameLoad AugAssignAdd NameStore BinOpMult NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad BinOpSub NameLoad NameLoad BinOpSub NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr keyword NameLoad keyword NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr Str decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults Num TupleLoad Num Num Num body Expr Str Assign NameStore BinOpDiv Num Num Assign NameStore Lambda arguments args NameParam defaults TupleLoad BinOpMult NameLoad BinOpSub SubscriptLoad NameLoad Index Num NameLoad BinOpMult NameLoad BinOpSub NameLoad SubscriptLoad NameLoad Index Num With Call NameLoad NameLoad Str NameStore body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num NameLoad Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Num For NameStore SubscriptLoad AttributeLoad NameLoad attr Slice Num body Expr Call AttributeLoad NameLoad attr BinOpMod Str Call NameLoad NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str decorator_list decorator_list
N/A N/A  Module defining Path class for toolpaths and contours.  N/A numpy np Path N/A object N/A __init__ N/A N/A self points closed N/A False N/A N/A N/A self points points N/A N/A self closed closed N/A set_z N/A N/A self z N/A N/A N/A N/A N/A self points N/A N/A N/A 2 z N/A offset_z N/A N/A self dz N/A N/A N/A N/A N/A self points N/A N/A N/A 2 dz N/A reverse N/A N/A self N/A N/A N/A N/A Path N/A N/A self points N/A -1 N/A self closed N/A __getitem__ N/A N/A self i N/A N/A N/A N/A N/A self points N/A i N/A copy N/A N/A self N/A N/A N/A N/A Path N/A N/A N/A self points copy N/A self closed N/A from_ptr N/A N/A cls ptr N/A N/A N/A  Imports a path from a path linked list structure.
         N/A xyz N/A N/A N/A p N/A N/A N/A N/A N/A p contents x N/A N/A p contents y N/A N/A p contents z N/A start ptr N/A points N/A N/A np array N/A xyz ptr N/A ptr N/A N/A ptr contents next N/A N/A N/A ptr contents N/A start contents N/A N/A points N/A N/A np vstack N/A points N/A xyz ptr N/A N/A bool N/A N/A ptr contents next N/A N/A ptr N/A N/A ptr contents next N/A N/A N/A closed N/A N/A ptr contents N/A start contents N/A N/A cls points closed N/A classmethod xmin N/A N/A self N/A N/A N/A N/A float N/A min N/A N/A self points N/A N/A N/A 0 N/A property xmax N/A N/A self N/A N/A N/A N/A float N/A max N/A N/A self points N/A N/A N/A 0 N/A property dx N/A N/A self N/A N/A N/A N/A N/A self xmax N/A self xmin N/A property ymin N/A N/A self N/A N/A N/A N/A float N/A min N/A N/A self points N/A N/A N/A 1 N/A property ymax N/A N/A self N/A N/A N/A N/A float N/A max N/A N/A self points N/A N/A N/A 1 N/A property dy N/A N/A self N/A N/A N/A N/A N/A self ymax N/A self ymin N/A property sort N/A N/A paths N/A N/A N/A  Sorts an array of paths such that contained paths
            are before the paths than contain then, and each
            stage greedily picks the nearest valid path to come next.
         N/A before N/A N/A np ones N/A N/A len paths N/A len paths dtype N/A np bool N/A xmin N/A N/A np array N/A N/A N/A N/A p xmin N/A p paths N/A len paths N/A before N/A xmin N/A N/A xmin transpose N/A xmax N/A N/A np array N/A N/A N/A N/A p xmax N/A p paths N/A len paths N/A before N/A xmax N/A N/A xmax transpose N/A ymin N/A N/A np array N/A N/A N/A N/A p ymin N/A p paths N/A len paths N/A before N/A ymin N/A N/A ymin transpose N/A ymax N/A N/A np array N/A N/A N/A N/A p ymax N/A p paths N/A len paths N/A before N/A ymax N/A N/A ymax transpose N/A sorted N/A N/A done N/A N/A False N/A len paths N/A pos N/A N/A np array N/A N/A 0 0 N/A i N/A range N/A len paths N/A N/A distances N/A N/A N/A N/A any N/A before N/A N/A N/A i N/A done N/A i N/A float inf N/A sum N/A N/A N/A pow N/A pos N/A N/A N/A N/A paths N/A i points N/A 0 N/A 0 2 2 flatten N/A i N/A range N/A len paths N/A index N/A N/A distances index N/A min distances N/A N/A done N/A index True N/A N/A before N/A N/A index N/A False N/A N/A N/A sorted append N/A paths N/A index N/A N/A N/A sorted N/A -1 closed N/A N/A pos N/A N/A N/A N/A sorted N/A -1 points N/A 0 N/A 0 2 N/A N/A pos N/A N/A N/A N/A sorted N/A -1 points N/A -1 N/A 0 2 N/A sorted N/A staticmethod save_merged_svg N/A N/A cls filename paths border N/A 0 N/A N/A xmin N/A min N/A N/A p xmin N/A p paths N/A xmax N/A max N/A N/A p xmax N/A p paths N/A ymin N/A min N/A N/A p ymin N/A p paths N/A ymax N/A max N/A N/A p ymax N/A p paths N/A border N/A N/A dx N/A xmax xmin N/A xmin N/A dx border N/A xmax N/A dx border N/A dy N/A ymax ymin N/A ymin N/A dy border N/A ymax N/A dy border N/A N/A N/A cls write_svg_header filename N/A xmax xmin N/A ymax ymin N/A p paths N/A N/A N/A N/A p write_svg_contour filename xmin ymax N/A N/A N/A cls write_svg_footer filename N/A classmethod save_svg N/A N/A self filename N/A N/A N/A N/A N/A self write_svg_header filename N/A self dx N/A self dy N/A N/A N/A self write_svg_contour filename N/A self xmin N/A self ymin N/A N/A N/A self write_svg_footer filename N/A write_svg_header N/A N/A cls filename dx dy N/A N/A N/A  Writes the header to an SVG file.
            dx and dy should be in mm.
         N/A N/A open filename wb f N/A N/A N/A N/A f write N/A N/A <?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
<!-- Created with kokopelli (kokompe.cba.mit.edu) -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20010904//EN"
 "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<svg
    xmlns   = "http://www.w3.org/2000/svg"
    width   = "{dx:g}mm"
    height  = "{dy:g}mm"
    units   = "mm"
> format dx dx dy dy N/A classmethod write_svg_footer N/A N/A cls filename N/A N/A N/A  Writes the footer to an SVG file.
         N/A N/A open filename a f N/A N/A N/A N/A f write </svg> N/A classmethod write_svg_contour N/A N/A self filename xmin ymax stroke color N/A 0.1 N/A 0 0 0 N/A N/A  Saves a single SVG contour at 90 DPI.
         N/A scale N/A 90 25.4 N/A xy N/A N/A N/A p N/A N/A N/A scale N/A N/A p N/A 0 xmin N/A scale N/A ymax N/A p N/A 1 N/A N/A open filename a f N/A N/A N/A N/A f write N/A   <path style="stroke:rgb(%i,%i,%i); stroke-width:%g; fill:none" N/A N/A color N/A 0 N/A color N/A 1 N/A color N/A 2 stroke N/A N/A N/A f write N/A         d="M%g %g N/A xy N/A N/A self points N/A 0 N/A pt N/A N/A self points N/A 1 N/A N/A N/A N/A f write N/A  L%g %g N/A xy pt N/A N/A self closed N/A N/A N/A N/A f write  Z N/A N/A N/A f write "/>
 N/A N/A