ŞKŞeref Kaya
← All projects

02 · Automation & tools

swkit: SolidWorks automation

My own Python tool that drives SolidWorks without opening the screen. It builds dimensioned parts, drawings, assemblies, parts lists and balloons. The files can be edited by hand afterwards.

swkit: SolidWorks automation

Interactive 3D

Drag to rotate · pull parts out · put them back

Specifications

  • Part + drawing in about 10 s (SLDPRT, SLDDRW, PDF)
  • Assembly drawing with BOM and balloons in about 5 s
  • 7 example scripts; masses matched hand calculations
  • Assembly drawing mass matches the parts list: 505.13 g = 467.43 + 2 x 18.85
  • Hole Wizard: hole count and drill size read from geometry (M8 -> 6.8 mm, M6 -> 5.0 mm)
  • 22 unit tests
  • Not done yet: sheet metal; rotated components in assemblies

Images · 5