Commit Graph

552 Commits

Author SHA1 Message Date
Tiago Conceição 37c69932a0 Merge pull request #269 from tslater2006/master
Add Encrypt/Decrypt CTB command line
2021-08-20 00:25:28 +01:00
tslater2006 1d9e8ec29c Add Encrypt/Decrypt CTB command line
--decrypt-ctb <filepath> will decrypt all encrypted fields in the CTB. The file is replaced with the decrypted contents.

--encrypt-ctb <filepath> will encrypt header and footers of the CTB. No layer data is encrypted (not required). The file is replaced with the encrypted contents.
2021-08-19 18:15:11 -05:00
Tiago Conceição f5fa8f9d8f IsUsing TSMC 2021-08-19 19:04:49 +01:00
Tiago Conceição feac858188 Fixes
- **Layer:**
   - (Add) `Number` property to get the layer number, 1 started
   - (Fix) `HaveGlobalParameters` property was not comparing `PositionZ`
   - (Fix) `HaveGlobalParameters` property was not comparing `WaitTimeAfterCure` for bottom layers
- (Fix) CTB: Discovered more unknown fields and set them accordingly
2021-08-19 18:40:47 +01:00
Tiago Conceição 9ecfdf55ef v2.19.1
- (Add) Setting - Allow to resize the tool windows: Check this option if you have problems with content being cut on some windows, down-size the height by a bit and then expand to fix the content.
- (Fix) File formats: When converting from a TSMC-able file to an TSMC-unable file, the LiftHeight will be set to the total lift (1+2) as fail-safe guard
- (Fix) Pixel Arithmetic: Keep pattern visible by default to prevent content from being cut when made visible
- **(Fix) CTBv4:**
   - LiftHeight and LiftHeight2 properties when using TSMC, LiftHeight on CTB is the total of lifts 1+2
   - Soft-save is corrupting the file
2021-08-19 04:48:59 +01:00
Tiago Conceição f0413a9255 Fixes eCTB
- Find more fields
- Fix LightOff reset Wait times
- Fix set wait time
- Implement partial saves
- Refactorings
2021-08-19 03:17:42 +01:00
Tiago Conceição 1f20a1bf1f Findings 2021-08-19 01:23:16 +01:00
Tiago Conceição 049d63aa38 Refactorings 2021-08-19 00:01:06 +01:00
Tiago Conceição 56d80684cc Merge pull request #264 from tslater2006/master
Initial pass at Encrypted CTB format support for UVTools
2021-08-18 17:59:16 +01:00
tslater2006 823be0076e Initial pass at Encrypted CTB format support for UVTools
Helpers.cs: Added new SHA256 and AES helper methods

FileFormat.cs: Add as available file format, does not appear in the UI

CTBEncryptedFile.cs: New FileFormat implementation for these encrypted CTB files. Keys are left as an excercise
2021-08-18 11:50:57 -05:00
Tiago Conceição 4b8502f33f Update ChituboxFile.cs
**(Fix) CTBv4:**
   - LiftHeight and LiftHeight2 properties when using TSMC, LiftHeight on CTB is the total of lifts 1+2
   - Soft-save is corrupting the file
2021-08-18 17:32:48 +01:00
Tiago Conceição 79f6aea3ee Update FileFormat.cs
When converting from a TSMC-able file to an TSMC-unable file, the LiftHeight will be set to the total lift (1+2) as fail-safe guard
2021-08-18 17:32:37 +01:00
Tiago Conceição 95020ce2f1 v2.19.0
- **File formats:**
   - Add and remove some image types that can be open
   - (Add) `CanProcess` method to know if a file can be read under a format and to allow diferent formats with same extension
   - (Fix) `LiftHeightTotal` and `RetractHeight` was rounding to no decimals and returning wrong values
   - (Improvement) Round all float setters on `Layer` class
   - (Improvement) Decode/encode RAM usage and performance by processing in batch groups
- **Pixel Dimming:** (#262)
   - (Add) Option "Lightening pixels" to add brightness/lightening instead of dimming/subtract pixels
   - (Fix) "Dim walls only" would reset body brightness by increase pixel brightness two times it value
- **Pixel Arithmetic:**
   - (Change) Transpose "Pixel Dimming" to "Pixel Arithmetic"
   - (Improvement) New options and manipulations
- **(Fix) Exposure time finder:**
  - Generate top staircase based on selected measure (px or mm)
  - Zebra bars when used in mm measures, it was using X density instead Y to calculate the thickness
  - Move 'Unit of measure' to 'Object configuration'
  - Custom text with wrong Y position when using out of portion resolutions/LCDs
- **CTBv4:**
  - (Fix) More Unknown fields discovered and implemented
  - (Fix) Reserved table is 384 bytes instead of 420
  - (Fix) When full encoding it was forcing to change to version 3. This also affected convertions. (#263)
  - (Fix) `BottomRetractHeight2` was being set to `BottomRetractSpeed2`
  - (Fix) `RetractHeight2` was being set to `RetracSpeed2`
  - (Fix) The PrintParametersV4 table address
  - (Fix) Generates invalid files to open with Chitubox and printers (#263)
  - (Fix) Better progress report
- **(Add) PrusaSlicer printer notes variables:**
  - BottomLiftHeight2
  - BottomLiftSpeed2
  - LiftHeight2
  - LiftSpeed2
  - BottomRetractSpeed
  - BottomRetractSpeed2
  - BottomRetractHeight2
  - BottomRetractSpeed2
  - RetractHeight2
  - RetractSpeed2
- **UI:**
  - (Add) File - Open current file folder (Ctrl+Shift+L): Locate and open the folder that contain the current loaded file
  - (Improvement) Hide some virtual extensions from file open dialog filters
  - (Improvement) UI: Refresh active thumbnail when changed
  - (Change) Icon for File - Open and Open in a new file
  - (Change) Rename File - Extract to: Extract file contents
- (Upgrade) AvaloniaUI from 0.10.6 to 0.10.7
- (Fix) PW0, PWM, PWMX, PWMO, PWMS: Unable to decode some files with AntiAliasing (#143)
2021-08-17 20:17:08 +01:00
Tiago Conceição 44de1f3bd8 Update ctb.bt 2021-08-15 23:27:12 +01:00
Tiago Conceição 65252be8ae Update ChituboxFile.cs
Cleanup LayerDef code
2021-08-15 17:46:21 +01:00
Tiago Conceição 9f19b1f75d Update ChituboxFile.cs
- **(Fix) CTBv4:**
  - When full encoding it was forcing to change to version 3. This also affected convertions. (#263)
  - `BottomRetractHeight2` was being set to `BottomRetractSpeed2`
  - `RetractHeight2` was being set to `RetracSpeed2`
2021-08-15 17:11:13 +01:00
Tiago Conceição 46f610e156 Update ctb.bt 2021-08-15 16:59:56 +01:00
Tiago Conceição 3950d3e637 Cleanup 2021-08-13 17:59:59 +01:00
Tiago Conceição d8b83d5de2 Add CanProcess method to allow multiple formats with same extension
Based on: https://github.com/tslater2006/UVtools/commit/ec2727ddc13c65cde2092e45ac0ba7fed796cbaa
2021-08-13 17:34:21 +01:00
Tiago Conceição 323e64d5ee Update FileExtension.cs 2021-08-13 16:30:43 +01:00
Tiago Conceição 1bd5963b2f Update FileFormat.cs 2021-08-13 16:30:41 +01:00
Tiago Conceição 729daca5c5 Update FileExtension.cs 2021-08-13 16:24:59 +01:00
Tiago Conceição 4beb2af961 Add explicit type for FileExtension
https://github.com/tslater2006/UVtools/commit/38a49a764c12712ed2fbf12c069090b7ec3814f7
2021-08-13 16:18:03 +01:00
Tiago Conceição 12ce4d75aa Change byte to ubyte 2021-08-12 23:32:49 +01:00
Tiago Conceição 80a9adbcd0 v2.18.0
- **Command line arguments:**
   - (Add) Convert files: UVtools.exe -c \<inputfile\> \<outputfile1/ext1\> [outputfile2/ext2]
   - (Add) Extract files: UVtools.exe -e \<inputfile\> [output_folder]
   - https://github.com/sn4k3/UVtools#command-line-arguments
- **File formats:**
   - (Add) Implement TSMC (Two Stage Motor Control) for the supported formats
   - (Add) Implement 'Bottom retract speed' for the supported formats
   - (Add) LGS: Support for lgs120 and lg4k (#218)
   - (Add) CTB: Special/virtual file extensions .v2.ctb, .v3.ctb, .v4.ctb to force a convertion to the set version (2 to 4). The .ctb is Version 3 by default when creating/converting files
   - (Improvement) Better performance for file formats that decode images in sequential pixels groups
- **GCode:**
  - (Improvement) Better parsing of the movements / lifts
  - (Improvement) Better handling of lifts performed after cure the layer
  - (Improvement) More fail-safe checks and sanitize of gcode while parsing
- (Improvement) CTBv3: Enable per layer settings if disabled when fast save without reencode
- (Upgrade) .NET from 5.0.8 to 5.0.9
- (Fix) PrusaSlicer printer: Longer Orange 4k with correct resolution and display size
- (Fix) Odd error when changing properties too fast in multi-thread
2021-08-12 23:19:47 +01:00
Tiago Conceição b8e05db113 Update README.md 2021-08-12 21:16:08 +01:00
Tiago Conceição 1a07560632 Update CREDITS.md 2021-08-12 21:16:03 +01:00
Tiago Conceição ace7b0b477 Update osla.md 2021-08-09 18:25:34 +01:00
Tiago Conceição 8e9c32a359 Update osla.md 2021-08-09 18:15:27 +01:00
Tiago Conceição c94b5fb7f1 v2.17.0
- **Windows MSI:**
   - (Fix) Use the folder programs x64 instead of x86 for new installation path (#254)
   - (Improvement) Mark program and all files as x64
   - (Improvement) Add UVtools logo to side panel and top banner
   - (Improvement) Add open-source logo to side panel
   - (Improvement) License text aligment and bold title
- (Add) File format: OSLA / ODLP / OMSLA - Universal binary file format
- (Add) Calibration - Lift height: Generates test models with various strategies and increments to measure the optimal lift height or peel forces for layers given the printed area
- (Add) Layer Actions - Export layers to images (PNG, JPG/JPEG, JP2, TIF/TIFF, BMP, PBM, PGM, SR/RAS and SVG)
- (Add) About box: License with link
- (Add) Include a copy of the LICENSE on the packages
- (Improvement) File formats: Implement `Wait time before cure` properties on file formats with light-off delay, when used it will calculate the right light-off delay with that extra time and set to `LightOffDelay` property
- (Improvement) Change all date times to Utc instead of local
- (Fix) Tool - Flip: 'Both' were not working correctly
- (Fix) Linux: File 'UVtools.sh' with incorrect line break type, changed to \n (#258)
2021-08-08 23:57:00 +01:00
Tiago Conceição ff354559a5 OSLA 2021-08-08 20:29:52 +01:00
Tiago Conceição a284dbbe3e Update osla.md 2021-08-08 20:14:11 +01:00
Tiago Conceição d531ac8be3 Update osla.bt 2021-08-08 20:10:31 +01:00
Tiago Conceição 0b91867dbd Update osla.md 2021-08-08 20:10:27 +01:00
Tiago Conceição 397c33bd92 Create osla.bt 2021-08-08 19:13:55 +01:00
Tiago Conceição b01e3e7ddf Update osla.md 2021-08-08 17:24:56 +01:00
Tiago Conceição 046d038f52 Update osla.md 2021-08-08 02:50:05 +01:00
Tiago Conceição b485e2f31c Update osla.md 2021-08-07 19:28:29 +01:00
Tiago Conceição f2b072af7e Update osla.md 2021-08-07 19:27:02 +01:00
Tiago Conceição 1c4a3b35af Update osla.md 2021-08-07 18:40:17 +01:00
Tiago Conceição b112515c82 Update osla.md 2021-08-07 18:36:37 +01:00
Tiago Conceição c23b2fc449 Update osla.md 2021-08-05 16:51:02 +01:00
Tiago Conceição 2a73c002f1 Update osla.md 2021-08-05 16:42:43 +01:00
Tiago Conceição 4e7145e3bc Update osla.md 2021-08-05 16:29:45 +01:00
Tiago Conceição b3eabb4a99 ODLP to OSLA 2021-08-04 20:25:33 +01:00
Tiago Conceição 515d43e859 Update odlp.md 2021-08-04 18:08:33 +01:00
Tiago Conceição 43816fb4cb Update odlp.md 2021-08-04 17:41:58 +01:00
Tiago Conceição 1cbae6eea3 ODLP update 2021-08-04 17:36:47 +01:00
Tiago Conceição f73956ad7e Update UVtools.InstallerMM.wxs 2021-08-01 17:02:06 +01:00
Tiago Conceição ada646f92d v2.16.0
- **(Add) PrusaSlicer printers:**
   - Creality HALOT-MAX CL-133
   - Nova3D Elfin2
   - Nova3D Elfin2 Mono SE
   - Nova3D Elfin3 Mini
   - Nova3D Bene4
   - Nova3D Bene5
   - Nova3D Whale
   - Nova3D Whale2
- **About box:**
  - (Add) Runtime information
  - (Fix) Limit panels width and height to not overgrow
- **(Fix) macOS:**
   - macOS version auto-upgrade (Will only work on future releases and if running v2.16.0 or greater)
   - Demo file not loading
   - Auto disable windows scaling factor when on Monjave or greater on new instalations
- (Add) Tool: Raise platform on print finish
- (Add) CXDLP: Support for Halot MAX CL-133
- (Improvement) Tools: Better handling/validation of tools that are unable to run with abstraction
- (Improvement) CWS: Simplify filenames inside the archive
- (Upgrade) EmguCV from 4.5.2 to 4.5.3
- (Change) Allow to set layer `LightPWM` to 0
- (Fix) Arrange dropdown arrow from layer image save icon to be at center
2021-08-01 16:58:33 +01:00