Direction of c4d.utils.CircleLineIntersection
On 10/10/2014 at 09:13, xxxxxxxx wrote:
I forgot how to set direction for 2d circle interpretation(XY or YZ or XZ) for new c4d.utils.CircleLineIntersection
Not for plugins, it is for code snippet in c4d
On 13/10/2014 at 05:01, xxxxxxxx wrote:
for the new
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...
On 13/10/2014 at 08:01, xxxxxxxx wrote:
Hi Martin. Thank you.
I got nice results if combine with SphereLineIntersection too