Why don't you use Cura slicer?
-
Hi @denke, you will need to ask the fedora people for that as they will be creating it, not Ultimaker or the contributors.
-
While I'm here I'll just mention that my bridging code has now been merged into Cura as an experimental feature and so it is very likely to be available in the next release (3.3) which should be in beta within a few weeks. If you can build Cura from source, it's available now in the master branches.
I have tried to make it as flexible as possible so there are quite a lot of settings but most are pretty obvious. For walls and the first skin layer the print speed, %flow and %fan can be specified. Optionally, those settings can also be specified for the next 2 skin layers. I found I got the best results if the first skin was made from thin lines printed slowly with 100% fan, the next skin is printed with thicker lines with some gaps between them and no fan. The 3rd layer is printed thicker again with no fan. This produces bridges with very good layer bonding. Long bridges still droop a little in the middle but it's hard to see how that can be completely avoided.
One other feature is that the wall speed/flow/fan settings can also be applied to overhangs so that now if you have been printing walls slowly simply to improve the quality of overhang regions, then you can now print the walls at the normal speed where they don't overhang and where they do overhang, the bridge settings will be used.
Anyway, within a couple of weeks you can have a play with this if you wish.
-
While I'm here I'll just mention that my bridging code has now been merged into Cura as an experimental feature and so it is very likely to be available in the next release (3.3) which should be in beta within a few weeks. If you can build Cura from source, it's available now in the master branches.
I have tried to make it as flexible as possible so there are quite a lot of settings but most are pretty obvious. For walls and the first skin layer the print speed, %flow and %fan can be specified. Optionally, those settings can also be specified for the next 2 skin layers. I found I got the best results if the first skin was made from thin lines printed slowly with 100% fan, the next skin is printed with thicker lines with some gaps between them and no fan. The 3rd layer is printed thicker again with no fan. This produces bridges with very good layer bonding. Long bridges still droop a little in the middle but it's hard to see how that can be completely avoided.
One other feature is that the wall speed/flow/fan settings can also be applied to overhangs so that now if you have been printing walls slowly simply to improve the quality of overhang regions, then you can now print the walls at the normal speed where they don't overhang and where they do overhang, the bridge settings will be used.
Anyway, within a couple of weeks you can have a play with this if you wish.
That's great. Can't wait to try it out. Sounds like it will not only match what other slicers are doing, but surpass them.
-
That should work; but I can implement the form you originally proposed if you prefer.
I would prefer that you do that rather having the words repeated. If it could accept one or more lengths (with the m suffix) separated by commas (or not, your choice), that would be great. Thanks.
I have added code in RC4 to recognise this format:
; Filament used: 3.2m, 6.5m
where the "m" can also be replaced by nothing (in which case mm will be assumed) or by mm.
-
Thanks David, I will do the required change for Cura.
-
Could someone who uses Cura do a quick test for me? Slice something that has circles, like a cylinder and see if the segments are all the same size. With Slic3R (various versions inc PE) they aren't. IIRC from a previous post, I believe that S3D likewise generates different size segments for circles.
Whilst I do get true circles, it seems that the unequal segment sizes may trigger the pressure advance algorithm causing the print head to act in strange ways.
Also, is anyone using Cura with multi part (coloured) stls? Is it possible to assign different tools to different parts?
Thanks
-
Could someone who uses Cura do a quick test for me? Slice something that has circles, like a cylinder and see if the segments are all the same size. With Slic3R (various versions inc PE) they aren't. IIRC from a previous post, I believe that S3D likewise generates different size segments for circles.
Whilst I do get true circles, it seems that the unequal segment sizes may trigger the pressure advance algorithm causing the print head to act in strange ways.
Also, is anyone using Cura with multi part (coloured) stls? Is it possible to assign different tools to different parts?
Thanks
I just sliced a tube using Cura and as far as I can see, the segments are all very similar in length. Mind you, the model itself isn't very high resolution so the segments are all quite long (but uniform).
Edit: to put that into perspective, a circular wall made from line segments around 0.7mm long was showing min and max segment lengths of 0.706 and 0.708 so not much variation there.
-
I just sliced a tube using Cura and as far as I can see, the segments are all very similar in length. Mind you, the model itself isn't very high resolution so the segments are all quite long (but uniform).
Edit: to put that into perspective, a circular wall made from line segments around 0.7mm long was showing min and max segment lengths of 0.706 and 0.708 so not much variation there.
Thanks. That's interesting. Can you tell me what diameter the tube was so that I can see what Slic3R does with it? I've tried both low(ish) and high resolution in OpenScad by varying $fn or $fa and $fs and while the resultant stl file is vastly different, the sliced gcode file is identical. So Slic3R seems to discard much of the resolution and do it's own thing. Maybe there is a minimum segment size in the code somewhere? That doesn't explain why segment sizes for a given curve should vary though.
Also, do you have any information about multi part (more than 2 colour) printing with Cura?
Thanks
-
This is the STL I looked at:
https://www.dropbox.com/s/73grb7v7kluomer/pb4-vmon-enclosure-tube.stl?dl=0
Sorry, I know nothing about multi-part printing with Cura other than I know that it can support up to 8(?) extruders.
-
one thing with cura as I think I found yesterday a friend of mine said that if he tried to reprint a part sliced in Cura his printer went haywire and doing some very funny moves. Checking his code file found this at the end of it
M82 ;absolute extrusion mode
M107
M104 S0 ;extruder heater off
M140 S0 ;heated bed heater off (if you have it)
M107 ; Pump Off
G91 relative positioning
G1 Z200
M83 ;relative extrusion mode
M104 S0
;End of Gcodethis is his end script
M104 S0
M140 S0
M106 S0
;Retract the filament
G92 E1
G1 E-1 F300
G1 Z200 F6000
;G28 X0 Y0
;M84 Turn Off Stepperswhy is Cura putting that G91 in the ending part of the code file?
so do beware of that, not sure if it his config or not as I don't use Cura myself
Doug
-
Interesting, as far as I can tell, the G91does not get generated by the back end so it must be coming from the front end and that could either be because the front end code generates it or it is in the printer profile or the user has put it into a script.
I notice two things in the above gcode: (1) there is no ; between the G91 and the following comment and (2) the line above the G91 has a comment that includes the word Pump which cannot be found in the Cura git repos so I think that's something the user has put in (maybe along with the G91?).
-
OK got to the bottom of it he had that G91 line in one profile not the other! doh I have told him off lol
Sorry for the trouble.
-
This is the STL I looked at:
https://www.dropbox.com/s/73grb7v7kluomer/pb4-vmon-enclosure-tube.stl?dl=0
Sorry, I know nothing about multi-part printing with Cura other than I know that it can support up to 8(?) extruders.
Cheers for that. I tried the stl in the link and the sliced gcode from Slic3R looks fine.
Sorry to be a pain but if you get chance, could you try slicing this stl https://drive.google.com/file/d/1KkKqj7XFhuZ5ue1plYmIRYN014zYtFcB/view?usp=sharing. It's simply hollow cylinders of various sizes. I sliced it just as one or two perimeters (can't remember which) with no infill so all the segments for given cylinder should be the same but here is a random sample of the resultant gcode file from Slic3R.G1 X181.823 Y172.046 E0.08974 F2700.000
G1 X181.670 Y173.055 E0.08900
G1 X181.455 Y174.056 E0.08924
G1 X181.180 Y175.043 E0.08926
G1 X180.847 Y176.008 E0.08898
G1 X180.656 Y176.489 E0.04517
G1 X180.238 Y177.417 E0.08871
G1 X179.759 Y178.330 E0.08978
G1 X179.222 Y179.216 E0.09037
G1 X178.651 Y180.043 E0.08757
G1 X178.338 Y180.456 E0.04515
G1 X177.684 Y181.240 E0.08904
G1 X176.984 Y181.983 E0.08895
G1 X176.613 Y182.344 E0.04511
G1 X175.849 Y183.021 E0.08901
G1 X175.043 Y183.653 E0.08927
G1 X174.200 Y184.234 E0.08922
G1 X173.327 Y184.762 E0.08900
G1 X172.871 Y185.010 E0.04517
G1 X171.956 Y185.456 E0.08871
G1 X171.005 Y185.850 E0.08978Just looking at the "E" values, every now and then there is an odd one that's about half the value of the others. I haven't looked at the XY coordinates but I'd guess that the odd "E2 values are due to equally odd segment sizes.
It doesn't do it with every cylinder. Some are spot on, some have larger variances that those above - really strange.
Anyway, I'd be interested to know what Cura does with that file (or any other slicer come to that).
Thanks
-
Sorry, I only have small printers, your cylinders won't fit on the build plate. Can you put them inside each other please or otherwise arrange so that the overall area is reduced.
-
I put your sample of gcode into craftware (great gcode viewer) and most of the line segments were empty because the extrusion amounts are so ridiculously small (like less than 1um of extrusion). I don't know what your steps/mm are but I would be surprised if you have sufficient extruder resolution to be able to print that line at all, let alone good quality.
-
I put your sample of gcode into craftware (great gcode viewer) and most of the line segments were empty because the extrusion amounts are so ridiculously small (like less than 1um of extrusion). I don't know what your steps/mm are but I would be surprised if you have sufficient extruder resolution to be able to print that line at all, let alone good quality.
Not sure what you mean by that. It's a high res file for sure but those extrusion amounts are mostly around 0.08mm (roughly 80 um), which at around 400 steps per mm is 32 steps. It prints fine except when I enable pressure advance.
-
I put your sample of gcode into craftware (great gcode viewer) and most of the line segments were empty because the extrusion amounts are so ridiculously small (like less than 1um of extrusion). I don't know what your steps/mm are but I would be surprised if you have sufficient extruder resolution to be able to print that line at all, let alone good quality.
Not sure what you mean by that. It's a high res file for sure but those extrusion amounts are mostly around 0.08mm (roughly 80 um), which at around 400 steps per mm is 32 steps. It prints fine except when I enable pressure advance.
Ooops, yes, my bad, totally ignore that last comment from me.
-
Ooops, yes, my bad, totally ignore that last comment from me.
No worries.
So I've just been playing around with OpenScad and Slic3R. Created a very simple cylinder, diameter 100mm, height 0.9mm (3 layers). Sliced it with no solid layers, no infill and just a single perimeter. So basically just giving one circuit 100mm diameter. Initially I set $fa to 0.5 and $fs to 0.5. If I understand it correctly, that should generate segments every 0.5 degrees but limit the smallest segment size to 0.5mm. When I sliced it, the resultant gcode file had a lot of variations between each segment. I then progressively changed $fs in 0.5 steps, rendered and sliced. As the segment size increased, the variations in the gcode became less. When I got up to 2.5 mm segment length, there was no noticeable difference between the individual segments in the gcode file.
So that's very odd slicer behaviour.
If you can find time can you run this stl through Cura https://drive.google.com/file/d/1WIgDLucrZK6HuzopwRnsGSMnyaPR0nD3/view?usp=sharing
It's a very simple hollow cylinder 100mm diameter, single perimeter, no solid layers, no infill. In theory the segment size should be about 1mm. Slic3R shows wild variations between each of these segments. e.g:
G1 X228.900 Y161.126 E0.10235
G1 X229.215 Y163.083 E0.10233
G1 X229.452 Y165.053 E0.10240
G1 X229.540 Y166.038 E0.05104
G1 X229.659 Y168.018 E0.10240
G1 X229.699 Y170.000 E0.10233
G1 X229.659 Y171.982 E0.10233
G1 X229.540 Y173.962 E0.10240
G1 X229.452 Y174.947 E0.05104
G1 X229.215 Y176.917 E0.10240
G1 X228.900 Y178.874 E0.10233
G1 X228.507 Y180.819 E0.10239
G1 X228.282 Y181.782 E0.05104Cheers
-
Indeed, with Cura, the segment size is very close to 1mm with approx +/- 1 micron variation in extrusion length per segment. The only exceptions occurred once per revolution where 1 segment was longer than the others so I assume that's what gets left over when openscad divided up the circle. The long segment appeared in the same position on each wall and layer. Here's some of the gcode to compare:
;TYPE:WALL-OUTER
G1 F2400 X34.738 Y35.613 E0.04107
G1 X34.017 Y36.301 E0.04143
G1 X33.289 Y36.97 E0.04111
G1 X32.546 Y37.626 E0.04121
G1 X31.789 Y38.268 E0.04127
G1 X31.019 Y38.895 E0.04128
G1 X30.237 Y39.506 E0.04126
G1 X29.443 Y40.101 E0.04125
G1 X28.638 Y40.68 E0.04123
G1 X27.82 Y41.243 E0.04129
G1 X26.988 Y41.792 E0.04144
G1 X26.154 Y42.32 E0.04104
G1 X25.304 Y42.833 E0.04128
G1 X24.441 Y43.331 E0.04142
G1 X23.571 Y43.811 E0.04131
G1 X22.697 Y44.27 E0.04104
G1 X21.805 Y44.716 E0.04146
G1 X20.914 Y45.14 E0.04102
G1 X20.005 Y45.55 E0.04146
G1 X19.096 Y45.938 E0.04109
G1 X18.177 Y46.31 E0.04122
G1 X17.245 Y46.666 E0.04148
G1 X16.315 Y46.999 E0.04107
G1 X15.375 Y47.314 E0.04122
G1 X14.423 Y47.613 E0.04149
G1 X13.471 Y47.891 E0.04123
G1 X12.518 Y48.149 E0.04105
G1 X11.554 Y48.389 E0.0413
G1 X10.58 Y48.611 E0.04153
G1 X9.616 Y48.811 E0.04093
G1 X8.64 Y48.993 E0.04128
G1 X7.656 Y49.157 E0.04147
G1 X6.679 Y49.3 E0.04105
G1 X5.695 Y49.423 E0.04123
G1 X4.703 Y49.527 E0.04147
G1 X3.714 Y49.611 E0.04127
G1 X2.729 Y49.675 E0.04104
G1 X1.733 Y49.72 E0.04145
G1 X0.741 Y49.744 E0.04125
G1 X-.248 Y49.749 E0.04112
G1 X-1.239 Y49.735 E0.04121Hope this helps.
-
BTW, looking at your small sample of gcode I can see that the extrusion rate is the same for all of the segments. So although some don't extrude as much, they are correspondingly shorter and so the rate remains the same.