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

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    5118×  
Comments   Tell a friend
applies to: Fusion360 ·

See also:
Tip 11679:How to hide or display ViewCube in Fusion 360?
Tip 11652:How to make a part in a Fusion 360 design partially visible (semitransparent)?
Tip 11634:Which CAD/BIM products are supported by the visual programming tool Dynamo?
Tip 11600:How to rename a project in BIM 360 or Fusion Team?
Tip 11590:How to replace a 3D mesh model with a grid structure?


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:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin 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