Jump to content

Transformation and Rotation


Empfohlene Beiträge

I was browsing the other day and came across this:

@Herman A very nice little layout.

But how do you get the containers off the trucks and back onto the trains?

This is one of the two events that does the job:

Capture.thumb.JPG.02ab5462d83fe98987456486798c8dda.JPG

An I figured out that the script at the start is what moves the containers.

But the script...

Capture.thumb.JPG.0be98bc58f19f30bd659b389c8e13ce8.JPG

Might as well be in Arabic or Ancient Sumerian...

I would love a quick tutorial on this? I can see it being so useful for cargoes of all types, or even wagons that need to be reset to their initial configuration after being shunted.

Thanks

Simon

Link zu diesem Kommentar
Auf anderen Seiten teilen

18 hours ago, simonjackson1964 said:

I would love a quick tutorial on this?

Hello, @simonjackson1964 . I will try to make something here. Thanks for your reaction !  I will try to react very soon. 

 

17 hours ago, Little said:

Very good job

Hello @Little

Thank you very much. But much of the EV and Lua script concerning the routes can much, much shorter with my traject planning (just published). But it was not ready then. ( too much learning new V7 features, and still busy to understand a lot.

Kind regards, H

Bearbeitet von Herman
type mistake
Link zu diesem Kommentar
Auf anderen Seiten teilen

Hello @simonjackson1964,

"Might as well be in Arabic or Ancient Sumerian..." or Schwäbisch :D , I hope not after this demo. ;)

First I wanted to make something in "Word" and put the .pdf here. But why not demonstrate in a layout ?
I put an explanation in each script. Hopefully  you have something on this demo ? transformations.thumb.jpg.b2310473a30d295451a7d519afa82d28.jpg

Transformations.mbp

 

Kind regards, Herman (BE)

Bearbeitet von Herman
corrected a little error in the mbp
Link zu diesem Kommentar
Auf anderen Seiten teilen

  • 4 Wochen später...

Hello fellow members, hello @simonjackson1964 ,

I was wondering if a combination of this methods was able to put an object on top of another object. ( different from a label )
We just lacked the method to find the heigt of an object in previous posts.
But we can find the size of an object as vector ( x, y, z ) in the form of a Lua table. So I extended the demo, and want to share it with others.

874600715_Putontopofanotherobject.thumb.jpg.c217a87e74dc43a18b8697d5ea5945d6.jpg

So thank you Simon for your question, because I needed also this solution. :)

Kind regards, Herman

Put object on top of another object.mbp

( Of course you can do all this stuff with a crane from the catalog  )

Bearbeitet von Herman
type error
Link zu diesem Kommentar
Auf anderen Seiten teilen

Erstelle ein Benutzerkonto oder melde dich an, um zu kommentieren

Du musst ein Benutzerkonto besitzen, um einen Kommentar verfassen zu können

Benutzerkonto erstellen

Neues Benutzerkonto für unsere Community erstellen.

Neues Benutzerkonto erstellen

Anmelden

Du hast bereits ein Benutzerkonto? Melde dich hier an.

Jetzt anmelden
×
×
  • Neu erstellen...