rail turnouts

rail turnouts

gibbpt
Contributor Contributor
2,827 Views
17 Replies
Message 1 of 18

rail turnouts

gibbpt
Contributor
Contributor

hi,

can some one direct me how to create turnouts of COGIFER, to use in projects here in Portugal?

they had a Radius and Spiral ( Clhotóide) 

thanks,

MT

 

0 Likes
Accepted solutions (3)
2,828 Views
17 Replies
Replies (17)
Message 2 of 18

SoaresASBCAD
Collaborator
Collaborator

You must choose the options right at the beginning 

ASoares
0 Likes
Message 3 of 18

gibbpt
Contributor
Contributor

sry not understand...

0 Likes
Message 4 of 18

camilo.jimenezH5AC8
Autodesk
Autodesk

Deixo aqui alguns links com informações que podem te ajudar:

 

Autodesk Civil 3D Ajuda | Para criar um AMV | Autodesk

What's New in Civil 3D 2022.1 : Rail Switch and Crossing Geometry - YouTube

CIVIL 3D TURNOUT COMPARISON TOOLS VERSIONS - YouTube

 

¿Te ha parecido útil este post? ¡Deja un like!
¿Tu pregunta ha sido solucionada? Selecciona 'Marcar como solución' y ayuda a las demás a encontrar fácilmente la información.

Did you find this post helpful? Then feel free to give likes to this post!
Was your question successfully answered? Then just click on the 'Mark it as solution'


Camilo Jiménez
Infrastructure Technical Sales Specialist
Spain & Portugal

Message 5 of 18

heidi_castellanos_leyra
Autodesk
Autodesk

Hi @gibbpt

 

Just to be clear, when you say radius and spiral, are you talking about the diverted track geometry ? inside the turnout? or the bending method? 

I'll try to answer the clearest way possible, dont hesitate to reach if not clear enough. 

For adding a model in to an existing catalog, you have to modify your Json file located here C:\ProgramData\Autodesk\C3D 2024\enu\Data\Railway Design Standards\Turnout, know that by default you have 3 precharged catalogues (French/US/Generic)

What I can advise, is to try to add a new model in to the French Catalog to see if this calculation method can fit your requirements. 

If you were talking about curves and spirals as bending method, C3D does not support bending in spirals for the moment.  And for bending in curves, it supports the French bending method. Just be sure how does the Portuguese  method calculates the bending 😉

If you were talking about the interior geometry you'll have to modify the expression file  at the same location. Today the calculation for diverted line geometry supports, tangent (one radius) calculation of diverted track, or secant (two, with a degree of non tangency). 

Give a try adding a new model ! Let us know how it went !

 

Message 6 of 18

snoyola
Advocate
Advocate

this video may give a little tip

 

https://www.youtube.com/watch?v=l7h2CGWmV8A

 

Simon Noyola Rivero
BIM Infrastructure SME
Digital Drafting Systems
Autodesk Authorized Consultant
Subject Matter Expert Civil&Map 
Civil 3D Country kit  development
Autodesk Certified Instructor
USA Mexico, Central America, Caribbean & Venezuela
www.linkedin.com/in/simon-noyola-rivero-29551410
https://www.youtube.com/user/snoyolar

Message 7 of 18

gibbpt
Contributor
Contributor

hi,

many thanks , yes  the diverted track geometry  inside the turnout

thanks

Moises

0 Likes
Message 8 of 18

gibbpt
Contributor
Contributor

thk

0 Likes
Message 9 of 18

heidi_castellanos_leyra
Autodesk
Autodesk
Accepted solution

Hi @gibbpt, found some API expressions to add clothoids to the diverted line geometry 

Notice that there can be 3 types of spiral parameters : 

- Spiral length (`length`)
- Spiral A value (`avalue`)
- Spiral angle (`angle`)
An the expressions are the following : 
func_cache_simple_spiral_with_type_startpt_startdir_radius_param_paramtype_inout_cw('clothoid', x, y, dirx, diry, radius, length, 'length', 'in_curve', 'cw')
func_cache_simple_spiral_with_type_endpt_enddir_radius_param_paramtype_inout_cw('clothoid', x, y, dirx, diry, radius, length, 'length', 'in_curve', 'cw')
func_cache_simple_spiral_with_type_startpt_startdir_endpt_inout('clothoid', x1, y1, dirx1, diry1, x2, y2, 'in_curve')
func_cache_simple_spiral_with_type_endpt_enddir_startpt_inout('clothoid', x2, y2, dirx2, diry2, x1, y1, 'in_curve')
unc_cache_compound_spiral_with_type_startpt_startdir_startradius_endradius_param_paramtype_cw('clothoid', x1, y1, dirx1, diry1, radius1, radius2, length, 'length', 'cw')
func_cache_compound_spiral_with_type_endpt_enddir_startradius_endradius_param_paramtype_cw('clothoid', x2, y2, dirx2, diry2, radius1, radius2, length, 'length', 'cw')
 
Message 10 of 18

gibbpt
Contributor
Contributor

many thanks,

is there a place where we can find all API expressions?

many thanks

Moisés

0 Likes
Message 11 of 18

gibbpt
Contributor
Contributor

hi again,

sorry for take your time, is there an API expression to create GOGO points, i need them to create a table for turnout in drawing.

many thanks,

Moisés

0 Likes
Message 12 of 18

gibbpt
Contributor
Contributor

hi again, im using func_cache_compound_spiral_with_type_startpt_startdir_startradius_endradius_param_paramtype_cw('clothoid', x1, y1, dirx1, diry1, radius1, radius2, length, 'length', 'cw'), and solve my problem, but i had a problem, not able to find the way , after create the arc not able to get dirx1 and diry1 of arc at that point in order to a correct creation of spiral.. if possible to help i apreciate...

gibbpt_0-1736264759968.png

many thanks,

Moisés

try to use func_direction_on_cached_curve_at_param(index, param) but not understand how to use it to get that dirx1 and diry1, thanks again

 

0 Likes
Message 13 of 18

heidi_castellanos_leyra
Autodesk
Autodesk
Accepted solution

Hi @gibbpt 

try  after using func_direction_on_cached_curve_at_param(index, param), use func_coord_from_string to find coordinates dirx1 and diry1

See example :

            var EndDir := func_direction_on_cached_curve_at_param(ArcElement, 0.0);
            var EndDirX := func_coord_from_string(EndDir, 0.0);
            var EndDirY := func_coord_from_string(EndDir, 1.0);
 
hope it helps 

 

Message 14 of 18

heidi_castellanos_leyra
Autodesk
Autodesk
Accepted solution

Not for the moment with turnouts, but hope they will be soon API for turnout critical points :), for the moment the only option its to manually create cogo points in the critical points and then create your PE report

Message 15 of 18

gibbpt
Contributor
Contributor

many many thanks,

all the best to you 🙂

Moisés

0 Likes
Message 16 of 18

gibbpt
Contributor
Contributor

so perfect 🙂 thanks 

gibbpt_0-1736269278035.png

 

just in case someone try / need to use i use, var EndDir := func_direction_on_cached_curve_at_param(ArcElement, 1.0); to get end of arc as i draw it from JP to CM direction.

all the best,

Moises

Message 17 of 18

en.foladi
Explorer
Explorer

Thanks. I have probloeme with basic T Out Design in civil 3d 2022.

 

0 Likes
Message 18 of 18

jose_coimbras1
Participant
Participant

Hi, can you solve the ptoblem? I´ll try also put the cogifer geomety in civil3d 2025. But we also had the "detail" of the alignment should only starts at end of turnout... i guesse i need other aproach.

 

0 Likes