! Rushabh | Linux Shill - @shibo 3d images are ...

@shibo 3d images are messed up everywhere in tscircuit https://github.com/tscircuit/tscircuit.com/issues/2105
24 Replies
! Rushabh | Linux Shill
Even the circuit-json-to-gltf is not matching with the 3d viewer
! Rushabh | Linux Shill
3d viewer
No description
! Rushabh | Linux Shill
circuit-json-to-gltf
No description
! Rushabh | Linux Shill
Downloaded gltf file
No description
! Rushabh | Linux Shill
Downloaded png
No description
! Rushabh | Linux Shill
@Seve Now i am confused, where to start debugging
Techmannih
Techmannih•2w ago
yes both are different seems like position offset issue there are you importing this?
! Rushabh | Linux Shill
in which lib my sparkfun prs are pending because of this issue https://github.com/tscircuit/sparkfun-boards/pulls
Techmannih
Techmannih•2w ago
can you share the link of that package? which pr?
Techmannih
Techmannih•2w ago
have all same issue?
! Rushabh | Linux Shill
i am struggling to fix it, need help yes
Techmannih
Techmannih•2w ago
??? which you are building in tscircuit.com
! Rushabh | Linux Shill
https://tscircuit.com/editor?&snippet_type=board#data:application/gzip;base64,H4sIAPTjLmkAA91ZbW/bNhD+K4Q/DC3Q0qTeKBlxtiLFEGBLV6AbsGEaAlmianWSKEg0mjTwf99REmXZlT27VZsXfUjs4/HM5+Hx9JC8myR5xG+wrG4ms0mSFaKUSN4WHN2hi2VSvC1FUaE1ikuRIX/yk6zCpAxXiZwWqsWf+LmfhyKvJCqS/NdgwdMKzdGdnyNloDP0tz9RH/zJPy9ao6GNRs9oaqPZM1raaPWMtjbaPaOjjU7PyLSR9YyuNro9o6eNXs9ISW29uuwPnjaQri7bwa9RUKGaAMUEv6kJbAh5/Y4Sk10T7+c3r375nVnX5OICuHlWMzfb0Hum+BbxhsDz52h+3nBYcrkqc/RMfUbobCGCMkIfk0gu5/7EIv4ELXnyfinbb+eNH3iGEF1/qQfehJ7fdR/Xm+ZqVRRpwsu3QSnfrLIFL8Gx/n39fEjDIlzU0C+YzayOp+ZZ94JlQb6KgxDG3Q8IAxziQyWQ7hgLIYsyyeV866fPOnuHrm0o0kDyaClSv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4rjictbUP1KXO/j7Ccop2alxhaiSz3o4dcE0Pa3Km4LZRDCwvS1A+9dBdxjj+sars2mOz6b1dVb97TncpPn5ZP0fQDWVf5AcAAA=
Techmannih
Techmannih•2w ago
yes position offset issue use positionOffset: { x:-1.25, y: 0, z: 0 },
! Rushabh | Linux Shill
that i know, what about the gltf and 3d png how to fix them snapshot uses 3d png also this
Techmannih
Techmannih•2w ago
Actually, this issue is in the EasyEDA converter. When we import JLCPCB parts, there are some offset problems. So the fix needs to be made in EasyEDA.
! Rushabh | Linux Shill
need some help with that, i cant seem to figure out how does that lib works and what i need to fix in it. 🥺
Techmannih
Techmannih•2w ago
You need to get the correct position offsets when importing the JLCPCB parts. I’ve referred you to two PRs for reference. Please also include these packages in the fix — you’ll need to dig into the conversion logic
! Rushabh | Linux Shill
tscircuit.com
No description
! Rushabh | Linux Shill
the issue is in the circuit json right
Seve
Seve•2w ago
that is a circuit json to gltf issue if the 3d viewer is displaying properly probably maybe @Techmannih was right in that repro...

Did you find this page helpful?