Over 1.081.000 registered users (EN+CZ). New 1D nesting and 3D nesting tools, updated Color converter. New AutoCAD 2025 commands and variables. Learn about twiGIS.
CAD tip # 10709:
Question
This script can be invoked with the top menu File > Scripts and Add-ins (or press Shift+S). In the dialog then select the predefined script written in the JavaScript or Python languages, called "ImportSplineCSV" and click Run. Then just choose your CSV file (e.g. exported from Excel) containing the point coordinates and Fusion will generate the respective spline curve.
Data in your CSV file must be comma-separated, with "." as decimal point separator, and all 3 coordinates X,Y,Z must be used (Z can be 0).
To load CSV files from localized Excel versions (e.g. German - semicolon delimiters, decimal comma) or 2D (XY) only CSVs, use the globalized script ImportSplineCSVg - see Download. Unpack its folder to other Fusion scripts - e.g. to:
C:\Users\USERNAME\AppData\Local\Autodesk\webdeploy\production\b27b8...57da\JavaScript\Samples\
or rather to
C:\Users\USERNAME\AppData\Roaming\Autodesk\Autodesk Fusion 360\API\Scripts\
and add the .js file to "My Scripts" with "+".
The variant ImportSplineCSVm can import multiple profiles at once - delimited by an empty line in the CSV file.
The variant ImportPointsCSV reads the coordinates as Points, not Splines.