leocad icon indicating copy to clipboard operation
leocad copied to clipboard

Inconsistent submodel separation

Open nathaneltitane opened this issue 2 years ago • 0 comments

Describe the bug Multipart model references are only separated by an empty comment line after the 'FILE' line descriptor. (Line 2 of example multipart file contents)

--

0 FILE New Model.ldr 0 0 Name: New Model.ldr 0 Author: Nathanel Titane 1 7 -10 -24 -10 1 0 0 0 1 0 0 0 1 3005.dat 0 NOFILE 0 FILE Submodel #1.ldr 0 0 Name: Submodel #1.ldr 0 Author: Nathanel Titane // [email protected] // All Rights Reserved 1 7 -40 -24 -60 1 0 0 0 1 0 0 0 1 4588.dat 1 7 80 -24 -130 1 0 0 0 1 0 0 0 1 3062b.dat 0 NOFILE

--

Expected behavior If line 2 represents a Leocad specific edit, then separation ought to be summetric and an empty '0' comment line should be inserted above the 'NOFILE' line, as follows:

--

0 FILE New Model.ldr 0 0 Name: New Model.ldr 0 Author: Nathanel Titane 1 7 -10 -24 -10 1 0 0 0 1 0 0 0 1 3005.dat 0 NOFILE 0 FILE Submodel #1.ldr 0 0 Name: Submodel #1.ldr 0 Author: Nathanel Titane // [email protected] // All Rights Reserved 1 7 -40 -24 -60 1 0 0 0 1 0 0 0 1 4588.dat 1 7 80 -24 -130 1 0 0 0 1 0 0 0 1 3062b.dat 0 0 NOFILE

--

Otherwise, introcduction of empty 'O' comment line is irrelevant and should be removed alltogether.

Version (please complete the following information): continuous - all

nathaneltitane avatar Apr 28 '22 15:04 nathaneltitane