← Back to team overview

kicad-developers team mailing list archive

Zone corner chamfers/fillets and CPolyLine

 

Hi,

I've been thinking about adding a zone option to chamfer/fillet zone
corners. The easy way seems to be copying the user-drawn m_Poly in
BuildFilledPolysListData, chamfering/rounding the new polygon as
needed, and using that polygon in the rest of the
BuildFilledPolysListData function. DRC should work ok if the same
polygon is used in the drc functions related to zones. Do you see this
as a useful feature?

While thinking about this I ran into CPolyLine which includes the
side_style property, which sounds like it could also be used for
corner rounding. However, it seems that it's not currently used and
that its implementation is broken (at least in MakeKboolPoly). So,
what's the status and purpose of the side_style? Is it just some old
code that's still just sitting there or are there plans to use it in
the future?

marco



Follow ups