discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

openSCAD with python - animation: 2 circle tangent arc

SP
Sanjeev Prabhakar
Sun, Oct 29, 2023 2:44 AM

Initially I was struggling to create animations with the codes written in
python.
but now I found a simple method.
Wrote a function long back which creates a tangent arc between 2 circles.
The attached animation is to demo the above function at various positions
of the a circle w.r.t. the other one.

circle1 radius: 10
circle2 radius : 5
circle1 center point: [0,0]
circle2 center point varies from [-20,5] to [20,5] in 20 steps
radius of the tangent arc: 10

Initially I was struggling to create animations with the codes written in python. but now I found a simple method. Wrote a function long back which creates a tangent arc between 2 circles. The attached animation is to demo the above function at various positions of the a circle w.r.t. the other one. circle1 radius: 10 circle2 radius : 5 circle1 center point: [0,0] circle2 center point varies from [-20,5] to [20,5] in 20 steps radius of the tangent arc: 10