easyw
easyw
The best would be to fix the generator accordingly to the new ones, to be py3 ready 😄 https://github.com/easyw/kicad-3d-models-in-freecad/pull/292/files
@ugolevant with https://github.com/easyw/kicad-3d-models-in-freecad/commit/474ab858a077aed577df9fd79ea0047ac9d6773f CP_Radial_THT is compatible with py3, FC 0.18 & 0.19 For other generator you may apply the same patch and make a PR
@evanshultz does it work on FC 0.19?
> > > @easyw > It seems the instructions on the Resistor_THT page do not work. Is there some change that needs to be made? for me the scripts are...
@Franck78 adding to the script the lines you posted `scriptdir=os.path.dirname(os.path.realpath(__file__))` `sys.path.append(scriptdir)` the scripts are running also on FC Conda... Would you mind to PR the solution? Thanks Maurice
Hi, thx a lot for your contribution! TO92s is fine though! We are missing also TH resistors if you want to go with... Thx 😸 Maurice
> and it cannot generate a STEP file without the fusion for THT resistors there is also a small problem with the Sketch not fully constrained that will generate a...
not only... I made only few test with TH resistors, but if you open the STEP exported i.e. in Varicad, you will see the errors... i.e. the R_Axial_DIN0204_L3.6mm_D1.6mm_P5.08mm_Horizontal.FCStd PS it...
very nice though! It would be possible to add a fillet like in this picture?  and if I remember correctly Mario suggested "light brown body" as color for resistors...
> I haven't verified some of the parameters properly if you want to easily check the model over its footprint you can add some code to load the fp in...