Lands Design Bug: Millions of Materials Bloat 3MB Rhino Files to 2–6 GB

I’m posting this seeking help with what appears to be a serious issue involving Lands Design / Tibidabo and the Rhino 8 material table, and to see whether the developers or anyone in the community has encountered similar behavior with this plugin or other material heavy plugins like this one.

ISSUE:

A barely 3MB file with no materials assigned suddenly grew to 3GB and has the Material Table filled with Lands Design layers, textures and material data.

Legacy Material Table ~2.642 GB (Lands Design)
Tibidabo User Data ~87 MB
Actual Rhino objects ~2.9 MB

VERSIONS:
Lands Design — Version 6.5.0.8976

Rhino8 — Version 8.34

QUESTION:

Should I unistall and reinstall LandsDesign to fix this or am I setting things wrong with this plugin?

It loads up automatically upon starting for one and secondly if i type “L” for line it would load “la2d” which I didnt think too much about but i have this idiotic feeling it could be a part of the problem.

How does one go to preserve my working layers which are not associated to lands design materials or how do i purge the unwanted date from my file?

How have others dealt with this situation for it seems likely to happen with other plugins that interact with Rhino likes LandsDesign

Details:

I recently started investigating why several otherwise relatively simple Rhino files were becoming multiple gigabytes in size and progressively slower to work with. Initially, I assumed the files contained excessive geometry, render meshes, blocks, or other heavy model data.

After auditing the .3dm files, however, the geometry does not appear to be the problem.

For one of the affected files, the archive is approximately 2.73 GB, but the audit reports the following:

Archive size: 2,732,296,286 bytes

Object Table:
221 objects - 2,889,829 bytes (~2.9 MB)

Layer Table:
25 layers - 6,235 bytes

Block Definition Table:
2 definitions - 650 bytes

Legacy Material Table: !!!
1,540,096 materials - 2,642,280,472 bytes (~2.64 GB) !!!

Render Materials:
0

Embedded Images:
0

Texture Mappings:
0

In other words, the actual Rhino object table is only about 2.9 MB, while approximately 2.64 GB of the 2.73 GB file consists of the Legacy Material Table which for some reason these material entries shown by the 3DM audit are overwhelmingly Lands-related.

Examples include:

Foliage
Trunk
LANDS Color 073
LANDS Color 037
LANDS Delonix regia - (OMITTED)
material[1540095]: LANDS Color 003

etc.

What makes this particularly concerning is that I have not intentionally used Lands Design in this project. Lands Design loads automatically with Rhino on my installation, but this particular model was not intended to contain Lands landscaping objects or a Lands material library.

The layers in the model also do not have these millions of materials intentionally assigned to them. They don’t have any at all at this stage. The file itself is a relatively small architectural model.

This is also not the first file in which I have encountered this type of material-table explosion. Another Rhino file recently grew to approximately 6 GB so you can guess how frustrated I am. Any help is deeply appreciated.

Hi Tony,
No Lands Design user reported a similar thing before, but I’ve found a similar issue reported by some Rhino users. It seems to happen on 3dm files with embedded models:

It’s already reported to McNeel: https://mcneel.myjetbrains.com/youtrack/issue/RH-86081

The materials you listed are used by Lands Design plants, and corresponds to the Conceptual and Detailed plant display. So, if you have these materials on your 3dm file, you have most likely inserted plants, or you have inserted a file containing Lands Design plants. I would like to understand how these materials have multiplied to this insane level, so any clue you can provide about what have you been doing with the 3dm file will be very welcome.
Particularly, have you embedded a 3dm file containing Lands Design plants?
Have you tried to disable other plugins you may have installed?

About not having intentionally used Lands Design, Lands Design is loaded automatically when:

  1. you had any Lands Design panel opened when you closed Rhino the last time
  2. you open a 3dm file containing Lands Design objects
  3. you type a Lands Design command. Since all of them starts with the “la” prefix, typing ‘L’ will show you all of them

la2d is a command that just toggles the Lands Design objects to their 2D display. It doesn’t add new objects. However it can load some plant blocks if they are missing (for example if you purged the 3dm file and the plant 2D blocks are missing).