<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""><html xmlns="" xml:lang="en-us" lang="en-us">

(: title CombiningPtpFiles < Manufacturing < TWiki:)

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="icon" href="/twiki/pub/Main/WebHome/bdml_icon2.ico " type="image/x-icon" /> <link rel="shortcut icon" href="/twiki/pub/Main/WebHome/bdml_icon2.ico " type="image/x-icon" /> <meta name="SCRIPTURLPATH" content="/twiki/bin" /> <meta name="SCRIPTSUFFIX" content="" /> <meta name="TEXT_JUMP" content="Jump" /> <meta name="TEXT_SEARCH" content="Search" /> <meta name="TEXT_NUM_TOPICS" content="Number of topics:" /> <meta name="TEXT_MODIFY_SEARCH" content="Modify search" /> <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="/twiki/bin/view/Manufacturing/WebRss" /> <base href=""></base> BEHAVIOURCONTRIB <script type="text/javascript" src="/twiki/pub/TWiki/BehaviourContrib/behaviour.compressed.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikilib.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiWindow.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiEvent.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiHTML.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiCSS.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiForm.js"></script> <script type="text/javascript" src="/twiki/pub/TWiki/PatternSkin/pattern.js"></script> <style type="text/css" media="all"> @import url('/twiki/pub/TWiki/TWikiTemplates/base.css'); </style> <style type="text/css" media="all">

</style> <style type="text/css" media="all"> @import url('/twiki/pub/TWiki/PatternSkin/layout.css '); @import url('/twiki/pub/TWiki/PatternSkin/style.css '); @import url('/twiki/pub/TWiki/PatternSkin/colors.css '); </style> <style type="text/css" media="all">

	/* Styles that are set using variables */
	.patternBookView .twikiTopRow,
	.patternWebIndicator a img,
	.patternWebIndicator a:hover img {
	#patternTopBarContents { background-image:url(/twiki/pub/Main/WebHome/background.png           ); background-repeat:no-repeat;}
	#patternTopBarContents { background-color:#6699BB           ;}
	.patternBookView {
	.patternPreviewPage #patternMain {
		/* uncomment to set the preview image */
		/*background-image:url("/twiki/pub/TWiki/PreviewBackground/preview2bg.gif           ");*/

</style><style type="text/css" media="all">

</style> <style type="text/css" media="all">

	@import url("/twiki/pub/TWiki/PatternSkin/print.css");

</style> <!--[if IE]><style type="text/css" media="screen"> pre {

	padding-bottom:expression(this.scrollWidth > this.offsetWidth ? 16 : 0);

} </style> <![endif]--> <!--[if lte IE 6]> <style type="text/css">

  1. patternLeftBar { position:relative; /* IE 5.5 needs this or the contents won't show outside the parent container on print. IE 6.0 needs it only during printable copy! */

} </style><![endif]--> <script type="text/javascript" src="/twiki/pub/TWiki/TWikiJavascripts/twikiStyles.js"></script>

<body class="patternViewPage">

<div id="patternPageShadow"> <div id="patternPage"> <div id="patternOuter"> <div id="patternFloatWrap"> <div id="patternMain"> <div id="patternMainContents"><div class="twikiBroadcastMessage"> new web:

TWiki<span class=\'twikiSeparator\'>>  Manufacturing Web > ManufacturingHome > SDMOverviewAndLinks > UnigraphicsTutorial > CombiningPtpFiles (31 Jul 2010, DanAukes) </span> /patternHomePath /patternToolBar <br class="twikiClear" />


<div class="patternTopic"> This page will tell you how to cut and paste two ptp files so they run right after each other. For now, we will assume that both of them use the same mill bit so there is no tool change. You'll have to change some things if you want to do a tool change also.

%block /% Top of first file: put the header on as usual.

%block /% Bottom of second file: put the footer on as usual.

%block /% Stuff in between: Delete the lines in <font color="#ff0000"> red </font> and then concatenate the files. <font color="#ff0000"> </font>

%block /% End of first file as it comes out of Unigraphics:

%block /% NG01X110? .238Y-94.379
NG03X110? .231Y-94.373I-.007J-.001
NG01X99? .676Y-95.39
NG02X99? .6Y-95.394I-.076J.79
NG01X89? .6
NG03X84? .394Y-100.6I0.J-5.206
NG01Y? -103.07
NG00Z10? .
%block /%

%block /%

%block /% Beginning of second file as it comes out of Unigraphics:

%block /% <font color="#ff0000"> %
NG00Z10? .
</font> NX-126.068Y124.055
NG01Z? -.72<font color="#0000ff">F250.</font>
%block /%

%block /% The <font color="#0000ff">F250.</font> can be deleted if you're keeping the same feed rate, or you can change it if you want to make it run slower or faster!

%block /%

%block /%

%block /% -- AlanAsbeck - 21 Sep 2007


</div> /patternContent

%block /% </div> /patternMainContents </div> /patternMain </div> /patternFloatWrap


</div> /patternOuter

<div id="patternBottomBarContents"><div id="patternWebBottomBar"> [[|This site is powered by the TWiki collaboration platform ]] Copyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback -> mailto:sanjayd [sticky] stanford [bot] edu?subject=TWiki%20%20%20%20%20%20%20%20%20%20%20%20Feedback%20on%20Manufacturing [bot] CombiningPtpFiles

/patternWebBottomBar </div> /patternBottomBarContents </div> /patternBottomBar </div> /patternPage </div> /patternPageShadow </div> /patternScreen

Page last modified on July 13, 2011, at 03:47 PM