I am trying to generate a geometry and then add some curves into it.
It is required to generate a curve and then add a vertex onto the surface at an angle of 120 degree. This vertex should lie on the edge of of the surface and can fall into any curve but the angle should be maintained. I used the following code but could not figure out how to add the direction at a location properly.
The last vertex needs not to be at the interface or in the middle of any curve. That I have figured out. The last vertex should be generated at an angle to curve 13 where the ray touches the surface 2. What I yesterday tried is
draw direction curve 13 at -0.685161 -0.807921 0.01 rotate about y 0 rotate about z 120
With draw direction the direction is generated perfectly on the screen. The direction to be precise is 120 degrees from the curve 13 in the plane. Now where this ray touches the end of surface 2, be it middle or end of a curve, a vertex should be generated. So I tried to use the above generated direction by it did not work.
create vertex at surface 2 location fire ray location direction curve 13 about -0.685161 -0.807921 0.01 rotate about y 0 rotate about z 120
[/code]
Here for clarity I am posting the complete code again.
thank you for your quick reply in the first place.