Recently active
If the experience project exists in Vuforia Studio Unpublish the project by hovering over the project and clicking the unpublish project Experiences icon . This action removes Experiences from the Experience Service. If the experience project does not exist in Vuforia Studio Using CURL Command Curl -u <username>:<password> -H "Content-Type: Application/JSON" -X "DELETE" https://<your-domain-name>/ExperienceService/content/projects/<projectname> username: Experience Service username password: Experience Service password your-domain-name: Experience Service domain projectname: Experience project name to be deleted Using REST call from Postman Select query method as 'DELETE' Enter the URL as https://<your-domain-name>/ExperienceService/content/projects/<project-name> your-domain-name: Experience Service domain projectname: Experience project name to be deleted In Authorization menu Choose Authorization type as 'Basic Auth'. Add the
Your company might have a css that represents the corporate identity - or you may have other sources of reusable css styles that you want to include with minimal effort. Here is what you have to do to use corporate css files to drive the look and feel of your experiences: Add the corporate css file (e.g. company.css) to your resources In Application styles add the following at the beginning (before any other css style entry: @import url(#{$resources}/Uploaded/company.css); With the following content in company.css: And this label definition: Produces this outcome (you see it in the editor as well as in the preview): Gotcha!
Just helped someone who was seeing a difference between the Preview mode and what Vuforia View was showing. The experience was being developed for public access, so what was happening is that Preview mode worked because they were using their Studio credentials to run the Thingworx service. When they used Vuforia View, they were using es-public-access to run the Thingworx service. And es-public-access did not have the runtime permissions to execute the service. The error indication was found in the Application Log complaining about the Entity and Service not being able to be run. Don't forget to set your permissions for es-public-access so it can run your services!
With release 1.9.1, pilot and free trial participants can auto-configure Vuforia Studio to make it easier to get up and running quickly. The auto-configure process does the following: Configures the sample projects included with your Vuforia Studio installation so that when you publish those projects they are published to your experience service and can be viewed in Vuforia View using one of your ThingMarks Retrieves the Experience Service (ES) URL - can find at Project -> Configuration -> Info section. We are no longer sending the ES url through welcome email. Downloads your ThingMarks and makes them available on the My ThingMarks page inside Vuforia Studio so that you can view your ThingMarks and print them out In order to complete the auto-configuration process, users are first required to authenticate using their PTC Account credentials. For participants in the Vuforia Studio Free Trial, this does not introduce any confusion since they use their PTC Account
This is the second Javascript quark in the series: it can be used to fade a widget out. You can find the first quark here. Here's the code to copy & paste to your Home.js: $scope.fadeOut = function(widget, time, interval) { let w = (widget.opacity !== undefined ? widget : $scope.view.wdg[widget]); if (time <= 0 || interval <= 0 || w.opacity === undefined) { throw "Cannot fade this widget"; } let steps = Math.floor(time / interval); let opDelta = w.opacity / steps; return $interval(() => w.opacity = (opDelta < w.opacity) ? (w.opacity - opDelta) : 0, interval, steps); } This quark will make the widget fade out from its current opacity to 0 in time milliseconds, uniformly decrementing opacity at every interval . Invoke the function like this: fadeOut(widget, time, interval); where widget is either the id of the widget (e.g. modelItem-1) or the widget itself (e.g. $scope.view.wdg['modelItem-1']), time&n
Hello, is it possible to write a JS code to play a sequence while one of the value from thingworx is 0, and stop it if value is changed to 1. Imagine a propeller which should rotate while value is not changed. Many Thanks Janos
Hello,I'm trying to create a dynamic list. So that when an item in the list is clicked on, it sends me to another experience (i.e. activate a hyperlink) I'm currently populating the list with a JSON list and utilizing the "return JSON.parse(value)" function, and the list displays the Name column.[{"Experience":"URL1","Name":"Name1"},{"Experience":"URL2","Name":"Name2"},{"Experience":"URL3","Name":"Name3"},{"Experience":"URL4","Name":"Name4"}] So the question is, how do you go about utilizing the "Item click" event within the list widget to activate a hyperlink based on which item was clicked?
Hi, Is is possible that I modify the bound data with script? I want to use one model but I would like to change data which is used from Thingworx. Many thanks in advance Janos
At the frist sight the issue , may be , seems to be more related to thingworx or navigate, but this is often a question which is related to models used in Studio and customers want to have some tools to view such models outside Vuforia Stuido and Vuforia View . Another important point is that Vuforia Studio Preview, Navigate Thingview and Creo View WebGL Toolkit use /are based on the same thingview library. The official statement of PTC here is that thingview widget, which is part from the Navigate extension is not supported for customized mashups and correct work is guaranteed only as part of the navigate functionality. Therefore, there is no documentation provided for the customization of this widget and no technical support cases will be handled on address of related issues. Also the geometry file formats supported by thingview are mainly the files supported by the Creo View application. All other file formats (which are not av
In the post “How to select model components in a 3d model without explicit definition of model Items” there is one point where we require a list of component items. Often we have the case where we get a Creo View .pvz file which was published by Creo Illustrate. In this case Creo Illustrate will do additional changes for the occurrence Id path so that if we have a bom list coming from Creo Parametric then this data will be not usable. So the question here is : Is it possible to extract a bom list for any *.pvz files? The answer is Yes. We can do this using the Creo View Toolkit API ( this is one possible option). Creo View API Toolkit consist of many different moduls : Java Toolkit , Web Toolkit (only Internet Explorer related) Office Toolkit and the new one introduced since 5.1 release module WebGL Toolkit. We can extract BOM list with Java Toolkit but it requires more complex programming
In this article I want to consider the question how to define a TWX service, which could create a Bom and Viewable Lists from json files. This will be very helpful option when we want to display some CreoView data in Thingview. How to extract BOM and viewable data form a Creo View /Illustrate *.pvz file is shown in the post "How to extract the components with properties from a pvz file". In this example the json files are saved already in a thingworx repository (means a thing form template FileRepostiroy) e.g. "CAD-Files-Repository" : 1.)Create a service for the BOM List /InfoTable edit the CAD-Files-Repository thing and create a new service named "GetBomStruct_arg_path" set the BaseType : INFOTABLE . Set the DataShape property of the service - > here to BomListStuct -> this datashape need to be created first . It sho
This post should provide more detailed steps additionally to the posts ("How to extract the components with properties from a pvz file"[1.] and "How to use ThingView Widget from Navigate to display CAD Model/Viewables in custom mashup- Concept"[2]) This post should consider more detailed the steps for the extracting of viewables and also how to extract the sequence steps information from a .pvz / Creo Illustrate model for further usage in a Thingworx service. Following steps: 1.) Extracting the data from the Creo View Model ( Created from Creo Illustrate via publish to pvz functionality) As described in [1.] we required for the extraction of information a Creo View Toolkit. A good choice will be the usage the Creo View WebGL toolkit module. A web toolkit program is called inside a html document ,where the javaScript Creo View WebGl Api is embedded. So, the most important logic could be called on the windows load function. The code below&n
Hi Guys, I'm new to Vuforia Studio so i try to figure out, how some mechanics work. What I want to do is, I Want a 3D-Picture turn on, at for example by Step 5 and turn off by Step 8. I already can select a sequence from a 2D-Select Widget, press play and see the animations. $scope.setsequenceList = function(){ $scope.app.params.sequenceList = [ { "display":"Item1", "value":"app/resources/Uploaded/l-Creo%203D%20-%20Sequence%202.pvi" } ] } $scope.setsequenceList(); Now only my 3D-Picture "Warning" is missing. I already found some guides but i'm not able to transfer the solutions into my problem (Beginner Level with Coding). https://community.ptc.com/t5/Studio/Play-specific-step-of-PVI-sequence-at-studio/m-p/552906#M3362 and https://community.ptc.com/t5/Studio/How-to-turn-3D-image-files-on-and-off-when-using-a-2D-select/m-p/611996 If you can help, I would appreciate 🙂
In this article we have the same start point/state as described in “How to read sensors via Rest API call in and display it Vuforia Studio experience project?”… but with one significant difference ->the sensors URLs are not visible for the Thingworx service. The problem is that the sensors values should be requested via Rest API calls in a local intranet. This means that the end devices are connected to a local router and have IP valid only in the local WLAN. Othersides the router have also internet access. The end devices could connect to the Experience Server and could download e.g. the experience. The sensor URL and rest API call should be some thing like: var url="http://172.16.40.43.5900/api/v0/dev_id=6&size_id=123"; So, it means the IP address of the device, where the value should be requested via Rest API calls is not visible from outside of the local WLAN and the Rest API call could done only inside the local network. So here
In this particular cases we have some sensors/devices which could be accessed via WLAN/ Web and also we need to scan /request the values of these sensors via rest API calls. For example from javascript code for simple REST API request the code should looks like (used a test web page which provides demo response) : //this code will work fetch('https://jsonplaceholder.typicode.com/todos/6') .then(response => response.json()) .then(json => {console.log(json); }) .catch(error =>{ console.error(error);}) }; ... but the same code will not work for http url fetch('http://ip.jsontest.com/') .then(response => response.json()) .then(json => {console.log(json); }) .catch(error =>{ console.error(error);}) }; When I tested it - my observation was that https and http requests will work in Studio in preview mode. But only the https request will work on both Android and IOS devices. The http fetch request will not
Mechanism Concept in Vuforia Studio- How to make rotation more easy When we try to rotate a model or 3d modelitem about a particular space axis it seldom will rotate about the correct axis as we want. So, in this case we can try to solve this when we use some mathematical calculations. For example in the example(picture below) - door assembly we want to rotate the door subassembly via the door hinges: but when we try to rotate the door model about 60degree it rotates undesired on the wrong axis. The question is: Which is this axis and how to change it? The answer here is : When we have a PVZ model we cannot really change it! We can use some mathematical relations to get the correct behavior . In this particular sample case the correct javaScript relation should be something like : ... $scope.simple_door_slider_change = function (angle, door_length) { &nb
1.) The first point here is to clarify : is it possible to extract model data of 3d models in Vuforia Studio? ( data could be extracted by Creo View Toolkit apps but here is considered only the Vuforia Studio environment) Supposing , we have a model widget for an assembly model without explicit modelitem widget definitions. The question is: Can we extract data for the components and if yes, then what data we can extract? In Vuforia Studio Environment Extracting of data is possible only in Preview mode, because we have in preview mode the method tml3dRenderer.GetObject() where we can access a model object (a component) example: let comp_widget=tml3dRenderer.GetObject(selection).GetWidget() where the selection is some thing like "<modelname>-<compPath>" e.g. : "model-1-/0/0/3/2" Then from the widget we can extract data: var loc=tml3dRenderer.GetObject(selection).GetWidget().GetLocation() console.error("DEBUG getObj.Ge
Vuforia Studio Support for Creo View branch links Bug fixes and minor improvements Vuforia View Support for Microsoft Surface Go Support for Creo View branch links RealWear: New setting allowing you to enable/disable help bubbles for Studio Experiences Bug fixes and minor improvements Experience Service An 8.4.4 version of Experience Service was not released
I would like to change resource of 3D image with JS code to avoid inserting all pictures. Can anyone help me? Thanks Janos
Hello Guys, I made some animations with Creo Illustrate 5.0 and also used some Callouts to show some important parts. Same Thing just without Callout in Vuforia Studio However, when I was finished, I uploaded in Vuforia Studio and designed a simple User Interface just to test some things. So far so good. The Problem is that I only see the Animations (changing colours, moving parts.....) but not my Callouts. In creo I saw everything. Did I something wrong with the Callouts? Thanks for your help 🙂
Hi, I just found this Magne Motion Demo video, it's a joint demo of PTC and RA. Could anyone provide more detailed info about this demo? (view in My Videos) Thanks!
Can you install both ThingWorx and Vuforia on the same image?
I´m trying to publish my project but since I clicked "publish" there is just the loading sign next to the save button. It´s loading and loading and loading... What could be a problem?
I cannot seem to get a step sequence to show an opacity change in the Hololens. It works fine in the preview and all the other step animations show correctly just not a change in opacity.
All models in Creo Illustrate show a trail and graphic distortion when they´re moved around.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.