Plotting a Real-time 3D Toolpath with Helix Toolkit
DRANK

I have created a plot control based on the WPF Helix Toolkit for visualizing a real-time stream of 3D locations. control is being used to plot toolpath information for CNC and other industrial motion applications.The companion project includes source for the plot control plus a WPF demo app that generates a simple upward-spiraling trace.  Copies of two Helix libraries "HelixToolkit.dll" and "HelixToolkit.Wpf.dll" must be located in the "HelixTraceDemoApp" directory before the project can be built.Plot Control FeaturesAxes, bounding box, grid and marker.Trace is multi-color and variable line thickness.Unnecessary points are pruned.Demo app uses a worker thread to generate the trace.The Demo AppThe WPF demo app is simply a main window that hosts a HelixPlot control and a Zoom button.<local:HelixPlot x:Name="plot" ShowViewCube="False" />A BackgroundWorker “gathers data” every 50 milliseconds, adds the data to a shared memory structure, and invokes the PlotData() method on the main UI t…

codeproject.com
Related Topics: Windows