SketchUp 2017 + Wine + SketchUp STL: Empty dialog window on export
The SketchUp extension SketchUp STL allows you to export your model to an .stl file. But starting the export process only creates an empty/white dialog window.
The SketchUp STL dialog window pops up but it is all white. There are two options to fix this:
- Install IE8 in your prefix
- Change the extension code to not show the popup dialog
Install IE8 in your prefix
The dialog depends on IE8 to display its contents. You can install IE8 with e.g. winetricks. I noticed some program crashes, so I looked for another solution.
Change the extension code
In my case, I don't need to change the default settings shown in the dialog box, so I can skip it. The dialog window must therefore be completely bypassed in the code and the default settings used. This can be done by changing the file exporter.rb
file in the directory <path-to-prefix>/drive_c/users/<username>/AppData/Roaming/SketchUp/SketchUp 2017/SketchUp/Plugins/sketchup-stl
.
To bypass the dialog, find method self.do_options
and replace it with the following code: