POV-Ray : Newsgroups : povray.text.scene-files : Tangents between circles : Re: Tangents between circles Server Time
25 Feb 2024 01:10:54 EST (-0500)
  Re: Tangents between circles  
From: jr
Date: 17 Nov 2019 16:35:00
Message: <web.5dd1ba8e1b345bf5feeb22ff0@news.povray.org>

"Bald Eagle" <cre### [at] netscapenet> wrote:
> Minimal scene to show the basics.


> Still LONG due to all the calculations, etc.

to make it useful to .. numpties like me, a documented interface of sorts is
needed[*], a few thoughts on this below (disclaimer, working on some non-POV-Ray
stuff and haven't thought everything through in full).

[*] cf semver.org.  ;-)

for the 'pulleys', in addition to centre + radius, having a texture would be
cool.  either as a "parallel" array, or perhaps using the new mixed array type.
now wondering how one could prepare for/support animation.

if a start and end point get specified, that would get a "cable", while no
points would be a "belt", ie closed.  either way, the belt/cable goes around a
pulley either clockwise or counter (a boolean), so could be represented as an
array of floats for automatic "routing", 'N.0' for clockwise and 'N.1' for the
reverse, where N is the pulley array index.

and a belt/cable texture.

then bundle those in a dictionary to keep everything in one place? packaged in a
"standalone" include file.

anyway.  will be happy to do testing and help document, and what other (small)
help I can give.

regards, jr.

Post a reply to this message

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