I have problem generating coils in python for Kicad with this code v2 with spin direction and increasing amount of segments per turn for smoother result in outer circles · GitHub
for some reason i can’t get more than 17 windings.
for example if I set the following parameters in the code:
Center = [115.0,105.0] # x/y coordinates of the centre of the pcb sheet
Radius = 2.54 # start radius in mm
Sides = 20.0
StartAngle = 0.0 # degrees
TrackWidth = 0.127
TrackDistance = 0.2286
Turns = 22
Spin = -1 # ccw = +1, cw = -1
Layer = “fcu”
Net = “1”
it generates only 12 turns. May I know where the problem could be?