{"id":316,"date":"2014-02-28T00:54:41","date_gmt":"2014-02-28T04:54:41","guid":{"rendered":"http:\/\/jimlund.org\/blog\/?p=316"},"modified":"2014-02-28T00:54:41","modified_gmt":"2014-02-28T04:54:41","slug":"setting-up-libcutter","status":"publish","type":"post","link":"http:\/\/jimlund.org\/blog\/?p=316","title":{"rendered":"Setting up libcutter"},"content":{"rendered":"<p>On Ubuntu 12.04.<\/p>\n<p>Downloaded from https:\/\/github.com\/vangdfang\/libcutter\/.<\/p>\n<p>It was hard to compile, requiring libsvg and several other libraries.<br \/>\nI added to the include directories:<\/p>\n<p>CMakeLists.txt<br \/>\n&#8212;<br \/>\n<code>include_directories(${PROJECT_SOURCE_DIR}\/include\/ ${PROJECT_SOURCE_DIR}\/include\/pub \/usr\/include\/freetype2)<\/code><br \/>\n&#8212;<\/p>\n<p>Download keys.h from: http:\/\/www.jestinstoffel.com\/files\/keys.h<\/p>\n<p>&#8212;<br \/>\n<code>#ifndef KEYS_H<br \/>\n#define KEYS_H<br \/>\n#define MOVE_KEY_0 1194338851ul<br \/>\n#define MOVE_KEY_1 1563510831ul<br \/>\n#define MOVE_KEY_2 992311905ul<br \/>\n#define MOVE_KEY_3 913389615ul<\/p>\n<p>#define LINE_KEY_0 809461859ul<br \/>\n#define LINE_KEY_1 1902406960ul<br \/>\n#define LINE_KEY_2 1198081403ul<br \/>\n#define LINE_KEY_3 1832133993ul<\/p>\n<p>#define CURVE_KEY_0  0x7D316E22ul<br \/>\n#define CURVE_KEY_1  0x4A4A7133ul<br \/>\n#define CURVE_KEY_2 0x5A3C5C5Ful<br \/>\n#define CURVE_KEY_3 0x78613A61ul<br \/>\n#endif<br \/>\n<\/code><br \/>\n&#8212;<\/p>\n<p>Full set of keys:<br \/>\n&#8212;<br \/>\n<code>KEY0 - 0x272D6C37, 0x342A6173, 0x3663255B, 0x2B265A4D<br \/>\nKEY1 - 0x7D316E22, 0x4A4A7133, 0x5A3C5C5F, 0x78613A61<br \/>\nKEY2 - 0x47302A23, 0x5D31482F, 0x3B257A61, 0x3671382F<br \/>\nKEY3 - 0x303F6863, 0x71646D30, 0x4769457B, 0x6D342569<br \/>\nKEY4 - 0x45356650, 0x3A386D69, 0x575A7037, 0x335F357D<br \/>\nKEY5 - 0x343A2148, 0x614F3925, 0x753F6953, 0x47463626<br \/>\nKEY6 - 0x3F62626D, 0x7E555F44, 0x7E29425A, 0x52246268<br \/>\nKEY7 - 0x47302A23, 0x342A6173, 0x4769457B, 0x335F357D<\/code><br \/>\n&#8212;<\/p>\n<p>Replaces include\/pub\/keys.h<\/p>\n<p>.\/util\/draw_svg .\/util\/svg_tests\/Mini_DIY_circuit.svg \/dev\/ttyUSB0<\/p>\n<p>Test run, worked!<\/p>\n<p>Other options:<br \/>\n<a href=\"https:\/\/github.com\/Arlet\/Freecut\">Freecut<\/a> &#8212; Firmware replacement, haven&#8217;t tried.<br \/>\n<a href=\"http:\/\/licut.sourceforge.net\/\">Licut<\/a> &#8211;Tried binaries and program compiled from source, did not work.<\/p>\n<p><a href=\"http:\/\/www.built-to-spec.com\/blog\/2010\/02\/27\/cricut-personal-dissection\/\">Cricut dissection<\/a>, discusses the default blank cartridge.<br \/>\n<a href=\"http:\/\/atxhackerspace.org\/wiki\/Cricut\">ATX Hackerspace cricut page<\/a><br \/>\n<a href=\"http:\/\/everhack.blog.atxhackerspace.org\/2012\/02\/08\/cricut-repair-info\/\">Repair info<\/a><br \/>\n<a href=\"http:\/\/jimlund.org\/build-to-spec\/Cricut%20Hacking%20Wiki.html\">Build-to-spec Cricut Hacks Wiki<\/a> (recovered from the Internet Archive)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>On Ubuntu 12.04. Downloaded from https:\/\/github.com\/vangdfang\/libcutter\/. It was hard to compile, requiring libsvg and several other libraries. I added to the include directories: CMakeLists.txt &#8212; include_directories(${PROJECT_SOURCE_DIR}\/include\/ ${PROJECT_SOURCE_DIR}\/include\/pub \/usr\/include\/freetype2) &#8212; Download keys.h from: http:\/\/www.jestinstoffel.com\/files\/keys.h &#8212; #ifndef KEYS_H #define KEYS_H #define MOVE_KEY_0 1194338851ul #define MOVE_KEY_1 1563510831ul #define MOVE_KEY_2 992311905ul #define MOVE_KEY_3 913389615ul #define LINE_KEY_0 809461859ul #define LINE_KEY_1 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316"}],"version-history":[{"count":0,"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions"}],"wp:attachment":[{"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/jimlund.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}