Import Shapes From CSV File

You can now import multiple parametric shapes from CSV files that is in a specific format as required by PLUS 2D. A sample CSV file is shown below

Eg.  ImpParamShapes.csv.

;PartId,  Mat,  Thk,  Q, Rot, Pair, Remarks, C1, C2, C3, C4,   ShpLib, ShpId, Param[1-12]
Part1,   glass,   2.0,   10,   1,   1,   Rem1,   C1, C2, C3, C4,   Glass, 1, 650, 350, 400, 150, 20, 20
Part2,   glass,   2.0,   20,   0,   1,   Rem2,   C1, C2, C3, C4,   Glass, 5, 900, 150, 200, 650, 350, 100, 15, 15, 15
Part4,   glass,   2.0,   40,   1,   1,   Rem3,   C1, C2, C3, C4,   Triangles, Tri2, 650, 550
Part5,   glass,   2.0,   30,   1,   1,   Rem4,   C1, C2, C3, C4,   Trapeziums, Tpz3, 600, 300, 400
Part6,   glass,   2.0,   20,   1,   1,   Rem5,   C1, C2, C3, C4,   Trapeziums, Tpz6, 380, 650, 550
Part7,   glass,   2.0,   20,   1,   1,   Rem5,   C1, C2, C3, C4,   Fg, 1, 750, 625, 50, 50

After importing data grid will look as follows.

The Import Shapes Dialog

This dialog is shown after the input CSV file that contains the data has been selected.

Imported Data Grid:

 This grid shows the Library of the shape along with the Shape No. It contains the list of parameters of which the shape is made up of in the columns from P1 to P12. It also specifies the name to be used for that particular shape, required quantity, rotation is allowed or not.

It also allows you to add new shapes, edit the data that is imported.

Parameter Description Grid:

This grid gives information about the columns P1 to P12 as to what parameter of the selected shape they represent and it's description. This grid is not editable.

Shape Preview Window:

This window shows the shape and the parameters required to make it.

The cut start point of the selected shape is shown with a red dot in the picture. This is the point from where your CNC machine will start cutting the shape from.

Validate Button:

When you click this button, the application will check if the data imported is correct or not. If not then it will give an error message for the same.

OK Button:

When you click this button, the shapes will be made in the Shapes Page. 

Note: If a invalid Library name or shape no. is given or if the parameters provided for that shape are not valid, then that shapes won't be made.


See Also