{"id":114,"date":"2013-03-03T22:18:49","date_gmt":"2013-03-04T06:18:49","guid":{"rendered":"http:\/\/schminktronics.com\/blog\/?p=114"},"modified":"2013-03-03T22:18:49","modified_gmt":"2013-03-04T06:18:49","slug":"electrotests","status":"publish","type":"post","link":"http:\/\/schminktronics.com\/blog\/archives\/114","title":{"rendered":"Electrotests"},"content":{"rendered":"<p>It may seem like I&#8217;ve been spending all my time on the spinner project, but I have actually been spending some time on the electromagnetic tests as well. After my initial tests to wrap an electromagnet a few weeks ago failed, I realized I needed something with some fixed dividers. I came up with a plan in my mind, but then needed to model it so I could print it at Shapeways.<\/p>\n<p>Based on their software recommendations, I started with Blender. I played with it for several days, going through a few tutorials, but then failed to figure out how to get boolean operations to work right or how to align objects. After several days, I still couldn&#8217;t create a hollow tube. Then I realized this really isn&#8217;t the right tool for the job. It&#8217;s not designed for CAD work.<\/p>\n<p>Looking for CAD software, I started with OpenSCAD. Within a few minutes, I had a tube with the exact dimensions I wanted. Shortly thereafter, I even had my dividers:<\/p>\n<div id=\"attachment_116\" style=\"width: 526px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/ElectroTest1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-116\" class=\"size-full wp-image-116\" alt=\"First design of the electrotest on OpenSCAD\" src=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/ElectroTest1.png\" width=\"516\" height=\"397\" srcset=\"http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/ElectroTest1.png 516w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/ElectroTest1-300x230.png 300w, http:\/\/schminktronics.com\/blog\/wp-content\/uploads\/2013\/03\/ElectroTest1-389x300.png 389w\" sizes=\"auto, (max-width: 516px) 100vw, 516px\" \/><\/a><p id=\"caption-attachment-116\" class=\"wp-caption-text\">First design of the electrotest on OpenSCAD<\/p><\/div>\n<p>I then uploaded this to Shapeways and found that it does work on there! So I spent another week trying to add mounting points for a PCB on top and a separate mounting bracket on the bottom. During this phase I ran into problems with OpenSCAD:<\/p>\n<ol>\n<li>I can&#8217;t set the plane at which drawing cuts out. At the scale I&#8217;m working on, I can&#8217;t zoom in close enough to see what&#8217;s happening because rendering cuts out. I don&#8217;t remember what this is called, but I saw on one of the Blender tutorials how to fix the problem there.<\/li>\n<li>Figuring out how to draw things is annoying. I can&#8217;t just specify coordinates. I have to translate the coordinate system and then draw about the origin. I have to keep thinking in reverse that way.<\/li>\n<li>You can&#8217;t use the mouse to draw. I had to figure out how to draw a 3D space by visualizing the coordinates, typing them in by hand, then visualizing all the triangles needed to draw that and enter them in clockwise order.<\/li>\n<li>The rendering routines aren&#8217;t very good. As you rotate, planes go directly from color to black as it decides they&#8217;re in shadow.<\/li>\n<li>There&#8217;s no way to measure to verify that I&#8217;ve done everything correctly.<\/li>\n<\/ol>\n<p>So I decided to try another program: BRL-CAD, an open source CAD program developed and used by the government. I&#8217;m still trying to figure this one out. It&#8217;s not quite as easy to use as I&#8217;d hoped. I&#8217;m not sure that it has the mouse drawing that I&#8217;d like, but it does at least let me draw things at specific coordinates. More updates on that as I test more&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It may seem like I&#8217;ve been spending all my time on the spinner project, but I have actually been spending some time on the electromagnetic tests as well. After my initial tests to wrap an electromagnet a few weeks ago &hellip; <a href=\"http:\/\/schminktronics.com\/blog\/archives\/114\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-114","post","type-post","status-publish","format-standard","hentry","category-em-tests"],"_links":{"self":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/114","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":2,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":118,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/118"}],"wp:attachment":[{"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/schminktronics.com\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}