Skip to content

Patch to allow different THT size per pin definition for Converter_ACDC and

addition of Converter_ACDC_MeanWell_IRM-60-xx_THT

I had to revert 0c583426 to run the generator for kicad-packages3D!912 (merged) and drop the reverted before this MR.

ping @jmwright and @kliment1 for some help since i cannot really follow the recent update and find out what the problem is.

CLI message
...
..../kicad-packages3D-generator/Converter_ACDC/main_generator.py", line 143, in make_models
    component.save(os.path.join(output_dir, file_name + ".step"), cq.exporters.ExportTypes.STEP, mode=cq.exporters.assembly.ExportModes.FUSED, write_pcurves=False)
AttributeError: module 'cadquery.occ_impl.exporters.assembly' has no attribute 'ExportModes'

If i just remove .ExportModes.FUSED it moves a .step but then fails again. I couldn't get to a .wrl export with my naive "hacks" and i cannot really say i "trust" the step files i have managed to get at that point.

Merge request reports