Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

ImportSplineCvs error - number format changed

bluearccnc
Participant

ImportSplineCvs error - number format changed

bluearccnc
Participant
Participant

Hi

I am using ImportSplineCvs script to read in a number of points that was scanned with a Microscribe. The number format has three places after the decimal. It would seem that when the numbers are imported that the decimal place is moved one along to make the number contain only two digits after the decimal. This means that all the numbers grow by one decimal place.

How do I change the resolution to contain three decimal places?

 

my number :- X =  96.139  Y = -79.501

number in fusion :- X = 961.39  Y = -795.01

0 Likes
Reply
Accepted solutions (2)
339 Views
4 Replies
Replies (4)

BrianEkins
Mentor
Mentor

I didn't look at the source for the program but my guess is that it's expecting the values in the spreadsheet to be in internal units, which is always centimeters.  

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes

bluearccnc
Participant
Participant
Ah ok that makes sense although it was not obvious from the code that
this is the case. Can one change the internal units to mm?
0 Likes

BrianEkins
Mentor
Mentor
Accepted solution

The internal length units for Fusion are ALWAYS centimeters.  Fusion saves data and works in centimeters.  The only time it needs to care about other units is when it's getting input from the user or displaying values to the user.  This falls into the first case where it's getting values from the user through a CSV file.  You'll either need to modify the program to convert them or change the values in the CSV file.

---------------------------------------------------------------
Brian Ekins
Inventor and Fusion 360 API Expert
Website/Blog: https://EkinsSolutions.com
0 Likes

bluearccnc
Participant
Participant
Accepted solution

Hi Brian

Thanks for the reply. I did go look everywhere I could but realized that I cannot change it so I modified the script by just dividing all the numbers by 10. Problem solved I think. Thanks for the help.

 

0 Likes