
| SuperCam CAM file format The SuperCam CAM file format is an ASCII Text file with theextension of "CAM". Each graphic item begins with a keyword that identifies what kind of graphic item is being described by the operands thatfollow the keyword. The ASCII linefeed character signifies the endof the current graphic item has been reached. Operands that follow thekeyword are separated by ASCII commas. Each graphic item has different set of operands that describe it. The CAM interpreter understands 25 different types of graphicitem. Each graphic item takes up one line of text when viewed by with aword processor. The SuperCam program is acting like a text editor inbackground when performing moves, copies, erase, rotate, scale, anything thateffects the parameters of the graphic item selected. Text lines are beingedited, the words that describe a parameter are being changed when needed. Graphic items that are two dimensional, 2D, when displayed inthe 3D mode are placed on the Z axis that corresponds to to cutting depthparameter. When the cut depth parameter is changed in MCONFIG and aredraw is performed the item placement of in the Z axis will correspond to thenewly defined cut depth. Not all described graphic items can actually cause mechanismmovements. line - This describes a line, it may have two or more sets of coordinates that follow as operands. The number of coordinates that follow are only limited by the amount of memory that is available in the host computer or 32 mb which ever comes first. | circle - This describes a circle. Three operands follow. The center X and Y coordinates and the radius. | point - This describes a two dimensional point. The two operands that follow are the X and Y coordinates. | | ||
| arc - This item is an arc. There are five operands that follow. The first two are the X and Y coordinates of the center of the arc. Then the starting angle in degrees followed by the ending angle. The last operand is radius of the arc. * | text - This graphic item describes a line of text. Thefirst two coordinates describe the coordinates for the lower rightcorner's X and Y. The next two coordinates describe the end of thetext display X and Y. The next operand describes the height of the text. The next operand is the number of characters in the string of text to be graphically displayed. * | textfit - This graphic item describes a line of text that has to fit in a specified area. The first two coordinates define the coordinates of the starting X and Y. The next two coordinates define the the height and the length of the graphic item. The last operand is the the text string to be graphically displayed. * | |||
| lineup - This item describes a line that starts at the depth of cut an finishes at the surface of the material. It may have two ormore sets of coordinates that follow as operands. The number of coordinates that follow are only limited by the amount of memory that is available in the host computer or 32 mb which ever comes first. | linedwn - This item describes a line that starts at the surface ofthe material and finishes at the previously specified depth of cut inthe material. It may have two or more sets of coordinates thatfollow as operands. The number of coordinates that follow are only limited by the amount of memory that is available in the host computer or 32 mb which ever comes first. | textctr - This graphic item describes a line of text that is centerabove a specified point. The first two coordinates define thecoordinates of the center X and Y. The next operand defines thethe height of the graphic text. The next operand defines the height to width ratio for the characters. The last operand is the the text string to be graphically displayed. * | |||
| polyline - This graphic item describes a line or tool path thatconsists of sets of XYZ coordinates for each node in the line. There maybe two or more sets of coordinates that define the polyline. The number of coordinates that follow are only limited by the amount of memory that is available in the host computer or 32 mb which ever comes first. | vertex - This is a graphic item that has no real display item. It will cause the attached mechanism to move to a place in space at what ever mode of movement that it currently is in. There are three operands that follow, X, Y and Z coordinates. The graphic item is drawn as a YELLOW dot. | face3D - This graphic item describes a three dimensional triangle. The first operand is reserved for the the layer element. The next three operands describe the X,Y,Z coordinates of the stating node of the triangle. The next three coordinates describe the second node of the triangle. The last three operands are the coordinates of the last node of the triangle. | |||

![]() Home Page at http://www.super-tech.com |
|
|
|
|
![]() |