Re: OT:Linear length of material on a roll

From: Scott Nelson (scott@sceneryplastics.com)
Date: Fri May 19 2000 - 18:34:37 EEST


In psuedo-code:

id = inner diameter
od = outer diameter
tk = thickness
rad = id / 2
y = od / 2
while rad <= y
    wrap = 2 * pi * rad
    x = x + wrap
    rad = rad + tk
wend
print "Total linear units:" & x

This can be reformulated to provide a radius based on required linear inches
input instead. A spiral function would probably be more accurate, but this
works. I've used it over the years in quite a few different 'shop programs'

----- Original Message -----
From: <SHogarth@pactiv.com>
To: <rp-ml@ltk.hut.fi>
Sent: Friday, May 19, 2000 3:59 AM
Subject: OT:Linear length of material on a roll

> I need to know the linear length of material I have on a roll. I know the
> ID and OD and the thickness of the material, can someone supply the
> formula I need.
>
> Thanks in advance
>
> Stuart Hogarth
>
> Pactiv (UK) Ltd
>
>
> For more information about the rp-ml, see http://ltk.hut.fi/rp-ml/
>

For more information about the rp-ml, see http://ltk.hut.fi/rp-ml/



This archive was generated by hypermail 2.1.2 : Tue Jun 05 2001 - 23:03:32 EEST