Civil Engineer's Forum-FORUM8
Set this page as your homepage QR

Facebook - FORUM8

Twitter - FORUM8

instagram - FORUM8

YouTube - FORUM8

 Sitemap | Terms of Service | Inquiries | English translation site | Japanese | English | Korean | Vietnam | Francais

Support Topics
Support Theme / UC-win/Road Information regarding after-sales support services
Scripting new feature applications
 
 Foreword
UC-win/Road is a real-time simulation software that allows users to create VR (virtual reality) environments through simple sequences and operations. This program includes script functions for demonstration purposes. These functions are continuously being expanded and improved with each version update, and the latest version, UC-win/Road Ver.8, introduces new animation features (including coding and grouping functionality) as well as optimizations to existing features. This document will introduce these latest features, their application methods, and also provide information on how to use previously available features.

Click on the image to enlarge it. Click on the image to enlarge it.
■ Figure 1: Example of script execution
 The script refers to
The script defines the timing for executing commands (simulating time starting from 0 seconds), sets detailed parameters in a chronological order, and implements various functions through continuous execution. Unlike scene functions used during interactive experiences, script functions are generally used for demonstration and automated presentations.
Among the possible commands, these include operations related to controlling the camera (viewpoint), commands for displaying images, weather control functions, and various other features. These commands are combined to create different functionalities. Table 1 shows the main functions.

Actions Features
Camera Camera (viewpoint) position changes, orientation adjustments, and settings related to field of view (FOV, viewing angle).
Screen display Traffic generation, 3D models, road display/hide settings, and screen size adjustments are available.
Environment Weather (rain/snow) settings, time changes, sun, brightness settings
Multimedia Display of information, playback of audio and video
Objects Execute commands for movable and actuated model components
Driving/flying Visual perspective shifts on roads and flight paths
Simulation Controls XPSWMM, EXODUS, and microscopic simulation players
■Table 1: Main functions of the script
 Scripted animation features
When editing long and complex scripts, the number of commands executed inevitably increases. In UC-win/Road Ver.8.1.0, it is now easier to manage commands and confirm data, allowing users to create script code from organized unit commands and add a scripting animation function (grouping function) for combining them.

The functionality is illustrated in Figure 2. First, the coded script is added to the script list. Multiple scripts can be added. Then, an animation is created that includes a combination of multiple scripts, specifying which script is used for each part of the animation and the order in which they are played back, as shown in Figure 3. This definition is performed on the script registration screen. By using this functionality, the following advantages can be achieved.

  1. For demonstration purposes, such as creating short and long versions, scripts are selectively combined to produce multiple versions of varying lengths, and the order can be changed.
  2. Previously, to confirm the last command added to a script, it was necessary to execute all commands from the beginning. However, by dividing the script into multiple sections, it became possible to start confirmation from an intermediate point (the beginning of each section).
  3. By using animation features, the overall script can be divided into multiple sections, and each section is assembled after its corresponding actions are completed, thereby achieving the purpose of improving work efficiency.
  4. By preparing standard settings such as field of view, weather conditions, and display size in advance, these settings can be used for any script, which improves work efficiency.

Click on the image to enlarge it. Click on the image to enlarge it.
■ Figure 2: Concept of animation functionality ■ Figure 3: Animation settings screen
 Scripting additional features
In addition to the functions mentioned above, the script can implement several other extensions. The main extended functionalities are shown below.
  1. Scripts can be executed from the "Options" - "Script Execution" submenu
  2. Script execution is currently in progress. You can stop the script execution by pressing the ESC key
  3. Whether to repeat the script execution can be controlled by setting the "Repeat" icon
 Method for creating construction simulations
UC-win/Road is a tool suitable for demonstrating construction simulations. For example, it can be used to confirm the sequence of operations such as temporary planning, pile foundation installation, and concrete pouring, as well as to create VR presentations for discussing new construction methods. Construction simulations involve displaying structural elements according to different construction steps, or visualizing the operation of on-site machinery such as cranes.
To make structures appear at specific times, the landscape display function is used. 3D models are assigned to landscape display items (e.g., construction step 1, construction step 2, etc.), and by changing these landscape display items through scripts, the structures can be displayed or removed at any desired time.
In addition, to smoothly display structures and depict the movements of crane arms, motion commands for 3D models are used. Motion commands refer to settings within a script that control the actions of various components of a 3D model, thereby enabling the following types of representations.
  • The components or entire 3D models are moved to specified positions (absolute coordinates or relative coordinates) at a designated speed.
  • Rotate the components or the entire 3D model according to the specified angle.
  • Control for pausing, resuming, and completely stopping movement.
Similar to the construction visualization features, this typically involves placing a 3D model in an invisible location and then moving it at any desired time. Figure 4 shows an example of setting up all components of a retaining wall located underground with the command "move upwards by 8 meters," demonstrating a smooth animation effect as it moves upwards during the progression of construction steps.
Click on the image to enlarge it. Click on the image to enlarge it.
■ Figure 4: Example of construction simulation
 Camera control methods
The flight mode of the script allows for smooth viewpoint movement along a pre-defined flight path. As an important demonstration feature, by using action control point commands associated with the flight path, it is possible not only to move the viewpoint but also to perform various controls. The main functions are shown in Table 2. While these functions can also be implemented through script commands, scripts allow for control at specific moments, whereas action control points enable control from any position, making them easier to define.

Commands Features
* CHANGE SPEED * Change the movement speed.
* TURN HEAD * Adjust the camera's orientation to change its direction horizontally.
* TILT HEAD * Adjust the camera's orientation to change the vertical direction.
* SLOWLY ??? * Slowly adjust the camera's orientation.
* LOOK AT ME * Focus on specific models.
■ Table 2: Main functions of the script

The "*LOOK AT ME*" function in this table refers to the gaze control feature, which allows the camera to focus on a specific model while it is rotating in the scene. Figure 5 shows an example of the camera gazing at the central building while orbiting around it.

Click on the image to enlarge it.
■ Figure 5: Example application of camera control (LOOK AT ME function)
 Simulated control
The script includes functions for controlling external simulation results. For example, the visualization of analysis results from software like XPSWMM (used for river flooding, inundation, and tsunami simulations), the visualization of EXODUS (a shelter analysis simulation software), traffic simulations analyzed by other applications, and cluster simulations can be controlled using scripts. Specifically, the script allows control over actions such as starting and stopping data import, adjusting playback speed, changing playback stages, and controlling display settings, making it applicable to various types of demonstrations. Figure 6 shows imported tsunami simulation results from XPSWMM and shelter analysis results from EXODUS, demonstrating an example of synchronized display; this combination is also a demonstration technique.

Click on the image to enlarge it. Click on the image to enlarge it.
■ Figure 6: Simulation control examples using XPSWMM and EXODUS
(Featured in the Spring issue of Up&Coming '13)
Return
Up&Coming

FORUM8


Contact information




■ [User Introductions]
sugiko Corporation, Technical Sales Department
Scaffolding Safety Consulting Department

Mie University, Graduate School of Engineering
Seika Digital Image Co., Ltd.
Infranet Co., Ltd.






>> Product comprehensive catalog


>> Premium membership services
>> Financial support

Recently released products
■ Electrical Media Delivery Support Tool Version 19
■ Retaining wall design, 3D reinforcement detailing, Version 26
■ Bridge Maintenance Plan System Version 7
■ Calculation for concrete slab placement (compliant with R7/H29 road standards), Version 2

Campaign in progress
■ Within 2 years of release, enjoy a 30% discount plus 30,000 FPB points back
■ Smart download
■ Design Festival 2026, exclusive for visitors
■ Drone school discount

Seminar and event calendar
Upcoming seminars
11/26  Metavernia F8 VPS experience
11/27  Introduction to Structural Analysis
12/2  Engineer programming
  Introduction to yoga experience
12/3  DesignBuilder experience
12/4  Reinforced concrete foundation

Software/Support Services
VR software(Virtual reality)
《UC-win series》
Road simulator
• Driving simulator
• Micro-simulation
Evacuation analysis and simulation
>> Other VR software
FEM analysis software
・3-dimensional plate dynamic nonlinear analysis
・2-dimensional dynamic nonlinear analysis
・A comprehensive finite element analysis system
>> Other FEM analysis software
Civil engineering, architecture, and design software
《UC-1 Series》
・Structural analysis/cross-section
Bridge superstructure
・Bridge substructure components
Foundation work
Temporary construction
Road construction and earthworks
・Harbors
・Hydraulic engineering
・Subsurface investigation and analysis
・CAD/CIM systems, construction accounting
• Maintenance and management, earthquake risk
Architecture
・Ships/Evacuation
>> Other civil engineering, construction, and design software
Cloud
《Supercomputer Cloud®》
・Supercomputer cloud services
《VR-Cloud®》
・Real-time VR system
Analytical support services/support
・UC-win/Road support system
・Design verification support service
・Engineer's Studio® analysis support
・Ground investigation analysis support services
・EXODUS/SMARTFIRE analysis support
・XPSWMM analysis support services
Building energy simulation
• 3D laser scanning and modeling
・3D modeling services
• 3D report and drawing services
>> Other support services
Various solutions
Seismic resistance assessment/analysis
・Design of steel bridges
・New bridge construction methods
Architectural design
・Local governments
・Medical VR systems
・Parking solutions
・ECO solutions
>> Other solutions