Editing Generating TSP art from a stippled image
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 24: | Line 24: | ||
* tspsolution.py | * tspsolution.py | ||
− | These three files are hosted at the Eggbot | + | These three files are hosted at the Eggbot code site, |
− | :[ | + | :[http://code.google.com/p/eggbotcode/downloads/list http://code.google.com/p/eggbotcode/downloads/list] |
Download the lastest version of the tsp_art_tools zip file, tsp_art_tools_x_y.zip. After you unzip that file, you will see those three files within it. Copy those files to a convenient work directory. | Download the lastest version of the tsp_art_tools zip file, tsp_art_tools_x_y.zip. After you unzip that file, you will see those three files within it. Copy those files to a convenient work directory. | ||
Line 101: | Line 101: | ||
|- | |- | ||
| {{nowrap|-h}}, {{nowrap|--help}} | | {{nowrap|-h}}, {{nowrap|--help}} | ||
− | | | + | | tbd |
+ | |- | ||
+ | | {{nowrap|-l ''color''}}, {{nowrap|--line=''color''}} | ||
+ | | tbd | ||
|- | |- | ||
| {{nowrap|-L ''name''}}, {{nowrap|--layer=''name''}} | | {{nowrap|-L ''name''}}, {{nowrap|--layer=''name''}} | ||
− | | | + | | tbd |
|- | |- | ||
| {{nowrap|-m ''n''}}, {{nowrap|--max-segments=''n''}} | | {{nowrap|-m ''n''}}, {{nowrap|--max-segments=''n''}} | ||
− | | | + | | tbd |
+ | |- | ||
+ | | {{nowrap|--mid}} | ||
+ | | See --pre | ||
+ | |- | ||
+ | | {{nowrap|--post}} | ||
+ | | See --pre | ||
|- | |- | ||
− | | | + | | {{nowrap|--pre}} |
− | | | + | | tbd |
|- | |- | ||
| {{nowrap|-r ''n''}}, {{nowrap|--runs=''n''}} | | {{nowrap|-r ''n''}}, {{nowrap|--runs=''n''}} | ||
− | | | + | | tbd |
− | |||
− | |||
− | |||
|- | |- | ||
− | | {{nowrap|- | + | | {{nowrap|-s ''exe-path''}}, {{nowrap|--solver=''exe-path''}} |
− | | | + | | tbd |
|} | |} | ||
Line 146: | Line 152: | ||
:<tt>C:\Program Files\inkscape> <b>python\python C:\tspart.py C:\image.pbm</b></tt><br/> | :<tt>C:\Program Files\inkscape> <b>python\python C:\tspart.py C:\image.pbm</b></tt><br/> | ||
− | In the above command, it is assumed that tspart.py, tspbitcity.py, tspsolution.py, and image.pbm are all in the top-level directory of the C: drive. Be sure to give the correct path to those files | + | In the above command, it is assumed that tspart.py, tspbitcity.py, tspsolution.py, and image.pbm are all in the top-level directory of the C: drive. Be sure to give the correct path to those files. |
== Notes for Mac users == | == Notes for Mac users == |