"3D step export": model missing, but correctly rendered inside 3D viewer
Description
This specific board is correctly shown inside pcbnew 3D viewer, but exported step file does not contain connector 3D body, only PCB. Kicad2Step log contains error message:
- Opencascade error: Convert_TorusToBSplineSurface
Steps to reproduce
- Open this board tmp.zip
- Connector is rendered perfectly inside 3D viewer:
- File -> Export -> Step -> OK;
- Board is exported without connector body, error "Opencascade error: Convert_TorusToBSplineSurface" can be spotted inside Kicad2Step window.
Kicad2Step window log contents:
Read: C:\**\tmp\tmp.kicad_pcb
Build STEP data
add component P2
could not add component P2
>>Opencascade error: Convert_TorusToBSplineSurface
Create PCB solid model
Build board outline (3 items)
Build board cutouts and holes (5 holes)
Generate board full shape
Write STEP file
*******************************************************************
****** Statistics on Transfer (Write) ******
*******************************************************************
****** Transfer Mode = 0 I.E. As Is ******
****** Transferring Shape, ShapeType = 0 ******
*******************************************************************
****** Statistics on Transfer (Write) ******
*******************************************************************
****** Transfer Mode = 0 I.E. As Is ******
****** Transferring Shape, ShapeType = 0 ******
** WorkSession : Sending all data
Step File Name : $tempfile$.step(866 ents) Write Done
Step file C:\**\tmp\tmp.step created
STEP file:
C:\**\tmp\tmp.step
has been created successfully.
- Something is whispering me that here is nothing to do from kicad's side.. :)
KiCad Version
Application: Pcbnew
Version: (5.99.0-3832-gb31ebae651), release build
Libraries:
wxWidgets 3.0.5
libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Oct 7 2020 09:08:08
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OCE: 6.9.1
Curl: 7.71.0
ngspice: 32
Compiler: GCC 10.2.0 with C++ ABI 1014
Build settings:
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_PYTHON3=OFF
KICAD_SCRIPTING_WXPYTHON=ON
KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
KICAD_SCRIPTING_ACTION_MENU=ON
BUILD_GITHUB_PLUGIN=ON
KICAD_USE_OCE=ON
KICAD_SPICE=ON
Edited by Michael Kavanagh