Close



Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1

    Idea: Print objects straight from your web browser

    It just occurred to me that, because the Peachy Printer's only input/output is through a sound card, it should be possible to control it entirely from a website. (And maybe even a mobile one, though I don't know if the proper APIs are implemented yet in phone/tablet browsers.)

    Would anyone else like 3D model gallery with a big 'print' button right on the page?

    As soon as enough details come out (I'm not a Peachy beta tester), I'll start trying to make this happen. A further idea: combine this with an in-browser editor. It would be 3D design and printing with no software installation!

  2. #2
    Student
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    47
    That is a neat idea and should work, though a lot or ressources are required on the server side ;-) of course newer browsers do support some web 2.0 javascript magic for audio too, but this would most likely not work on all browsers.
    The most difficult part would be the real time audio drop feedback;
    I am sure we will run into problems with non real time operating systems, but on a Brower based control software this might cause more issues ;-) still I find the idea awesome!

  3. #3
    Administrator Eddie's Avatar
    Join Date
    Sep 2013
    Location
    Cape Coral, FL
    Posts
    1,844
    Follow Eddie On Twitter Add Eddie on Facebook Add Eddie on Google+ Add Eddie on Shapeways Add Eddie on Thingiverse
    Quote Originally Posted by prototrout View Post
    It just occurred to me that, because the Peachy Printer's only input/output is through a sound card, it should be possible to control it entirely from a website. (And maybe even a mobile one, though I don't know if the proper APIs are implemented yet in phone/tablet browsers.)

    Would anyone else like 3D model gallery with a big 'print' button right on the page?

    As soon as enough details come out (I'm not a Peachy beta tester), I'll start trying to make this happen. A further idea: combine this with an in-browser editor. It would be 3D design and printing with no software installation!
    That's a really awesome idea. Like Marcus said, I am sure it would take a lot of resources, but it is definitely something I think could be done.

  4. #4
    The "Web 2.0 Javascript Magic" exists, but it's not everywhere yet. It's called Web Audio API. It should be possible to do everything in the browser, but it might not be fast enough; it will take some experiments to find that out.

  5. #5
    Student
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    47
    Yes, I have seen some amazing things like javascript based augmented reality, qr code scanning...
    But currently I am sitting on my ~6 year old netbook, and it's already difficult with some regular javascript heavy content :-)
    But I am looking forward to this, it's a neat idea!

  6. #6
    I've whipped together a little something. It seems promising. Let me know how it runs!

    For me, it works in Chrome and sometimes stutters in Firefox (both on Windows). It should also work to some extent in Safari and Opera but I haven't tested it. To use it in Firefox, go to about:config and set media.webaudio.enable = true. (That will be the default in a future version.)

    On Chrome for Android it stutters way too much. I imagine it won't work well on iOS either. Internet Explorer doesn't support Web Audio at all yet, so it won't work there.

    In order to be useful for 3D printing, at least the following will need to be added:
    • Loading/slicing 3D models
    • Drawing arbitrary shapes/paths (right now it just does lines/triangles)
    • Audio input and interpreting drip rate
    • X/Y scaling and slice selection based on Z-level
    • Setting the speed/beam width/etc. to match the printer
    Last edited by prototrout; 09-28-2013 at 11:08 PM.

  7. #7
    Is that you, Yoda?

    yoda-test.jpg

    (From this model)

    I haven't uploaded it just yet but I now have .stl file loading, tracing, and a rising z-level (faked; there's still no audio input done).

  8. #8
    That version (with some improvements) is now live. It'll sound like static because I don't have line ordering done yet (the laser will jump around instead of moving in a circuit).

    Let me know if you encounter an STL file that won't load. If it's stretched one way or the other, that's OK because I don't have corrections for that done yet.

    Edit: Now it should support all STL files (not just binary ones). It even works (too slowly) with >100MB files.
    Last edited by prototrout; 09-29-2013 at 09:50 PM.

  9. #9
    Quote Originally Posted by prototrout View Post
    I've whipped together a little something. It seems promising. Let me know how it runs!

    For me, it works in Chrome and sometimes stutters in Firefox (both on Windows). It should also work to some extent in Safari and Opera but I haven't tested it. To use it in Firefox, go to about:config and set media.webaudio.enable = true. (That will be the default in a future version.)

    On Chrome for Android it stutters way too much. I imagine it won't work well on iOS either. Internet Explorer doesn't support Web Audio at all yet, so it won't work there.

    In order to be useful for 3D printing, at least the following will need to be added:
    • Loading/slicing 3D models
    • Drawing arbitrary shapes/paths (right now it just does lines/triangles)
    • Audio input and interpreting drip rate
    • X/Y scaling and slice selection based on Z-level
    • Setting the speed/beam width/etc. to match the printer
    I love this concept, but it might be easier than first thought:

    1) slicing can already be done with an existing program, just load the Gcode version of the file instead of the STL.
    2) no need to predefine arbitrary shapes, just move the lasers wherever the gcode says to move and at the speed the gcode defines.
    3) forget the audio input. If you use a symmetrical container and calibrate inches per unit time, then you just enter that into your web program at print time and it should be good to go...assuming your drip rate doesn't change.
    4) you could scale x/y via trig math per rise in level, OR you could have a float system that supports the peachy and makes the laser rise with the water level. This way the laser is always in focus and it means you are not limited to short and fat vs tall and skinny, you could print tall and fat.
    3d-resin-printer.jpg
    5) the beam width should be set with a focus, and a floating laser means the focus is always accurate. The speed is about laser power. You can enter the laser power in mW into your web program along with inches rise per unit time and you are good to go.

    All this together means more print volume with more accuracy and you don't need a mic input. Great for web based printing, even from tablets or smartphones.

  10. #10
    The floating laser idea is clever!

    I'll still design this to handle a fixed laser; not everyone will want to put the effort into making the laser float, so it will be good to support both. The trig isn't hard anyway. I'll also support variable drip rates because it will be more accurate and won't require calibration except when the container changes. (I don't want to assume that the drip rate will be perfectly consistent over multiple batches of water, atmospheric pressure changes, etc.)

    I had thought about just taking G-code as input, but I don't think the format can cope with variable drip rates. It will work if we assume a constant drip rate, like you said, so we can have both. At that point, though, we may as well pre-generate the audio and there's no need for special software on the phone/tablet, just an audio file. That's great for low-powered devices that can't handle generating the audio in real time, but I want to get more accurate prints if I can.

    There might be a mid-power, mid-accuracy solution if we have G-code (or something equivalent) for each Z layer, then use the drip sensor to decide when to switch layers. That should work even on phones. (Chrome for Android supports audio input but iOS doesn't.) That's my backup idea.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •