# Techmannih - Screenshotfrom2026-06-1217-10-57.p... Channel: #contributor Source: https://discord.com/channels/1233487248129921135/1514980601583898694 Started: 2026-06-12T13:12:03.192000+00:00 Last activity: 2026-06-24T15:49:42.135000+00:00 ## techmannih — 2026-06-12T13:12:02.396000+00:00 [attachment] Attachment: Screenshot_from_2026-06-12_17-10-57.png — https://community.tscircuit.com/media/1514980601315328051 ## techmannih — 2026-06-12T13:13:01.779000+00:00 we have a cad model issue for footprint="kicad:..." ## techmannih — 2026-06-12T13:14:51.606000+00:00 The imported CAD model is much larger than the footprint landed pads. ## techmannih — 2026-06-12T13:15:19.306000+00:00 Are all CAD models showing up as white ## Seve — 2026-06-12T21:10:06.695000+00:00 !!! ## Seve — 2026-06-12T21:10:25.110000+00:00 CC <@398467566588264449> . This seems like a big regression ## Seve — 2026-06-12T21:10:52.071000+00:00 KiCad models may need to be converted to mm- they may be in inches because the resize factor looks like 2.56x or something ## techmannih — 2026-06-14T03:11:36.471000+00:00 in which repo i need to add the repro for this ## techmannih — 2026-06-14T03:16:10.427000+00:00 I have tested it in core, and it works well there. Attachment: image.png — https://community.tscircuit.com/media/1515555422419812402 ## Seve — 2026-06-14T03:19:55.251000+00:00 Hmm not sure this is strange, try eval ## techmannih — 2026-06-14T05:15:32.744000+00:00 yep gets a regression in the eval Attachment: image.png — https://community.tscircuit.com/media/1515585463266705529 ## techmannih — 2026-06-14T05:31:52.403000+00:00 The bug in eval was that the KiCad loader incorrectly applied a (modelUnitToMmScale) 2.54x scale to the STEP CAD model, ## Seve — 2026-06-14T05:32:30.748000+00:00 Nice find lets add a regression test ## techmannih — 2026-06-14T05:32:49.709000+00:00 yea on it ## techmannih — 2026-06-14T16:49:35.094000+00:00 Can you check it https://github.com/tscircuit/eval/pull/2905 ## techmannih — 2026-06-18T16:27:06.708000+00:00 <@757706909351411845> <@398467566588264449> I have fixed the scaling issue, now we have the position offset issue for pinrow/pinheader for kicad cad models Attachment: image.png — https://community.tscircuit.com/media/1517204019930599534 ## Abse — 2026-06-18T17:00:00.243000+00:00 maybe check if the cad model pos relative to the pin1 or the center of the fp ## techmannih — 2026-06-19T10:35:51.502000+00:00 <@398467566588264449> I found the issue in circuit-json-to-gltf: when center_of_component_on_board_surface is used, the CAD model origin is inferred incorrectly. ## techmannih — 2026-06-19T10:37:53.509000+00:00 getMeshOrigin() returns { x: 0, y: 0, z: 0 } directly when no explicit model_origin_position is provided ## techmannih — 2026-06-19T10:54:06.477000+00:00 Can you take a look https://github.com/tscircuit/circuit-json-to-gltf/pull/166 ## techmannih — 2026-06-19T15:24:55.671000+00:00 <@398467566588264449> can you take a look https://github.com/tscircuit/circuit-json-to-gltf/pull/167 ## Seve — 2026-06-19T18:44:50.930000+00:00 <@398467566588264449> ## Abse — 2026-06-19T18:51:50.332000+00:00 hey u back home ? ## Abse — 2026-06-19T18:52:12.207000+00:00 I think it lg , can u double check when u have free time ## Seve — 2026-06-20T04:51:02.854000+00:00 Im back!!!! ## techmannih — 2026-06-20T05:00:43.557000+00:00 Wow welcome back!!! after 2 weeks 🫡 ## techmannih — 2026-06-23T17:03:44.635000+00:00 <@398467566588264449> the kicad library cad model are white bcoz the 3d-viewer STEP pipeline was ignoring brep_faces color data from occt-import-js and collapsing the STEP mesh into a single material. ## techmannih — 2026-06-23T17:03:59.562000+00:00 can you take a look https://github.com/tscircuit/3d-viewer/pull/943 ## techmannih — 2026-06-24T15:25:09.842000+00:00 <@757706909351411845> <@398467566588264449> https://github.com/tscircuit/3d-viewer/pull/945 ## Abse — 2026-06-24T15:46:59.156000+00:00 can u give me the repro link in the preview ## techmannih — 2026-06-24T15:47:32.207000+00:00 Ohh sorry ## techmannih — 2026-06-24T15:48:16.129000+00:00 Updated ## Abse — 2026-06-24T15:49:42.135000+00:00 nice work