Inconsistent export step with 3d viewer

Bug #1800066 reported by Leandro Heck on 2018-10-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

3D viewer shows the board fine. But when exporting the step I get the following output:

I believe both tools should be consistent. If one works, the other should work too.

Executing '"/usr/bin/kicad2step" --no-virtual --drill-origin -f -o "/home/lheck/Dropbox/deepx/HOMEBASE/hardware-misc/blue-gecko-radio-plate-rpi/plate.step" "/home/lheck/Dropbox/deepx/HOMEBASE/hardware-misc/blue-gecko-radio-plate-rpi/plate.kicad_pcb"'
Warning: 23:26:16: /build/kicad-31k5XM/kicad-5.0.1-stable/kicad/utils/kicad2step/pcb/oce_utils.cpp: CreatePCB: 754
Warning: * could not close outline (dropping outline data with 1 segments)
Warning: + arc center: 123.996,-66.9972 radius: 2 angle: 90
Error: Unable to create STEP file. Check that the board has a valid outline and models.

Application: kicad
Version: 5.0.1-33cea8e~68~ubuntu18.10.1, release build
    wxWidgets 3.0.4
    libcurl/7.61.0 OpenSSL/1.1.1 zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.4) nghttp2/1.32.1 librtmp/2.3
Platform: Linux 4.19.0-041900rc8-lowlatency x86_64, 64 bit, Little endian, wxGTK
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 2.24
    Boost: 1.67.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.61.0
    Compiler: GCC 8.2.0 with C++ ABI 1013

Build settings:

Seth Hillbrand (sethh) wrote :

Can you attach the problematic board?

tags: added: export step
Leandro Heck (leoheck) wrote :

Seth, ok it is not a problem. It is attached here.

Seth Hillbrand (sethh) wrote :

Thanks. The outline is not closed. Here is the top left corner

I'm going to set this to a 6.0 item as we will be looking at merging the step export into the kicad application where we will have more control over the elements.

In the meantime, you can drag the endpoints and they should snap together.

Changed in kicad:
status: New → Triaged
importance: Undecided → Wishlist
milestone: none → 6.0.0-rc1
Leandro Heck (leoheck) wrote :

Yes sure, the fix was easy.

It is working for me, but 3D viewer and the step export weren't using the same process because it was working on 3D viewer.

Aligning this for 6.0 will good Seth! Thanks.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers