Jump to content
UltiMaker Community of 3D Printing Experts

CuraEngine Settings Help


mersault

Recommended Posts

Posted (edited) · CuraEngine Settings Help

Hello, I'm just trying to use CuraEngine from terminal and I seem to running into some trouble. I've dumped all the definition and extruder jsons into a single folder just to eliminate dependencies as an issue. 

In particular these are the warning messages I get.

 

[WARNING] Trying to override unknown setting retraction_speed.

[WARNING] Trying to override unknown setting speed_layer_0.

[WARNING] Trying to override unknown setting line_width.

[WARNING] Trying to override unknown setting cool_fan_full_at_height.

[WARNING] Trying to override unknown setting bottom_thickness.

[WARNING] Trying to override unknown setting top_thickness.

[WARNING] Trying to override unknown setting infill_sparse_density.

[WARNING] Trying to override unknown setting wall_thickness.

[WARNING] Trying to override unknown setting speed_print.

[WARNING] Trying to override unknown setting support_z_distance.

[WARNING] Setting an unregistered setting material_diameter to 1.75

 

Why are the settings unknown and how is "material_diameter" unregistered? Looking into the fdmextruder.def.json, "material_diameter" is the setting to override to set the material diameter.

 

Sorry if this question is trivial but I can't seem to find documentation for using CuraEngine from the terminal.

Edited by mersault
  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    Thanks for the quick reply. I do have the verbosity parameter set, '-v' and it seems to be loading the definition files just fine. I don't see any messages about any definitions failing to load.

    Loading /home/bryant/Documents/work/mmqualityfinal/public/cura/definitions/robo_3d_r1.def.json…
    
    Loading /home/bryant/Documents/work/mmqualityfinal/public/cura/definitions/fdmprinter.def.json…

    Warnings here

    Loading /home/bryant/Documents/work/mmqualityfinal/public/cura/definitions/robo_3d_r1_extruder_0.def.json…
    
    Loading /home/bryant/Documents/work/mmqualityfinal/public/cura/definitions/fdmextruder.def.json…

     

     

    They all seem to be loading fine. But the warnings I listed above are sandwiched between the Loading messages. Is that an issue? like the extruder definitions need to be loaded first as well. Do I need to use the "-e" parameter to switch the setting focus to the extruder?

     

  • Link to post
    Share on other sites

    Posted (edited) · CuraEngine Settings Help

    ./cura/CuraEngine slice -v -p -j ~/definitions/robo_3d_r1.def.json
                    -s layer_height= ...
                    -s wall_thickness= ...
                    -s infill_sparse_density= ...
                    -s support=
                    -s machine_center_is_zero=
                    -s adhesion_type=
                    -s material_print_temperature=
                    -s material_bed_temperature=
                    -s top_thickness=
                    -s speed_support_bottom=
                    -s speed_print=
                    -s speed_travel=
                    -s retraction_amount=
                    -s cool_fan_speed_min=
                    -s cool_fan_speed_max=
                    -s cool_fan_full_at_height=
                    -s cool_min_layer_time=
                    -s cool_fan_enabled=
                    -s material_diameter=
                    -s machine_nozzle_size=
                    -s brim_line_count=
                    -o '.... ' -l '...';

     

    Of course I'm passing in values and specifying a output and stl to load. Am I doing everything in the right order?

    Edited by mersault
  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help
    24 minutes ago, mersault said:

    -j /definitions/robo_3d_r1.def.json

    really?  You created a new root folder for this?  Are you sure you don't mean ~/definitions?  Or remove the first slash?

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    Yeah, my bad. I forgot the tilde.

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    Not sure about the order of "-l" and "-o" but this shouldn't make a difference.

    Take a look at the "robo_3d_r1.def.json" definition file. It inherits from other more generic definition files and these need to be present in the same directory (well at least it would work if that's the case).

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    Yeah, it inherits from fdmprinter.def.json, which loads.

    One question though, which might solve my problem. What version of CuraEngine does the Cura use? I was using the master but I just pulled that latest release of CuraEngine(2.7.0) an I'm getting the same issue. What version of Cura are the definition files compatible with that latest release of CuraEngine (2.7.0 )? Or should that not matter?

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    2.7 is not the latest release. 3.4.1 is.

  • Link to post
    Share on other sites

    Posted (edited) · CuraEngine Settings Help
    1 hour ago, ahoeben said:

    2.7 is not the latest release. 3.4.1 is.

     

    Mk, thanks. It says explicitly that its for cura 3.4.1 and using the definition from that fixed the unregistered setting warning forme. But I'm still getting the

    "Trying to override unknown setting..."

     

    warnings.

    Edited by mersault
  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    @smartavionics have any ideas?

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    Note that Cura does not use the command-line like this. Instead it launches CuraEngine and the uses a protocol named “Arcus” (based of protobuf) to communicate meshes and settings. The command line is only ever used for some quick tests here and there, and is not officially supported anymore.

  • Link to post
    Share on other sites

    Posted · CuraEngine Settings Help

    https://github.com/Ultimaker/CuraEngine/issues/450#issuecomment-417569746

     

    Found my answer a while ago.

    And I think passing settings through the command line is supported, just very minimally. Meaning all "children" settings have to be calculated by "parent" setting yourself. CuraEngine will not handle that for you. From what I understand, if you use CuraEngine through the command line it will just inherit every value it can from the definition file you provide it (from resource/defintions in Cura) and will override any "leaf/children" settings you provide with -s.

    Please correct me if I'm wrong.

  • 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.3 stable released
        In this stable release, Cura 5.3 achieves yet another huge leap forward in 3D printing thanks to material interlocking! As well as introducing an expanded recommended print settings menu and lots of print quality improvements. Not to mention, a whole bunch of new printer profiles for non-UltiMaker printers!
          • Thanks
          • Like
        • 31 replies
      • Here it is. The new UltiMaker S7
        The UltiMaker S7 is built on the success of the UltiMaker S5 and its design decisions were heavily based on feedback from customers.
         
         
        So what’s new?
        The obvious change is the S7’s height. It now includes an integrated Air Manager. This filters the exhaust air of every print and also improves build temperature stability. To further enclose the build chamber the S7 only has one magnetically latched door.
         
        The build stack has also been completely redesigned. A PEI-coated flexible steel build plate makes a big difference to productivity. Not only do you not need tools to pop a printed part off. But we also don’t recommend using or adhesion structures for UltiMaker materials (except PC, because...it’s PC). Along with that, 4 pins and 25 magnets make it easy to replace the flex plate perfectly – even with one hand.
         
        The re-engineered print head has an inductive sensor which reduces noise when probing the build plate. This effectively makes it much harder to not achieve a perfect first layer, improving overall print success. We also reversed the front fan direction (fewer plastic hairs, less maintenance), made the print core door magnets stronger, and add a sensor that helps avoid flooding.
         

         
        The UltiMaker S7 also includes quality of life improvements:
        Reliable bed tilt compensation (no more thumbscrews) 2.4 and 5 GHz Wi-Fi A 1080p camera (mounted higher for a better view) Compatibility with 280+ Marketplace materials Compatibility with S5 project files (no reslicing needed) And a whole lot more  
        Curious to see the S7 in action?
        We’re hosting a free tech demo on February 7.
        It will be live and you can ask any questions to our CTO, Miguel Calvo.
        Register here for the Webinar
          • Like
        • 18 replies
      • UltiMaker Cura Alpha 🎄 Tree Support Spotlight 🎄
        Are you a fan of tree support, but dislike the removal process and the amount of filament it uses? Then we would like to invite you to try this special release of UltiMaker Cura. Brought to you by our special community contributor @thomasrahm
         
        We generated a special version of Cura 5.2 called 5.3.0 Alpha + Xmas. The only changes we introduced compared to UltiMaker Cura 5.2.1 are those which are needed for the new supports. So keep in mind, this is not a sneak peek for Cura 5.3 (there are some really cool new features coming up) but a spotlight release highlighting this new version of tree supports.  
          • Like
        • 25 replies
    ×
    ×
    • Create New...