mirror of
https://github.com/riegera2412/UVtools.git
synced 2026-07-08 17:42:31 +02:00
Update 010 script
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
<include_workspace>false</include_workspace>
|
||||
<relative_paths>true</relative_paths>
|
||||
<auto_save>true</auto_save>
|
||||
<file>anet.bt</file>
|
||||
<file>ctb.bt</file>
|
||||
<file>ctb_decrypted.bt</file>
|
||||
<file>ctb_encrypted.bt</file>
|
||||
@@ -12,7 +13,6 @@
|
||||
<file>gr1.bt</file>
|
||||
<file>lgs.bt</file>
|
||||
<file>mdlp.bt</file>
|
||||
<file>n4.bt</file>
|
||||
<file>osf.bt</file>
|
||||
<file>osla.bt</file>
|
||||
<file>photons.bt</file>
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
//------------------------------------------------
|
||||
//--- 010 Editor v8.0.1 Binary Template
|
||||
//
|
||||
// File: Anet N4, N7
|
||||
// Authors: Tiago Conceição
|
||||
//------------------------------------------------
|
||||
|
||||
BigEndian();
|
||||
|
||||
typedef struct() {
|
||||
uint WhitePixelsCount <fgcolor=cBlack, bgcolor=cWhite>; // White pixels region (border including corner pixels)
|
||||
uint XMin <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle X
|
||||
uint YMin <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Y
|
||||
uint XMax <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Right
|
||||
uint YMax <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Bottom
|
||||
uint BitsCount <fgcolor=cBlack, bgcolor=cWhite>;
|
||||
ubyte LayerRLE[(BitsCount + 7) >> 3] <fgcolor=cBlack, bgcolor=cRed>;
|
||||
} layerData;
|
||||
|
||||
struct HEADER {
|
||||
uint VersionLen <fgcolor=cBlack, bgcolor=cRed>; // 2
|
||||
wchar_t Version[VersionLen/2] <fgcolor=cBlack, bgcolor=cRed>; // 3
|
||||
int NameLength <fgcolor=cBlack, bgcolor=cRed>;
|
||||
wchar_t FileName[NameLength/2] <fgcolor=cBlack, bgcolor=cRed>; // File name without extension
|
||||
int DescriptionLength <fgcolor=cBlack, bgcolor=cRed>;
|
||||
wchar_t Description[DescriptionLength/2] <fgcolor=cBlack, bgcolor=cRed>; // File name without extension
|
||||
|
||||
double XYPixelSize <fgcolor=cBlack, bgcolor=cRed>; // mm
|
||||
double LayerHeight <fgcolor=cBlack, bgcolor=cRed>; // mm; from 0.03 to 0.08
|
||||
|
||||
uint BaseLayersCount <fgcolor=cBlack, bgcolor=cRed>; // Number of extent filled additional first layers; do not use!
|
||||
uint FilledBaseLayersCount <fgcolor=cBlack, bgcolor=cRed>; // Number of fully filled first layers inside BaseLayersCount; do not use!
|
||||
|
||||
uint ExposureTime <fgcolor=cBlack, bgcolor=cRed>; // from 3 to 25
|
||||
uint BottomExposureTime <fgcolor=cBlack, bgcolor=cRed>; // from 60 to 120
|
||||
uint BottomLayerCount <fgcolor=cBlack, bgcolor=cRed>; // from 2 to 10
|
||||
uint LiftSpeed <fgcolor=cBlack, bgcolor=cRed>; // mm/s, from 1 to 10
|
||||
uint LiftHeight <fgcolor=cBlack, bgcolor=cRed>; // mm, from 3 to 10
|
||||
|
||||
uint PreviewResolutionX <fgcolor=cBlack, bgcolor=cRed>; // 260
|
||||
uint PreviewResolutionY <fgcolor=cBlack, bgcolor=cRed>; // 140
|
||||
uint PreviewSize <fgcolor=cBlack, bgcolor=cRed>; // 72866
|
||||
ubyte PreviewContent[PreviewSize] <fgcolor=cBlack, bgcolor=0x00FF00>; // BMP image, BGR565
|
||||
double VolumeMicroL <fgcolor=cBlack, bgcolor=cRed>; // µl
|
||||
uint EncodedPrintTime <fgcolor=cBlack, bgcolor=cRed>; // s; for unknown reason always broken in original slicer
|
||||
uint LayerCount <fgcolor=cBlack, bgcolor=cRed>;
|
||||
} header;
|
||||
|
||||
|
||||
struct LAYERS {
|
||||
local int i;
|
||||
for( i = 0; i < header.LayerCount; i++ ){
|
||||
layerData lD();
|
||||
}
|
||||
} layers;
|
||||
|
||||
uint SupportsCount <fgcolor=cBlack, bgcolor=cYellow>; // Supports count, always 0
|
||||
@@ -1,57 +0,0 @@
|
||||
//------------------------------------------------
|
||||
//--- 010 Editor v8.0.1 Binary Template
|
||||
//
|
||||
// File: Anet N4
|
||||
// Authors: Tiago Conceição
|
||||
//------------------------------------------------
|
||||
|
||||
BigEndian();
|
||||
|
||||
typedef struct() {
|
||||
uint32 WhitePixelsCount <fgcolor=cBlack, bgcolor=cWhite>; // White pixels region (border including corner pixels)
|
||||
uint32 XMin <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle X
|
||||
uint32 YMin <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Y
|
||||
uint32 XMax <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Right
|
||||
uint32 YMax <fgcolor=cBlack, bgcolor=cWhite>; // Bounding rectangle Bottom
|
||||
uint32 BitsCount <fgcolor=cBlack, bgcolor=cWhite>;
|
||||
ubyte LayerRLE[(BitsCount + 7) >> 3] <fgcolor=cBlack, bgcolor=cRed>;
|
||||
} layerData;
|
||||
|
||||
struct HEADER {
|
||||
uint32 VersionLen <fgcolor=cBlack, bgcolor=cRed>; // 2
|
||||
wchar_t Version[VersionLen/2] <fgcolor=cBlack, bgcolor=cRed>; // 3
|
||||
uint32 NameLength <fgcolor=cBlack, bgcolor=cRed>;
|
||||
wchar_t FileName[NameLength/2] <fgcolor=cBlack, bgcolor=cRed>; // File name without extension
|
||||
uint32 DescriptionLength <fgcolor=cBlack, bgcolor=cRed>;
|
||||
wchar_t Description[DescriptionLength/2] <fgcolor=cBlack, bgcolor=cRed>; // File name without extension
|
||||
|
||||
double XYPixelSize <fgcolor=cBlack, bgcolor=cRed>; // mm
|
||||
double LayerHeight <fgcolor=cBlack, bgcolor=cRed>; // mm; from 0.03 to 0.08
|
||||
|
||||
uint32 BaseLayersCount <fgcolor=cBlack, bgcolor=cRed>; // Number of extent filled additional first layers; do not use!
|
||||
uint32 FilledBaseLayersCount <fgcolor=cBlack, bgcolor=cRed>; // Number of fully filled first layers inside BaseLayersCount; do not use!
|
||||
|
||||
uint ExposureTime <fgcolor=cBlack, bgcolor=cRed>; // from 3 to 25
|
||||
uint BottomExposureTime <fgcolor=cBlack, bgcolor=cRed>; // from 60 to 120
|
||||
uint32 BottomLayerCount <fgcolor=cBlack, bgcolor=cRed>; // from 2 to 10
|
||||
uint32 LiftSpeed <fgcolor=cBlack, bgcolor=cRed>; // mm/s, from 1 to 10
|
||||
uint32 LiftHeight <fgcolor=cBlack, bgcolor=cRed>; // mm, from 3 to 10
|
||||
|
||||
uint32 PreviewResolutionX <fgcolor=cBlack, bgcolor=cRed>; // 260
|
||||
uint32 PreviewResolutionY <fgcolor=cBlack, bgcolor=cRed>; // 140
|
||||
uint32 PreviewSize <fgcolor=cBlack, bgcolor=cRed>; // 72866
|
||||
ubyte PreviewContent[PreviewSize] <fgcolor=cBlack, bgcolor=0x00FF00>; // BMP image, BGR565
|
||||
double VolumeMicroL <fgcolor=cBlack, bgcolor=cRed>; // µl
|
||||
uint32 EncodedPrintTime <fgcolor=cBlack, bgcolor=cRed>; // s; for unknown reason always broken in original slicer
|
||||
uint32 LayerCount <fgcolor=cBlack, bgcolor=cRed>;
|
||||
} header;
|
||||
|
||||
|
||||
struct LAYERS {
|
||||
local int i;
|
||||
for( i = 0; i < header.LayerCount; i++ ){
|
||||
layerData lD();
|
||||
}
|
||||
} layers;
|
||||
|
||||
uint32 SupportsCount <fgcolor=cBlack, bgcolor=cYellow>; // Supports count, always 0
|
||||
Reference in New Issue
Block a user