While I am running OpenRail 2021 R1, this is just linework.
Is there a way, either a dgnlib edit, or a vba function, that would allow me to input, for example "d10" instead of converting to radius in "circular fillet"?
I know I can do it with geometry, but when doing quick concepts, it is quicker to just use dumb lines
Peter Violette said:I am running OpenRail 2021
There's a Forum just for you! Move your post there, using the More=>Move button.
Or, describe more verbosely what you mean by input "d10" instead of converting to radius in "circular fillet". What is 'd10'?
Regards, Jon Summers LA Solutions
That's a 10 degree curve in chord definition. In OpenRoad/OpenRail, using civil geometry, you can create curves by just defining their degree of curvature by adding "d" in front of your desired degree. Using "create circular fillet" in Microstation, I have to convert it to radius, so I have to input 573.6857' instead of "d10" to draw a 10 degree curve.
The reason I didn't post in OpenRail is due to this not being an OpenRail question, it is just basic Microstation linework.
Peter Violette said:you can create curves by just defining their degree of curvature
Is that similar to a Versine? I've written an example VBA macro that draws a versine or sagitta. Perhaps that could be adapted?
I have actually never heard of Versine. Quick search and it looks like it is used in someway to lay out curves on rail, so there is some relationship there. I don't have the time at the moment to dive in and really go at it though.
The equations between radius and DOC (degree of curvature) is pretty simple: R=50/(sin(D/2)) where R is radius in feet and D is degree of curvature.
I have never created custom tools in Microstation, but with my limited knowledge, it would seem this is an example of a good use for one if "Construct Circular Fillet" is not capable of a DOC input.
Peter Violette said:The equations between radius and DOC (degree of curvature) is pretty simple: R=50/(sin(D/2)) where R is radius in feet and D is degree of curvature
Thanks for clarifying! So when you write 'd10' does that mean R=50/(sin(10/2))?
R=50/(sin(10/2))
Peter Violette said:I have actually never heard of Versine
Versine. It's certainly in use at Network Rail. But I see that you use feet, so presumably you're in the US.
Jon Summers said:But I see that you use feet, so presumably you're in the US.
Oh yes. I am in the land of "freedom units".
Jon Summers said:So when you write 'd10' does that mean R=50/(sin(10/2))?
Exactly. Should get 573.6857'