Direction of c4d.utils.CircleLineIntersection
-
On 10/10/2014 at 09:13, xxxxxxxx wrote:
Hi
I forgot how to set direction for 2d circle interpretation(XY or YZ or XZ) for newc4d.utils.CircleLineIntersection
[URL-REMOVED]
Not for plugins, it is for code snippet in c4d
[URL-REMOVED] @maxon: This section contained a non-resolving link which has been removed.
-
On 13/10/2014 at 05:01, xxxxxxxx wrote:
Hi,
for the new
utils.CircleLineIntersection
you don´t need to set the orientation of your circle, I guess.
It´s already done by the command, the circle is always directed parallel to your line.if you change the P2 values in Y or Z, you´ll get the corresponding results.
P1 = c4d.Vector(0,0,0) P2 = c4d.Vector(50,0,0) CEN = c4d.Vector(0,0,0) RAD = 30 print c4d.utils.CircleLineIntersection(P1,P2,CEN,RAD)
hope this helps...
Cheers,
Martin -
On 13/10/2014 at 08:01, xxxxxxxx wrote:
Hi Martin. Thank you.
I got nice results if combine with SphereLineIntersection too