Project:RELaserSoftware/MOL file format: Difference between revisions

From London Hackspace Wiki

m
Some new findings added
(Got rid of shout-y headings and tidied up line breaks)
m (Some new findings added)
Line 41: Line 41:
a conversion is required. All files have four chunks at fixed locations:
a conversion is required. All files have four chunks at fixed locations:


* the header chunk starts at 0 and contains 32 words, followed by 0's
* the header chunk starts at 0 and contains 32 words, followed by 0's, followed by the locations of the following blocks
* the config chunk is at 0x00000200 and contains informations about the total artwork
* the config chunk is at 0x00000200 and contains informations about the total artwork (this block may start somewhere else. See header.)
* the test chunk is at 0x00000400 and moves the laser head on the bounding box of the artwork
* the test chunk is at 0x00000400 and moves the laser head on the bounding box of the artwork (this block may start somewhere else. See header.)
* the draw chunk is at 0x00000A00 contains all commands to output the actual drawing and cutting commands
* the draw chunk is at 0x00000A00 contains all commands to output the actual drawing and cutting commands (this block may start somewhere else. See header.)
* the file is then patched to the next 512 byte boundary
* the file is then patched to the next 512 byte boundary


Line 95: Line 95:
* 00000010: 0x00000029 somehow related to the file size or the number of commands
* 00000010: 0x00000029 somehow related to the file size or the number of commands


Unknown, fixed value
Unknown, fixed value, in some files this is 0x00000102. Is this a bit array? Could this be related to the home position.?
* 00000014: 0x00000001 ?
* 00000014: 0x00000001 ?


Line 117: Line 117:
* 00000030 - 0000006c
* 00000030 - 0000006c


Unknown, fixed value
Location of the 200 block. This is the n'th block, block size is 512 bytes. The 200 block contains general data about the artwork.
* 00000070: 0x00000001 ?
* 00000070: 0x00000001  


Unknown, changes!
Location of the 400 block. This block is called when the user presses "Test" on the CMD03 and outlines the artwork.
* 00000074: 0x00000002 ?
* 00000074: 0x00000002 ?


Unknown, changes!
Location of the 600 block. This block is called when the users selects "Cut File" (or so) from the menu.
* 00000078: 0x00000003 ?
* 00000078: 0x00000003 ?


Unknown, changes!
Location of the A00 block. This block is called when the users presses "Start".
* 0000007c: 0x00000005 ?
* 0000007c: 0x00000005 ?


17

edits