-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- (Add) File - Rename: Allow to rename the current file with a new name (Ctrl + F2) - (Improvement) Tool - Edit print parameters: It now apply settings without close the window, allowing user to do continuous work. After all editing is done the user must manually close the window (#731) - (Improvement) Resin traps and suction cups: Optimization of contour grouping will now make the detection faster if it contains a large number of contours - (Change) Lower the default setting for binary threshold for resin traps, from 127 to 100 - (Fix) macOS: Unable to have settings on Monterey or above due the settings folder no longer exists on recent systems. (#728) Your current settings will not be automatically transferred to the new location, to do such please copy them over or use the following command before upgrade: `mv "$HOME/.local/share/UVtools" "$HOME/Library/Application Support"` If you already ran UVtools and would like to transfer old settings, use: `cp -Rf "$HOME/.local/share/UVtools/" "$HOME/Library/Application Support/UVtools/"` - (Upgrade) .NET from 6.0.16 to 6.0.18
- Loading branch information
Showing
28 changed files
with
661 additions
and
155 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
- **Settings:** | ||
- (Add) After save the file replace on it name with the updated print time and material if possible | ||
- (Add) File 'Save as' default name with extended variables (#725) | ||
- (Add) File 'Save as' name cleanup regex | ||
- (Add) When save as a file and if the file name already exists on that directory it will append a number up to one available | ||
- (Remove) File 'Save as' suffix and prefix | ||
- (Add) About: Graphic card name | ||
- (Fix) CTB Encrypted: Check the checksum as last step to be compatible with new Chitubox 1.4.5 CTB files (#696, #726) | ||
- (Add) File - Rename: Allow to rename the current file with a new name (Ctrl + F2) | ||
- (Improvement) Tool - Edit print parameters: It now apply settings without close the window, allowing user to do continuous work. After all editing is done the user must manually close the window (#731) | ||
- (Improvement) Resin traps and suction cups: Optimization of contour grouping will now make the detection faster if it contain a large number of contours | ||
- (Change) Lower the default setting for binary threshold for resin traps, from 127 to 100 | ||
- (Fix) macOS: Unable to have settings on Monterey or above due the settings folder no longer exists on recent systems. (#728) | ||
Your current settings will not be automatically transferred to the new location, to do such please copy them over or use the following command before upgrade: `mv "$HOME/.local/share/UVtools" "$HOME/Library/Application Support"` | ||
If you already ran UVtools and would like to transfer old settings, use: `cp -Rf "$HOME/.local/share/UVtools/" "$HOME/Library/Application Support/UVtools/"` | ||
- (Upgrade) .NET from 6.0.16 to 6.0.18 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,179 @@ | ||
//------------------------------------------------ | ||
//--- 010 Editor v8.0.1 Binary Template | ||
// | ||
// File: cxdlpv4 | ||
// Authors: Tiago Conceição | ||
//------------------------------------------------ | ||
|
||
LittleEndian(); | ||
|
||
struct HEADER { | ||
BigEndian(); | ||
uint32 MagicSize <fgcolor=cBlack, bgcolor=cWhite>; | ||
char Magic[MagicSize] <fgcolor=cBlack, bgcolor=cRed>; | ||
ushort Version <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
uint32 PrinterModelSize <fgcolor=cBlack, bgcolor=cWhite>; | ||
char PrinterModel[PrinterModelSize] <fgcolor=cBlack, bgcolor=cRed>; | ||
LittleEndian(); | ||
|
||
ushort ResolutionX <fgcolor=cBlack, bgcolor=cRed>; | ||
ushort ResolutionY <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
float BedSizeX <fgcolor=cBlack, bgcolor=cRed>; | ||
float BedSizeY <fgcolor=cBlack, bgcolor=cRed>; | ||
float BedSizeZ <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
float TotalHeightMilimeter <fgcolor=cBlack, bgcolor=cRed>; | ||
float LayerHeightMilimeter <fgcolor=cBlack, bgcolor=cRed>; | ||
uint BottomLayersCount <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
uint PreviewSmallOffsetAddress <fgcolor=cBlack, bgcolor=cRed>; | ||
uint LayersDefinitionOffsetAddress <fgcolor=cBlack, bgcolor=cRed>; | ||
uint LayerCount <fgcolor=cBlack, bgcolor=cRed>; | ||
uint PreviewLargeOffsetAddress <fgcolor=cBlack, bgcolor=cRed>; | ||
uint PrintTime <fgcolor=cBlack, bgcolor=cRed>; | ||
uint ProjectorType <fgcolor=cBlack, bgcolor=cRed>; | ||
uint PrintParametersOffsetAddress <fgcolor=cBlack, bgcolor=cRed>; | ||
uint PrintParametersSize <fgcolor=cBlack, bgcolor=cRed>; | ||
uint AntiAliasLevel <fgcolor=cBlack, bgcolor=cRed>; | ||
ushort LightPWM <fgcolor=cBlack, bgcolor=cRed>; | ||
ushort BottomLightPWM <fgcolor=cBlack, bgcolor=cRed>; | ||
uint EncryptionKey <fgcolor=cBlack, bgcolor=cRed>; | ||
uint SlicerOffset <fgcolor=cBlack, bgcolor=cRed>; | ||
uint SlicerSize <fgcolor=cBlack, bgcolor=cRed>; | ||
} header; | ||
|
||
struct PREVIEW { | ||
uint ResolutionX <fgcolor=cBlack, bgcolor=cRed>; | ||
uint ResolutionY <fgcolor=cBlack, bgcolor=cRed>; | ||
uint ImageOffset <fgcolor=cBlack, bgcolor=cRed>; | ||
uint ImageLength <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown1 <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown2 <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown3 <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown4 <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
ubyte Data[ImageLength] <fgcolor=cBlack, bgcolor=cYellow>; | ||
}; | ||
|
||
struct PRINT_PARAMETERS { | ||
float BottomLiftHeight <fgcolor=cBlack, bgcolor=cRed>; | ||
float BottomLiftSpeed <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftHeight <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftSpeed <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractSpeed <fgcolor=cBlack, bgcolor=cRed>; | ||
float VolumeMl <fgcolor=cBlack, bgcolor=cRed>; | ||
float WeightG <fgcolor=cBlack, bgcolor=cRed>; | ||
float CostDollars <fgcolor=cBlack, bgcolor=cRed>; | ||
float BottomLightOffDelay <fgcolor=cBlack, bgcolor=cRed>; | ||
float LightOffDelay <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
uint BottomLayerCount <fgcolor=cBlack, bgcolor=cRed>; | ||
float ExposureTime <fgcolor=cBlack, bgcolor=cRed>; | ||
float BottomExposureTime <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
}; | ||
|
||
struct SLICER_INFO { | ||
float BottomLiftHeight2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float BottomLiftSpeed2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftHeight2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftSpeed2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractHeight2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractSpeed2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeAfterLift <fgcolor=cBlack, bgcolor=cRed>; | ||
|
||
uint PerLayerSettings <fgcolor=cBlack, bgcolor=cRed, format=hex>; // 0 to not support, 1 to support | ||
uint TimestampMinutes <fgcolor=cBlack, bgcolor=cRed>; | ||
uint AntiAliasLevel <fgcolor=cBlack, bgcolor=cRed>; | ||
uint SoftwareVersion <fgcolor=cBlack, bgcolor=cRed, format=hex>; // 0 | ||
float RestTimeAfterRetract <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeBeforeLift <fgcolor=cBlack, bgcolor=cRed>; | ||
float BottomExposureTime <fgcolor=cBlack, bgcolor=cRed>; | ||
float ExposureTime <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeAfterLift <fgcolor=cBlack, bgcolor=cRed>; | ||
uint TransitionLayerCount <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Padding <fgcolor=cBlack, bgcolor=cRed>; | ||
}; | ||
|
||
if(header.PreviewSmallOffsetAddress > 0) | ||
{ | ||
FSeek(header.PreviewSmallOffsetAddress); | ||
PREVIEW previewSmall <fgcolor=cBlack, bgcolor=cYellow>; | ||
} | ||
|
||
if(header.PreviewLargeOffsetAddress > 0) | ||
{ | ||
FSeek(header.PreviewLargeOffsetAddress); | ||
PREVIEW previewLarge <fgcolor=cBlack, bgcolor=cYellow>; | ||
} | ||
|
||
if(header.PrintParametersOffsetAddress > 0){ | ||
FSeek(header.PrintParametersOffsetAddress); | ||
PRINT_PARAMETERS parameters <fgcolor=cBlack, bgcolor=cYellow>; | ||
} | ||
|
||
if(header.SlicerOffset > 0){ | ||
FSeek(header.SlicerOffset); | ||
SLICER_INFO SlicerInfo <fgcolor=cBlack, bgcolor=cYellow>; | ||
} | ||
|
||
struct LAYER_DATA { | ||
float LayerPositionZ <fgcolor=cBlack, bgcolor=cRed>; | ||
float LayerExposure <fgcolor=cBlack, bgcolor=cRed>; | ||
float LightOffSeconds <fgcolor=cBlack, bgcolor=cRed>; | ||
uint DataAddress <fgcolor=cBlack, bgcolor=cRed>; | ||
uint DataSize <fgcolor=cBlack, bgcolor=cRed>; | ||
uint DataType <fgcolor=cBlack, bgcolor=cRed>; | ||
uint CentroidDistance <fgcolor=cBlack, bgcolor=cRed>; | ||
uint TotalArea <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown <fgcolor=cBlack, bgcolor=cRed>; | ||
uint Unknown <fgcolor=cBlack, bgcolor=cRed>; | ||
}; | ||
|
||
struct LAYER_DATAEX { | ||
float LiftHeight <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftSpeed <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftHeight2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float LiftSpeed2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractSpeed <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractHeight2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RetractSpeed2 <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeBeforeLift <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeAfterLift <fgcolor=cBlack, bgcolor=cRed>; | ||
float RestTimeAfterRetract <fgcolor=cBlack, bgcolor=cRed>; | ||
float LightPWM <fgcolor=cBlack, bgcolor=cRed>; | ||
}; | ||
|
||
|
||
typedef struct(int size) { | ||
ubyte layerDataBlock[size] <fgcolor=cBlack, bgcolor=cGreen>; | ||
} LAYER_RLE; | ||
|
||
FSeek(header.LayersDefinitionOffsetAddress); | ||
struct LAYERS { | ||
local uint i; | ||
for( i = 0; i < header.LayerCount; i++ ){ | ||
LAYER_DATA layerData <fgcolor=cBlack, bgcolor=cYellow>; | ||
} | ||
} layers; | ||
|
||
struct LAYERSEX { | ||
local uint i; | ||
|
||
for( i = 0; i < header.LayerCount; i++ ){ | ||
LAYER_DATAEX layerDataEx; | ||
LAYER_RLE lD(layers.layerData[i].DataSize - 44); | ||
} | ||
|
||
} layersEx; | ||
|
||
|
||
BigEndian(); | ||
uint CheckSum <fgcolor=cBlack, bgcolor=cWhite>; | ||
LittleEndian(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.