I’m trying to design a circle segment-shaped pad and getting the “Custom pad shape must resolve to a single polygon” error message, even though the lines continuously enclose the area of the pad.
With these values (for arc + segment) kicad is right - these values don’t give a closed polygone. The arc and the segment share indeed the point (-3.7 ; -3.36), but not the other point (-3.7 ; +3.36).
Instead of exactly calculating the startpoint/endpoint/angle of arcs (which result often in values with 10digits accurance) I would recommend to use the graphical tools (and with that use the snapping-feature to ensure that arc+line are connected:
draw a line (on F.Cu) from (-3.7 ; -3.36) to (-3.7 ; +3.36)
draw a arc (center point (0,0), start-point (-3.7 ; +3.36), endpoint (-3.7 ; -3.36)
select line + arc → RMB-click–>context menu → create from selection → create polygone from selection
delete the original line+arc
if you want the shape as filled: doubleclick the polygon → polygone parameters dialog → set to filled shape
place and select the central pad (as origin for the custom pad)
RMB-click–>context menu → Edit Pad as graphic shape