Commit Graph

174 Commits

Author SHA1 Message Date
Tiago Conceição 041db7f72d v2.27.7
- **Pixel Arithmetic:**
   - (Add) Corrode: Number of passes
   - (Change) Corrode: Noise area default from 3px² to 1px²
   - (Change) Fuzzy skin preset: Wall thickness from 6px to 4px
   - (Change) Fuzzy skin preset: Max noise offset: 64
- (Add) Core: More helper functions: Area, Volume, LastBottomLayer, BottomLayersHeight, SetNoDelays, SetWaitTimeBeforeCureOrLightOffDelay
- (Change) Display the current layer volume instead of area
- (Fix) Having a first empty layer will miscalculate the model rectangle bounds
- (Fix) Tool - Calculator - Model tilt: Change formula to use arctan instead of tanh
- (Upgrade) OpenCV from 4.5.4 to 4.5.5
- (Upgrade) AvaloniaUI from 0.10.11 to 0.10.12 (#378)
2022-01-27 03:53:15 +00:00
Tiago Conceição 82ca5ce205 v2.27.6
- **PrusaSlicer:**
   - (Fix) Printer: AnyCubic Photon Mono 4K - bed origin (#369)
   - (Fix) Printer: AnyCubic Photon Mono X 6K - bed origin (#369)
- (Fix) Anycubic files: Soft-save on versions below 516 can corrupt the file (#396)
- (Fix) Pixel editor: Place a line on a mirrored virtual layer was previewing the line in the wrong orientation (#399)
2022-01-07 22:35:55 +00:00
Tiago Conceição 702b73d5e2 v2.27.5
- **Pixel Arithmetic:**
  - (Add) Corode: Noise pixel area, defaulting to 3px2
  - (Change) Corode: Cryptonumeric random to normal random to speed up calculation
  - (Change) Fuzzy skin preset: Set a ignore threshold area of 5000px2
  - (Improvement) Masking performance and auto crop the layer to speed up the processing when using an "Apply to" other than "All"
  - (Fix) Some "Apply to" methods was creating a wrong mask with some operators
- **CXDLP V3:**
   - (Fix) Checksum (CRC32) (#389)
   - (Fix) Software name and material name serialization
2022-01-05 01:10:46 +00:00
Tiago Conceição d5eb7d0182 v2.27.4
- **UI:**
   - (Add) When converting file formats with multiple available versions, it will prompt to select the version to use
   - (Add) Remove CTBv4 from convert menu (Will require readjust settings for default extension if you are using an below extension) (#286)
   - (Change) Rename CTBv3 to CTB on the convert menu
- (Fix) CXDLP: Set version 3 was setting wrong information
2021-12-26 22:44:43 +00:00
Tiago Conceição 91e1929ba9 v2.27.3
- **Encrypted CTB:**
   - (Add) Allow convert files to this format in the UI
   - (Fix) Converting files with a null machine name would cause an exception
   - (Fix) Converting files was generating malformed files
-  **UI:**
   - (Change) CTB: Extension display order (Will require readjust settings for default extension if you are using any of them)
   - (Fix) 'File - Open recent file' would not enable first item when closing the file
2021-12-24 18:41:13 +00:00
Tiago Conceição a8deeae0f5 v2.27.2
- **(Core) Layer:**
  - (Add) Property: IsFirstLayer -  Gets if is the first layer
  - (Add) Property: IsIntermediateLayer - Gets if layer is between first and last layer, aka, not first nor last layer
  - (Add) Property: IsLastLayer - Gets if is the last layer
  - (Rename) Property: RelativeLayerHeight to RelativePositionZ
- **VDT:**
   - (Add) Keyword 'FILEFORMAT_xxx' to allow set the file format to auto convertion on machine notes
   - (Add) Keyword 'FILEVERSION_n' to allow set the file format version/revision on machine notes
2021-12-23 23:53:24 +00:00
Tiago Conceição 275f41a492 v2.27.1
- **PrusaSlicer:**
   - (Add) Keyword 'FILEVERSION_n' to allow set the file format version/revision
   - (Change) Printer: AnyCubic Photon Mono 4K and Mono X 6K, to use version 516
- **Anycubic file format:**
   - (Fix) Encoding or converting a new file with version 516 was setting wrong length for the new tables
   - (Fix) Setting bottom lift height or speed was not working and keep the same value
- (Add) FileFormats: Abstract `Version` property to set or get the version on file formats
- (Add) CXDLP: Compability with new file v2 revsion (#376)
- (Upgrade) AvaloniaUI from 0.10.8 to 0.10.11
2021-12-22 17:50:17 +00:00
Tiago Conceição 957729525d v2.27.0
- **Tool - Morph:**
   - (Add) Operator: White tophat - Removes small isolated pixels and only return its affected pixels (Image - Noise removal)
   - (Add) Operator: Black tophat - Closes small holes inside the objects and only return its affected pixels (Gap closing - Image)
   - (Add) Operator: Hit or miss - Finds pixels in a given kernel pattern
   - (Remove) Operator: 'Isolate features' as that is the same as the 'White tophat' and is already inbuilt into OpenCV
- **Kernels:**
   - (Add) Option: Use dynamic kernel to enhancement the quality of the borders (#367)
   - (Add) Kernels are now saved with the operation profile
- **PrusaSlicer:**
   - (Add) Support to slice files to be converted for encrypted CTB format
   - (Add) Printer: Elegoo Mars 3 (#370)
   - (Add) Printer: EPAX E10 5K
   - (Add) Printer: EPAX X10 5K
   - (Add) Printer: Phrozen Sonic Mini 8K
   - (Add) Printer: Phrozen Sonic Mega 8K
   - (Fix) Printer: AnyCubic Photon Mono 4K - display size (#369)
   - (Fix) Printer: AnyCubic Photon Mono X 6K - display size (#369)
- (Add) Tool - Double exposure: Kernel configuration
- (Add) Tool - Pixel arithmetic: Kernel configuration
- (Add) Calibration - Elephant foot: Use dynamic kernel to enhancement the quality of the borders (#367)
- (Fix) Calibrate - Elephant foot: Redo (Ctrl + Z) the operation was crashing the application
- (Fix) CTB, PHZ, FDG: Converting files with a null machine name would cause a exception
- (Fix) Anycubic files: Bottom lift and speed were showing default values instead of real used value
2021-12-18 01:06:06 +00:00
Tiago Conceição 3577589fd9 v2.26.0
- **File formats - Photon Workshop: (#360)**
   - (Add) Allow to globally edit bottom lift height and bottom lift speed
   - (Add) Support for file version 515, 516 and TSMC
   - (Add) AnyCubic Photon Ultra (DLP)
   - (Add) AnyCubic Photon Mono SQ (PMSQ)
   - (Add) AnyCubic Photon Mono 4K (PMSA)
   - (Add) AnyCubic Photon Mono X 6K (PMSB)
- **PrusaSlicer printers:**
   - (Add) AnyCubic Photon Mono 4K
   - (Add) Photon Mono X 6K
- (Add) PrusaSlicer profiles manager: Allow to install profiles into SuperSlicer (#355)
- (Fix) CTBv4: Setting the LiftHeight2 was defining the base.LiftHeight2 to BottomLiftHeight2
- (Fix) CWS: Typo on the "resolution must be multiple of 3" error
2021-12-06 23:06:03 +00:00
Tiago Conceição 40a89a71d1 v2.25.3
- **File - Send to:**
   - (Add) Icons to distinguish each send type
   - (Add) Allow to configure processes to open the file with (#352)
- (Improvement) CXDLP: When encoding the file, only attempt to change the machine name if not starts with 'CL-' (#351)
- (Improvement) UI: Remove the "0/?" and just show the title on the progress bar
- (Change) CTBv4: Remove the following validation to be compatible with lychee and CTB SDK: "Malformed file, PrintParametersV4 found invalid validation values, expected (4, 4) got (x, y)" (#354)
2021-12-02 22:28:14 +00:00
Tiago Conceição c71ff0dd92 v2.25.1
- **Change resolution:**
   - (Add) Presets: 5K UHD, 6K and 8K UHD
   - (Add) Resulting pixel ratio information
   - (Add) Fix the pixel ratio by resize the layers images with the proposed ratio to match the new resolution
   - (Fix) New images could have noise when processed on linux and macos
- (Add) Layer slider debounce time to render the image [Configurable] (#343)
- (Fix) CTB v1: Incorrect getter for the LightOffDelay
- (Fix) Reallocating layers were not notifying nor updating the layer collection about the changes, leading to wrong layer count
- (Fix) Undo and redo now also reverts the file resolution when changed
2021-11-23 02:28:31 +00:00
Tiago Conceição fdd5a2465d Update FileFormat.cs 2021-11-20 19:11:54 +00:00
Tiago Conceição f3e401f319 (Fix) CTB v1: Incorrect getter for the LightOffDelay 2021-11-20 19:11:50 +00:00
Tiago Conceição c968eaedf9 v2.25.0
- **File formats:**
   - (Add) Allow to partial open the files for read and/or change properties, the layer images won't be read nor cached (Fast)
   - (Add) More abstraction on partial save
- **Scripting:**
   - (Add) ScriptOpenFolderDialogInput - Selects a folder path
   - (Add) ScriptOpenFileDialogInput - Selectes a file to open
   - (Add) ScriptSaveFileDialogInput - Selects a file to save
- (Add) [UNSAVED] tag to the title bar when there are unsaved changes on the current session
- (Improvement) Better handling of empty images on the UI
2021-11-18 03:29:08 +00:00
Tiago Conceição 956e235d17 (Fix) PhotonS: Some slicers will not fill the pixel RLE to the end when the remaining pixels are trailing black, this was triggering error on read because data checksum was incomplete, ignoring checksum now (#344) 2021-11-14 17:53:14 +00:00
Tiago Conceição 2b848ceabe v2.24.3
- (Upgrade) .NET from 5.0.11 to 5.0.12
- (Fix) Anycubic formats: LightOffDelay is WaitTimeBeforeCure (#308)
2021-11-13 18:25:23 +00:00
Tiago Conceição 561d566b22 Utilities 2021-10-31 18:50:21 +00:00
Tiago Conceição 8db480b507 File properties and ratio detection
- (Add) File formats properties:
   - `DisplayDiagonal`: Display diagonal size in millimeters
   - `DisplayDiagonalInches`: Display diagonal size in inches
   - `DisplayAspectRatio`: Display aspect ratio
- (Add) Detect incorrect image ratio upon file load and warn user about it
2021-10-21 19:08:53 +01:00
Tiago Conceição c230a84290 v2.23.6
- **(Improvement) SL1:** (#314)
   - Complete the SL1 file format with some defaults for convertions
   - Change some data types from bool to byte as in recent prusaslicer changes
- (Upgrade) .NET from 5.0.10 to 5.0.11
- (Upgrade) AvaloniaUI from 0.10.7 to 0.10.8
- (Fix) PWS, PW0, PWM, PWMX, PWMO, PWMS: Incorrect set of layer height for the layer definition when using same positioned layers
2021-10-12 21:38:26 +01:00
Tiago Conceição 6f97f2e4ff v2.23.3
- **Pixel arithmetic**
   - (Add) Apply to - Model surface: Apply only to model surface/visible pixels
   - (Add) Apply to - Model surface & inset: Apply only to model surface/visible pixels and within a inset from walls
   - (Add) Preset: Fuzy skin
   - (Improvement) Speed up the Corrode method
   - (Change) Heal anti-aliasing threshold from 169 to 119
- **Calibration - Grayscale:**
   - (Add) Enable or disable text
   - (Fix) Calibration - Grayscale: Crash program when redo (Ctrl+Z)
   - (Change) Some defaults to better values
- (Fix) Layer arithmetic: Crash program when redo (Ctrl+Z)
2021-10-04 04:06:29 +01:00
Tiago Conceição 1e787ba11b Nuke issue system
- Issues:
   - (Add) Suction cups: Add a auto repair feature for this issues by drill a vertical vent hole (#296)
   - (Add) Layer issue track bar: Colorize the issue tracker map with it own colors (Configurable)
   - (Add) Allow to group issues by type and/or layer
   - (Improvement) Order issues by area in descending order
   - (Improvement) Always bring the selected issue into view on the list
   - (Fix) When manually removing a issue from the list, it will no longer reselect other and make the user lost track of the remove issue
   - (Fix) Allow to ignore all issue type
- (Fix) Material ml calculation was calculating a bad value for PhotonWorkshop files
2021-09-19 02:03:04 +01:00
Tiago Conceição e424d3b968 Material ml calculation was calculating a bad value for PhotonWorkshop files 2021-09-18 00:28:25 +01:00
Tiago Conceição f976001d43 Utilities 2021-09-16 20:57:47 +01:00
Tiago Conceição 31a29d142d pre v2.21.2 round 2 2021-09-11 18:42:40 +01:00
Tiago Conceição 8948724835 pre v2.21.2
- (Add) Allow to choose custom locations for "Send to"
- (Improvement) Better random generation for benchmark
- (Fix) Outline - Hollow areas: Not outlining the second closing contour for contours with child
- (Fix) Pixel editor - Eraser: It was selecting the whole blob even if have inner parents
2021-09-09 15:47:17 +01:00
Tiago Conceição 6a2a52ebcb v2.21.0
- **UI:**
   - **Menu:**
      - (Add) File - Open recent: Open any recent open file from a list
          Shift + Click: Open file in a new window
          Shift + Ctrl + Click: Remove file from recent list
          Ctrl + Click: Purge non-existing files
      - (Add) File - Send to: Copy the file directly to a removable drive (Windows only)
   - **(Add) Layer navigation buttons:**
      - SB: Navigate to the smallest bottom layer in mass
      - LB: Navigate to the largest bottom layer in mass
      - SN: Navigate to the smallest normal layer in mass
      - LN: Navigate to the largest normal layer in mass
   - (Add) Layer outline - Distance detection: Calculates the distance to the closest zero pixel for each pixel
- **Tools:**
   - **Dynamic Lifts:**
      - (Improvement) Select normal layers by default
      - (Improvement) Hide light-off delay fields when the file format don't support them
      - (Fix) Light-off delay fields was not hidding when set a mode that dont require the extra time fields
   - **Exposure time finder:**
      - (Fix) Fix the 'light-off delay' field not being show on files that support wait time before cure
      - (Change) Field name 'Light-off delay' to 'Wait time before cure'
   - (Add) Fade exposure time: The double exposure method clones the selected layer range and print the same layer twice with different exposure times and strategies
   - (Add) Double exposure: The double exposure method clones the selected layer range and print the same layer twice with different exposure times and strategies
   - (Add) Clone layers: Option to keep the same z position for the cloned layers instead of rebuild model height
   - (Improvement) The layer range selector for normal and bottom layers now selects the correct range based on IsBottom property rather than layer index
   - (Fix) The layer range selector was setting a very high last layer index when bottom layer count is 0
   - (Fix) Pixel arithmetic: Threshold types "Otsu" and "Triangle" are flags to combine with other types, it will auto append the "Binnary" type
- (Add) Support for Encrypted CTB (read-only)
2021-09-03 22:21:41 +01:00
Tiago Conceição 774fe9d5d0 v2.20.5
- (Add) Setting - Max degree of parallelism: Sets the maximum number of concurrent tasks/threads/operations enabled to run by parallel method calls.
   If your computer lags and freeze during operations you can reduce this number to reduce the workload and keep some cores available to other tasks as well.
   <= 0: Will utilize however many threads the underlying scheduler provides, mostly this is the processor count.
   1: Single thread. (#279)
2021-08-31 17:06:46 +01:00
Tiago Conceição 1fd53c9d3c v2.20.4
- (Fix) On some tools, calibration tests and even files when recalculating the Z layer position for the whole set, it will use the bottom setting for all layers
2021-08-29 19:38:56 +01:00
Tiago Conceição 72d8636d4a v2.20.2
- **(Fix) Layers:**
   - Round properties before comparing to avoid the precision error
   - Prevent 'Wait time' properties from having negative values
   - The `RetractSpeed` or `RetractSpeed2` property wasn't setting the bottom speed for bottom layers, instead the normal retract speed was always used
   - Set the `RetractHeight2` or `RetractSpeed2` property was not notifing the timer to update the print time no
   - Propagate global settings to layers now identfies the bottom layers per height instead of layer index
- (Add) UVJ: Support TSMC for the file format
- (Fix) UVJ: Soft save was not updating the layer settings
- (Fix) CTB: TSMC not working properly due incorrect layer `LiftHeight` value calculation
2021-08-27 02:53:31 +01:00
Tiago Conceição e200dfbcad CTB: TSMC not working properly 2021-08-26 22:32:32 +01:00
Tiago Conceição c73ac2dc36 v2.20.1
- **UI:**
   - (Add) Pixel position on lcd millimeters to the pixel picker information
   - (Add) Pixel size information when availiable below zoom on status bar
   - (Add) Click on Zoom button will zoom to 100% and shift click will set to the user defined value
- **CTB:**
   - (Add) Allow to change wait time for bottoms and normal layers separately
   - (Change) Software version field to 1.9.0
   - (Fix) Bottom layer count field was not being set in one of the tables
- (Fix) CXDLP: Force the 'Wait time before cure' to be 1 as minimum, or else 0 is preventing the print
2021-08-26 03:53:13 +01:00
Tiago Conceição 274474f748 CTB
- (Add) Allow to change wait time for bottoms and normal layers separately
- (Change) Software version field to 1.9.0
- (Fix) Bottom layer count field was not being set in one of the tables
2021-08-25 18:59:47 +01:00
Tiago Conceição 08a3c895da v2.20.0
- **File formats:**
   - (Add) FlashForge SVGX format of FlashDLPrint
   - (Improvement) Change `DisplayMirror` from `bool` to a `FlipDirection` enumeration, to be able to identify the exact mirror direction
- **(Add) PrusaSlicer Printers:**
   - FlashForge Explorer MAX
   - FlashForge Focus 8.9
   - FlashForge Focus 13.3
   - FlashForge Foto 6.0
   - FlashForge Foto 8.9
   - FlashForge Foto 13.3
   - AnyCubic Photon Mono SQ
   - AnyCubic Photon Ultra
- (Add) Pixel arithmetic: Preset "Elephant foot compensation"
2021-08-24 04:36:50 +01:00
Tiago Conceição d250e966c6 v2.19.5
- **(Fix) CTB:**
   - Converting a file to version 4 won't port the TMSC values (#271)
   - Force version 3 when on version 4 and converting to photon or cbddlp
- **(Improvement) Export to SVG image:**
   - Group \<g\> all layer objects
   - Intersect all childs on same \<path\>
- **PrusaSlicer:**
   - (Rename) Printer keywords notes:
      - BottomWaitBeforeCure -> BottomWaitTimeBeforeCure
      - WaitBeforeCure -> WaitTimeBeforeCure
      - BottomWaitAfterCure -> BottomWaitTimeAfterCure
      - WaitAfterCure -> WaitTimeAfterCure
      - BottomWaitAfterLift -> BottomWaitTimeAfterLift
      - WaitAfterLift -> WaitTimeAfterLift
   - (Change) PrusaSlicer gcode printers to reflect the previous changes
   - (Change) PrusaSlicer Creality Hallot printers with better values by default
   - (Fix) PrusaSlicer printers with TMSC values was not being ported to the file format
- (Fix) CXDLP: The light-off delay is not present on the format, instead the wait time before cure is used, this was leading to high wait and print times
- (Fix) Converting from files that aren't both TSMC compatible won't set the bottom and lift height
- (Fix) Error when changing the layer collection with another with higher layer count than the previous
2021-08-22 23:20:23 +01:00
tslater2006 459a9f6499 Prevent initializer exception if file is not present 2021-08-22 09:36:28 -05:00
Tiago Conceição 50cd48021d Fix logic 2021-08-22 04:10:30 +01:00
Tiago Conceição 90a9cc3ba3 v2.19.3
- (Fix) CTB: Corrupt and unprintable file when saving (#270)
2021-08-22 04:06:08 +01:00
Tiago Conceição 926410915b Update CTBEncryptedFile.cs 2021-08-22 02:20:41 +01:00
Tiago Conceição bc0c51d1c2 Refactorings 2021-08-22 02:18:35 +01:00
Tiago Conceição 7d1884282f Cleanup 2021-08-22 02:16:57 +01:00
Tiago Conceição 70a4cbb1de Not plain 2021-08-21 23:50:51 +01:00
Tiago Conceição c670551140 v2.19.2
- **File Formats:**
   - (Fix) Setting a global property that haven't a bottom counter-part will notify and set that value to bottom layers too
   - (Fix) TSMC: Update lift or retract height for the first time will set the `RetractHeight2` property to 0
   - (Fix) TSMC: `RetractHeight` is the first fast sequence paired with `RetractSpeed`
   - (Fix) TSMC: `RetractHeight2` paired with `RetractSpeed2` is performed after the `RetractHeight` and controls the height to retract to the next layer position (The slow stage)
   - (Improvement) When converting from a TSMC enabled to a TSMC unable file, the slowest retract speed will be enforced
- **Layer:**
   - (Add) `Number` property to get the layer number, 1 started
   - (Fix) `HaveGlobalParameters` property was not comparing  the `PositionZ` resulting in `true` when different heights are used but keeping all other settings the same
   - (Fix) `HaveGlobalParameters` property was not comparing the `WaitTimeAfterCure` for bottom layers
   - (Fix) `MaterialMilliliters` calculation with the real layer height instead of global information and recalculate when height changes (#266)
- **CTB:**
   - (Improvement) Discovered more unknown fields and set them accordingly
   - (Improvement) When all layers share same settings as globals it will set to follow global table instead of per layer settings
- (Fix) VDT: Wrong binding to json 'retract_distance2' key
- (Fix) XYZ Accuracy: 'Total height' text showing a F3 and no decimals
2021-08-21 03:28:28 +01:00
Tiago Conceição 916e1abc11 Update CTBEncryptedFile.cs 2021-08-20 02:03:01 +01:00
Tiago Conceição 997844f9de Update VDTFile.cs 2021-08-20 01:24:33 +01:00
Tiago Conceição 7062e8a8dd Update CTBEncryptedFile.cs 2021-08-20 01:23:41 +01:00
Tiago Conceição c829135088 Calculate crypt mode 2021-08-20 01:13:43 +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