hexagon logo

How to construct a line from an intersection of a plane and the outside of a cylinder

I have created a cylinder and a plane running parallel to the cylinder centerline. I want to create a line where the plane intersects the outside of the cylinder, on one side only. How can I do this?
Parents
  • Level Z and origin xy on the cylinder, rotate X to the plane.
    To create the line on the good side, you could have to adjust ±PLN1.X and ±YLIN

    ASSIGN/YLIN=CYL1.R*SIN(ACOS(PLN1.X/CYL1.R))
    LIN1 =GENERIC/LINE,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<PLN1.X,YLIN,CYL1.Z>,$
    MEAS/XYZ,<PLN1.X,YLIN,CYL1.Z>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    LENGTH/5,5


    If the plane isn't perfectly parallel to the cylinder axis, then the intersection should be a kind of parabola.
Reply
  • Level Z and origin xy on the cylinder, rotate X to the plane.
    To create the line on the good side, you could have to adjust ±PLN1.X and ±YLIN

    ASSIGN/YLIN=CYL1.R*SIN(ACOS(PLN1.X/CYL1.R))
    LIN1 =GENERIC/LINE,DEPENDENT,CARTESIAN,$
    NOM/XYZ,<PLN1.X,YLIN,CYL1.Z>,$
    MEAS/XYZ,<PLN1.X,YLIN,CYL1.Z>,$
    NOM/IJK,<0,0,1>,$
    MEAS/IJK,<0,0,1>,$
    LENGTH/5,5


    If the plane isn't perfectly parallel to the cylinder axis, then the intersection should be a kind of parabola.
Children
No Data