[38ba34]: / Tools / ModelUtilities / VectorBetweenTwoPoints / DrawVectorBetweenTwoPoints.any

Download this file

19 lines (14 with data), 469 Bytes

AnyDrawVector DrawSupport = {
  AnyRefFrame &ref = .ReferenceFrame;
  AnyVec3 Direction={.StartPoint[0]-.EndPoint[0],.StartPoint[1]-.EndPoint[1],.StartPoint[2]-.EndPoint[2]};
  Vec = Direction*.ReferenceFrame.Axes0';
  
  PointAway = Off;
  DrawCoord = Off;
//  Line.Style=3;
  Line.RGB = ..RGB;
  Line.Thickness = ..Thickness;
  Line.End.Thickness = ...Thickness;  
  Line.End.Length = ...Thickness;
  Line.End.Style=1;
    Line.Start.Style=1;

};