Arksine
05b8c4eaef
extract_metadata: Copy thumbnails to the "thumbs" directory
...
Include a relative path the the thumbnail in the metadata. This commit deprecates base64 image transfers. A future commit will remove base64 data from the metadata, clients will be expected to retrieve thumbnails as a static file.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-03-14 14:33:24 -04:00
Arksine
9e41d9d84b
extract_metadata: write log output to stderr
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-02-27 12:55:18 -05:00
Arksine
dd81beab47
extract_metadata: add support for metadata thumbnail extraction in Cura
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-02-06 08:39:41 -05:00
Arksine
e2c325a724
extract_metadata: support first layer height expressed as a percentage
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-01-16 12:46:56 -05:00
Arksine
a1f2228473
extract_metadata: add shebang to script
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2021-01-16 12:38:54 -05:00
Arksine
222dda50bc
extract_metadata: parse "gcode_start_byte" and "gcode_end_byte"
...
Determine the byte location of the first and last gcode command (Either Mxxx or Gxxx commands). This is useful for determining the portion of the file that consists of actual commands.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-11-13 06:45:21 -05:00
Arksine
aac11a9fb8
extract_metadata: Add support for extracting Cura thumbnails
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-10-31 08:40:49 -04:00
Arksine
dfb1e19948
extract_metadata: store file "modified" time as unix time
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-10-21 17:53:45 -04:00
Arksine
8440a10b9e
extract_metadata: attempt to parse object height from PrusaSlicer comments
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-26 11:44:18 -04:00
Arksine
57fe71c800
extract_metadata: parse slicer version during identifcation
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-09 08:29:22 -04:00
Arksine
ec86c7bfda
extract_metadata: optimize regex
...
Use calls to re.search() in place of re.findall() where appropriate.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-08 17:29:08 -04:00
Arksine
ad8680be38
extract_metadata: Add support for IceSL slicer
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-08 12:49:42 -04:00
Arksine
805821c928
extract_metadata: extract first layer temperatures
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-08 11:33:10 -04:00
Arksine
e38f63254f
extract_metadata: extract basic metadata when slicer is unknown
...
It is possible to extract some metatdata, such as layer height, from bare gcode script.
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-09-08 08:41:09 -04:00
Arksine
bcb7e17105
extract_metadata: Set slicer type to "Unknown" if not able to detect
...
Signed-off-by: Eric Callahan <akrsine.code@gmail.com>
2020-08-30 15:28:21 -04:00
Arksine
9613bb01de
extract_metadata: include "days" when calculating time for PrusaSlicer
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-28 14:26:08 -04:00
Arksine
b3f02a73a4
extract_metadata: Improve error reporting
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-08-11 14:28:59 -04:00
Arksine
d1c740b900
moonraker: add initial source
...
Signed-off-by: Eric Callahan <arksine.code@gmail.com>
2020-07-02 12:24:15 -04:00