@@ -269,7 +269,7 @@ export const convertKicadJsonToTsCircuitSoup = async (
269269 // x/y are the pad center; hole_offset_* positions the hole
270270 x : pad . at [ 0 ] ,
271271 y : - pad . at [ 1 ] ,
272- hole_offset_x : rotOff . x ,
272+ hole_offset_x : - rotOff . x ,
273273 hole_offset_y : - rotOff . y ,
274274 hole_diameter : pad . drill ?. width ! ,
275275 rect_pad_width : width ,
@@ -370,7 +370,7 @@ export const convertKicadJsonToTsCircuitSoup = async (
370370 // x/y are the pad center; hole_offset_* positions the hole
371371 x : hole . at [ 0 ] ,
372372 y : - hole . at [ 1 ] ,
373- hole_offset_x : rotOff . x ,
373+ hole_offset_x : - rotOff . x ,
374374 hole_offset_y : - rotOff . y ,
375375 hole_diameter : holeDiameter ,
376376 rect_pad_width : isNinetyLike ( rotation )
@@ -433,8 +433,8 @@ export const convertKicadJsonToTsCircuitSoup = async (
433433 pad_shape : "rect" ,
434434 x,
435435 y,
436- hole_offset_x : rotOff . x ,
437- hole_offset_y : - rotOff . y ,
436+ hole_offset_x : - rotOff . x ,
437+ hole_offset_y : rotOff . y ,
438438 hole_diameter : holeDiameter ,
439439 rect_pad_width : width ,
440440 rect_pad_height : height ,
0 commit comments