Rounded rectangles on paste layer render incorrectly in 3d viewer
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. --> # Description <!-- What is the current behavior and what is the expected behavior? --> Rounded rectangles in the paste layer (drawn manually on top of a copper pad, with the paste technical layer deselected in the pad definition) are rendering "swirled" in the 3d renderer for the PCB. (Screenshot of incorrect rendering is attached) ![incorrect-render](/uploads/971480852752699383edce7d7d73d6f2/incorrect-render.png){width=715 height=568} The rounded rectangles draw correctly on the footprint editor and the PCB editor. (Screenshot of PCB editor with correct shapes attached. F.Cu layer is hidden; F.Paste visible on top of F.Mask.) ![paste-layer-editor](/uploads/4ce8d3b01270b0e8bc8faa2106594319/paste-layer-editor.png){width=735 height=600} * The 3d render launched from within the footprint editor is also correct. It's the 3d render of the complete PCB that has the issue. * Plotting the PCB to gerber files seems fine. Viewing in the gerber viewer shows expected shapes. * Despite the "swirled" shapes having an angle to them, the original component geometry is not rotated; all lines are drawn parallel to the x and y axes. <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> <!-- Add the issue details below this line and before the "Steps to reproduce" heading. --> # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> <!-- Add the steps to reproduce using the numbers below --> <!-- Add new step numbers before the "KiCad Version" heading. --> 1. Created a footprint with an SMD pad 2. Deselected "F.Paste" from the technical layers for the pad; only F.Cu and F.Mask selected. 3. Drew some rounded rectangles (0.25mm corner radius) on top of the pad. 4. Use the footprint in a PCB Footprint file is attached in case this specific file holds the clue. [Tai-Tech_HPC_6045NV.kicad_mod](/uploads/3dbf17c6f8760b749546f7df25fa2019/Tai-Tech_HPC_6045NV.kicad_mod) # KiCad Version <!-- Copy version information (from main menu Help->About KiCad ->Copy Version Info) and paste it between the triple backticks below to preserve the formatting. --> ``` Application: KiCad 3D Viewer x64 on x64 Version: 10.0.0, release build Libraries: wxWidgets 3.3.2 FreeType 2.13.3 HarfBuzz 12.3.0 FontConfig 2.17.1 Platform: Windows 11 (build 26200), 64-bit edition, 64 bit, Little endian, wxMSW OpenGL: NVIDIA Corporation, NVIDIA GeForce RTX 3070/PCIe/SSE2, 4.6.0 NVIDIA 576.40 wxWidgets: 3.3.2 (wchar_t,STL containers) Boost: 1.90.0 OCC: 7.9.2 Curl: 8.18.0 ngspice: 45.2 Compiler: Visual C++ 1944 without C++ ABI KICAD_IPC_API=ON KICAD_USE_PCH=OFF Locale: Lang: en_US Enc: UTF-8 Num: 1,234.5 Encoded кΩ丈: D0BACEA9E4B888 (sys), D0BACEA9E4B888 (utf8) ```
issue