{"id":175,"date":"2013-11-03T21:13:03","date_gmt":"2013-11-04T03:13:03","guid":{"rendered":"http:\/\/www.scorchworks.com\/Blog\/?p=175"},"modified":"2024-05-01T20:13:52","modified_gmt":"2024-05-02T01:13:52","slug":"scorchcad-preview","status":"publish","type":"post","link":"https:\/\/www.scorchworks.com\/Blog\/scorchcad-preview\/","title":{"rendered":"ScorchCAD Preview"},"content":{"rendered":"<p><a href=\"http:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-174\" alt=\"ScorchCAD\" src=\"http:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG-300x300.png\" width=\"300\" height=\"300\" srcset=\"https:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG-300x300.png 300w, https:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG-150x150.png 150w, https:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG-624x624.png 624w, https:\/\/www.scorchworks.com\/Blog\/wp-content\/uploads\/sorchcad_orig_size_BG.png 685w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>ScorchCAD is a side project that I have worked on for a while.\u00a0 It is a clone of OpenSCAD written for Android devices.\u00a0 It is a clone of OpenSCAD meaning that it aims to provide the same functions as OpenSCAD but it does not use the same code.\u00a0 So far ScorchCAD is written completely in Java (OpenSCAD is C++).\u00a0 The ScorchCAD program is to a point that it can take input (OpenSCAD code) and return the result to the screen.\u00a0 The features that are working right now are: cube, cylinder, sphere, translate, rotate, scale, union, difference and intersection.\u00a0 There is a lot of work left to do on this program including all of the little things like opening\/saving files.\u00a0 The constructive solid geometry (CSG) library is <a href=\"http:\/\/evanw.github.io\/csg.js\/\">CSG.js<\/a> converted to JAVA.\u00a0 There have been a lot of improvements to that library by the guys at <a href=\"http:\/\/openjscad.org\/\">OpenJSCAD<\/a>.\u00a0 I either need to upgrade my JAVA code to incorporate the OpenJSCAD improvements or go to a different CSG library (Maybe one written in C++).\u00a0 The video embedded below shows how things are coming along so far.<\/p>\n<p><iframe loading=\"lazy\" src=\"\/\/www.youtube.com\/embed\/00O0yqf_bFM\" height=\"360\" width=\"640\" allowfullscreen=\"\" frameborder=\"0\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>ScorchCAD is a side project that I have worked on for a while.\u00a0 It is..<\/p>\n","protected":false},"author":1,"featured_media":174,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/175"}],"collection":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/comments?post=175"}],"version-history":[{"count":2,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/175\/revisions"}],"predecessor-version":[{"id":177,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/posts\/175\/revisions\/177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/media\/174"}],"wp:attachment":[{"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/media?parent=175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/categories?post=175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.scorchworks.com\/Blog\/wp-json\/wp\/v2\/tags?post=175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}