STEP model behaving oddly

I know this is not completely on-topic for this forum… but I’m trying to use a STEP model from Phoenix Contact for my project, and when I assign it as the model in the Footprint Properties dialog it shows up…but when I attempt to rotate it into the proper orientation, the X and Z axes behave identically, as if there were only two axes.

I used FreeCAD to convert it to a WRL and the behavior was unchanged.

Can anyone suggest what I might be doing wrong?

pxc_1725669_05_MPT-0-5-3-2-54_3D.stp (504.4 KB)

Which version are you running? I do not observe this with your model and 5.1.4

Application: Pcbnew
Version: (5.1.4-34-g6796e8fff), debug build
Libraries:
wxWidgets 3.0.4
libcurl/7.64.0 OpenSSL/1.1.1c zlib/1.2.11 libidn2/2.0.5 libpsl/0.20.2 (+libidn2/2.0.5) libssh2/1.8.0 nghttp2/1.36.0 librtmp/2.3
Platform: Linux 4.19.0-5-amd64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.67.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.64.0
Compiler: GCC 8.3.0 with C++ ABI 1013

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

Application: Pcbnew
Version: 5.1.4-1.fc30, release build
Libraries:
wxWidgets 3.0.4
libcurl/7.65.3 OpenSSL/1.1.1c-fips zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.20.2 (+libidn2/2.0.5) libssh/0.9.0/openssl/zlib nghttp2/1.38.0
Platform: Linux 5.2.8-200.fc30.x86_64 x86_64, 64 bit, Little endian, wxGTK
Build Info:
wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8) GTK+ 3.24
Boost: 1.69.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.65.3
Compiler: GCC 9.1.1 with C++ ABI 1013

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

Hmm… Very similar then. Sanity check: do you have the correct model selected when choosing rotate? (I always forget to do this)

Do any of the other commands (scale, rotate, offset) behave strangely?

Sometimes a screencast would help others see what’s the problem.

If you use FreeCAD you could use StepUp as well, load the model and the footprint and rotate and move the model there and export it to KiCad-compatible step and wrl. They would be correctly placed without doing anything in KiCad.

Rotating that model works fine for me on Windows 10 / KiCad 5.1.4+.

The rotation of the model also works fine for the 3 axes with 5.1.4

My version:
Application: KiCad
Version: 5.1.4-e60b266~84~ubuntu18.04.1, release build
Platform: Linux 5.0.0-25-generic x86_64, 64 bit, Little endian, wxGTK

Well of course today I can’t reproduce the problem at all… must only happen on Mondays :slight_smile:

With this (and another) STEP model imported, the 3D view now shows my board fully populated:

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.