diff options
author | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-19 20:40:47 +0300 |
---|---|---|
committer | Tiago Conceição <Tiago_caza@hotmail.com> | 2021-08-19 20:40:47 +0300 |
commit | feac858188adfef20831917fb99f4ad42b6e3692 (patch) | |
tree | fb0d23502c4c05f21725e6af92540e52a44776f8 /Scripts/010 Editor/ctb.bt | |
parent | 9ecfdf55efe5c3366edbc78561cc2a42bb587d8e (diff) |
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
Diffstat (limited to 'Scripts/010 Editor/ctb.bt')
-rw-r--r-- | Scripts/010 Editor/ctb.bt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Scripts/010 Editor/ctb.bt b/Scripts/010 Editor/ctb.bt index c54041a..1377d2d 100644 --- a/Scripts/010 Editor/ctb.bt +++ b/Scripts/010 Editor/ctb.bt @@ -85,7 +85,7 @@ struct SLICER_INFO { uint MachineNameAddress <fgcolor=cBlack, bgcolor=cRed>; uint MachineNameSize <fgcolor=cBlack, bgcolor=cRed>; - uint EncryptionMode <fgcolor=cBlack, bgcolor=cRed>; // 0/8 for cbddlp files, 0xF (15) for ctb files, 0x2000000F (536870927) for v3 ctb and 1073741839 for v4 ctb files to allow per layer parameters + uint PerLayerSettings <fgcolor=cBlack, bgcolor=cRed>; // 0/8 for cbddlp files, 0xF (15) for ctb files, 0x2000000F (536870927) for v3 ctb and 1073741839 for v4 ctb files to allow per layer parameters uint MysteriousId <fgcolor=cBlack, bgcolor=cRed>; // v3 = 305419896 | v4 lightoff? = 27093086 | v4 rest? = 27093090 uint AntiAliasLevel <fgcolor=cBlack, bgcolor=cRed>; uint SoftwareVersion <fgcolor=cBlack, bgcolor=cRed>; // ctb v3 = 17171200 | ctb v4 pro = 16777216 @@ -164,7 +164,7 @@ struct LAYER_DATA { uint DataAddress <fgcolor=cBlack, bgcolor=cRed>; uint DataSize <fgcolor=cBlack, bgcolor=cRed>; uint Unknown1 <fgcolor=cBlack, bgcolor=cRed>; - uint Unknown2 <fgcolor=cBlack, bgcolor=cRed>; + uint TableSize <fgcolor=cBlack, bgcolor=cRed>; uint Unknown3 <fgcolor=cBlack, bgcolor=cRed>; uint Unknown4 <fgcolor=cBlack, bgcolor=cRed>; }; |