Relative Extrusion CuraEngine February 11, 2014 02:27PM |
Registered: 13 years ago Posts: 2,947 |
CURA_ENGINE_REPO="https://github.com/Intrinsically-Sublime/CuraEngine"which will pull in my version of the engine with Relative E enabled when you compile it. I have not made any changes to Cura's front end so there is no switch. It also does not insert the M83 to set the firmware to relative E.
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 12, 2014 02:22PM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 13, 2014 01:40AM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 21, 2014 08:31PM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 24, 2014 08:39PM |
Registered: 13 years ago Posts: 486 |
Re: Relative Extrusion CuraEngine February 24, 2014 09:06PM |
Registered: 13 years ago Posts: 2,947 |
Quote
Greg Frost
are you going to pull request these changes? I have been trying unsuccessfully so far to build it on windows and would love to give the inset change a try.
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 24, 2014 10:48PM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 25, 2014 03:02AM |
Registered: 11 years ago Posts: 72 |
Re: Relative Extrusion CuraEngine February 25, 2014 03:35AM |
Registered: 13 years ago Posts: 2,947 |
Quote
Kenzu
Why would one use Relative E values instead of Absolute? Just ask because I dont know about it. :-)
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 25, 2014 04:17AM |
Registered: 11 years ago Posts: 72 |
Quote
Sublime
Quote
Kenzu
Why would one use Relative E values instead of Absolute? Just ask because I dont know about it. :-)
It is easier to post process the gcode. (like splice multiple gcode files together or change the retraction values, etc)
It is easier to manually write or change the gcode.
The start and end gcode is much easier without any G92 E0 's
The firmware does not have to track really high values that can cause an over flow in the firmware.
It is easier to find bugs in the gcode because things like the retractions really stand out.
It is an option in every other slicer as well as all firmwares (just not Cura).
Easier to change filament mid print (no worrying about the current E value).
No chance of the extruder running in reverse for a few cm because the extruder had not been reset.
Re: Relative Extrusion CuraEngine February 25, 2014 11:55AM |
Registered: 13 years ago Posts: 2,947 |
Quote
Kenzu
Quote
Sublime
Quote
Kenzu
Why would one use Relative E values instead of Absolute? Just ask because I dont know about it. :-)
It is easier to post process the gcode. (like splice multiple gcode files together or change the retraction values, etc)
It is easier to manually write or change the gcode.
The start and end gcode is much easier without any G92 E0 's
The firmware does not have to track really high values that can cause an over flow in the firmware.
It is easier to find bugs in the gcode because things like the retractions really stand out.
It is an option in every other slicer as well as all firmwares (just not Cura).
Easier to change filament mid print (no worrying about the current E value).
No chance of the extruder running in reverse for a few cm because the extruder had not been reset.
wow, what a list :-)
Can I use it with volumetric e? Just made the switch. [reprap.org]
Edit:
Just had a look at gcodes on reprap wiki.
Do you use "G91: Set to Relative Positioning" too? or only "M83: set extruder to relative mode"?
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 25, 2014 08:05PM |
Registered: 13 years ago Posts: 486 |
gcodeExport.cpp: In member function 'void GCodeExport::writeMove(Point, int, int)': gcodeExport.cpp:228:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
--- ../Cura/package.sh Wed Feb 26 10:22:39 2014 +++ ./package.sh Tue Feb 18 01:27:48 2014 @@ -34,7 +34,7 @@ ############################# function checkTool { - if [ -z `which $1` ]; then + if [ -z "`which $1`" ]; then echo "The $1 command must be somewhere in your \$PATH." echo "Fix your \$PATH or install $2" exit 1
Re: Relative Extrusion CuraEngine February 25, 2014 08:36PM |
Registered: 13 years ago Posts: 486 |
Re: Relative Extrusion CuraEngine February 25, 2014 10:14PM |
Registered: 13 years ago Posts: 2,947 |
Quote
Greg Frost
Sublime: If you are going to submit a pull request, you might want to fix a few things up.:
I got a compiler warning as a result of one of your changes:
gcodeExport.cpp: In member function 'void GCodeExport::writeMove(Point, int, int)': gcodeExport.cpp:228:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
You need to put braces around your new if clause.
Quote
Looking at your code you have not followed the indenting scheme in the rest of the file either which is the sort of thing people hate when accepting pull requests. You might also want to check fffProcessor.h:307,309 inset.cpp:17
-void generateInsets(SliceLayerPart* part, int offset, int insetCount) <- original +void generateInsets(SliceLayerPart* part, int offset, int insetCount, int perimInset) <- my versionIf you look at the diff [github.com] you will see I only added one variable to a couple of files in the Cura engine and as far as the diff looks it is all exactly as it should.
There should be an installer in the scripts folder.Quote
Another thing I noticed was (and this is unrelated to your changes) in Cura package.sh on line 37, because there are no double quotes around the `which $1` you get a syntax error if the path to $1 contains a space (which im my case it did because i had 7zip installed under "Program Files" as is the default on windows).
--- ../Cura/package.sh Wed Feb 26 10:22:39 2014 +++ ./package.sh Tue Feb 18 01:27:48 2014 @@ -34,7 +34,7 @@ ############################# function checkTool { - if [ -z `which $1` ]; then + if [ -z "`which $1`" ]; then echo "The $1 command must be somewhere in your \$PATH." echo "Fix your \$PATH or install $2" exit 1
Thanks for the build tip. I was just running package.sh without the win32 argument and I think the problems I was having were building for other platforms.
Now I just need to work out how to run the version that appeared to build successfully.
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 25, 2014 10:14PM |
Registered: 13 years ago Posts: 2,947 |
Quote
Greg Frost
hmmm. I got it to run, but then had some problems.
The first run wizard went through ok and I entered a custom machine profile with 0.5mm nozzle and selected relative E.
Then when it got to the cura interface, Shell thickness was highlighted red. When I click in the field, it says "incorrect nozzle size". I went into the machine settings again and there no longer seems to be a place to enter the nozzle size. Something seems screwed up with the settings.
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 26, 2014 12:55AM |
Registered: 13 years ago Posts: 486 |
Re: Relative Extrusion CuraEngine February 26, 2014 01:17AM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine February 26, 2014 03:02AM |
Registered: 11 years ago Posts: 72 |
Quote
Sublime
Quote
Kenzu
Quote
Sublime
Quote
Kenzu
Why would one use Relative E values instead of Absolute? Just ask because I dont know about it. :-)
It is easier to post process the gcode. (like splice multiple gcode files together or change the retraction values, etc)
It is easier to manually write or change the gcode.
The start and end gcode is much easier without any G92 E0 's
The firmware does not have to track really high values that can cause an over flow in the firmware.
It is easier to find bugs in the gcode because things like the retractions really stand out.
It is an option in every other slicer as well as all firmwares (just not Cura).
Easier to change filament mid print (no worrying about the current E value).
No chance of the extruder running in reverse for a few cm because the extruder had not been reset.
wow, what a list :-)
Can I use it with volumetric e? Just made the switch. [reprap.org]
Edit:
Just had a look at gcodes on reprap wiki.
Do you use "G91: Set to Relative Positioning" too? or only "M83: set extruder to relative mode"?
No G91. We only use Relative for the E axis.
Yes you can still use Triffid_hunters volumetric E calibration.
The only difference with Relative E is each E value is for the line segment being printed instead of the total E from the previous lines plus the current line segment. A lot of the experienced users that get great results use relative E (Nophead, Richgain, Myself, to name a few) and it looks like the only reason most people use Absolute is because it is the default set in most firmware with the exception of Teacup (Teacup is written by Triffid_hunter).
Re: Relative Extrusion CuraEngine April 15, 2014 12:14PM |
Registered: 11 years ago Posts: 565 |
Re: Relative Extrusion CuraEngine April 16, 2014 12:07PM |
Registered: 13 years ago Posts: 2,947 |
Quote
Hux Flux
Is there someone who can compile this for W7?
Im to silly to do this or it doenst work for me.
Thanks in advance
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine May 29, 2014 11:37PM |
Registered: 11 years ago Posts: 69 |
Re: Relative Extrusion CuraEngine May 29, 2014 11:53PM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine May 30, 2014 06:59PM |
Registered: 11 years ago Posts: 69 |
Re: Relative Extrusion CuraEngine June 11, 2014 09:34PM |
Registered: 11 years ago Posts: 1,320 |
Re: Relative Extrusion CuraEngine June 11, 2014 11:30PM |
Registered: 13 years ago Posts: 2,947 |
Quote
jbernardis
I can't get cura to do any retraction. I am using Sublime's 14.02-RC5, and have the following retraction settings: retraction_enable=true, retraction_speed = 30; retraction_amount = 2; retraction_min_travel 2; retraction_combing = True; retraction_min_extrusiobn = 0.05; retraction_hop = 0.
Every time the print head does a non-extrusion move, it just continues smoothly at the same speed to the new location. The extruder gear stops turning, but it never reverses. Many of these moves are greater than the 2mm minimum travel, so I don't know why it's not retracting.
Any ideas?
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine June 11, 2014 11:51PM |
Registered: 11 years ago Posts: 1,320 |
Re: Relative Extrusion CuraEngine June 12, 2014 10:30PM |
Registered: 11 years ago Posts: 1,320 |
Re: Relative Extrusion CuraEngine June 13, 2014 12:25AM |
Registered: 13 years ago Posts: 2,947 |
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |
Re: Relative Extrusion CuraEngine June 26, 2014 11:17AM |
Registered: 11 years ago Posts: 1,320 |
Re: Relative Extrusion CuraEngine June 26, 2014 11:43AM |
Registered: 13 years ago Posts: 2,947 |
Quote
jbernardis
What is it going to take to get your inset feature merged into the main cura branch? I can attest to the accuracy of the models sliced with Cura. I just printed the same piece sliced with both Cura and Slic3r. The piece has pockets for 20x20 aluminum extrusions, a 608 bearing, two holes for 8mm smooth bars, and several bolt holes. I used actual dimensions in my openscad source.
The Cura printed object was absolutely perfect. Everything fit perfectly and snugly. With the slic3r printed object, not only did I have to ream holes a bit larger, but I had to use my mallet as a persuader.
Any time I need absolute dimensional accuracy, Cura is the slicer of choice.
Quote
My only complaints with Cura are:
- I solved the retraction issue discussed above by turning off the "retraction combing" feature. The only time I have an issue in this regard is when it moves from the skirt to the object first layer. It does not retract, and since we are in the first layer, I sometimes get a smear of filament over to the starting point. If it happens to be on an interior perimeter (which it usually is) the smear appears on the exterior bottom of the final object, and
- I just wish it was better at bridging.
FFF Settings Calculator | Gcode post processors | Geometric Object Deposition Tool Blog |
Tantillus.org | Mini Printable Lathe | How NOT to install a Pololu driver |