User Tools

Site Tools


en:exportformat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:exportformat [2026/03/05 16:44] frankbrenneckeen:exportformat [2026/03/06 17:11] (current) frankbrennecke
Line 3: Line 3:
 CGRAPH allows calculated values or data to be exported at various points. The format used for this is a semicolon-separated text format with the extension CSV, which is understood by spreadsheet programmes such as Microsoft Excel. CGRAPH allows calculated values or data to be exported at various points. The format used for this is a semicolon-separated text format with the extension CSV, which is understood by spreadsheet programmes such as Microsoft Excel.
  
-The format has multiple columns. The first column always contains the type of the object described, while the other columns contain the object's data, such as coordinates in the x, y and z directions and, in the case of circles and spheres, a radius. Finally, there is a colour number with which the object is to be displayed. This is optional.+The format has multiple columns. The first column always contains an identifier to describe the type of the object, while the other columns contain the object's data, such as coordinates in the x, y and z directions and, in the case of circles and spheres, a radius. Finally, there is a colour number with which the object is to be displayed. This is optional.
  
-All graphic types except for objects from [[LinearAlgebra2D|Linear Algebra in 2D]] and [[LinearAlgebra3D|3D]] simply export a sequence of individual points.+All graphic types except for objects from [[LinearAlgebra2D|Linear Algebra in 2D]] and [[LineareAlgebra3D|3D]] simply export a sequence of individual points.
  
 ^ Object type ^ Identifier ^ Format ^ ^ Object type ^ Identifier ^ Format ^
Line 14: Line 14:
 | 2D circle | C3 | This is followed by two columns with coordinates for x and y for the centre point and another for the radius of the circle. The last column contains a colour value.| | 2D circle | C3 | This is followed by two columns with coordinates for x and y for the centre point and another for the radius of the circle. The last column contains a colour value.|
 | 3D line | LP3 | This is followed by three columns with coordinates for x, y and z for the starting point and three more for the direction vector. The last column contains a colour value.| | 3D line | LP3 | This is followed by three columns with coordinates for x, y and z for the starting point and three more for the direction vector. The last column contains a colour value.|
-| 3D plane in parametric form | LP3 | This is followed by three columns with coordinates for x, y and z for the starting point and two more for the two direction vectors. The last column contains a colour value.| +| 3D plane in parametric form | PP3 | This is followed by three columns with coordinates for x, y and z for the starting point and two more for the two direction vectors. The last column contains a colour value.| 
-| 3D plane in normal form | LP3 | This is followed by three columns with coordinates for x, y and z for the starting point and three more for the normal vector. The last column contains a colour value.|+| 3D plane in normal form | PN3 | This is followed by three columns with coordinates for x, y and z for the starting point and three more for the normal vector. The last column contains a colour value.|
 | Sphere | C3 | This is followed by three columns with coordinates for x, y and z for the centre point and another for the radius of the sphere. The last column contains a colour value.| | Sphere | C3 | This is followed by three columns with coordinates for x, y and z for the centre point and another for the radius of the sphere. The last column contains a colour value.|
 | 3D circle | CP3 | This is followed by three columns with coordinates for x, y and z for the centre point and three more for the normal vector of the circle. This is followed by the radius of the circle. The last column contains a colour value.| | 3D circle | CP3 | This is followed by three columns with coordinates for x, y and z for the centre point and three more for the normal vector of the circle. This is followed by the radius of the circle. The last column contains a colour value.|
  
-Linear algebra in [[LinearAlgebra2D|2D]] and [[LinearAlgebra3D|3D]] processes all these formats when loading from a file. +Linear algebra in [[LinearAlgebra2D|2D]] and [[LineareAlgebra3D|3D]] processes all these formats when loading from a file. 
- Points are summarised in the process: in 2D space, point sequences are created, while in 3D space, point clouds are created, as is also the case with [[ImplicitSurfaces|implicit surfaces]]. All points within a file are combined into a single point sequence or cloud. If 3D objects are loaded in [[LinearAlgebra2D|Linear Algebra for 2D]], they lose their z-extension and are therefore displayed flat. Conversely, 2D objects can be loaded in [[LinearAlgebra3D|linear algebra for 3D]], but then have no z-extension and are displayed in the x-y plane. The only exception is 3D circles; these will not be displayed in 2D.+ Points are summarised in the process: in 2D space, point sequences are created, while in 3D space, point clouds are created, as is also the case with [[ImpliziteFlaechen|implicit surfaces]]. All points within a file are combined into a single point sequence or cloud. If 3D objects are loaded in [[LinearAlgebra2D|Linear Algebra for 2D]], they lose their z-extension and are therefore displayed flat. Spheres become circles. Conversely, 2D objects can be loaded in [[LineareAlgebra3D|linear algebra for 3D]], but then have no z-extension and are displayed in the x-y plane. The only exception are 3D circles and 3D planes; these will not be displayed in 2D
 + 
 +For [[interpolations]], files that only have two columns for the x and y coordinates of the values can also be used. A single-column format is also possible – in this case, the x values are first added consecutively starting from zero. They can then be [[interpolations#converting_values|converted]] later.
en/exportformat.1772725468.txt.gz · Last modified: by frankbrennecke

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki