I see two things that might cause errors. Missing file header and bad format of the colour codes.
I don't know how LeoCAD handles these issues. I've never tried it. Both of your files work fine in LDView and LDCad.
Have you tried adding a correct file header to the top of the file?
Some of the colour codes, creating direct colours, have a "strange" format. The codes used on the front ( 0x26c6e68 ) looks good, but not the ones on the back ( 44410277 ).
Read more about Direct colours here:
http://www.ldraw.org/article/218.html#colours
I don't know how LeoCAD handles these issues. I've never tried it. Both of your files work fine in LDView and LDCad.
Have you tried adding a correct file header to the top of the file?
Code:
0 Minifig Torso with Astro Space Suit Pattern
0 Name: Astro.dat
0 Author: Your name
0 !LDRAW_ORG Unofficial_Part
0 !LICENSE Redistributable under CCAL version 2.0 : see CAreadme.txt
Some of the colour codes, creating direct colours, have a "strange" format. The codes used on the front ( 0x26c6e68 ) looks good, but not the ones on the back ( 44410277 ).
Read more about Direct colours here:
http://www.ldraw.org/article/218.html#colours