← Back to team overview

kicad-developers team mailing list archive

Re: Arc bounding box

 

In response to a message written on 02.09.2015, 22:38, from Maciej Sumiński:
True, I would like to remove the center point due to the same reason. I
am just not sure if there is other code relying on the current
behaviour, or if it was intentional.
Attached PCB footprint file is a proof that taking arc center into bounding box is pointless.

--
Best Regards,
LordBlick
(module Arc-Test (layer F.Cu) (tedit 55E8A4C1)
  (attr smd)
  (fp_text reference Arc-Test (at 1.27 -1.27) (layer F.SilkS) hide
    (effects (font (size 0.635 0.381) (thickness 0.0635)))
  )
  (fp_text value Val** (at 1.27 1.27) (layer F.SilkS) hide
    (effects (font (size 0.635 0.381) (thickness 0.0635)))
  )
  (fp_arc (start 1.27 -3.12928) (end 3.81 1.27) (angle 60) (layer F.SilkS) (width 0.254))
  (fp_arc (start 1.27 3.12928) (end -1.27 -1.27) (angle 60) (layer F.SilkS) (width 0.254))
  (fp_arc (start -0.53594 0) (end -1.27 1.27) (angle 120) (layer F.SilkS) (width 0.254))
  (fp_arc (start 3.07594 0) (end 3.81 -1.27) (angle 120) (layer F.SilkS) (width 0.254))
  (pad 1 thru_hole oval (at 0 0) (size 1.651 1.905) (drill 0.8) (layers F&B.Cu *.Mask))
  (pad 2 thru_hole oval (at 2.54 0) (size 1.651 1.905) (drill 0.8) (layers F&B.Cu))
)

Follow ups

References