StudioGettingStarted Pilot
StudioGettingStarted Pilot
Contents
Introduction.................................................................................................................7
Core Components ................................................................................................8
ThingWorx Experience Service Architecture Overview.............................................9
Supported Devices, Operating Systems, and Browsers ................................................ 11
Installing ThingWorx Studio........................................................................................13
Updating ThingWorx Studio to the Latest Version ..................................................14
Installing on Windows .........................................................................................15
Installing on Mac.................................................................................................18
Installing ThingWorx View ..........................................................................................21
Obtaining and Installing PTC Creo Illustrate ................................................................23
ThingWorx Authorization............................................................................................31
Global Experience Index (GXI) ...................................................................................33
Generating ThingMarks in Specific Sizes ....................................................................35
1
Introduction
Core Components .......................................................................................................8
ThingWorx Experience Service Architecture Overview ...................................................9
This guide provides the information needed to install and deploy the following
components:
ThingWorx Studio
ThingWorx View
Core Components
ThingWorx Studio
ThingWorx Studio is a web-native, easy-to-use tool for authoring domain and
task-specific Experiences that provide an integrated view of digital and physical
product data, dashboards, and alerts with 2D, 3D, and augmented reality.
ThingWorx Experience Service
ThingWorx Experience Service is an enterprise-class, secure and scalable server
used by both ThingWorx Studio and ThingWorx View. The following table lists
simple use cases for Experience Service.
ThingWorx Component
ThingWorx Studio
ThingWorx View
ThingWorx Core
Use Case
Published Experiences are stored on
ThingWorx Experience Service.
Once a ThingMark is scanned,
ThingWorx View searches ThingWorx
Experience Service for all relevant
Experiences. Once search results are
returned and a user selects an
Experience, the Experience is loaded in
ThingWorx View.
Used to serve data from Edge devices.
Optionally, it can delegate
authentication.
Note
ThingWorx Experience Service is a fully standalone node application and does
not have any dependencies on ThingWorx Core.
ThingWorx View
ThingWorx View delivers Experiences rich with 2D and 3D graphics, augmented
reality, and real-time product data. ThingWorx View uses specialized markers
called ThingMarks, that once scanned, immediately deliver relevant 2D, 3D, and
AR Experiences. Experiences augment the view of your immediate surroundings
with context-sensitive information and graphics, enabling you to interact directly
with the things around you.
Getting Started
Note
Edge devices should not be connected using ThingWorx Experience Service.
Instead, they should be accessed directly through ThingWorx Core using
alternative ports, Enterprise Load Balancer (ELB), etc.
A ThingWorx Experience Service extension is available that provides the ability
to automatically register ThingMarks with a ThingWorx Experience Service
directly from ThingWorx Core. The extension can be configured either in
ThingWorx Composer or can be automated using REST APIs; services are
available to validate configuration.
Introduction
Communication Protocols
ThingWorx Studio leverages web-based protocols for communication with clients.
These protocols are primarily HTTP(S) over standard web ports.
The following table lists the protocols and communication paths used within the
ThingWorx Studio architecture.
Software Component
ThingWorx Experience
Service
ThingWorx Studio
ThingWorx View
ThingWorx Core
10
Default Port
443
Protocol
HTTPS
443
443
8080
HTTPS
HTTPS
HTTP
Getting Started
2
Supported Devices, Operating
Systems, and Browsers
ThingWorx View iOS Supported Devices (iOS 9.0 or later)
Device
iPhone
iPad
Supported Versions
5s, 6, 6 Plus, 6s, 6s Plus, SE
Air, Air 2, Mini 4, Pro, Pro 9.7
Supported Versions
El Capitan
7, 10 (64-bit only)
Supported Browsers
Chrome
Chrome
Note
The screen resolution minimum is 1280.
11
3
Installing ThingWorx Studio
Updating ThingWorx Studio to the Latest Version.........................................................14
Installing on Windows ................................................................................................15
Installing on Mac .......................................................................................................18
13
14
Getting Started
Note
The Home Directory that ThingWorx Studio uses is controlled by HOME
environment variable, or if that doesn't exist the USERPROFILE environment
variable is used. For example, on Windows the home directory could be D:\
Users\jdoe\, or on OS X, ~/.
Installing on Windows
1.
2.
3.
4.
5.
6.
15
7. Once the install has completed, the ThingWorx Studio window appears. Click
Open.
16
Getting Started
10. Enter your ThingWorx Experience Service URL. This will configure
ThingWorx Studio to use your Experience Service.
17
Installing on Mac
1.
2.
3.
4.
5.
6.
18
Getting Started
19
4
Installing ThingWorx View
The latest version of ThingWorx View is available in the Apple App Store or
Google Play for your supported mobile devices and operating systems. Check
your App updates and install the latest version or, if you are installing for the first
time, search for ThingWorx View.
21
5
Obtaining and Installing PTC Creo
Illustrate
The ThingWorx Studio Pilot Program includes access to Creo Illustrate for
preparing your 3D models and creating animation sequences.
Obtaining PTC Creo Illustrate Licenses
1. If you do not already have a ptc.com account, you will need to register for one
at: https://support.ptc.com/appserver/common/account/createAccount.jsp
2. Use the PTC Installation Assistant to retrieve and install a license by
downloading and running https://free-dl.ptc.com/install/setup.exe.
Note
You will only install the license through this tool, not the actual software.
23
4. On the Software License Agreement screen, select I accept the software license
agreement. and select the Export Agreement checkbox, and click Next.
24
Getting Started
25
Caution
Do NOT make any changes to the list of license sources in the License
Summary section.
7. Once the license installation has finished processing, click Finish to exit the
PTC Installation Assistant.
8. You will receive an email that includes your license pack. Save the .dat file
in the email to the following location on your system if it is not already there:
C:\ProgramData\PTC\Licensing\VS420607ED1040-YJWMKD98_license.dat
26
Getting Started
Note
Alternatively, you can generate a Creo Illustrate license through the PTC
Licensing request form using the following procedure:
1. Find the host ID for your machine by executing the ipconfig/all
command from a command prompt window.
2. Find and note the Physical Address.
3. From the link below, complete and submit the License Request form. You
will be asked to enter your PTC user name and password.
http://www.ptc.com/appserver/lm/programs/licensing_programs_v.jsp
4. After you successfully submit the request form, you will receive an email
that includes your license pack. Save the .dat file to the following
location on your system:
C:\ProgramData\PTC\Licensing
27
Note
Downloading the .zip may take a moment.
2. Once the .zip has finished loading, extract the contents into a new, empty
directory, and then double-click the setup.vbs file.
3. If a Windows User Account Control warning appears, click Yes.
4. Select a language and click OK.
5. On the Before You Begin page, read the information and click Next.
6. Click I Accept on the PTC Customer Agreement page. Click Next. The Select
Directory page appears.
7. Under Installation Directory, accept the default directory, or browse to a new
path and click Select. The Review Settings page appears.
8. Review the settings and click Install.
9. Once installation is complete, click Done.
10. PTC Creo Illustrate is now installed.
28
Getting Started
3. Enter the following path to your license file in the License Server field:
C:\ProgramData\PTC\Licensing\VS420607ED1040-YJWM-KD98_license.dat
4. Click Start.
5. You can now begin using Creo Illustrate.
29
6
ThingWorx Authorization
An Experience can display data from ThingWorx in widgets such as sensors and
labels. In order for the ThingWorx data to be displayed in the Experience, the user
viewing the Experience must have the necessary ThingWorx permissions to access
the data. Each user that uses an Experience that access data in ThingWorx must be
granted the following run time permissions in ThingWorx.
If web sockets are used to push property values to the Experience, then each user
that uses the experience must be granted the following additional run time
permissions.
31
7
Global Experience Index (GXI)
GXI eliminates the need for you to manually configure ThingWorx View to point
to your ThingWorx Experience Service and processes queries for any ThingMark.
When the GXI receives a ThingMark query, it identifies the ThingWorx
Experience Service that hosts Experiences for that ThingMark and redirects the
query to that specific ThingWorx Experience Service.
By default, ThingWorx View uses the GXI but can also be manually configured to
use a different Experience Service.
33
8
Generating ThingMarks in Specific
Sizes
This topic provides the steps required to generate ThingMarks of specific sizes for
printing and subsequent use with ThingWorx View.
Prerequisites
Before you can generate ThingMarks in different sizes, you must install imageediting software such as GIMP (GNU Image Manipulation Program), that
supports the Scalable Vector Graphics format (.svg files). You can download
GIMP from the following link:
https://www.gimp.org/downloads/
35
3. Select the appropriate unit of measurement from the drop-down menu next to
the Height field.
4. Enter the desired Width of the ThingMark.
Note
To preserve correct proportions, the Height property is adjusted
automatically.
5. Set the desired Resolution.
Tip
Setting the Resolution to 120 pixels/in displays the best with Microsoftbased tools, including Microsoft Office. Other resolutions can result in
incorrect printed sizes.
36
Getting Started
Note
When printing ThingMarks from Microsoft Word or Adobe Acrobat/Reader,
ensure that you do not to select printing options such as Shrink to fit. These
options could adversely affect the size of the printed ThingMark.
You can also export the ThingMarks for later use using the following steps.
1.
2.
3.
4.
Note
Saving the ThingMark in other formats, such as a JPEG, can result in the
loss of quality due to compression.
5. Click Export.
37