STEP export does not handle splines

Bug #1811738 reported by energijapanikoj@gmail.com on 2019-01-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
Medium
Unassigned

Bug Description

Application: kicad
Version: 6.0.0-rc1-unknown-e7fa02a~66~ubuntu16.04.1, release build
Libraries:
    wxWidgets 3.0.2
    libcurl/7.47.0 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.32 librtmp/2.3
Platform: Linux 4.15.0-30-generic x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.58.0
    OpenCASCADE Community Edition: 6.8.0
    Curl: 7.47.0
    Compiler: GCC 5.4.0 with C++ ABI 1009

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=OFF
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

The file attached below does not export as a step specifying these warnings:

Warning: 03:07:18: /build/kicad-eFQGXV/kicad-201901141302+e7fa02a~66~ubuntu16.04.1/kicad/utils/kicad2step/pcb/oce_utils.cpp: CreatePCB: 754
Warning: * could not close outline (dropping outline data with 11 segments)
Warning: + arc center: 11.2965,-27.3703 radius: 0.5 angle: -154.026
Warning: + arc center: 3.38876,-18.4332 radius: 11.4333 angle: 17.8757
Warning: + line start: 13.2277,-24.2569 end: 13.8829,-24.6447
Warning: + arc center: 3.38876,-18.4332 radius: 12.1946 angle: 16.2425
Warning: + line start: 15.2014,-21.4615 end: 14.4639,-21.2725
Warning: + arc center: 3.38876,-18.4332 radius: 11.4333 angle: 28.7575
Warning: + line start: 14.4639,-15.594 end: 15.2014,-15.4049
Warning: + arc center: 3.38876,-18.4332 radius: 12.1946 angle: 16.2425
Warning: + line start: 13.8829,-12.2217 end: 13.2277,-12.6095
Warning: + arc center: 3.38876,-18.4332 radius: 11.4333 angle: 17.8757
Warning: + arc center: 11.2965,-9.49611 radius: 0.5 angle: -154.026
Warning: 0x7f8c4542fc5b : Standard_NullObject: A null Label has no attribute.
Error: Unable to create STEP file. Check that the board has a valid outline and models.

While 3D view shows the board just fine. There is one outline connection missing in 1nm in both X and Y directions, this is a connection of two arcs. I have tried separating those points and connecting them with a line perfectly, but export still does not work.

Seth Hillbrand (sethh) wrote :

3d export does not yet support bezier curves. 3d-viewer does.

Changed in kicad:
importance: Undecided → Medium
milestone: none → 6.0.0-rc1
status: New → Triaged
summary: - Can't export STEP due to bad outline, but 3D view is fine
+ STEP export does not handle splines
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers