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

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    9616×  
Prices - CAD eShop:
applies to: Fusion360 ·

See also:
Tip 12416:How to export DXF outline of unfolded sheetmetal in Fusion 360, with no bending lines.
Tip 12411:How to wrap text on a cylinder or a general 3D surface in Fusion 360?
Tip 12406:How to log out automatically from your Autodesk account after closing an app?
Tip 12326:How to customize your Fusion 360 background color? (any color theme)
Tip 12314:How to display OBJ models including textures in A360?


Back   All CAD Tips All CAD tips&tricks



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:
Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info


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