easyeda2kicad.py icon indicating copy to clipboard operation
easyeda2kicad.py copied to clipboard

3D models: Problems with the `d` interpretation (dissolve vs transparency)

Open set-soft opened this issue 2 years ago • 2 comments
trafficstars

The current code interprets the d attribute in raw_obj as transparency, but looking at some references this seems to be another thing called dissolve, which is related to transparency, but isn't the same.

The part C115366 (SW-TH_SPEF110100) has d=1 and generates a WRL with transparency 1, making the whole object invisible.

I think the exporter should avoid using the d parameter. Do you have examples where d is used in the same way as transparency? I tried with various LEDs with transparent lenses and all used d=0.

set-soft avatar Jan 29 '23 14:01 set-soft

Hi @set-soft , Thanks for your report. You can create a PR that implements this feature

uPesy avatar Jan 29 '23 16:01 uPesy

Ok, I created #81

set-soft avatar Jan 30 '23 11:01 set-soft