Commit Graph

45 Commits (master)

Author SHA1 Message Date
Vitaliy Filippov 837de3498d Do not include homing and heating time in build progress 2014-06-03 23:31:47 +04:00
Kurt Huwig fb628cad06 Fixed segfault when input file has not been found
file_in is initialized with stdin. When opening it, a failure is
indicated by the NULL value assigned to file_in. The application
then tries to close the NULL file descriptor as it is not equal to
stdin which gives a segmentation fault.

This patch adds a check if the file descriptor is NULL and does not
try to close it if this is the case.
2014-04-04 10:04:24 +02:00
WHPThomas 3570fc9518 More work on 2.0
Added scale, log to file, trunkate 8.3 filename comand line switches.
Serial IO implementation continues.
2014-01-09 04:20:51 +10:00
WHPThomas 687ea2bb64 GPX 2.0-alpha
The GPX has been refactored to support re-entrant serial communication
using a pacet driver style callback interface. At this point the
existing code base has been adapted, however the serial interface
driver is still to be written.
2013-11-24 23:04:49 +10:00
WHPThomas 4d4438667d HBP temp change macro support
Added support for @temp macros to script build platform temperature
changes at designated z positions.
2013-11-18 00:37:06 +10:00
WHPThomas 9ddb1a953a Conditional machine definition override
If the command line machine definition is the same as the same as
gpx.ini then the machine definition is no longer re-loaded - which used
to clobber variables set in gpx.ini
Fixed input buffer overflow behaviour. Added print statistics in
verbode mode
2013-11-16 03:17:33 +10:00
WHPThomas e28aad0282 Extended macro syntax
To make macro support in kisslicer easier, GPX macro syntax can either
be ;@macro ... or (@macro …)
2013-09-26 16:24:16 +10:00
WHPThomas fef289d700 Cura plugin
More refinement
2013-09-26 05:03:08 +10:00
WHPThomas ab258e459b Cura plugin
This python script provides GPX post processing support for Cura.
2013-09-26 04:12:22 +10:00
WHPThomas e5cee32c84 Cura support
New -r command line flag to explicily select Reprap gcode flavor. When
Reprap code flavor is enabled, M106/7 is now interpreted as M126/7
(blower fan control).
2013-09-26 04:06:43 +10:00
WHPThomas 171030f758 Buffer overflow detection
This fixes the bug discovered by Enginwiz, the remaining line input
that overflows the input buffer is now ignored.
2013-09-23 06:21:35 +10:00
WHPThomas f3dfa55641 Makerware support & Makerbot/RepG flavor option
Added support for M133, M134, M135, M136 & M137 so gccode from
Makerware cnverts without error. There is also a -g command line flag
and gcode_flavor option to select Makerbot/ReplicatorG interpretation
of M6, M109 and M116.
2013-08-22 21:48:32 +10:00
WHPThomas 3e8b302d39 1.1 Release
New 5D extrusion override -r option
New filament diameter -f command line option
Souce filename now used as build name
280c max temp matches sailfish firmware changes
added filament packing density and nozzle diameter to machine definition
2013-06-05 23:35:06 +10:00
WHPThomas 4f1bf824e0 Bug fixes and more refinement
Fixed a bug in filament scaling when relitive E is enabled. Added ditto
printing to the command line. Made maximum temperature a globally
defned variable. Added support for naked F commands.
2013-05-17 10:59:01 +10:00
WHPThomas bbca583105 Macros enabled after M73 P1 or ;@body encounered
To ensure that macros and x/y/z offsets come into effect after the
start.gcode they are now enabled after a M73 P1 or ;@body macros is
encountered and disabled after M73 P100 or ;@footer macro. See GPX
google group for details.
2013-05-14 12:44:55 +10:00
WHPThomas e150d0ede0 RC5 release 2013-05-13 01:28:10 +10:00
WHPThomas 1a0b856f74 M109 bug fix
Missing break statement
2013-05-13 01:26:03 +10:00
WHPThomas 3e06a9d84f Reformatted usage text to fit in 80 col terminal 2013-05-09 08:50:10 +10:00
WHPThomas a77d71f168 Added command line coordinate space offsets 2013-05-08 19:37:30 +10:00
WHPThomas 63ed97d456 Bug fixes and improvments
Improved temp handling gcodes
Added ;@body macro the flag the end of the start.gcode
Fixed but in SD card writing
Added verbose mode command line option
2013-05-03 23:57:14 +10:00
WHPThomas 140e5aab30 Added lib math to linking 2013-05-02 00:56:44 +10:00
WHPThomas 1bd6c3b20b C99 cross compile fixes 2013-05-01 02:32:47 +10:00
WHPThomas 641c7538c9 Release Candidate 2
Includes support for varying temperature by layer height
2013-04-30 04:26:36 +10:00
WHPThomas 20fc9ef108 Added makefile 2013-04-29 13:54:34 +10:00
WHPThomas f99434bbdd Added built-in support for Cupcakes and TOMs
Also added support for M82, M83, M84 and M116
2013-04-29 01:08:43 +10:00
WHPThomas b67b1a2deb More refactoring
Added a virtual tool carosel so that Tn behaviour more closely follows
the NIST standard wthout breaking anything.
2013-04-26 12:53:47 +10:00
WHPThomas c38c9aca11 Write to SD-Card implemented
Here is another workflow improvement, just add the sd card volume path
in the gpx.ini and if its present it will copy the gpx file to it.
2013-04-25 21:46:44 +10:00
WHPThomas f4ea5f0632 Fixed broken G92 2013-04-23 01:16:40 +10:00
WHPThomas aa582b21ce More improvment and refinement
All features are adressable from the macro language.
Ditto printing should work properly.
Target pisition only calculated by the commands that use them.
Tool changes implemented according to convention.
M300 and M420 support implemented.
2013-04-23 00:22:44 +10:00
WHPThomas c891a9aed5 Macro language implemented 2013-04-22 03:37:12 +10:00
WHPThomas 5a6c85f8a5 Infinite loop bug fix
RPM 5D simulator fully implemented
2013-04-21 02:40:13 +10:00
WHPThomas 30d356bf10 Disable RPM as soon as 5D printing begins 2013-04-20 00:57:33 +10:00
WHPThomas 41de859f40 Updated unit tests for Pause@zPos 2013-04-20 00:27:11 +10:00
WHPThomas b6ec0f9328 Pause @ zPos
Support for the new Pause @ zPos in sailfish firmware
2013-04-19 14:53:34 +10:00
WHPThomas f77f3c5fd4 stpncpy replaced with memcpy
To make compiling under windows easier, references to stpncpy have been
removed and replaced with memcpy.
2013-04-19 09:38:41 +10:00
WHPThomas f99a6f5fde strncpy fixed
replaced reference to strncpy with bcopy
2013-04-19 03:36:22 +10:00
WHPThomas 12961a7eca 0.4 beta - filaments scale and temp overide
All requested features have now been implemented and tested. This
includes left and right filament scaling, tmperature overrides and
ditto printing. Slic3r post processing is also supported natively.
2013-04-19 01:01:37 +10:00
WHPThomas a08a2fc368 Beta 0.3
Fixed the behaviour of G4 dwell when 5D 'simulated' RPM is enabled -
which is use in pre-prime
2013-04-18 13:24:22 +10:00
WHPThomas ad69b21b27 Beta Release
All functionality implemented and unit tests passed.
2013-04-18 02:47:52 +10:00
WHPThomas 81701abcc0 Cleaned up getopt
Getopt is provided as an alternative to unistd for windows support -
just needed a little bi of cleaning up since last time I used this code.
2013-04-17 22:24:05 +10:00
WHPThomas cc5b5aa561 Alpha 0.1
All suppoted G and M codes are now implemented, and the output from the
lint.gcode unit test has been compared to that of ReplicatorG to
confirm equivilance.
2013-04-17 21:54:52 +10:00
WHPThomas 17d5cbd2c7 More work in progress
Added code for the queue point fucntion
2013-04-17 02:01:26 +10:00
WHPThomas 3ab9246036 More work in progress
Changed references to tool to extruder - reads better. Added string
clipping to M70 command to prevent buffer overruns. Added machined
definiions for replicator single and dual. Fixed HBP extruder_id
behaviour.
2013-04-13 09:30:11 +10:00
WHPThomas 15f9e2d1b1 More work in progress 2013-04-12 23:47:40 +10:00
WHPThomas b6fd9ec5f8 Work in progress 2013-04-11 11:32:34 +10:00