Jump to content
UltiMaker Community of 3D Printing Experts

Cura 2.3 machine_disallowed_areas stops any slicing with dual extruders and where has "preSwitchExtruder" gocode gone?


Recommended Posts

Posted · Cura 2.3 machine_disallowed_areas stops any slicing with dual extruders and where has "preSwitchExtruder" gocode gone?

I am trying to move to 2.3.. but....

I have added a very small triangular "machine_disallowed_areas" to my dual extruder printer's .def.json. Now it will not slice at all.

Removing the lines that I added :

"machine_disallowed_areas": {           "default_value": [               [[-34,  -85], [ -85,  -85], [-70,  -70]]]}

makes it print again, so it is just this disallowed area that is stopping the slicing for some reason.

With a single extruder printer, the machines_disallowed_areas seems to work fine and I can slice.

This looks like a bug to me.. Can it be fixed, or is there something else going on?

Second question: where are the "preSwitchExtruder" and postSwitchExtruder" G codes ?? I need these to do some extruder purging when switching extruders... I am sure you must have kept them somewhere, but I cannot find them.

Thanks for the otherwise awesome software!.


  • Link to post
    Share on other sites

    Posted · Cura 2.3 machine_disallowed_areas stops any slicing with dual extruders and where has "preSwitchExtruder" gocode gone?

    Disallow areas apply to both extruders whether they are being used or not. So even if the model is only being printed with one extruder, if the second one might move into the disallow area, I'm betting Cura won't allow it.

    This also would apply to any brim/skirt, raft for the model.

    Move the model farther away from the disallow area and see if it allows it to be sliced.

  • Link to post
    Share on other sites

    Posted · Cura 2.3 machine_disallowed_areas stops any slicing with dual extruders and where has "preSwitchExtruder" gocode gone?

    I tried slicing a tiny part and placing it well away from the disallowed area!

    But it still did not slice. To test, I modified the standard Ultimaker original dual extrusion JSON with just these changes:

     "platform": "kossel_platform.stl",

    (so I can visually see that the machine JSON is different from the original..


    "machine_center_is_zero": {           "default_value": true

    .. Because my machine is center = zero..


    },"machine_disallowed_areas": {           "default_value": [               [[-34,  -85], [ -85,  -85], [-70,  -70]]]}

    .. the test for disallowed areas..

    With just these changes, it refuses to slice:

    SO, I remove the Disallowed area, and restarted and - providing I have the prime tower suitably placed see later...., I can slice...

    What I noticed however is that "red" box showing the prime tower placement ( or the small grey shadow it leaves) is NOT where the final slicing places the box.. I assume that this because there are faults in the program that do not take account of the "center is zero" switch.

    When modifying the tower position, it looks like the "red" ( or greyed box) position that shows the prime tower when you adjust the position is showing in the lower left printbed quadrant, (where 0,0 would be if not center=zero) but when slicing, is properly placed in the top right quadrant.

    You can see in the image that the prime tower is top right, but the "shadow" of the "prime tower location" is down in the left bottom quadrant at 60 x, 40 y.

    As confirmation, I tried to set negative values in the prime tower positions, and the code refuses to accept them, making the data entry box red.. Thiis is definitely a fault as far as Center=zero is concerned.

    I suspect that the disallowed area problem is also related to this issue as my test disallowed areas are negative (so should show in bottom left?) .. but actually result in a greyed area in the top left.. Interestingly, if I use the full set of disallowed areas that produces a near circle, they seem to be "correctly placed, but I strongly suspect that the code is misinterpreting the Y axis for disallowed areas and Center = zero , and that this is the root cause of the refusing to slice.



  • Link to post
    Share on other sites

    • 2 weeks later...

    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

      • 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
        • 10 replies
      • UltiMaker Cura 5.3.0-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
        • 16 replies
      • New here? Get ahead with a free onboarding course
        Often getting started is the most difficult part of any process. A good start sets you up for success and saves you time and energy that could be spent elsewhere. That is why we have a onboarding course ready for
        Ultimaker S5 Pro Bundle, Ultimaker S5, Ultimaker S3 Ultimaker 2+ Connect.   
        They're ready for you on the Ultimaker Academy platform. All you need to do to gain access is to register your product to gain free access. 
        Ready? Register your product here in just 60 seconds.
          • Like
        • 14 replies
    • Create New...