IonicWind Software

IWBasic => General Questions => Topic started by: Andy on November 25, 2021, 12:54:04 AM

Title: Drawing to scale
Post by: Andy on November 25, 2021, 12:54:04 AM
I'm trying to draw a couple of things the old fashioned way onto A4 paper to some reasonable accuracy.


In one of my railway books, it describes the measurements of a particular railway station, but gives the dimensions in feet and inches...

Now A4 is 210 x 297 mm in size, so I want to be able to draw this station on A4 say with a little space left either side of the building.

If I was to take say 290 mm as my maximum length, how would I calculate / translate something like 35 feet 4 inches into this 290 mm - bare in mind this 35' 4" is only one third of the building (BUT not one third of the whole length of the station), and I want the whole building to fit on one page.

I guess what I need is some way to translate feet to cm and inches to mm but scaled down.

Does anyone have any ideas on some sort of formula I could put into a program where I could enter feet & inches and return the length I need in cm & mm.

Total building is 99 feet 1 inch in length to fit into 290 mm.

See attached.

Title: Re: Drawing to scale
Post by: Brian on November 25, 2021, 03:44:33 AM
A couple of programs here, Andy, that might help you out. Get your thinking cap on, 'cos they're from Sapero!

Title: Re: Drawing to scale
Post by: Andy on November 25, 2021, 04:04:31 AM
Thanks Brian,

I will have a look at that, anything that Sapero wrote does take some studying!

Just playing around with measurements, it could be the 1 foot to this scale would sort of work i.e. 1 foot = 0.3 cm (3 mm) = 297 mm.

0.2 cm works out at just under 200 mm.

So I think something like 0.25 cm a foot works out the best although that's a little difficult to measure.

I need to think on this one and study Sapero's code.


Title: Re: Drawing to scale
Post by: Egil on November 25, 2021, 04:18:59 AM

I think the simplest (and fastest!!) way will be to convert everything first to inches, and then convert it  to millimeters multiplying the answer by 25.4, and then use Brians screen code routines for scaling the results to suit the paper.

I haven't seen Sapero's code before, but at first glance it appears to do much the same as Bians code.

Good luck!

Title: Re: Drawing to scale
Post by: ckoehn on November 26, 2021, 03:24:26 PM
Ah my friends. All you need is windows calculator. Change the 99' 1" to feet, which is 99.083333'.  You want to know how many mm of drawing space for every foot. So.. mm/ft = 290mm/99.083333 = 2.9268293 or you can just round it to 2.9. Store 2.9 in calculator memory. 99.08333' * 2.9 = 287.3416 mm. That allows a little extra margin space.

Or wasn't this what you were asking?

Brain cells are still working a little slow.

Title: Re: Drawing to scale
Post by: Andy on December 05, 2021, 12:41:27 AM

Sorry for not replying earlier, I've had back problems all week and was unable to sit at my PC.

Thanks for the calculations.

By the way, glad to see you seem to have recovered now - great to see you back, and the brain cells are still going strong!