Can I export curves from SolidWorks and use in my motion control application?
If you want to draw a 2D or 3D curve in SolidWorks and have LabVIEW execute it as a motion profile, you can export the curve feature from SolidWorks as a text file. Then in your NI LabVIEW SoftMotion Module application, add a contour move function. A contour move is a move expressed as a series of positions that the software uses to extrapolate a smooth curve between the points. I. Export the curve from SolidWorks and prepare it for reading in LabVIEW: 1. First, change the units and dimensions standard for your SolidWorks assembly to MMGS (millimeter, gram, second). To do this, navigate to Tools>Options>Document Properties>Units. 2. Right-click on the curve item in SolidWorks and select Edit Feature. Save the curve data as a file. 3. Open the .sldcrv text file in Notepad and navigate to Edit>Replace. In the Find What box type “mm”. Leave the Replace With box empty and click Replace All. Finally, save the file as a .txt file. Now you are ready to import the file into the LabVIEW project