{"action":"created","issue":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/1263","repository_url":"https://api.github.com/repos/foosel/OctoPrint","labels_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1263/labels{/name}","comments_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1263/comments","events_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1263/events","html_url":"https://github.com/foosel/OctoPrint/issues/1263","id":139092531,"node_id":"MDU6SXNzdWUxMzkwOTI1MzE=","number":1263,"title":"[Brainstorming]Adding support for Dremel Idea Builder (i.e. FlashForge Dreamer)","user":{"login":"bbatchelder","id":207557,"node_id":"MDQ6VXNlcjIwNzU1Nw==","avatar_url":"https://avatars3.githubusercontent.com/u/207557?v=4","gravatar_id":"","url":"https://api.github.com/users/bbatchelder","html_url":"https://github.com/bbatchelder","followers_url":"https://api.github.com/users/bbatchelder/followers","following_url":"https://api.github.com/users/bbatchelder/following{/other_user}","gists_url":"https://api.github.com/users/bbatchelder/gists{/gist_id}","starred_url":"https://api.github.com/users/bbatchelder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bbatchelder/subscriptions","organizations_url":"https://api.github.com/users/bbatchelder/orgs","repos_url":"https://api.github.com/users/bbatchelder/repos","events_url":"https://api.github.com/users/bbatchelder/events{/privacy}","received_events_url":"https://api.github.com/users/bbatchelder/received_events","type":"User","site_admin":false},"labels":[{"id":117339329,"node_id":"MDU6TGFiZWwxMTczMzkzMjk=","url":"https://api.github.com/repos/foosel/OctoPrint/labels/type:brainstorming","name":"type:brainstorming","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":72,"created_at":"2016-03-07T21:00:45Z","updated_at":"2018-09-20T12:39:49Z","closed_at":null,"author_association":"NONE","body":"I own a Dremel Idea Builder.  I'd really like to get OctoPrint to work with it.  I am a software developer, but not much Python experience, and the OctoPrint codebase is entirely new to me...so I could use some guidance.\n\nDremel has provided me with a snippet of C++ code that demonstrates how to push a file to the SD card over USB and initiate printing.\n\nA few things I am noticing at first glance:\n- It looks like the Dremel is expecting a tilde (~) as a start character for each command.\n- It looks like the Dremel is expecting a \\r\\n instead of just a \\n\n- It looks like the M28 command (load file to SD) expects a file size in addition to destination path (the M28 I see in util/comm.py is only sending a filename).\n- It looks like the Dremel is expecting an \"M601 S0\" be sent prior to every command.\n\nI am thinking that as a **first step**, I'll just pull the latest code and modify util/comm.py to do the above, and see if I get anywhere.  If that goes poorly, I'll probably fall back to writing a proof of concept app in C# (the language I am most useful in).\n\nHere is a Dropbox link to the [C++ snippet I was given](https://dl.dropboxusercontent.com/u/254907/ComUsb.cpp).\n\nHere are some conversations I've found online that add some additional information:\n\n[Google Groups thread](https://groups.google.com/forum/#!topic/flashforge/o0dVDzqrPsc) where some folks sniffed the commands being sent to do various things, including upgrading the firmware.\n\n[Simplify3D Forum thread](https://forum.simplify3d.com/viewtopic.php?f=8&t=1319) where a user explains how they set up a firmware profile for the Dreamer, and mentions the requirement for M601 S0 and the tilde start delimiter.  Though they mention the end delimiter being a single LF (and not the CR/LF I saw in the C++ snippet).\n"},"comment":{"url":"https://api.github.com/repos/foosel/OctoPrint/issues/comments/423167766","html_url":"https://github.com/foosel/OctoPrint/issues/1263#issuecomment-423167766","issue_url":"https://api.github.com/repos/foosel/OctoPrint/issues/1263","id":423167766,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzE2Nzc2Ng==","user":{"login":"dontcrash","id":32660358,"node_id":"MDQ6VXNlcjMyNjYwMzU4","avatar_url":"https://avatars3.githubusercontent.com/u/32660358?v=4","gravatar_id":"","url":"https://api.github.com/users/dontcrash","html_url":"https://github.com/dontcrash","followers_url":"https://api.github.com/users/dontcrash/followers","following_url":"https://api.github.com/users/dontcrash/following{/other_user}","gists_url":"https://api.github.com/users/dontcrash/gists{/gist_id}","starred_url":"https://api.github.com/users/dontcrash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dontcrash/subscriptions","organizations_url":"https://api.github.com/users/dontcrash/orgs","repos_url":"https://api.github.com/users/dontcrash/repos","events_url":"https://api.github.com/users/dontcrash/events{/privacy}","received_events_url":"https://api.github.com/users/dontcrash/received_events","type":"User","site_admin":false},"created_at":"2018-09-20T12:39:49Z","updated_at":"2018-09-20T12:39:49Z","author_association":"NONE","body":"I don’t see it as an issue, plus it’s not like you’d just copy paste it all, you’d just look at how they’re doing it and understand and write your own implementation.\r\n\r\nIf I wrote some basic C code co calculate 10+10 (let’s assume you didn’t know how to get the sum) and you wrote it in Python based on my code, there’s nothing illegal about that?\r\nAt least that’s the rudimentary way I understand the matter."}}
{"actor":{"display_login":"dontcrash"}}