Jump to content
View in the app

A better way to browse. Learn more.

3D-Modellbahn Studio

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Hallo allerseits

Ich beschäftige mich momentan mit einem Fahrplan und dabei ist mir aufgefallen, dass man mit Variablen vom Typ "Zeit" nicht so ohne weiteres "rechnen" kann.
Folgender Ablauf in der EV ergibt als Resultat "falsch", obwohl die Bedingung "01:00" = "01:00" eigentlich "richtig" sein müsste.

ablauf.JPG.917ec204c6939e1959ec2a326db52d50.JPGresultat.JPG.5a825e94b9a868c393ac5d7fd792f72c.JPG

Bisher fand ich nur den Ausweg, ein kleines LUA-Script vor die Bedingung hinzustellen:

local Hour=string.sub(tostring($("Ereignisse").variables["Zeit2"]),1,2);
local Minute=string.sub(tostring($("Ereignisse").variables["Zeit2"]),4,5);

$("Ereignisse").variables["Zeit2"] = toTime(Hour..":"..Minute)

ergibt:

resultat2.JPG.ed6e085a5fd811f274eb08888c79a17c.JPG

Kann mich jemand aufklären?

Danke und Gruss

Draisine

Hallo Draisine,

du hast hier noch eine Unzulänglichkeit des Studios entdeckt. Intern rechnet das Studio bei Zeitwerten mit einer zu hohen Genauigkeit, weshalb es bei Berechnungen um Abweichungen im Nanosekunden-Bereich kommen kann. Das nächste Update wird dieses Problem beheben.

Viele Grüße,

Neo

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.