PK 7bUO appConfig.json{
"name": "HTL_Car_Picture_Tracking",
"projectType": "AR",
"viewType": "ar",
"fileName": "HTL_Car_Picture_Tracking",
"thingworxServer": "https://de09878594116499.studio-trial.vuforia.io",
"viewTemplateFileName": "home-ar.json",
"state": {
"orientation": "portrait"
},
"targets": {
"phone": {
"components": [
{
"name": "Startseite",
"fileName": "Startseite",
"showInMainMenu": true,
"viewType": "ar",
"title": "Startseite"
}
],
"images": []
},
"shared": {
"components": [
{
"name": "Data",
"fileName": "Data"
}
],
"images": [],
"fragments": [],
"styles": [
{
"name": "App",
"fileName": "App",
"fileExt": "scss"
}
]
}
},
"device": {
"name": "ipad",
"width": "768",
"height": "1024"
},
"mainNavigationMenuStyle": "leftSideMenu",
"resourceDirectory": "src/phone/resources",
"resourceRuntimeDir": "app/resources",
"fontRuntimeDir": "../fonts",
"fontDesigntimeDir": "../dist/fonts",
"theme": "twx-light",
"version": "1.44.1627",
"description": "HTL_Car_Picture_Tracking",
"thumbnail": "Uploaded/Hinterachse_Zusammenbau.jpg"
}
PKZ' PK
cSO
src/phone/PK
cSO src/shared/PK fSO upgrade.log[2019-10-19T17:27:07.684Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Begin upgrade of project
[2019-10-19T17:27:07.685Z] info: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Upgrading project
[2019-10-19T17:27:07.689Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Make sure there are not any stale files lying around
[2019-10-19T17:27:07.691Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Create .gitignore for project dir
[2019-10-19T17:27:07.696Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Copying /src/**/* to project, overwrite=false
[2019-10-19T17:27:07.697Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Copying /**/* to project, skip /src/**/*, overwrite=true
[2019-10-19T17:27:07.821Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Copy of project files complete
[2019-10-19T17:27:07.822Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Updating version to
[2019-10-19T17:27:07.822Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] onupgrade sucessful, now build the project
[2019-10-19T17:27:07.822Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] BEGIN buildApp
[2019-10-19T17:27:07.822Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] write settings
[2019-10-19T17:27:07.823Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] copy runtime extensions
[2019-10-19T17:27:08.502Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] packageThemeSet
[2019-10-19T17:27:09.261Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] onBuild
[2019-10-19T17:27:09.262Z] info: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Building ves-ar-extension app:
[2019-10-19T17:27:09.288Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] pathDir
[2019-10-19T17:27:09.289Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] scaffoldDir
[2019-10-19T17:27:09.289Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] copySrc
[2019-10-19T17:27:10.068Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] buildApp
[2019-10-19T17:27:10.668Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] END buildApp
[2019-10-19T17:27:10.669Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Build succeeded.
[2019-10-19T17:27:10.766Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Begin upgrade of project
[2019-10-19T17:27:10.767Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] onupgrade sucessful, now build the project
[2019-10-19T17:27:10.767Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] BEGIN buildApp
[2019-10-19T17:27:10.767Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] write settings
[2019-10-19T17:27:10.772Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] copy runtime extensions
[2019-10-19T17:27:11.442Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] packageThemeSet
[2019-10-19T17:27:12.183Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] onBuild
[2019-10-19T17:27:12.183Z] info: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Building ves-ar-extension app:
[2019-10-19T17:27:12.223Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] pathDir
[2019-10-19T17:27:12.223Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] scaffoldDir
[2019-10-19T17:27:12.223Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] copySrc
[2019-10-19T17:27:13.001Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] buildApp
[2019-10-19T17:27:13.516Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] END buildApp
[2019-10-19T17:27:13.516Z] debug: [twx-studio:upgrade:HTL_Car_Picture_Tracking] Build succeeded.
PKr
PK
eSO src/phone/components/PK
SO src/phone/resources/PK
cSO src/shared/components/PK
cSO src/shared/styles/PK JTO " src/phone/components/Startseite.js// $scope, $element, $attrs, $injector, $sce, $timeout, $http, $ionicPopup, and $ionicPopover services are available
$scope.DIR="z";
$scope.slice = function() {
var slicexCur = ($scope.view.wdg['slider-1']['value']/100.0)-0.5;
var slicewidthCur = ($scope.view.wdg['slider-2']['value']/100.0);
// console.log("slicexCur ="+slicexCur)
// console.log("slicewidthCur="+slicewidthCur)
$scope.view.wdg['model-1']['shader'] = "slice_world_based_"+$scope.DIR+";slicex f "+ slicexCur + ";slicewidth f " + slicewidthCur;
}
PKG(
PK 6UO $ src/phone/components/Startseite.json{
"attributes": {
"twx-widget": "",
"widget-id": "view-1",
"widget-name": "view-1",
"is-widget-container": "true",
"viewtype": "ar"
},
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "3DContainer-1",
"widget-name": "3D-Container",
"is-widget-container": "true",
"dropshadow": "true"
},
"name": "twx-dt-view",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "imageTarget-1",
"target-id": "32c0ac06-14e6-4254-b12b-9757e68af3ce",
"tracking-indicator": "true",
"widget-name": "imageTarget-1",
"url": "Uploaded/Hinterachse.jpg",
"width": "0.21",
"rx": "-90"
},
"name": "twx-dt-target-image"
},
{
"attributes": {
"twx-widget": "",
"widget-id": "Zusammenbau",
"widget-name": "Zusammenbau",
"is-widget-container": "true",
"src": "Uploaded/HTL_Car_Hinterachse_Zusammenbau.pvz",
"scale": "1.0000",
"x": "0.0000",
"y": "0.0599",
"z": "-0.2547",
"rx": "0.00",
"ry": "0.00",
"rz": "0.00",
"visible": "false",
"sequence": "Uploaded/l-Creo 3D - Abbildung 1.pvi"
},
"name": "twx-dt-model",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "modelx",
"widget-name": "modelx",
"is-widget-container": "true",
"model": "Zusammenbau",
"scale": "1.0000",
"x": "0.0000",
"y": "0.0000",
"z": "0.0000",
"rx": "0.00",
"ry": "0.00",
"rz": "0.00"
},
"name": "twx-dt-modelitem",
"children": [
{
"name": "twx-container-content"
}
]
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "slicer_z",
"widget-name": "slicer_z",
"text": "\n\n"
},
"name": "twx-tml-text"
},
{
"attributes": {
"twx-widget": "",
"widget-id": "model-1",
"widget-name": "model-1",
"is-widget-container": "true",
"src": "Uploaded/HTL_Car_Hinterachse_Zusammenbau.pvz",
"y": "0.06",
"z": "-0.25513840466737747"
},
"name": "twx-dt-model",
"children": [
{
"name": "twx-container-content"
}
]
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "2DOverlay-1",
"widget-name": "2d-Überlagerung",
"is-widget-container": "true"
},
"name": "twx-overlay",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "panel-1",
"widget-name": "Oberer Bereich",
"is-widget-container": "true",
"position": "top"
},
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "gridLayout-2",
"widget-name": "gridLayout-2",
"is-widget-container": "true"
},
"name": "twx-gridlayout",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "row-4",
"widget-name": "row-4",
"is-widget-container": "true",
"rowheight": "55px"
},
"name": "twx-row",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "column-4",
"widget-name": "column-4",
"is-widget-container": "true",
"justification": "center",
"alignment": "center"
},
"name": "twx-col",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "button-3",
"widget-name": "button-3",
"click-expression": "view.wdg['model-1'].visible = false;\nview.wdg['Zusammenbau'].visible = true;",
"text": "Play next Step",
"class": "my-button1",
"margin": ""
},
"name": "twx-button",
"children": [
{
"attributes": {
"eventbind-id": "eb-1571559615063",
"source-type": "widget",
"source-label": "Button",
"source-name": "button-3",
"source-event": "click",
"handler-type": "ui",
"handler-name": "Zusammenbau",
"handler-service": "play",
"handler-path": "app.view[\"Startseite\"].wdg[\"Zusammenbau\"].svc.play"
},
"name": "twx-eventbind"
}
]
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "column-5",
"widget-name": "column-5",
"is-widget-container": "true",
"justification": "center",
"alignment": "center"
},
"name": "twx-col",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "button-4",
"widget-name": "button-4",
"click-expression": "view.wdg['model-1'].visible = true;\nview.wdg['Zusammenbau'].visible = false;\napp.view['Startseite'].wdg['slider-1'].value = 50;\napp.view['Startseite'].wdg['slider-2'].value = 50;",
"text": "Reset",
"class": "my-button2"
},
"name": "twx-button",
"children": [
{
"attributes": {
"eventbind-id": "eb-1571559627018",
"source-type": "widget",
"source-label": "Button",
"source-name": "button-4",
"source-event": "click",
"handler-type": "ui",
"handler-name": "Zusammenbau",
"handler-service": "reset",
"handler-path": "app.view[\"Startseite\"].wdg[\"Zusammenbau\"].svc.reset"
},
"name": "twx-eventbind"
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "2DOverlayBody-1",
"widget-name": "2D-Körper",
"is-widget-container": "true"
},
"name": "twx-overlay-body",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "panel-2",
"widget-name": "Linker Bereich",
"is-widget-container": "true",
"position": "left",
"width": "60px"
},
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "slider-1",
"widget-name": "slider-1",
"change-expression": "slice()",
"class": "rotate90",
"max": "100",
"step": "0.01",
"value": "50"
},
"name": "twx-range"
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "panel-3",
"widget-name": "Mittlerer Bereich",
"is-widget-container": "true",
"position": "center"
},
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content"
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "panel-4",
"widget-name": "Rechter Bereich",
"is-widget-container": "true",
"position": "right",
"width": "60px"
},
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content",
"children": [
{
"attributes": {
"twx-widget": "",
"widget-id": "slider-2",
"widget-name": "slider-2",
"change-expression": "slice()",
"class": "rotate90",
"max": "100",
"step": "0.01",
"value": "50"
},
"name": "twx-range"
}
]
}
]
}
]
}
]
},
{
"attributes": {
"twx-widget": "",
"widget-id": "panel-5",
"widget-name": "Unterer Bereich",
"is-widget-container": "true",
"position": "bottom"
},
"name": "twx-overlay-container",
"children": [
{
"name": "twx-container-content"
}
]
}
]
}
]
}
]
},
{
"name": "twx-fragment-parameters"
},
{
"name": "twx-view-data"
}
],
"name": "twx-view"
}
PKXOK OK PK
cSO src/phone/resources/Default/PK
SO src/phone/resources/Uploaded/PK 7bUO src/shared/components/Data.json{
"attributes": {
"namespace": "app.mdl"
},
"children": [
{
"attributes": {
"id": "vumark",
"isbound": "false",
"isdeletable": "false",
"name": "ThingMark",
"value": ""
},
"name": "twx-app-param"
},
{
"attributes": {
"id": "template",
"isbound": "false",
"isdeletable": "false",
"name": "Thing Template",
"value": ""
},
"name": "twx-app-param"
},
{
"attributes": {
"id": "thing",
"isbound": "false",
"isdeletable": "false",
"name": "Thing",
"value": ""
},
"name": "twx-app-param"
}
],
"name": "twx-app-mdl"
}
PKf"" PK cSO ! src/shared/components/Device.json{
"attributes": {
"namespace": "device.mdl"
},
"children": [{
"attributes": {
"name": "CurrentDevice"
},
"name": "twx-device-model",
"children": [{
"attributes": {
"name": "getCameraPictureURL"
},
"name": "twx-device-service"
}]
}],
"name": "twx-device-mdl"
}PKƿt PK 6UO # src/shared/components/metadata.json{
"name": "",
"version": "1.0.0",
"requires": [
"w320dp"
],
"experiences": [
{
"vumark": "",
"experienceType": "none",
"id": 1,
"index-keys": [],
"title": {
"en": "HTL_Car_Picture_Tracking"
},
"description": {
"en": "HTL_Car_Picture_Tracking",
"en-US": "HTL_Car_Picture_Tracking"
},
"requires": [
"AR-tracking"
],
"tags": [],
"icon": "",
"viewName": "Startseite",
"url-template": "index.html?expId=1",
"entryPoint": "index.html?expId=1",
"thumbnail": "public/Uploaded/Hinterachse_Zusammenbau.jpg",
"thingTemplateName": ""
}
],
"accessType": "public",
"designedfor": []
}
PK( PK *HTO src/shared/styles/app.scss/*
Add additional application styles or override styles provided by the selected theme or widgets.
You can include SASS syntax, as this file is built to a css file using a SASS processor.
Available Variables:
Variable Name Description
----------------------------------------------------
$resources References the directory where resources reside (images, etc.), this directory may be different
between the design time and the runtime directory structure.
Example: background-image: url(#{$resources}/Uploaded/image.png)
$font-path References the relative directory where fonts are stored.
*/
.my-button1 {
font-family: Century Gothic;
color: white;
background-color: green;
font-weight: bold;
font-style: italic;
}
.my-button2 {
font-family: Century Gothic;
color: white;
background-color: red;
font-weight: bold;
font-style: italic;
}
.rotate90 {
transform-origin: 0% 100%; //set the rotate origin to the bottom left corner
transform: rotate(90deg); //rotate it 90 degrees
width: 500px; //the slider width is inherited from the right pane so it will be too small, force it to me "longer"
left: 0px; //use to push it over to the right edge of the pane
}PKM\ PK cSO &