LDraw.org Discussion Forums
Empty file with MLCad - Printable Version

+- LDraw.org Discussion Forums (https://forums.ldraw.org)
+-- Forum: Models and Parts (https://forums.ldraw.org/forum-18.html)
+--- Forum: Parts Authoring (https://forums.ldraw.org/forum-19.html)
+--- Thread: Empty file with MLCad (/thread-29146.html)



Empty file with MLCad - Massimo Maso - 2025-10-29

Hello,
with the 2025-08 release something no longer works with the empty.dat file in MLCad (3.20 or 3.50).

Parts that use it are not uploaded correctly.

I did some tests on my PC and found this solution that seems to work without having to update software or change anything else.

Instead of the line:
0 MLCAD HIDE 5 24 0 0 0 0.0001 0 0 0.0001 -0.0001 0 0 0 0
I use:
2 16 0 0 0 0 0 0

if I open the file thus modified with LDPE1.8.96 obviously I have an error: identical vertices. But otherwise I have no problems.
Nothing is displayed, not even an isolated vertex, but the software continues to work.


if I open a part that uses empty.dat with the same software in the same way I have no problems.
I can't verify that any vertex is added, because now the software adds it automatically.

Similarly, if I use LDCad 1.6d there are no problems: no isolated vertex is shown and all parts are loaded.

- I don't know what happens if you export the part to use it in POV or Blender.
- I don't know what happens on other PC.

Massimo


RE: Empty file with MLCad - Chris Böhnke - 2025-10-29

I've opened 27062p01.dat (which seems to be one of the few non-obsolete parts to contain it) in MLCAD 3.51 without issue.

What file did you try to open?
What error message appeared (or did it just crash)?


RE: Empty file with MLCad - Orion Pobursky - 2025-10-30

Massimo,

Empty.dat was inadvertently released in a broken state in 2507 (or 06). We reverted the problem in 2508. Please check to make you your library or some local LDPE folder doesn't still have the broken part.