CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
Cesky English Deutsch
Login/Register:
 Visitors: 3903 

CAD tip CAD tip # 10709:

Question CAD 
 %  platform  category 
Q - question

How to create a profile from imported XYZ points in Fusion 360?

A - answer You can use the script ImportSplineCSV in Autodesk Fusion 360 to read-in an outline profile or other spline curve defined by XYZ coordinates of its individual vertices (or just points).

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 www.cadstudio.cz/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.

Fusion360
100% *  CAD 
22.1.2016    4566×  
Comments   Tell a friend
applies to: Fusion360 ·

See also:
Tip 11556:How to set K-Factor and other parameters for sheetmetal unfolding in Fusion 360?
Tip 11545:How to export a sliced 3D model from Slicer for Fusion 360?
Tip 11523:How to reset default dialog positions and sizes in Fusion 360?
Tip 11522:How to create 3D splines in Fusion 360 - e.g. for pipe axes?
Tip 11494:Entering decimal values using fractions in CAD applications.


Back   All CAD Tips All CAD tips&tricks

How to change focal length in the A360 Mobile viewer. « | » Modeling compression injection screw for molding machine.

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension More info


Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist