Jump to content
Ultimaker Community of 3D Printing Experts

Recommended Posts

Posted · Custom nozzle prime

Hey, I'm in the process of making a custom definition file for my delta printer, I also have variant files for different nozzle sizes.

 

For priming my nozzle I used to use skirts because that was easy. I experimented a bit and was able to determine that my printer needed about 60mm^3 of filament to fully prime my nozzles. This allowed me to calculate my minimal skirt length, for different layer heights and nozzle/line_widths, in the "overides":{...} section of my definition file:

"skirt_brim_minimal_length": {
	"default_value": 750,
	"value": "60/(layer_height_0*line_width)",
},

 

The problem with using skirts is that my maximum build area is reduced. So I'm looking at other ways of priming my nozzle which have a minimal influence on my printing area and which I don't have to worry about removing during the print because the might interfere with the print it self. I thought of using a G2 arc command in the start code of my machine. This way I can print at the very outside of my bed and the gcode itself is very small.

The problem I'm encountering during the implementation ist that I would ne to insert calculated values into the start code. And I'm not sure on how to achieve this. Here is an example of what I would like to do but what sadly doesn't work:
 

"platform_adhesion": {
	"children": {
		"_prime_arc_start_x": {
			"label": "Prime arc start point in x",
			"description": "The starting point in x-axis direction of the priming arc",
			"unit": "mm",
			"type": "float",
			"default_value": "0"
		},		
	}
}
},




"overrides": {
"default_value": "G1 X + '_prime_arc_start_x'"

}

I've played around quite a bit with this but haven't been successful. I've tried:

- changing the type from "float" to string"

- using python syntax to put variable into the string (link)

Even if I get this to work I'm not sure on how this would behave if I change my nozzle/variant once cura has been started.

 

Does anyone have any ideas on how I could either put values into my start code or have any other suggestions on how to prime my nozzle in a good way using the priming volume of 60mm^3?

Greetings 
Daniel


 

  • Link to post
    Share on other sites
    Posted · Custom nozzle prime

    Default_value can never be anything that is interpreted by python. I think you could try the following:

     

    "value": "'G1 X' + str(_prime_arc_start_x)"

    • Like 1
    Link to post
    Share on other sites
    Posted (edited) · Custom nozzle prime
    On 4/7/2020 at 3:38 PM, nallath said:

    Default_value can never be anything that is interpreted by python. I think you could try the following:

     

    "value": "'G1 X' + str(_prime_arc_start_x)"

     

    Thanks for the answer, that worked perfectly. 

    But I must admit I found a simpler solution to my problem. I was frustrated by using skirts because it took away too much from my build area. But this was only due to the fact that I had set the skirt distance to 10 mm. should work out perfectly:

     

    "adhesion_type": { "default_value": "skirt"},
    "skirt_brim_minimal_length": 
    {
    	"default_value": 750,
    	"value": "60/(layer_height_0*line_width)",
    	"minimum_value": "0",
    	"minimum_value_warning": "25",
    	"maximum_value_warning": "4000"
    },
    "skirt_gap": { 
    	"default_value": "1`",
    	"value": "3*wall_line_width_0"
    },
    

     

    Edited by schpongo
  • 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

      • Talking additive | The 3D printing podcast
        Why should we be the only ones asking questions? Join us and ask Jabil all your questions on September 22nd 5pm CET
          • Like
        • 3 replies
      • Ultimaker masterclass: Optimizing your Ultimaker Cura workflow
        Save your seat for either broadcast on September 23.
        What will you learn?
        · Best practices for iterative print preparation and every lesson you should learn from each print
        · The right way to use per-object settings and when they are most useful
        · Easy-to-use resources for anyone who wants to develop their own printer definitions, plugins, or print profiles
        · How to optimize print profile settings and whether to “keep” or “discard” changes
        · When is the right time to export your drawing from CAD? (Based on Ultimaker Cura’s surprising power as 3D control software)
        · And a whole lot more tips and tricks!
         
        How can I join?
        This free masterclass will take place twice:
        1. 11am CEST (5pm SGT, 5am EDT)
        2. 5pm CEST (11am EDT, 8am PDT, 11pm SGT)
          • Like
        • 0 replies
      • Do you use 3D printing at work? Let us know
        It doesn't matter if you are using 1 Ultimaker or 10, there is inspiration in everything. We're looking for ...
        • 1 reply
    ×
    ×
    • Create New...