importing a huge number of point-coordinates from a existing ascii file into CATIA (CAD-software) can be a bit tricky.
Although CATIA allows stl import (and other formats) the result is a point cloud / mesh, which is difficult to process further.
In other words: The result is somewhat different from a nativly defined point using the dedicated CATIA point definition function.
A way around this is to use a free available EXCEL file.
In the EXCEL file point coordinates can be written in the cells of an EXCEL sheet.
A macro inside the EXCEL file can than be used to export the data into CATIA.
Now:
Thanks to the Scilab toolbox xlreadwrite it is possible to transfer point coordinates from an ascii file to an EXCEL file. From there it is possible to transfer the coordinates into CATIA.
My question: Is it in general possible to mimic a EXCEL macro in Scilab?
Goal: Directly export data from Scilab into CATIA.
Some links to a description for the work around with EXCEL is here:
As one can see, it is not only possible to import single point coordinates, but also splines and surfaces.
IMHO the best way to export data to CATIA should be to directly use the 3dxml format (see Downloads) as Scilab has all the required tools to create xml files. Of course, working with an already written template should help a lot!