{"id":42,"date":"2008-09-07T23:50:00","date_gmt":"2008-09-07T23:50:00","guid":{"rendered":"http:\/\/pycheung.com\/weblog\/?p=42"},"modified":"2012-12-10T17:09:44","modified_gmt":"2012-12-10T17:09:44","slug":"align2line-sketchup","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/42","title":{"rendered":"Align2line (sketchup)"},"content":{"rendered":"<p><img loading=\"lazy\" src=\"http:\/\/pycheung.com\/weblog\/wp-content\/uploads\/2010\/08\/zrtn_010n7b5c887c_tn.jpg\" style=\"WIDTH: 600px; DISPLAY: inline; HEIGHT: 264px\" height=\"264\" width=\"600\"\/> <img loading=\"lazy\" src=\"http:\/\/pycheung.com\/weblog\/wp-content\/uploads\/2010\/08\/zrtn_006p2b4b1c05_tn.jpg\" style=\"WIDTH: 600px; HEIGHT: 300px\" height=\"300\" width=\"600\"\/><\/p>\n<p>Align components to vector (20080908)<\/p>\n<p><span class=\"test\">the object picking method is only coded to deal with edges that lies on the X-axis. not quite sure how to code it to deal with the +\/- angles for edges that doesn&#8217;t follow the X-axis at the moment. I have not implement any if else statements to deal with invalid inputs.<\/span><\/p>\n<p>demo: gererate vectors based on fibonacci series, align components to vectors<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Align components to vector (20080908) the object picking method is only coded to deal with edges that lies on the X-axis. not quite sure how to code it to deal&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/42\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1072,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[159],"tags":[96,103],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/42"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=42"}],"version-history":[{"count":2,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/42\/revisions"}],"predecessor-version":[{"id":923,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/42\/revisions\/923"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1072"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=42"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=42"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=42"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}