Creating a Toolpath entity from scratch

This article explains how to create a Toolpath entity from scratch. In addition to LinearMotion, the CircularMotion class is available as well.

mceclip0.png

Toolpath.Motion[] motions = new Toolpath.Motion[]
{
new Toolpath.LinearMotion(new Point3D(0, 0), new Point3D(10, 0), motionType.G00, 1000, 500),
new Toolpath.LinearMotion(new Point3D(10, 0), new Point3D(10, 0, -5), motionType.G01, 1000, 100),
};
Toolpath tp = new Toolpath(motions);
model1.Entities.Add(tp, Color.Blue);

model1.ShowCurveDirection = true;
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.