click here for a list of all existing Templot documentation
Important Privacy Information cookie information pre-print options:    

click image to open Templot Club in a new tab
Templot club top logo
looking for Templot? - (free)



 you are not logged in  - Login | Join


receive all messages by email: info


Recent Topics
Front Page  Search  Image Gallery  Gallery Upload  My Account  Members  Open Source  TemplotMEC  Help  
make a donation  
please click: important information for new members and first-time visitors Templot Companion - User Guide
            messages archive on Yahoo
page trail:  Templot Club > Forums > Development doings > Less than or equal too?
Templot web site

                                       Less than or equal too?
     
 Start new topic   Reply blank   Printer friendly 
  Rate this topic  
AuthorMessage
 Clicked a link? Wrong message? Wait until the page has finished loading, click in the address bar and then press the Enter key. This is a timing bug in some browsers.
1st message | this message only posted: 4 Mar 2012 17:37
 PM  Reply with quote  Reply blank 
from:
julia
 

 

view images in gallery
view images as slides
I am not sure if this really counts as a bug or just me being pedantic.

If I select 700mm as the radius to "warn if under", then make a turnout with 700mm radius, it flashes up red and complains. Surely this should only happen if I go down to 699mm? Is it "less than"? or "Less than or equal to"?

J
__________
message ref: 12143

 
 Clicked a link? Wrong message? Wait until the page has finished loading, click in the address bar and then press the Enter key. This is a timing bug in some browsers.
2nd message | this message only posted: 4 Mar 2012 18:05
 PM  Reply with quote  Reply blank 
from:
Martin Wynne
West Of The Severn, United Kingdom



view images in gallery
view images as slides

Please do not send requests for help direct to me via email or PM.

Post your questions on the forum where everyone can see them and add helpful replies.
julia wrote:If I select 700mm as the radius to "warn if under", then make a turnout with 700mm radius, it flashes up red and complains.Hi Julia,

It's "less than". The reason you are seeing it red is due to rounding effects -- your actual radius is below the limit by a small fraction of a mm, but it is rounded to the nearest mm for the display.

If you go to geometry > radius and curving... menu item and set exactly 700mm, you will see that it goes green. :)

regards,

Martin.

__________
message ref: 12145

 
 Clicked a link? Wrong message? Wait until the page has finished loading, click in the address bar and then press the Enter key. This is a timing bug in some browsers.
3rd message | this message only posted: 4 Mar 2012 18:08
 PM  Reply with quote  Reply blank 
from:
julia
 

 

view images in gallery
view images as slides
Groovy, a floating point error was the other possibility.

Thanks

J
__________
message ref: 12146

 
 Clicked a link? Wrong message? Wait until the page has finished loading, click in the address bar and then press the Enter key. This is a timing bug in some browsers.
4th message | this message only posted: 4 Mar 2012 19:26
 PM  Reply with quote  Reply blank 
from:
Martin Wynne
West Of The Severn, United Kingdom



view images in gallery
view images as slides

Please do not send requests for help direct to me via email or PM.

Post your questions on the forum where everyone can see them and add helpful replies.
Hi Julia,

I have changed the code so that the smallest radius must be below the limit by more than 0.5mm to trigger the red warning.

This will prevent the display anomaly which you noticed.

In the next TDV update.

It's strange that something can remain unnoticed and unchanged for over 12 years and still need some further work. :)

Thanks for reporting it.

regards,

Martin.

__________
message ref: 12148

 
This is topic ID = 1860     Page created at 09:23 (local time)  
You can type a quick reply to this topic here.

Click in the box to begin.


But to reply to an individual message, or to include images, attachments and formatted text, use the reply buttons on each message above.

To start a new topic in this forum, click the Start new topic button below.
To start a new topic in a different forum, click the Forum Jump drop-down list below.

             Start new topic 

 click to jump to a different forum:     Back to top of page

Templot Club > Forums > Development doings > Less than or equal too?
about Templot Club

list recently active topics Templot Companion - User Guide - A-Z Index Old Templot Companion Please click: important information for new members and first-time visitors.
indexing link for search engines only

back to top of page


Please read this important note about copyright: Unless stated otherwise, all the files submitted to this web site are copyright and the property of the respective contributor. You are welcome to use them for your own personal non-commercial purposes, and in your messages on this web site. If you want to publish any of this material elsewhere or use it commercially, you must first obtain the owner's permission to do so.

The small print: All material submitted to this web site is the responsibility of the respective contributor. By submitting material to this web site you acknowledge that you accept full responsibility for the material submitted. The owner of this web site is not responsible for any content displayed here other than his own contributions. The owner of this web site may edit, modify or remove any content at any time without giving notice or reason.
Problems with this web site? Contact webmaster@templot.com.   This web site uses cookies: click for information.  
© 2018  

Powered by UltraBB - © 2009 Data 1 Systems