Jump to content

Is there a placeHolder for Max_y_Size


Recommended Posts

Posted · Is there a placeHolder for Max_y_Size

I am trying to work on my startup code


I currently print a stripe down the Left side before I begin to prime the extruder


I was wondering if there is a Variable/PlaceHolder for the Y_Bed Size I could use in my start up so I could "G1 X10 Y(Y_Bed_Size * .75) E15 so it would print the stripe to 75% of the bed.  As I have several different printers, with different bed sizes, and TRYING to standardize my startup code...


PS... for a .40 wide line, what do I need my E value to be, E15 draws a very thin line, the E30 on the way back does the same, pretty thin... not sure what the value should be vs. distance...



  • Link to post
    Share on other sites

    Posted · Is there a placeHolder for Max_y_Size


    The formula for an extrusion at 100% flow is "Volume of Filament In = Volume of Extrusion Out". 

    ((FilDia/2)² x PI) x FilamentLength = LineWidth x LayerHeight x ExtrLength


    Filament Length(Enumber) = (LineWidth x LayerHeight x ExtrLength) / ((FilDia/2)² x PI)

    The FeedRate then dictates the FlowRate of material through the hot end as:

    FlowRate in mm³/sec = Volume of Extrusion / (ExtrusionLength/PrintSpeed in mm/sec)


    If you don't know which printer will get the Gcode file then it is best to have a StartUp Gcode that is suitable for all your printers.  That would mean your purge lines must work on the printer with the smallest build plate "Y".


    Ahoeben also brings up a point.  There is no way to calculate an E value (within the StartUp Gcode) that is dependent on the bed size/length of extrusion.

    Things become more complicated when one printer has 1.75 filament and the other has 2.85 filament.  If that is a possibility then you would need to change ALL the printers, AND Cura, to Volumetric extrusion.


  • 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.6 stable released
        Cura now supports Method series printers!
        A year after the merger of Ultimaker and MakerBotQQ, we have unlocked the ability for users of our Method series printers to slice files using UltiMaker Cura. As of this release, users can find profiles for our Method and Method XL printers, as well as material profiles for ABS-R, ABS-CF, and RapidRinse. Meaning it’s now possible to use either Cura or the existing cloud-slicing software CloudPrint when printing with these printers or materials
        • 3 replies
    • Create New...