//------------------------------------------------ //--- 010 Editor v8.0.1 Binary Template // // File: Anet N4, N7 // Authors: Tiago Conceição //------------------------------------------------ BigEndian(); typedef struct() { uint WhitePixelsCount ; // White pixels region (border including corner pixels) uint XMin ; // Bounding rectangle X uint YMin ; // Bounding rectangle Y uint XMax ; // Bounding rectangle Right uint YMax ; // Bounding rectangle Bottom uint BitsCount ; ubyte LayerRLE[(BitsCount + 7) >> 3] ; } layerData; struct HEADER { uint VersionLen ; // 2 wchar_t Version[VersionLen/2] ; // 3 int NameLength ; wchar_t FileName[NameLength/2] ; // File name without extension int DescriptionLength ; wchar_t Description[DescriptionLength/2] ; // File name without extension double XYPixelSize ; // mm double LayerHeight ; // mm; from 0.03 to 0.08 uint BaseLayersCount ; // Number of extent filled additional first layers; do not use! uint FilledBaseLayersCount ; // Number of fully filled first layers inside BaseLayersCount; do not use! uint ExposureTime ; // from 3 to 25 uint BottomExposureTime ; // from 60 to 120 uint BottomLayerCount ; // from 2 to 10 uint LiftSpeed ; // mm/s, from 1 to 10 uint LiftHeight ; // mm, from 3 to 10 uint PreviewResolutionX ; // 260 uint PreviewResolutionY ; // 140 uint PreviewSize ; // 72866 ubyte PreviewContent[PreviewSize] ; // BMP image, BGR565 double VolumeMicroL ; // µl uint EncodedPrintTime ; // s; for unknown reason always broken in original slicer uint LayerCount ; } header; struct LAYERS { local int i; for( i = 0; i < header.LayerCount; i++ ){ layerData lD(); } } layers; uint SupportsCount ; // Supports count, always 0