Part imported as black - is showing as no color
zktech opened this issue · 2 comments
zktech commented
I have two models with a black 1x3 Technic Beam - in them (32523.dat Technic Beam 3) from MLCad - LDraw. They do not display and draw correctly. If I change the color in lic to dark grey they start to work correctly. I can then change the color back to black and all is well. What could cause this issue.
remig commented
The problematic parts here were using LDraw's color code 24, which is the 'edge' color, and isn't really valid for parts in a model (it's only used for primitive, sub-parts). I fixed this by treating such invalid colors as black, which is what most other LDraw programs do.
zktech commented
Cool thank you.
Bryant Zimmerman
Sr. Systems Architect
Grand Dial Communications, A ZK Tech Inc. Company
616-299-5607 (mobile)
616-855-1030 Ext. 2003 (office)
…----------------------------------------
From: Remi Gagne <notifications@github.com>
Sent: 10/28/18 11:44 PM
To: remig/web_lic <web_lic@noreply.github.com>
Cc: zktech <bryantz@zktech.com>, Author <author@noreply.github.com>
Subject: Re: [remig/web_lic] Part imported as black - is showing as no color (#6)
The problematic parts here were using LDraw's color code 24, which is the 'edge' color, and isn't really valid for parts in a model (it's only used for primitive, sub-parts). I fixed this by treating such invalid colors as black, which is what most other LDraw programs do.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.