{"id":151,"date":"2017-06-01T13:17:57","date_gmt":"2017-06-01T17:17:57","guid":{"rendered":"http:\/\/www.functionalprototype.com\/news\/?p=151"},"modified":"2017-06-01T13:24:47","modified_gmt":"2017-06-01T17:24:47","slug":"locking-up-the-ui-for-safety","status":"publish","type":"post","link":"http:\/\/www.functionalprototype.com\/news\/2017\/06\/01\/locking-up-the-ui-for-safety\/","title":{"rendered":"locking up the UI for safety"},"content":{"rendered":"<p>My initial plan for warifuru was to lock up the UI during an actual laser cutting operation.\u00c2\u00a0 There would be one floating control panel that controls the cut, and after the cut is started the only options for the operator is to stop\/pause the cut.<\/p>\n<p>Looking at the new lasersaur API and thinking about other jobs, I think I&#8217;m going to allow a little more interaction during a cut operation.\u00c2\u00a0 Once the job is started on the lasersaur it&#8217;s easy for me to ignore it other than checking for status updates, doing that means I can then update a near-real-time animation of the cut in the status control panel.<\/p>\n<p>I&#8217;m also thinking of going in to a multi-threaded world and allow background threads to run while a cut is in operation.\u00c2\u00a0 If a 2d bin-fitting operation is going to take days of run-time to complete, why prevent someone from doing a laser cut while they wait?\u00c2\u00a0 The bin-fitting will happen on the host computer, not the lasersaur, so I just need to keep the bin-fitting job from interfering with the UI for the control panel.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>My initial plan for warifuru was to lock up the UI during an actual laser cutting operation.\u00c2\u00a0 There would be one floating control panel that controls the cut, and after the cut is started the only options for the operator is to stop\/pause the cut. Looking at the new lasersaur API and thinking about other [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[22,25],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-digifab","category-warifuru"],"_links":{"self":[{"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/posts\/151"}],"collection":[{"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":0,"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.functionalprototype.com\/news\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}