Forum > General

algorithms: which method or operator must i use??

**ADMGNS**:

hello,

problem: i have some circles. you think them as pulleys, and i want turn around a vee belt them. so, how can i detect the tangent points that all circles rotate regularly. please see attachment.

i've tried to use internal and/or external tangent points of two circles, but it doesnt work properly.

thank you

**winni**:

Hi!

Think about this:

Use the angle from the Center and center of a cirle.

Compute the length between those 2 points.

Add or subtract the radius of the circle.

There you are at the tangential point.

Winni

**VTwin**:

Interesting. Each adjacent pulley's tangent will have the same slope.

There must be more information on the input values.

Is this a homework assignment?

**winni**:

Hi!

Here is a first solution with a canvas and integer coordinates.

It should help you as a start base.

Winni

**winni**:

@Vtwin

This is homework.

For a real live computing you must first know:

* Is the "rope" on the next roll outside or inside

* You need the angle between circle n and circle n+1

* then you can decide at which angle leaves roll n and start at roll n+1 - the tangential points left and right

* for the difference between the two tangential points you have to compute a circle segment for the "rope"

Sound more like technical engeneering for bginners ...

Winni

l

Navigation

[0] Message Index

[#] Next page