Forums

[Script] SketchUp 2016

Auteur Réponses
MTres19 Lundi 22 Février 2016 à 2:33
MTres19Anonymous

Description

SketchUp is an easy-to-use architectural 3D modeling program. The user can build his or her models from scratch, or import models for free from the Trimble 3D Warehouse.

Things outside of Wine

When using the 3D Warehouse, the standard search function does not work. You must click the arrow and use the "Advanced search" to make it work. Should I warn about this in the script?

Errors

Tooltips don't display correctly, and the aforementioned problem with searching the 3D Warehouse. Also, LayOut and Style Builder don't work.

Script

#!/bin/bash
# Date: 2016-2-5
# Author: MTres19
# Wine version used: 1.8.1
# Distribution used to test: Kubuntu 15.10 (amd64)

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

TITLE="SketchUp 2016"
PREFIX="SketchUp2016"
WINEVERSION="1.8.1"

POL_SetupWindow_Init
POL_Debug_Init

POL_System_TmpCreate "$PREFIX"
cd "$POL_System_TmpDir"

POL_SetupWindow_presentation "$TITLE" "Trimble Navigation, Ltd." "www.trimble.com" "MTres19" "$PREFIX"

POL_System_SetArch "x86"
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"

POL_Call POL_Install_ie8

POL_Browser "https://www.sketchup.com/download"
POL_SetupWindow_message "$(eval_gettext 'Your browser will open shortly. Enter the information required for downloading SketchUp. Cancel the automatic download for 64-bit Windows. On the thank you page, click Download problems, then Download, and choose a version for 32-bit Windows. SketchUp Make is the free version.')" "$TITLE"
POL_SetupWindow_browse "$(eval_gettext 'Please select the setup file to run.')" "$TITLE"

Set_OS "win7"
POL_Wine "$APP_ANSWER"
POL_Wine_WaitExit "$TITLE"

POL_Shortcut "SketchUp.exe" "SketchUp"

POL_System_TmpDelete
POL_SetupWindow_Close
exit 0

Screenshot

22x22 Icon

donatt Lundi 4 Juillet 2016 à 23:06
donattAnonymous

Worked for me out of the box on Ubuntu 16.04 64-bit, thank you!

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmcayonlinux.com