327 Commits

Author SHA1 Message Date
Tiago Conceição fd18e31050 Improvements on some flips on export operations
- (Add) Export layers to heatmap: Mirror and rotate options
- (Improvement) Export layers to image, GIF and heatmap: Auto select the flip method based on sliced file mirror information, it will output images in thier original form/orientation
2021-10-26 23:27:30 +01:00
Tiago Conceição 2d14b3d517 Update version and dependencies 2021-10-21 19:14:00 +01: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
Finn Neuik 8cee603694 (Fix) Corrected incorrect label for default scripting directory 2021-10-15 15:25:25 +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 8ef55e2e05 v2.23.5
- (Fix) Odd crash when detecing for resin trap issues which was duplicating contours
2021-10-07 04:39:30 +01:00
Tiago Conceição 2f1ab286ab Fix typo 2021-10-06 18:36:29 +01:00
Tiago Conceição cb62a9e243 v2.23.4
- (Fix) RGB images was preventing file open/save/convertion
2021-10-04 06:28:17 +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 0b7eb43f53 (Add) Preset: Fuzy skin 2021-10-02 22:54:57 +01:00
Tiago Conceição 2af14924a1 Improvements to corrode and apply methods
- (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
   - (Improvement) Speed up the Corrode apply method
2021-10-02 22:38:11 +01:00
Tiago Conceição 89b2798ad8 v2.23.2
- **Pixel arithmetic**
   - (Add) Corrode: Random dithering, use for eliminating visual prominence of layer lines. Can also be used to add a microtexture to enhance paint bonding (#307)
   - (Add) Ignore areas smaller or larger than an threshold
   - (Add) Preset - Heal anti-aliasing: Discard uncured faded pixels and turn them into solid black (0)
- (Fix) Resin traps: Discard traps with drain holes directly on first layer / build plate
- (Fix) The setting 'Auto flip layer on file load' is not respected when off
2021-10-02 17:07:41 +01:00
Tiago Conceição 9fd51163b8 Revert noise range 2021-10-02 14:48:26 +01:00
Tiago Conceição 9794fe1f6d (Add) Ignore areas smaller than an threshold 2021-10-02 05:05:45 +01:00
Tiago Conceição 6b594c365e Update ToolPixelArithmeticControl.axaml 2021-10-02 00:54:51 +01:00
Tiago Conceição 14eac4844e Refactorings to Corrode 2021-10-02 00:47:28 +01:00
Finn Neuik eb590c3657 Switched to uniform noise offset, added ui.
Added switch to random offset as it smooths the diffusion service by
leveraging grey values.

Added UI, preserves void option duplicates the "model only" option but
is significantly faster as it avoid the calculation for void voxels.

Incorporated crypto random and using spans for array access based on PR feedback.
2021-09-27 19:25:48 +01:00
Tiago Conceição f294094f72 (Fix) The setting 'Auto flip layer on file load' is not respected when off 2021-09-25 15:17:14 +01:00
Tiago Conceição 321fabcdf8 v2.23.1
- **Issues:**
   - (Add) Suction cups: Additional setting to specify the required minimum height to be flagged as a issue (#302)
   - (Change) Allow touching bounds to have a bounding rectangle and zoom into the issue
   - (Change) Disable the ability to copy issues row text from list as this is crashing the program
   - (Change) Decrease cache count of the layers from x10 to x5 to free RAM
   - (Fix) Touching bounds are reporting areas of 0
   - (Fix) Draw crosshair for issues are called multiple times
   - (Fix) Detection error when resin traps are enabled on some cases (#303)
   - (Fix) Resin trap false-positives (#305)
   - (Fix) When removing multiple islands at once only the first is cleared from the issue list
- **UI:**
   - (Change) Tool - Resize icon
   - (Change) Move "Crosshairs" button inside "Issues" button
- (Add) Tool - Morph - Offset crop: Like erode but discards the outer pixels
- (Fix) Corrected bottom lift unit label in light-off delay calculator (#304)
2021-09-23 02:54:15 +01:00
Tiago Conceição dbe59c3f41 Merge pull request #304 from FinnNk/correct_bottom_lift_calculator_typo
Correct bottom lift height typo in light off delay calculator
2021-09-22 21:21:12 +01:00
Tiago Conceição 18d5cc111c (Change) Disable the ability to copy issues row text from list as this is crashing the program 2021-09-22 21:09:10 +01:00
Finn Neuik c4176d0e6d Correct bottom lift height typo in light off delay calculator
(Fix) Corrected bottom lift unit label in light-off delay calculator
2021-09-22 21:06:25 +01:00
Tiago Conceição d09ec26335 Update MainWindow.axaml 2021-09-22 19:27:46 +01:00
Tiago Conceição 52c847157b (Fix) When removing multiple islands at once only the first is cleared from the issue list 2021-09-22 18:57:55 +01:00
Tiago Conceição 193748dcf7 Fixes and improvements
- (Change) Allow touching bounds to have a bounding rectangle and zoom into the issue
- (Fix) Touching bounds are reporting areas of 0
- (Fix) Draw crosshair for issues are called multiple times
- (Fix) Issue:Equals
2021-09-22 17:05:12 +01:00
Tiago Conceição ec67e2f230 Add the missing value labels 2021-09-21 22:13:24 +01:00
tslater2006 d765fe4b3d Add additional setting for Suction Cups to only report those over a certain height 2021-09-21 14:15:18 -05:00
Tiago Conceição 26359633cb Update tooltip 2021-09-21 02:25:29 +01:00
Tiago Conceição 6b1c70d362 Fix issue selection 2021-09-21 02:09:02 +01:00
Tiago Conceição 4407550e70 Fixes arround ignored issues
- Tool - Repair layers and issues:
   - (Improvement) Allow to have profiles in the dialog
   - (Improvement) Ignored issues are not repaired
2021-09-20 23:25:11 +01:00
Tiago Conceição 2314f2b1d0 Cleanup, fixes and perf 2021-09-20 21:38:44 +01:00
tslater2006 9b87bc8500 Extract suction cup drilling to common function
Both the repair operation as well as the deletion of an issue will now leverage common code for executing a repair. Repair operation will repair all suction cups, and deleting a specific suction cup will only repair that one.
2021-09-20 12:10:12 -05:00
Tiago Conceição 791471a666 Improvements 2021-09-19 23:18:19 +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 00b01140cc Always bring the selected issue into view on the list 2021-09-18 03:20:58 +01:00
Tiago Conceição 52fb6b880a Add configuration to enable/disable colorization of issue tracker map 2021-09-18 03:01:35 +01:00
Tiago Conceição fd9e09b704 Better order filter 2021-09-18 01:24:42 +01:00
Tiago Conceição e76d0f2c01 Layer issue track bar: Use issue type color (Configurable) 2021-09-18 01:16:18 +01:00
Tiago Conceição c6a7489359 Add UI for repair suction cups 2021-09-17 23:28:39 +01:00
tslater2006 400f46202d Refactor suction cup grouping logic
This commit removes the Parent/Child issue structures that were added to Issue, and instead opts for a more lean approach to determining the layers affected by an operation. Instead of building out the entire parent/child tree for ever single suction cup issue, we know only calculate what we need when we need it.

During a repair operation, we calculate only the suction cup issues that have no overlapping suction cup issue below it. For "delete issue" behavior we only calculate the suction cup issues that overlap the selected on in both directions (following that direction until no more overlaps are found).
2021-09-16 22:40:36 -05:00
tslater2006 914e454bf9 Ability to remove suction cup issues
You can now remove suction cups from the reported issues. It will remove the selected issue as well as any others that are connected. This will allow for users to remove suction cup issues they do not wish to be fixed via auto repair (when available).
2021-09-16 18:59:07 -05:00
tslater2006 802d7fa607 Add new Debug layer issue type for development purposes 2021-09-16 18:55:11 -05:00
Tiago Conceição 5a96f4c2e9 Var names 2021-09-16 18:03:44 +01:00
Tiago Conceição 21d19da1bc Finish styling 2021-09-16 03:21:13 +01:00
Tiago Conceição 38c8fa97ae Conservative default 2021-09-15 06:51:01 +01:00
Tiago Conceição 71e51b13b3 Add extra check for stroke 2021-09-15 06:36:16 +01:00
Tiago Conceição 2f9e432559 Fix first and last layer issue stroke 2021-09-15 06:34:32 +01:00
Tiago Conceição 50274aaa6c Layer tracker highlight issues: Scale line stroke to make sequential layers with issues shows all togther as a group 2021-09-15 06:30:17 +01:00
Tiago Conceição fe18398e11 Layout & Overlap resin trap 2021-09-15 06:13:54 +01:00
Tiago Conceição 60db062e70 Update UserSettings.cs 2021-09-14 18:13:28 +01:00