Thanks Thanks:  2
Likes Likes:  4
Dislikes Dislikes:  0
Page 5 of 8 FirstFirst ... 34567 ... LastLast
Results 41 to 50 of 80
  1. #41
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    41
    Post Thanks / Like
    So, FWIW...
    Here are all 24 different codes that CubePrint put into a .cube3 file. The object is a 20mm ring.
    There are 10 new ones (plus 2 comments, I think) that aren't in the original list in the first post of this thread.
    I have no idea what the extra ones do... but hope we will figure them out.

    #QuickLayer P19.38 O50.00 D1
    #Vector T22
    ^InitComplete
    ^LayerTime: 0.32 4.584 3.095
    G1 X-100.500 Y0.000 Z5.1275 F7000.0
    G4 P60
    M101
    M103
    M104 S210 P1
    M106 P100
    M107
    M108 S37.0
    M204 S210 P1
    M227 P375 S375 G400 F800
    M228 P0 S375
    M231 P0 S0
    M232 P5000 S5000
    M233 P1000
    M240 X450
    M542
    M543
    M551 P700 S35
    M552 P500 S25
    M561 P350 S500
    M601 P2 S60 F5
    Last edited by JohnTee; 04-04-2018 at 05:35 AM.

  2. #42
    3D Printer God(dess)
    Join Date
    Nov 2016
    Posts
    1,294
    Post Thanks / Like
    Oh yea... that garble at the bottom; it is likely the image file with an executable grayscale/color wipe on a timer.

    And as a note, 3D Builder does NOT pass the image to the Cube 3. Still want to see those files as passed through the M$ driver.
    Last edited by TommyDee; 04-04-2018 at 06:18 AM.

  3. #43
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    41
    Post Thanks / Like
    I made up a 10x10x1 mm cube and used it to generate a pair of bfb files, one PLA left cartridge and the other ABS right cartridge.
    The PLA file has 703 lines and the ABS has 1667.

    I pulled the two files into Excel side by side and lined up the matching instruction sections to see what Cubeprint does differently with the two materials and to try to understand what some of those 'extra' codes do.

    The differences are rather interesting. Observations:

    1) Z values:
    PLA 1st layer .2500, 2nd-5th layers .1925 increment
    ABS 1st layer .2200, 2nd-5th layers .1925 increment

    2) Non-extrude movement) speed(G1,F...) is always F8000 for both

    3) Extrude movement speed(G1,F...) and extrusion rates(M108,S...)
    PLA: Layer 1 F1200/S29 for outline and fill,
    Layer 2 F1800/S22.5 outline, F2000/S32 short fill traces, F2000/S37 long fill traces
    Layers 3-5 F1800/S22.5 outline, F2750/S32 short fill traces, F2750/S40 long fill traces
    ABS: Layer 1 F1302/40 outline, F1800/S40 fill, F1302/S33 sidewalk outline, F1299/S33 sidewalk fill
    Layer 2 F1800/S21 outline, F2000/S27 short fill, F2000/S38 long fill, F1800/S27 short sidewalk fill, F1800/S37 long sidewalk fill
    Layer 3 F916.8/S10.7 outline, F1880/S21.6 short fill, F1880/S28.8 long fill
    Layer 4 F922.4/S10.8 outline, F1880/S21.6 short fill, F1880/S28.8 long fill
    Layer 5 F1800/S21.0 outline, F2350/S27 short fill, F2350/S36 long fill

    4) Every trace for both repeats the M108 setting, even when the value doesn't change.

    5) The ABS sequence is much more intricate than PLA - perhaps that is why the ABS Marvin comes out so much better than the PLA Marvin...

  4. #44
    3D Printer God(dess)
    Join Date
    Nov 2016
    Posts
    1,294
    Post Thanks / Like
    Love it! Yes, you got the simple output. But you also uncovered the "translation" for other slicers and their functions.

    There are a lot more moves but they occur only occasionally. Much harder to dissect.

  5. #45
    Expert 3D Printer
    Join Date
    Jan 2017
    Posts
    479
    Post Thanks / Like
    @JohnTee,

    I think tprothma has a really good handle on the inner workings of BFB code. He has done a lot of research and has had great results. Maybe you should consult with him on this stuff.

    He and G70 have have been a big help figuring this stuff out. I may have started this thread, but Tim has far surpassed anything I was doing (with invaluable insight from G70).

    I've been having some health issues for a while now so I haven't been as active as I would like to be. Hopefully I'll get back in the swing of things before too long.

  6. #46
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    41
    Post Thanks / Like
    Sorry to hear that you aren't well - hope you get back up to speed quickly!

    You are so right about those guys doing the heavy lifting - much to the benefit of us all! Tim even reached out to offer me help in the "other slicers" thread!

    As you can see from my little post, I kind of enjoy sifting and slicing information to try to make sense of it. I would like to contribute in some way to the effort to increase the capabilities of our little Cubes. Your suggestion on the other thread (make little files and dissect them) makes a lot of sense to me, which is why I am doing that!

    I am pursuing Cura - because it's free. If we can understand how to speak the 3DS dialect of .bfb, perhaps we can get Cura (or Kisslicer etc) to do a better job for us.

    - - - - - - - - - -

    @TommyDee - You're right about the rarer codes that are sprinkled thru the .cube3 files - mysterious, but important to the Cube, I think. And likely unknown to Cura.

    These are the ones I've found in my little files (so far):

    Code Parm1 Parm2 Parm3 PLA locations ABS locations Notes
    M228 P0 S450 init, start of ‘vector’, end init, start of ‘vector’, end always followed by M227..S450..
    P0 S1 init, start of vector, end init, start of ‘vector’, end always followed by M227..S1..
    P0 S400 #QuickLayer always followed by M227..S400..
    M231 P0 S0 init init
    M232 P5000 S5000 init init
    M233 P1000 init init
    M601 P3 S60 F5 Init n/a
    P8 S60 F5 init & end init & end
    P2 S60 F5 init & end init(twice) & end
    M542 init & end init & end
    M543 init & end init & end
    M240 X450 Init & end init & end
    M240 Y400 Init & end Init & end
    M240 S450 Init & end Init & end
    M551 P850 S50 init n/a
    M551 P500 S25 n/a end
    M552 P600 S50 n/a init

    n/a means this line was not present in the file

  7. #47
    3D Printer God(dess)
    Join Date
    Nov 2016
    Posts
    1,294
    Post Thanks / Like
    I have a particular bugger to find. My problem is physical locations of the files I want to see. But I'll get it next time I open up a printer.

  8. #48
    Regular 3D Printer
    Join Date
    Sep 2017
    Posts
    38
    Post Thanks / Like
    @JT

    Hang tight...
    Tim will answer all ur questions.

    G70

  9. #49
    Regular 3D Printer
    Join Date
    Jan 2018
    Posts
    46
    Post Thanks / Like
    I've been really busy with a lot of things at work and still look like I'll be busy for a while, so I've actually had limited time to dedicate to this stuff.
    Suffice it to say I think I've got most of the code understood with the help of MegaloDon and G70 and things I've found by extensive research on the internet. However, I suspect there may still be some hidden secrets in the non-ascii data that could go beyond an icon on the touch screen that gets painted as you print.

    Keep in mind that the BFB code and the firmware work together to tell the hardware what to do and some BFB details are simply not documented anywhere. Ex: They could program M999 to send a message to the touch screen saying "Hello World". Just acknowledge that some things are only discovered from extrapolating what we know and from trial and error. Also keep in mind that there are some things that 3DS does that they don't want to enable as public knowledge, so I will tread lightly.

    Every material has certain characteristics and 3DS has tuned the settings based on their material and hardware interaction. Also 3DS has very specific methods to make the print better. What 3DS are doing is actually brilliant and I have learned enough to truly appreciate what 3DS really does. High level you want good dimensional quality on the outside, then good bonding on the inside for strength. Nuff said.

    You can take a native CubePrint file and try printing with a tough material like Amolen Marble your prints may look like frosted mini wheats


    Frosted_Mini_Wheats.PNG

    But after some tweaking of the BFB you can get very smooth and strong prints.

    One set of profiles for a slicer due to inherent limitations of the slicers does not give us enough knobs to properly control the print and account for all materials. It's just too messy to manage in profiles, but I've been developing python scripts to further tune Simplify 3D output. Simplify 3D has all the knobs needed and actually has slightly more knobs than CubePrint. The python code I'm developing works in conjunction with specific Simplify 3D profiles. The S3D profiles really need the python code to further tune the knobs for each material by feature type. Feature types include outer perimeter, inner perimeter, solid layer, honeycomb (infill), support, sidewalk, etc.. I don't think Cura has all the knobs, so there will be limited compatibility.

    It will likely require a new thread when I release the Beta of the BFB Tweaker/Analyzer and Simplify 3D profiles. I will answer a few ?s in the meanwhile, but frankly it may be easier done than said.

    Tim

    - - - - - - - - - -

    Hi JohnTee,
    Start with understanding the toolpaths, don't worry for now about the initialization and finalization routines. The initializatio/finalization can be copied/pasted at the start/end of any slicer.

    Simplified operation:
    M227 and M228 sets up and turns off autoprime and autoretraction - the purpose is so that no material drips over open spaces
    M104 and M204 set left and right temperatures
    M108 is setting up extruder speeds
    M101 and M201 are turning left and right extruder on
    M103 turns all extruders off
    G1 is movement with and without extruders on

    Overall operation starting with an extruder off is to go to a position (like a G-code rapid G0- not printing), then lay material (like a G-code G01 coordinated movement while cutting), then turn off the extruder, then go to another position, turn on the extruder, and repeat.

    In BFB code it looks like this:
    M108 sets the extruder speed (like filament feedrate)
    Next M101 or M201 starts extruders and gives an autoprime (per the last M227) prior to movement
    Then the G1 gives movement at a speed given by Fxxx while the extruder pushing material- this is the printspeed
    Then M103 turns off the extruder (after doing an autoretract per the last M227)
    Then any G1 with extuder off is similar to a G-code rapid (not printing)
    M108 sets the extruder speed again
    Turn on extruders, print, and so on

    Tim

  10. Likes JackMeoff liked this post
  11. #50
    Regular 3D Printer
    Join Date
    Feb 2018
    Posts
    41
    Post Thanks / Like
    Quote Originally Posted by tprothma View Post
    I've been really busy with a lot of things at work and still look like I'll be busy for a while, so I've actually had limited time to dedicate to this stuff.
    Suffice it to say I think I've got most of the code understood with the help of MegaloDon and G70 and things I've found by extensive research on the internet. However, I suspect there may still be some hidden secrets in the non-ascii data that could go beyond an icon on the touch screen that gets painted as you print.
    (snip)

    Tim
    Tim,

    Thanks a bunch for taking time out to write that great explanation.

    I will wait for you and G70 and others to finish what you are doing with the S3D-tweaker, and not pester about the special 3DS codes and so forth.
    It's clear that the manufacturer is not interested in being open about their internal workings, even to help users of their discontinued product. And I can understand their way of thinking. Too bad...

    Go do some real work now!
    John

    BTW - That is a beautiful print of Frosted Mini-Wheats (R)!! How did you make it so realistic???
    ;o)

 

 

Similar Threads

  1. [ HOW TO ] Use other slicers with cube 3
    By Mythandar in forum Cube3
    Replies: 290
    Last Post: 04-14-2018, 09:00 PM
  2. [ THING ] Printable Cube 3 Filament (re)Winder
    By chaman in forum Cube3
    Replies: 25
    Last Post: 08-01-2017, 04:35 PM
  3. Cube 3 enclosure
    By Bleky in forum Cube3
    Replies: 31
    Last Post: 03-31-2017, 04:34 PM
  4. ERROR Code T24: Temperature Error
    By bolsoncerrado in forum Cube3
    Replies: 3
    Last Post: 03-02-2017, 04:35 PM
  5. Converting 12v/24v power supply to remote (G-code) switching
    By bolsoncerrado in forum 3D Hardware
    Replies: 9
    Last Post: 06-30-2016, 04:24 PM

Posting Permissions

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