Add 3D shape dialog doesn't load files ending in .STEP

Bug #1664988 reported by Nimo
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
KiCad
New
Undecided
Unassigned

Bug Description

When trying to add a step model to a component footprint, the Select 3D Model dialog box does not display files ending in .STEP If the file extension is changed to .stp then the model is loaded correctly.

This isn't a major bug as there is an easy workaround, however some MCAD packages seem to output files with a .STEP extension by default which can be annoying.

Application: kicad
Version: (2017-02-05 revision 431abcf)-makepkg, release build
Libraries: wxWidgets 3.0.2
           libcurl/7.51.0 OpenSSL/1.0.2j zlib/1.2.8 libssh2/1.8.0 nghttp2/1.16.1 librtmp/2.3
Platform: Windows 7 (build 7601, Service Pack 1), 64-bit edition, 64 bit, Little endian, wxMSW
- Build Info -
wxWidgets: 3.0.2 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.62.0
Curl: 7.51.0
KiCad - Compiler: GCC 6.3.0 with C++ ABI 1010
        Settings: USE_WX_GRAPHICS_CONTEXT=OFF
                  USE_WX_OVERLAY=OFF
                  KICAD_SCRIPTING=ON
                  KICAD_SCRIPTING_MODULES=ON
                  KICAD_SCRIPTING_WXPYTHON=ON
                  KICAD_SCRIPTING_ACTION_MENU=OFF
                  BUILD_GITHUB_PLUGIN=ON
                  KICAD_USE_SCH_IO_MANAGER=OFF
                  KICAD_USE_OCE=ON

Tags: oce
Revision history for this message
Nick Østergaard (nickoe) wrote :

Well, there is an easy workaround. Just rename the file. I think I have seen this mentioned elsewhere on the bugtracker, this may be a duplicate.

tags: added: oce
Revision history for this message
Nimo (nimo-labs) wrote :

Really? I'm not expecting the bug to be set as top priority, but if the best answer is to repeat the workaround already suggested in the report then I'm not particularly impressed.

As for the duplicate, I did look but couldn't find anything. If it is a duplicate then I appologise for not looking properly.

Revision history for this message
Nick Østergaard (nickoe) wrote :

I am not here to impress you. Please stop talking things personally (not speaking of just you, this is a comment for everyone).

In the meantime I have found some more info regarding this for future reference; the problem is in passing the name to OCE. We use UTF8 but OCE obviously doesn't pass that to the OS correctly so someone need to see how OCE handles wide chars on Windows.

Revision history for this message
Wayne Stambaugh (stambaughw) wrote :

I thought Cirilo was looking into this. I haven't seen anything unless I missed it. Maybe he can give us an update.

Revision history for this message
Nick Østergaard (nickoe) wrote :

What I wrote earlier is the update. If anyone else finds the urge to dig deeper, feel free and go ahead.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.