On Wed, Jun 06, 2001 at 02:53:06PM -0300, Dean A Scott wrote:
> Hi everyone. I'm new to smartcam. just started working with it at the
> beginning of this year. anyway, i was wondering if it would be possible to
> have step notes or job notes print out with the tool sheet? if so? could i
> have a few pointers on how? thanks in advance.
>
> Dean Scott
> Apex tech.
I've attached the the format files which I use (with version 10.x).
Please add a subject line to your mail next time.
Best regards,
Kelly
--
Kelly D. Grills
[EMAIL PROTECTED]
Visit the SmartCAM Mailing List Archive:
http://www.kdg-engineering.com/~kdgrills/smartcam-archive/
//////////////////////////////////////////////////////////////////////////////
// Production_Milling v10.0 Windows
// KDG Engineering Job information format File 11/12/97
//////////////////////////////////////////////////////////////////////////////
//
// Revision history:
//
// 11/12/97, KDGrills
// Created.
///////////////////////////////////////////////////////////////////////////////
//Variable declarations
///////////////////////////////////////////////////////////////////////////////
extern string nc_file, wc_desc, nc_date, nc_time, rev_date, creator;
extern string matl_desc, job_note;
procedure section_5010000
{
format("Code File : %s\n", nc_file);
format("Coded For : %s\n", wc_desc);
format("Date Coded : %s, %s\n",nc_date, nc_time);
format("Last Revised: %s, %s\n",rev_date, creator);
format("Part Desc. : %s\n", prt_desc);
format("Matl. Desc. : %s\n\n", matl_desc);
format("%s\n\n", job_note);
}
//////////////////////////////////////////////////////////////////////////////
// Production_Milling v10.0 Windows
// KDG Engineering Job report format File 11/12/97
//////////////////////////////////////////////////////////////////////////////
//
// Revision history:
//
// 11/12/97, KDGrills
// Created.
///////////////////////////////////////////////////////////////////////////////
//Variable declarations
///////////////////////////////////////////////////////////////////////////////
extern string jof_file, prt_desc;
procedure header
{
format(" KDG Engineering\n");
format(" CNC Job Report\n");
format(" %-d/%-d/%-d\n", month(), day(), year());
format(" Part No. %s\n", prt_desc);
format(" -- Page %-d --\n", page());
format("\n\n");
}
#include "wtjinf.fmt"
#include "wtstpinf.fmt"
//////////////////////////////////////////////////////////////////////////////
// Production_Milling v10.0 Windows
// KDG Engineering Step format File 11/12/97
//////////////////////////////////////////////////////////////////////////////
//
// Revision history:
//
// 11/12/97, KDGrills
// Created.
///////////////////////////////////////////////////////////////////////////////
//Variable declarations
///////////////////////////////////////////////////////////////////////////////
extern integer doff, loff, step_num, tl_num, outspeed, tl_mat, n_flutes,
geometry, centrcut, ch_type;
extern string st_desc, tm_notes;
extern float outfeed1, tl_len, tl_dia, sideang, speedcss, feedupt1,feedupr1,
tipangl, pitch, tpu;
///////////////////////////////////////////////////////////////////////////////
//Defined procedures
///////////////////////////////////////////////////////////////////////////////
//Tool material
procedure tool_mat
{
format (" %s\n",
map(tl_mat, [ 0 = "HSS", 1 = "Carbide", 2 = "Cobalt", 3 = "Ceramic"]));
}
//Common hole data
procedure hole_header
{
format(" ** Tool No. %-d **\n\n", tl_num);
format ("Tool Desc : %s\n", tm_notes);
format ("Operation : %s\n", st_desc);
format ("Length Register : %-d\n", loff);
format ("Dia. Register : %-d\n", doff);
format ("Diameter : %-0.4f\n", tl_dia);
format ("Flute Length : %-0.2f\n", tl_len);
format ("No. of Flutes : %-d\n", n_flutes);
format ("Tool Material :");
call (tool_mat);
}
//Common hole data
procedure hole_footer
{
format ("Spindle Speed (RPM) : %-d\n", outspeed);
format ("Spindle Speed (SFM) : %-0.2f\n", speedcss);
format ("Feed Rate (IPM) : %-0.2f\n", outfeed1);
format ("Feed Rate (IPR) : %-0.3f\n", feedupr1);
format ("\n");
}
///////////////////////////////////////////////////////////////////////////////
//Milling procedures
///////////////////////////////////////////////////////////////////////////////
//Default milling operation
procedure section_1030100
{
format(" ** Tool No. %-d **\n\n", tl_num);
format ("Tool Desc : %s\n", tm_notes);
format ("Operation : %s\n", st_desc);
format ("Length Register : %-d\n", loff);
format ("Dia. Register : %-d\n", doff);
format ("Diameter : %-0.4f\n", tl_dia);
format ("Flute Length : %-0.2f\n", tl_len);
format ("No. of Flutes : %-d\n", n_flutes);
format ("Side Angle : %-0.2f\n", sideang);
format ("Tool Material :");
call (tool_mat);
format ("Flute Geometry : %s\n",
map(geometry, [ 0 = "Standard", 1 = "Roughing", 2 = "High Helix"]));
format ("Center Cutting : %s\n",
map(centrcut, [ 0 = "No", 1 = "Yes"]));
format ("Spindle Speed (RPM) : %-d\n", outspeed);
format ("Spindle Speed (SFM) : %-0.2f\n", speedcss);
format ("Feed Rate (IPM) : %-0.2f\n", outfeed1);
format ("Feed Rate (IPT) : %-0.3f\n", feedupt1);
format ("\n");
}
///////////////////////////////////////////////////////////////////////////////
//Hole procedures
///////////////////////////////////////////////////////////////////////////////
//Default hole operation
procedure section_1030200
{
call (hole_header);
call (hole_footer);
}
//Spot Drilling operations
procedure section_1030201
{
call (hole_header);
format ("Tip Angle : %-0.2f\n", tipangl);
call (hole_footer);
}
//Drilling operations
procedure section_1030202
{
call (hole_header);
format ("Tip Angle : %-0.2f\n", tipangl);
format ("Flute Geometry : %s\n",
map(geometry, [ 0 = "Standard", 1 = "Parabolic", 2 = "High Spiral"]));
call (hole_footer);
}
//Peck drilling operations
procedure section_1030203
{
call (hole_header);
format ("Tip Angle : %-0.2f\n", tipangl);
format ("Flute Geometry : %s\n",
map(geometry, [ 0 = "Standard", 1 = "Parabolic", 2 = "High Spiral"]));
call (hole_footer);
}
//Reaming operations
procedure section_1030204
{
call (hole_header);
call (hole_footer);
}
//Boring operations
procedure section_1030205
{
call (hole_header);
call (hole_footer);
}
//Tapping operations
procedure section_1030206
{
call (hole_header);
format ("Pitch : %-0.4f\n", pitch);
format ("Threads Per Inch : %-0.2f\n", tpu);
format ("Flute Geometry : %s\n",
map(geometry, [ 0 = "Standard", 1 = "Roll Form", 2 = "Pipe", 3 = "Spiral Flute"]));
format ("Point Geometry : %s\n",
map(ch_type, [ 0 = "Bottoming", 1 = "Plug", 2 = "Taper"]));
call (hole_footer);
}
//Counterboring operations
procedure section_1030207
{
call (hole_header);
call (hole_footer);
}
//Countersinking operations
procedure section_1030208
{
call (hole_header);
format ("Tip Angle : %-0.2f\n", tipangl);
call (hole_footer);
}