CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 7151

CAD tip CAD tip # 14059:

   
Question CAD 
 %  platform  category 
Q - question

Import coordinates from CSV files into Fusion profiles.

A - answer If you work with measured geometric data, or if you generate profile shapes for your 3D models using external calculations, you will definitely encounter the need to import points or profile sketch curves into Fusion from a list of XY or XYZ coordinates, usually from a CSV or TXT file.

There is a sample Python script ImportSplineCSV in Autodesk Fusion, for this purpose, but it has a number of shortcomings.

Our modified, "globalized" version of this script tried to solve most of them - see ImportSplineCSVg. Unlike the original version of the script, it can read CSV files from the Czech or German Excel (i.e. with semicolon ";" as a data separator), numbers with a decimal point instead of a period, coordinates not containing a Z component (i.e. only X,Y) and can handle multiple profiles in a single CSV file (they must be separated by a blank line). It also imports the sketches into the active (not root) component and expects data in [mm] so the dimensions are not ten times larger...

The script ImportSplineCSVg is available as a Python source code in our GitHub channel - see github.com/CADstudioCZ/ImportSplineCSVg . For easy installation into Fusion, we recommend using the integration tool GitHubToFusion360 - see the blog (in CZ).

For more information, see the blog Inventor Guru.

Fusion360
100% *  CAD 
11.3.2024    27801×  
Prices - CAD eShop:
applies to: Fusion 360 360 ·

See also:
Tip 10709:How to create a profile from imported XYZ points in Fusion 360?
Tip 10167:Keyboard shortcuts in Autodesk Fusion 360.


Back   All CAD Tips



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.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.
TOPlist