30350n / pcb2blender

KiCad to Blender 3D model workflow
GNU General Public License v3.0
546 stars 12 forks source link

How to render PTH? #37

Closed VIPQualityPost closed 1 year ago

VIPQualityPost commented 1 year ago

My PTH always are showing as filled with solder, which is OK in some cases (like unpopulated THT parts) but for others (like mounting holes) this is not desired. Is there a way to indicate which holes should be filled? or is this an issue with the footprints? I am using the default KiCad "pad" PTH mounting hole footprint. Example, the corner holes here: render

VIPQualityPost commented 1 year ago

oh, they just get filled with a solder blob object. you can highlight it in blender and just delete it!

30350n commented 1 year ago

Hmmm this seems weird, normally mounting holes, unpopulated components etc. shouldn't get those solder blobs. Do you have the "Add Solder Joints" setting set to "Smart"? image

VIPQualityPost commented 1 year ago

I didn't try tinkering with those settings yet - let me see.

30350n commented 1 year ago

Hmmm, well it should be set to "Smart" by default. If it still includes the solder blobs with that setting, could you double check what footprints you are using (mainly for the mounting holes I guess) and possibly also share the .pcb3d file?

VIPQualityPost commented 1 year ago

Should the mounting holes be marked "do not populate"? I suppose so, right? I haven't set that. It is set to "smart".

30350n commented 1 year ago

They shouldn't be drawn if they are DNP, yeah (though that'd make more sense for components which could actually be assembled). For mounting holes, the Pad should be set to NPTH, Mechanical. image

(There's a few more conditions like, there won't be any solder if no 3D model is defined for example).