eb_guide
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| eb_guide [2019/02/21 14:46] – admin | eb_guide [2019/03/18 08:08] (current) – admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| # EB Guide | # EB Guide | ||
| - | kick start: P27 - P35 | + | kick start: P27 - P35: Jump between different screen using **++Transition|Inside the Properties of image, Add Widget feature properties -> touchShortReleased -> |
| + | function(v: | ||
| + | { | ||
| + | | ||
| + | | ||
| + | } | ||
| + | ++** | ||
| + | |||
| + | |||
| + | ## Concepts | ||
| + | |||
| + | * **Widget**: Any object in the view state? could be image, could be text (called **" | ||
| + | * **State**: means the " | ||
| + | * **View**: is also a widget, resident under view state. | ||
| + | * **image**: is also a widget. | ||
| + | * **transition**: | ||
| + | * **Model elements**: 概称,大概是指放在Navigation menu中的所有东西 | ||
| + | * **VTA**: view transition animations | ||
| + | * **Model and Appication**: | ||
| + | * **Datapool**: | ||
| + | * **Events**: a user operate event. e.g. '' | ||
| + | |||
| + | |||
| + | ## Model elements (showed in the navigation bar) | ||
| + | |||
| + | {{:: | ||
| + | |||
| + | * State | ||
| + | * View | ||
| + | * Templete | ||
| + | * Event | ||
| + | * Datapool Item | ||
| + | * Script | ||
| + | * Property | ||
| + | * Transition Animation | ||
| ## Use image file as button. | ## Use image file as button. | ||
| Line 7: | Line 41: | ||
| * Add image files to the $GUIDE_PROJECT_PATH/< | * Add image files to the $GUIDE_PROJECT_PATH/< | ||
| * Use image files the same way like shapes. | * Use image files the same way like shapes. | ||
| + | |||
| + | <wrap lo>EB guide supports 9-patch images (P65)</ | ||
| + | |||
| + | |||
| + | ## Display Overlay Window (Dynamic State Machine) | ||
| + | |||
| + | * Q: What's the meaning of checkbox " | ||
| ## 3D file | ## 3D file | ||
| Line 18: | Line 59: | ||
| 3D graphic file”. | 3D graphic file”. | ||
| - | **Task**: research if there is an easy way to convert .ebmesh (or .jt? can't remember) files to .fbx files. | + | **Task**: research if there is an easy way to convert .ebmesh (or .jt? can't remember) files to .fbx files. |
| + | |||
| + | Here are 3 ways I found to convert .jt file to .fbx file used in EB guide. | ||
| + | |||
| + | 1) Use the 3D software Rhinoceros. | ||
| + | Rhinoceros is a Rhino is a 3D modeler software and seems to be able to convert jt file to fbx file | ||
| + | According to the discussion in Siemens community website: | ||
| + | |||
| + | | ||
| + | |||
| + | There is a 90 days evaluation version of Rhinoceros, so we can try this first, | ||
| + | https:// | ||
| + | |||
| + | |||
| + | 2) Order from web | ||
| + | There are websites like https:// | ||
| + | |||
| + | |||
| + | 3) Use commercial software | ||
| + | There are commercial software specified to convert 3D files. One software from Okino Computer Graphics is recommended here: https:// | ||
| + | |||
| + | Demo software exits but it will make some “watermarks” on the exported files. | ||
| + | |||
| + | Cheers, | ||
| + | Sirui | ||
| + | ++++ | ||
| + | |||
| + | |||
| + | ## Script Language | ||
| + | |||
| + | When to use? to fire events when click image, etc. to write datapool items. to modify widget properties. | ||
| + | |||
| + | ### namespace | ||
| + | |||
| + | - ev: events | ||
| + | - dp: datapool items | ||
| + | - f: user-defined actions (foreign functions) | ||
| + | - v: local variables | ||
| + | |||
| + | ### Access the properties of widget | ||
| + | If a script is part of a widget, it can access the properties of that widget. EB GUIDE Script creates a variable called '' | ||
| + | |||
| + | [[EBguide Frequently used code]] | ||
| + | ````fire ev: | ||
| + | ```` | ||
eb_guide.1550731571.txt.gz · Last modified: (external edit)
