easyw / kicadStepUpMod

kicadStepUp: ECAD to MCAD FreeCAD WorkBench
481 stars 59 forks source link

Ability to set discretization parameter #132

Open JeremiahGillis opened 2 years ago

JeremiahGillis commented 2 years ago

It would be great if we could set q_deflection via the kicadStepUpGui. This would be an improvement to #80.

I've been dealing with mid-chip solder balls on 0805 and large components. KiCad puts perfect radii on non-custom pads. Once you start dealing with custom shapes or custom shape primitives on pads, the KiCad discretization generates sharp edges for arcs. This may impact the solder paste when removing the stencil.

I found this tool set which generated sharp edges just like KiCad when performing discretization. However, I was able to modify q_deflection in kicadStepUpCMD.py to clean up my shape for the paste layer. This might be useful to others needing to have more details in shapes or pads.

Understand that I don't have data to say whether or not more accuracy is needed than the current 0.02 setting. I am erroring on the side of caution.

KiCAD Default: image

StepUp q_deflection = 0.001: image

luzpaz commented 1 year ago

@easyw would you have a moment to weigh-in?