PCB based Rogowski coil

I’m trying to create a PCB based Rogowski coil. Any idea if kiCad can create ‘wrapping’ of traces in a circular traces between 2 layers.
Unfortunately I’m unable to attached a drawing as i’m a new user.

Looks like a python scripting problem to me… https://en.wikipedia.org/wiki/Rogowski_coil

https://upload.wikimedia.org/wikipedia/commons/thumb/7/74/Rogowsky_coil.png/800px-Rogowsky_coil.png

Have a look here for inspiration/start?
- standalone python script that creates copper spiral
- output needs to be collected in a txt file and manually copy&pasted into a kicad_pcb file

And please post updates if you try to go down that path, sounds interesting - can’t commit time for it now though.

Thanks for the codes but i have no experience with Python or kicad.
Can you nudge me in the right direction, i would like to give it a try to see if it works.

The links you posted are indeed rogowski coils thou the ones i’m trying to achieve is on a pcb board.

That up there is the ‘nudge’ :wink:

If you open a .kicad_pcb file in a text editor you can read what is in there, as it’s human readable.
All python does is create some string elements that KiCAD understands really - creating the positions for the many vias that you need and the pieces of copper tracks with their various positions (x,y).

This should give you an idea what’s involved…