THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 21/02/2003 at 02:11, xxxxxxxx wrote:
Cinema 4D Version: 7
Platform: Windows ; Mac ;
Language(s) : C.O.F.F.E.E ;
I am trying to knife a cube (300,300,300).
From SendModelingCommand I came to know that, we have to pass P1, P2, V1 and V2 to use knife tool.
I am clear about P1 and P2, but from COFFEE help i am not getting the clear picture about V1 and V2. ie. Ray tracing vector. Can anybody explain me about this?
I used the following code: I am trying to knife the cube in horizontal way...
obj = GetActiveObject(doc); con = obj->GetContainer(); con->SetData(MDATA_KNIFE_P1, vector(-200,0,0)); con->SetData(MDATA_KNIFE_V1, ????); con->SetData(MDATA_KNIFE_P2, vector(200,0,0)); con->SetData(MDATA_KNIFE_V2, ????); obj->SetContainer(con); SendModelingCommand(MCOMMAND_KNIFE, doc, obj, con, MODIFY_ALL);
What should I use for V1 and V2?