The coordinate in below code is in world plane. but I want to add points to Current CPlane
Can the coordinates be represented on the current construction plane?
public PolyCurve FlatBar(Point3d insert_point)
{
double A = 150;
double ta = 12;
PolyCurve plc = new PolyCurve();
Point3d sp = insert_point;
Point3d ep = insert_point;
ep.X = ep.X + ta;
plc.Append(new Line(sp, ep));
sp = ep;
ep.Y = ep.Y + A;
plc.Append(new Line(sp, ep));
sp = ep;
ep.X = ep.X - ta;
plc.Append(new Line(sp, ep));
sp = ep;
ep = plc.PointAtStart;
plc.Append(new Line(sp, ep));
return plc;
}