Sorry, I have amended the code above. The last ] should not be on a new line. Also make sure the first line does not have spaces in front of it; that's the forum "improving" my code.
- 2 years later...
Hello, does someone perhaps know if it is possible to add the z coordinate as well? The clips are not infinite high, and it would be nice if the printer can print above the clips.
Another question, is it possible to see this area in Cura? Because now it is only possible to see if the block will fit in the box and if it is yellow or not (no feedback why it is not yellow, but this is because of the clips).
Thanks in advance!
41 minutes ago, tim_t said:does someone perhaps know if it is possible to add the z coordinate as well?
I know that it is not possible to include a z coordinate with the unprintable areas.
Okay too bad, than I guess there is also no option to view the disallowed areas in Cura?
DivingDuck 105
You need to reload Cura when you made changes. The display of disallowed areas are updated then with the new positions.
Okay thanks both for responding
- 1 year later...
On 12/10/2017 at 1:12 PM, ahoeben said:
machine_disallowed_areas = [ [[-115, 112.5], [ -82, 112.5], [ -84, 102.5], [-115, 102.5]], [[ 115, 112.5], [ 115, 102.5], [ 110, 102.5], [ 108, 112.5]], [[-115, -112.5], [-115, -104.5], [ -84, -104.5], [ -82, -112.5]], [[ 115, -112.5], [ 108, -112.5], [ 110, -104.5], [ 115, -104.5]]
I think it changed a lot, for cura 5.1 it will not even load, would it be possible to know what is the "updated" instructions to do that in cura 5.1.
thanks in advance
Looks like there was a missing ] at the end of my snippet. It should still work in Cura 5.1
I found a code that was for disaloed area in another printer and just copy pasted it, after modifications it looks like that
"material_diameter": { "default_value": 1.75 }, "machine_disallowed_areas": { "default_value": [ [[-50, 74], [ 24, 74], [ 24, 69], [-50, 69]], [[ 10, 74], [ 84, 74], [ 84, 69], [ 10, 69]], [[ -97.5, -69], [ -38.5, -69], [ -38.5, -74], [ -97.5, -74]], [[ 25, -69], [ 79, -69], [ 79, -74], [ 25, -74]], [[-113, 20], [-74, 20], [ -74, -20], [ -113, -20]] ]}, "machine_extruder_count": { "default_value": 2 },
Edited by Will187
gramar eror
- 3 months later...
Hey, here the result for me trying this solution.
After adding this content to my .cfg file as described:
machine_disallowed_areas = [
[[-100,100],[100,100],[100,70],[-100,70]],
[[-100,100],[-95,100],[-95,-100],[-100,-100]],
[[-100,-90],[100,-90],[100,-100],[-100,-100]],
[[100,-100],[95,-100],[95,100],[100,100]]
]
I got the following result
Hope this will help ;)
- 1
- 5 months later...
Thanks for this thread. I used it to override / remove the default No-print areas on Cura from initial set up.
I added the following to my printer's .inst.cfg file:
machine_disallowed_areas = [
[[ -117.5, -117.5 ], [ -117, -117.5 ], [ -117, -117 ], [ -117.5, -117 ]]]
which added a very small no-print area at the very bottom left corner, and wiped the annoying default no-print areas.
Recommended Posts
ahoeben 1,981
Yes, this is possible, but not without editing files by hand.
Go to Help -> Show Configuration folder. Inside the "definition_changes" folder, there should be a .inst.cfg file for your custom printer. In that file, you would add something like:
These are 4 sets of 4 [x,y] coordinates, each describing a disallowed area.
Edited by ahoebenLink to post
Share on other sites
xile6 0
Thank you for the information.
It doesnt seem to be working for me.
I save the file and when i reload cura it has removed my printer.
Link to post
Share on other sites