pcbnew-> Export to WRL -> origin is center of all objects (including user drawings not in the board outline)
Description
If I export a wrl card with origin to the center, where external user.drawing type graphic layers are drawn to the edge-cut edge, the center of origin will not be in the center of the board alone but in the center between the board and the external graphic layer.
The reference should not be taken only from the edge-cut perimeter?
I did not understand how the reference works using the personalized origin.
center origin without graphic layers off the board.
origin in the center with graphic layers off the board edge.
Here's what it looks like in pcbnew with external graphic layers.
Steps to reproduce
- draws an edge-cut square.
- draws a user.drawing graphic straight on the outside of the edge-cut board.
- exports the card to wrl with origin to the center of the card.
- verifies that the origin is not in the center of the card.
KiCad Version
Application: Editor di C.S. KiCad (64-bit)
Version: (6.99.0-2017-gabba1b04bd), release build
Libraries:
wxWidgets 3.1.6
FreeType 2.11.1
HarfBuzz 4.2.0
FontConfig 2.14.0
libcurl/7.83.1-DEV Schannel zlib/1.2.12
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: May 31 2022 07:18:00
wxWidgets: 3.1.6 (wchar_t,wx containers)
Boost: 1.79.0
OCC: 7.6.0
Curl: 7.83.1-DEV
ngspice: 36
Compiler: Visual C++ 1929 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON