Announcements
Autodesk Community will be read-only between April 26 and April 27 as we complete essential maintenance. We will remove this banner once completed. Thanks for your understanding

Import Spline CSV script "no valid points"

Anonymous

Import Spline CSV script "no valid points"

Anonymous
Not applicable

The ImportSplineCSV script keeps giving me an error message that says "No valid points." I've double checked the format of the csv file: it has about 20 points with X, Y, and Z coordinates and nothing else. Any ideas?

11 Likes
Reply
4,944 Views
24 Replies
Replies (24)

Anonymous
Not applicable

I have the same problem, any solution?

3 Likes

amdx3H5YM6
Observer
Observer

me too...

0 Likes

JeromeBriot
Mentor
Mentor

Hello,

 

Attach the CSV file you try to import.

 

0 Likes

steveCSNTC
Participant
Participant

File attached, i have the same issue

0 Likes

steveCSNTC
Participant
Participant

i have the same issue. Test file attached.

0 Likes

davebYYPCU
Consultant
Consultant

You need X Y and Z

 

cnvpar.PNG

 

Might help....

0 Likes

jmpframce
Enthusiast
Enthusiast

even with z i get always invalid point

1 Like

Protective-foam_com
Contributor
Contributor

Hello,

 

I have this same issue:

foamerdesigne_0-1674575076950.png

Below is the data format:

foamerdesigne_1-1674575139906.png

 

 

And the file in attachment

 

0 Likes

HughesTooling
Consultant
Consultant

@Protective-foam_com  Think your problem might be using a comma rather than a point in your numbers and a semicolon rather than a comma as the separator.

 

Mark

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


0 Likes

HughesTooling
Consultant
Consultant

@Protective-foam_com  I edited your file in notepad and replaced the commas with points and the semicolons with commas and it works. See attached file.

HughesTooling_0-1674582587612.png

 

 

Mark Hughes
Owner, Hughes Tooling
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


1 Like

Protective-foam_com
Contributor
Contributor

It works!

foamerdesigne_0-1674582877442.png

You were right, the semicolons were the reason:

foamerdesigne_1-1674583057608.png

 

Thank you very much for help!:)

 

 

0 Likes

JeromeBriot
Mentor
Mentor

@jmpframce, @Protective-foam_com@HughesTooling 

 

I wrote a new version of this script that should accept more CSV file.

 

See there: [Script] Import spline from any CSV file 

 

Post comments on the thread above.

 

 

1 Like

smostini
Participant
Participant

Hello,
I also have the same problem but despite replacing all the semicolons the file does not work.
I tried to install Girolamo Briot's plugin but it doesn't work.
I attach the file below.

0 Likes

JeromeBriot
Mentor
Mentor

@smostini Remove all the periods from the file and try to load it again.

0 Likes

mstannmarina
Community Visitor
Community Visitor

Hi!

I have the same problem with Fusion and .csv file import.
I also could not download your new version of the script, I don't understand why, but the Fusion 360 App doesn't see it...
I have attached my file to the message.
I would be very thankful if someone could tell me, how I can import this file!!

Screenshot 2023-11-21 at 13.16.54.png

0 Likes

davebYYPCU
Consultant
Consultant

3 data columns

X, Y, Z

Should work. 

 

You have too many columns.

 

csvdb.PNG

 

Might help,,,,

0 Likes

memsmith1
Explorer
Explorer

Hello I've been having the same problem. I'm trying to import coordinates for a NACA 0009 aerofoil to be drawn on Fusion. Could I have some help please? 

0 Likes

JeromeBriot
Mentor
Mentor
1 Like

Protective-foam_com
Contributor
Contributor

Hello @JeromeBriot,

At the beginning, I wanted to thank you for your commitment to the development of the script.

I'm currently testing the new version of the script. Regarding the delimiter characters, everything works correctly, and the points are loading into Fusion properly.

 

Since I started using the script, I've had an issue with the scale.

Example:

In Excel, the coordinates of one of the points are as follows:

Protectivefoam_com_2-1741858538197.png

 

 

After loading the CSV file into the script, the coordinates of this point in Fusion are as follows:

Protectivefoam_com_1-1741858494528.png

 

I solve this problem by scaling it by a factor of 0.1:

Protectivefoam_com_0-1741858459868.png

Is it possible for the script to consider the scale factor when importing points?

I would like to add that in Fusion, I have the units set to mm.

 

best regards

Wojciech

 

0 Likes