2022-09-16 11:20 AM - last edited on 2024-09-24 10:15 AM by Doreena Deng
I am creating a Road Junction where there are two GDL objects are used. The first one is a PRISM object, to create the free shape of the junction. Another is a MESH object to create a transition between the road and the junction.
As you can see, four transition objects are needed to place in the four junction heads.
|
In this above-mentioned shape, to place the transition objects I have to use ADDX, ADDY, and ROTZ commands.
For example, if to place the bottom transition object the commands are –
Similarly right –
For top –
And lastly for the left –
Here, as you can see for the Top transition we need to perform ADD command first then ROTZ command and in the Left transition, we need to perform ROTZ first and ADD command last. But if we perform ROTZ first in Top transition it won’t work and similarly with Left transition. And also sometimes we need to ADD (+ve) values(Right transition) and sometimes (-ve) values (Left transition).
|
My questions are –
2022-09-26 05:41 PM - edited 2022-09-26 05:44 PM
Hi,
Here is some help on how transformations work in GDL. Generally movement and rotation can be exchanged, but the actual values have be different to arrive in the same place. A specific point can be reached in infinite ways, it is up to you to find a suitable common framework in your script.