- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello all,
Glad to see the transition to AD went well. I have some questions about manipulating the setup sheets and how to go about changing things. As it sits now we are currently creating NCprograms with multiple toolpaths within it and I am looking to create just the summary portion with a similar formatting as shown below. I would like to add the programmer box under the Project name within the same table and highlight the tool name and gauge length fields but everytime I attempt to do this my editor (wordpad) tries to save it back out as a richtext file and not HMTL. On top of this I cannot seem to get more then 4 toolpaths to show per page even though the allowable space for this seems to be big enough in the style file. I am not well versed with HTML but can find my way around in time. Any help here would be a godsend and would prevent an awful lot of manipulation at the printscreen and save trees 🙂 Thanks all
<?xml version="1.0" encoding="UTF-8"?>
<!-- Start documentation header comment
PowerMILL Setup Sheets: default template for project-level Summary Setup Sheet
============================================================================
Copyright 2005 Delcam plc., Birmingham, UK
============================================================================
History.
DICC Who When What
===== === ======== =========================================================
58636 SPD 30/11/05 Written.
59245 SPD 09/01/06 Replaced PD_Date, PD_Time with project.date, project.time.
Also: tool.radius is no more.
62458 SPD 03/11/06 Moved the XML declaration to the start of the file.
63781 CNJ 24/11/06 Change PMillLogo with CompanyLogo
67496 MH 24/09/07 Remove DOCTYPE
111034 MOM 13/03/14 Replaced deprecated parameters
111249 MOM 28/03/14 Syntax adjustment for some parameters
111727 MOM 14/04/14 Use of metatag to emulate IE9
112626 MOM 29/05/14 Adjust the column widths to fit with the new fixed
table layout.
=============================================================================
End documentation header comment -->
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>
<title>Project ${project.Name}: summary</title>
<link rel="stylesheet" type="text/css" href="../global/style.css" />
</head>
<body>
<div class="a4page">
<!-- Company logo image tag -->
${project.CompanyLogo}
<table>
<tr><td colspan="3" class="title">PowerMILL Setup Sheet</td></tr>
<tr>
<th>Project</th><td colspan="2">${project.Name}</td>
</tr>
<tr>
<th>NC Program</th><td colspan="2">${ncprogram.NameTag}</td>
</tr>
<tr>
<th>Total Program Run Time</th><td colspan="2">${time_to_string(project.nTotalTime, "M")}</td>
</tr>
</table>
<!-- Toolpath summary table follows. -->
<table>
<thead>
<tr>
<td colspan="9" class="title">Summary sheet ${SU_SheetNo} of ${SU_MaxSheets}</td>
</tr>
<tr>
<th colspan="4">Toolpath Name</th>
<th colspan="2">Tool Name</th>
<th>Runtime</th>
<th colspan="2">Tool Info</th>
</tr>
</thead>
<tbody>
<summaryrow>
<tr>
<td colspan="4" rowspan="5">${stoolpath.NameTag}</td>
<td colspan="2" rowspan="5">${tool.Identifier}</td>
<td rowspan="5">${time_to_string(stoolpath.nCuttingTime,"M")}</td>
<th rowspan="1">Type</th>
<td rowspan="1">${tool.Type}</td>
</tr>
<tr>
<th>Diameter</th><td>${tool.Diameter}</td>
</tr>
<tr>
<th>Tip radius</th><td>${tool.TipRadius}</td>
</tr>
<tr>
<th>Length</th><td>${tool.gauge_length}</td>
</tr>
<tr>
<th>Number</th><td>N/A</td>
</tr>
</summaryrow>
</tbody>
</table>
</div>
</body>
</html>
Solved! Go to Solution.
