KiCadStepUp → Push Sketch to PCB results in arcs going the wrong way

“Push Sketch to PCB” from the KiCadStepUp workbench results in arcs going the wrong way. Here’s how the board outline is supposed to look:

After pushing the outline from FreeCAD to KiCAD, it looks like this:

Why is that happening and how can I fix it?

freecad Version: 1.1.0dev.39792 (Git)
kicad StepUp version 12.3.4
kicad Version: 8.0.7+1, release build

hiu @wxE5
would you please send me the original FC file? (even as PM if you prefer)
Rarely the edges get inverted by the CAD; a simple copy before pushing the sketch to pcb, could solve the issue.

Here:
stepupswap.FCStd (25.4 KB)
stepupswap.kicad_pcb (4.4 KB)

Thanks for the quick reply.

hi,

  1. first just act with FC on top view
  2. click on the command to create a shape2Dview of the sketch
  3. select and push directly the shape2Dview to the original pcb

stepupswap-shape2dview.FCStd (32.9 KB)
stepupswap-pushed.kicad_pcb (4.5 KB)

That’s better than before, but not quite there, yet:

strange, no issue on my side:
FC FreeCAD_weekly-builds-39786-conda-Linux-x86_64-py311.AppImage (the same on win)
kSU ksu_wb_version=‘v 11.04.4’
verKSU=“12.3.4”
kicad Version: 8.0.6, release build
Platform: Freedesktop SDK 24.08 (Flatpak runtime), 64 bit, Little endian, wxGTK, X11, cinnamon, x11

Weird, really. When I perform exactly the same steps, it comes out with the circles mangled as in my screenshot. Our FreeCAD, KiCAD and KiCadStepUp (I assume that’s what kSU means) versions differ, though.

But apart from that, no clue. It’s 100% reproducible here. Every time.

hi,
you missed to orient the board from top view at the beginning of the procedure, as in my video

With the rotated view I get the same result as you. Thanks, that’s working now!

And just for my understanding: is the “3D to 2D” a workaround for the issue or is that a required step that’s supposed to be done in all cases? It seems unintuitive since a sketch is already a 2D representation rather than 3D.

Thanks for your quick help. Much appreciated!

I don’t get a different orientation between kicad and freecad.

not at all… rarely I got this issue reported and not even at github
Simply work from top view (default for FC) and you shouldn’t have any issue at all.

1 Like