POV-Ray : Newsgroups : povray.binaries.images : Counting gear teeth with POV-Ray : Counting gear teeth with POV-Ray Server Time
7 Nov 2024 00:18:44 EST (-0500)
  Counting gear teeth with POV-Ray  
From: Bald Eagle
Date: 8 Jun 2017 07:50:01
Message: <web.593939a97ee89277c437ac910@news.povray.org>
I managed to work out:
1. photograph gear on contrasting background
2. crop, convert to heightfield
3. take a slice
4. use trace to measure the width of the gear
5. make an educated guess about number of teeth
6. use trace to take at least twice that number of samples around the perimeter
7. use a change in the direction of the measurement, compared to the radius
determined in (4) to increment the counter

preliminary results so far:

RA0-1179 (69 teeth)
counted 69 teeth

RU6-0190 (193 teeth)
http://www.sunworth-tec.com/productshow.asp?id=1270
counted 192 teeth

I may just need to take more samples.  But that's as far as I got before I hit
the sack.


Post a reply to this message


Attachments:
Download 'geartoothcount-69.png' (325 KB)

Preview of image 'geartoothcount-69.png'
geartoothcount-69.png


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.