Jump to content

Stepfiles and G02/G03 arc gcodes


veedee

Recommended Posts

Posted · Stepfiles and G02/G03 arc gcodes

Hello everyone,

I am working a lot with gcodes lately because of a very special dual extruder I am developing ;). Everytime when I manually want to adjust some gcodes for this dual, I experience those gigantic amounts of gcode.

Why is it that we use stl files instead of step files? Stepfiles use vectors instead of 3 dimensional 'pixels' so the stepfiles are smaller in size (there is no resolution), contain better information and are still adjustable in software like solidworks and inventor.

Another thing is that stepfiles use radii. In the world of cnc milling we use the gcodes G02 and G03 to indicate an arc with a specified radius. I think if we use this in 3d printing gcodes, the gcodes will get smaller in size and it is more clearly to make manual adjustments to it.

Perhaps this is a kick in the right direction, or maybe it's complete nonsense, but I wanted to say it anyway.

I also found out Cura doesn't support G02 and G03, obvious, because there are no arcs in an stl file. Maybe an idea for the next cura?

 

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    I'm not saying step files aren't better - they probably are. But...

    stl files also are scaleable (don't use pixels or voxels). If you have too many faces in your stl you can reduce using meshlab. Here's a tutorial:

    http://www.shapeways.com/blog/archives/226-polygon-count-reduction-with-meshlab.html

    G02,G03 would be great for adding to Marlin but... most of the curves in a design are either splines or are not necessarily the same radius in 3 dimensions. So they might not get a radii in step files either.

    But if you are modeling a vertical cylinder it would be nice (horizontal cylinders won't get any advantage from G02,G03).

    - George

     

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    Simplicity. For example, the CuraEngine does a lot of polygon clipping/offseting. As far as I know polygon clipping with curves is not a fully solved issue like it is with straight lines. (for which I use Clipper btw: http://www.angusj.com/delphi/clipper.php )

    I have, somewhere on my wish list, "Loading STEP files into Cura". But don't expect curves or arcs anytime soon in the GCode from me. But if I have curves before making the layer slices I can put a nice resolution to the arcs that is suited for your printer, instead of having a huge STL file.

     

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    Daid - Does Cura downsample the STL files at all? I get the impression that it doesn't, such that when printing a high res 3D scan for instance, with a lot of geometry, I seem to get overly detailed sections with very short line segments that cause stuttering - presumably due to buffer underruns, even from SD card.

    I know that thin/small sections get filtered out during slicing, but that doesn't seem to be the case for detailed parts of otherwise large islands.

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    Details get reduced, but only to the point where you do not change the print result, and some very small things can still impact the results. I know it can generate GCode which causes slowdown even on SD printing. But else I had reduction of visual details.

     

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    Both kisslicer and Slic3r allow you to set a sampling resolution (which is the only way I can get Slic3r to even process some of my STLs) and I think it would be good if Cura had that option under the hood somewhere. I suspect that the uneven extrusion due to slowdowns and stutters does more harm than any minimal benefit from capturing marginal extra detail.

    I know I can decimate the mesh externally, but I prefer to keep one detailed mesh that I can print at a range of sizes, rather than having lots of files at different scales.

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    The stuttering isn't buffer underruns - it's actually vibrating in and out of tiny nooks and crannies in the STL as requested by the STL.

     

  • Link to post
    Share on other sites

    Posted · Stepfiles and G02/G03 arc gcodes

    Why not use Repsnapper to create your G-code? This supports Arc G-code: G02 and G03.

     

  • Link to post
    Share on other sites

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now
    • Our picks

      • UltiMaker Cura 5.8 Stable released 🎉
        In the Cura 5.8 stable release, everyone can now tune their Z seams to look better than ever. Method series users get access to new material profiles, and the base Method model now has a printer profile, meaning the whole Method series is now supported in Cura!
        • 5 replies
      • Introducing the UltiMaker Factor 4
        We are happy to announce the next evolution in the UltiMaker 3D printer lineup: the UltiMaker Factor 4 industrial-grade 3D printer, designed to take manufacturing to new levels of efficiency and reliability. Factor 4 is an end-to-end 3D printing solution for light industrial applications
          • Thanks
          • Like
        • 3 replies
    ×
    ×
    • Create New...