<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Fusin360 CAMポストプロセッサ徹底解説・onSection( )の編集 No2 へのコメント	</title>
	<atom:link href="https://www.kazuban.com/blog/fusion360-post-processor-09/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.kazuban.com/blog/fusion360-post-processor-09/</link>
	<description>なにかしら、皆さんの参考になれば幸いです！</description>
	<lastBuildDate>Wed, 17 Dec 2025 22:56:56 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>
		kazuban より		</title>
		<link>https://www.kazuban.com/blog/fusion360-post-processor-09/#comment-666</link>

		<dc:creator><![CDATA[kazuban]]></dc:creator>
		<pubDate>Wed, 24 Feb 2021 12:25:58 +0000</pubDate>
		<guid isPermaLink="false">https://www.kazuban.com/blog/?p=4839#comment-666</guid>

					<description><![CDATA[&lt;a href=&quot;https://www.kazuban.com/blog/fusion360-post-processor-09/#comment-665&quot;&gt;ZENKYU&lt;/a&gt; への返信。

ZENKYUさん
ありがとうございます
サーバーのキャッシュがきいているのか、編集して入れ直したのですが
修正前のデータがダウンロードされてしまうようです？？？
Fanuc_new　⇒  Fanuc_new02 に変更して再度ダウンロードしてみてください。

&quot;,&quot;だと、以降が無視されてしますので、おっしゃるように&quot;+&quot;で回転指令がくっつきます。
「tool.clockwise ? 3 : 4」これは、工具設定で、右回りにしていれば「3」でしていなければ「4」にするの意味となります。
「RigidTapping がなんたら」は、リジットタップじゃない時はSコードもM03もだしませんとなります。
クーラントはまた別の処理でやってます。
var coolants = [・・・・]
この変数で、どのコードを出すかを設定しているようです。]]></description>
			<content:encoded><![CDATA[<p><a href="https://www.kazuban.com/blog/fusion360-post-processor-09/#comment-665">ZENKYU</a> への返信。</p>
<p>ZENKYUさん<br />
ありがとうございます<br />
サーバーのキャッシュがきいているのか、編集して入れ直したのですが<br />
修正前のデータがダウンロードされてしまうようです？？？<br />
Fanuc_new　⇒  Fanuc_new02 に変更して再度ダウンロードしてみてください。</p>
<p>&#8220;,&#8221;だと、以降が無視されてしますので、おっしゃるように&#8221;+&#8221;で回転指令がくっつきます。<br />
「tool.clockwise ? 3 : 4」これは、工具設定で、右回りにしていれば「3」でしていなければ「4」にするの意味となります。<br />
「RigidTapping がなんたら」は、リジットタップじゃない時はSコードもM03もだしませんとなります。<br />
クーラントはまた別の処理でやってます。<br />
var coolants = [・・・・]<br />
この変数で、どのコードを出すかを設定しているようです。</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		ZENKYU より		</title>
		<link>https://www.kazuban.com/blog/fusion360-post-processor-09/#comment-665</link>

		<dc:creator><![CDATA[ZENKYU]]></dc:creator>
		<pubDate>Wed, 24 Feb 2021 10:54:11 +0000</pubDate>
		<guid isPermaLink="false">https://www.kazuban.com/blog/?p=4839#comment-665</guid>

					<description><![CDATA[かずばんさん、どもありがとうございます。

ほんと文章書きは苦手でうまく説明できませんが

&#062; 5. ⑨回転指令を移動処理

&#062; if (!tapping &#124;&#124; (tapping &#038;&#038; !(properties.useRigidTapping == &quot;without&quot;))) {
&#062;   //kazuban 2021/02/06
&#062;   //writeBlock(
&#062;   //kazuban 2021/02/21
&#062;   //spindleCode = output.format(spindleSpeed),mFormat.format(tool.clockwise ? 3 : 4);
&#062; spindleCode = output.format(spindleSpeed) + mFormat.format(tool.clockwise ? 3 : 4);
&#062;   //);
&#062; }

「writeBlock(spindleCode)」とする事で、任意の箇所へ書き出せるようになります。


となっていますが、送っていただいた fanuc_new.cps は

    if (!tapping &#124;&#124; (tapping &#038;&#038; !(properties.useRigidTapping == &quot;without&quot;))) {
      //kazuban 2021/02/06
      //writeBlock(
      spindleCode = sOutput.format(spindleSpeed), mFormat.format(tool.clockwise ? 3 : 4);
      //);
    }

となってるので変更前のものですね。たぶん…

ところで 

   //spindleCode = output.format(spindleSpeed),mFormat.format(tool.clockwise ? 3 : 4);
 spindleCode = output.format(spindleSpeed) + mFormat.format(tool.clockwise ? 3 : 4);

のように &quot;,&quot; を &quot;+&quot; に変更した場合 spindleCode には S2300M03 か S2300M04 が代入されて
writeBlock(spindleCode) とした時に必ず M03 か M04 の回転指令がくっついてくるのでしょうか？

それとも if 文で RigidTapping がなんたらと書いてあるので　ソリッドタップの時は
Sコードのみ出力するような処理になってるんでしょうか。


また、工具を選択したときにクーラントの選択ができるわけですがこれを有効にするには
別のやり方が必要になってくるわけですか？

じつはしばらくずっとFusionを起動せずさぼっていたんですよね。
関連ファイルの階層が深かったり、パス名がやたら長かったりでわけワカらん状態です(^-^;;)。]]></description>
			<content:encoded><![CDATA[<p>かずばんさん、どもありがとうございます。</p>
<p>ほんと文章書きは苦手でうまく説明できませんが</p>
<p>&gt; 5. ⑨回転指令を移動処理</p>
<p>&gt; if (!tapping || (tapping &amp;&amp; !(properties.useRigidTapping == &#8220;without&#8221;))) {<br />
&gt;   //kazuban 2021/02/06<br />
&gt;   //writeBlock(<br />
&gt;   //kazuban 2021/02/21<br />
&gt;   //spindleCode = output.format(spindleSpeed),mFormat.format(tool.clockwise ? 3 : 4);<br />
&gt; spindleCode = output.format(spindleSpeed) + mFormat.format(tool.clockwise ? 3 : 4);<br />
&gt;   //);<br />
&gt; }</p>
<p>「writeBlock(spindleCode)」とする事で、任意の箇所へ書き出せるようになります。</p>
<p>となっていますが、送っていただいた fanuc_new.cps は</p>
<p>    if (!tapping || (tapping &amp;&amp; !(properties.useRigidTapping == &#8220;without&#8221;))) {<br />
      //kazuban 2021/02/06<br />
      //writeBlock(<br />
      spindleCode = sOutput.format(spindleSpeed), mFormat.format(tool.clockwise ? 3 : 4);<br />
      //);<br />
    }</p>
<p>となってるので変更前のものですね。たぶん…</p>
<p>ところで </p>
<p>   //spindleCode = output.format(spindleSpeed),mFormat.format(tool.clockwise ? 3 : 4);<br />
 spindleCode = output.format(spindleSpeed) + mFormat.format(tool.clockwise ? 3 : 4);</p>
<p>のように &#8220;,&#8221; を &#8220;+&#8221; に変更した場合 spindleCode には S2300M03 か S2300M04 が代入されて<br />
writeBlock(spindleCode) とした時に必ず M03 か M04 の回転指令がくっついてくるのでしょうか？</p>
<p>それとも if 文で RigidTapping がなんたらと書いてあるので　ソリッドタップの時は<br />
Sコードのみ出力するような処理になってるんでしょうか。</p>
<p>また、工具を選択したときにクーラントの選択ができるわけですがこれを有効にするには<br />
別のやり方が必要になってくるわけですか？</p>
<p>じつはしばらくずっとFusionを起動せずさぼっていたんですよね。<br />
関連ファイルの階層が深かったり、パス名がやたら長かったりでわけワカらん状態です(^-^;;)。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
