  | | | How can I get the global position of a single point of curve, which is branch de | How can I get the global position of a single point of curve, which is branch de 2004-02-21 - By Sebastian Faber
Back I have a curve deformed on another curve via branch deformation. How can I get the GLOBAL position of a single Point of this deformed curve?
Any hints are welcome
Sebastian
to get the global position of a point of a undeformed geometry would be like this:
set oTrans = oCube.Kinematics.Local.Transform set oPoint = oCube.ActivePrimitive.Geometry.Points(0) set oPos = oPoint.Position logmessage "The local position is: X "& oPos.X & " Y " & oPos.Y & " Z " & oPos.Z set oGlobalPos = XSIMath.MapObjectPositionToWorldSpace( oTrans, oPos) logmessage "The world position is: X "& oGlobalPos.X & " Y " & oGlobalPos.Y & " Z " & oGlobalPos.Z
LIGA_01 COMPUTERFILM GmbH Sebastian Faber Landwehrstrasse 60 D - 80336 Munich - Germany
sebastian.faber@(protected) www.liga01.com
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|
 |