Simplify3D用的'後處理程式'作好了
This is a post processing script for Simplify3D,
主要就是處理換料柱的部份
the main purpose of this script is to improve the prime pillar.
不需要換料的層就自動把內部挖空
It will remove the infill part of the prime pillar with the layers which has no tool change,
最上端用不到的部份也會自動裁掉
and also automatically remove the top most part when it is not necessary.
以後換料柱開個2.5~3cm也比較不心疼了吧?
--------------------
安裝方式:
Installation:
這是用javascript寫的
This is written in javascript,
要先安裝他的執行環境(node.js)才能用
You need to install the interpreter (node.js) first for excuting the js.
Windows 64位元版:(x64 version)
https://nodejs.org/dist/v6.10.0/node-v6.10.0-x64.msi
Windows 32位元版:(x86 version)
https://nodejs.org/dist/v6.10.0/node-v6.10.0-x86.msi
MacOS
https://nodejs.org/dist/v6.10.0/node-v6.10.0.pkg
(先把這裝好,安裝就一直按下一步就好了)
(The installation is very simple , press next next next next then finished, )
----------
然後下載'後處理程式'
And then, download the post processing script here.
https://www.facebook.com/groups/atom3dp/1840238036214483/
---
下載後解壓縮得到一個js檔
After download, extract the js file from the zip file,
把這js檔放到自己高興的地方
and place the js file to where ever you want.
然後去S3D的FFF設定裏面,Script那一頁 (可參考影片內容)
Then in the S3D's FFF setting, under the script tab. (You may refer to the video)
最底下輸入
node <你放的路徑>/s3dPostProcessorDS.js "[output_filepath]" -1
--
Type this at the bottom textbox:
node <your dirctory>/s3dPostProcessorDS.js "[output_filepath]" -1
--
例如我的是:For example, mine is:
node D:/Dropbox/_3dp/s3dPostProcessorDS.js "[output_filepath]" -1
----------
(Mac版注意:)
(Notice for Mac version:)
陳維德 mac node 裝完要重開機後在試比較好,在script要這樣加
/usr/local/bin/node /Volumes/Date/s3dPostProcessorDS.js "[output_filepath]" -1
不然node 沒法呼叫來run
----------
以後每次按存檔的時候他就會幫你轉換了
The script will process the gcode every time you press the save button.
因為這是'後處理',在存檔的時候才會處理,所以沒法直接看到
Because of this is 'post processing', It will not be shown in the preview window at first time.
可以像影片裏面那樣,按"Preview G-Code File..",就可把轉好的檔叫回來看了
You may use the "Preview G-Code File.." in the menu , like the demonstration in the video , to load the gcode back for preview.
----------
忘了說,最後面那個-1的意思是存檔的時候只生1個檔出來
The last '-1' parameter of command line means it only generate 1 file,
如果把他改成-2的話,就會一次生兩個檔案
If you change it to '-2', it will generation 2 files,
一個是原檔,一個是改過的,可以兩個同時保留。
One is the original, and the other one is the modified.
為了怕大家列印的時候弄錯,所以我就直接寫-1
I use the -1 for default,
有需要原檔的話就自己改一下~
if you need the original file, just change the parameter.
---------------------------------------
進階用法
Advanced usage
這程式也可以不依靠S3D而獨立使用
The script can also be used independently without S3D
可以拿來轉換過去已經作好的gcode檔案
you can use it to convert the gcode files which was generated before.
但要注意他只能用在S3D輸出的gcode檔案
But please notice it can only be used with the S3D generated gcode .
為了方便起見,你可以在放js檔的目錄下另外作一個批次(.bat)檔
For convenience, you may create a batch(.bat) file in the directory where you place the js file
--
在裏面寫上這指令,然後存檔
And put this command in it, and save.
--
node %~dp0s3dPostProcessorDS.js "%1" -2
--
作好之後用拖拉的方式,把要轉換的檔案拖到bat檔上,就可以轉檔了
After finish that, you can drag & drop the gcode to the bat file, and it will do the conversion.
Estima Lin
2017-02-22 22:41:00
真的是太強了...
快教我改2.5的韌體~(雙擠雙噴)
黃大丙
2017-02-22 22:42:07
Marx Wu
2017-02-22 22:42:42
黃大丙
2017-02-22 22:44:43
Chin Ming Keat
2017-02-22 22:50:19
黃大丙
2017-02-22 22:52:15
黃俊傑
2017-02-22 22:54:43
Chin Ming Keat
2017-02-22 22:55:17
黃大丙
再説,"post-processing" 是否真的翻譯為”後處理“ 我po文時隨意翻譯的。
Hawke ChienSheng Liu
2017-02-22 22:56:04
James Lin
2017-02-22 23:01:44
James Lin
2017-02-22 23:03:27
救世喔
T_T
家裡只有我一人,沒人看我跪著看示範影片
陳方瑜
2017-02-22 23:03:52
廖新弘
2017-02-22 23:06:00
陳維德
2017-02-22 23:06:08
MAC 的部份會沒法去開起檔案修改的樣子 ,我用手動的去跑可以執行後制
黃大丙
2017-02-22 23:09:20
陳維德
2017-02-22 23:11:56
放在script 中是不會去改,我是用cmd 去run 是ok
Charlie Ting
2017-02-22 23:17:41
陳維德
2017-02-22 23:33:40
直接在cmd 打node /Volumes/Date/s3dPostProcessorDS.js /Volumes/Date/ExtruderDot.gcode -1
可以
Morgan Chang
2017-02-22 23:50:39
我覺得S3D應該要僱用你才對, 他們解Bug的速度實在讓人看不下去
陳維德
2017-02-22 23:56:15
黃大丙
OK 啦,node 這執行檔要給完整路徑才能用
James Lin
2017-02-22 23:56:39
我一開始嘗試結果沒有執行效果,後來發現我的存檔Path有空白,所以才會沒有執行程式,最後我是改存到 C:\temp 就可以Work~
ps.一般我的STL存檔習慣是會連原作者 Title一起建目錄的,比較好管理
Ex:C:\Users\James Lin\Downloads\French Bulldog sitting like a boss for dual extrusion
那隻雙色狗
Chin Ming Keat
2017-02-22 23:58:06
試試 放開關引號 比如
node D:/Dropbox/_3dp/s3dPostProcessorDS.js "[output_filepath]" -1
James Lin
2017-02-22 23:59:56
黃大丙
2017-02-23 00:01:56
陳維德
2017-02-23 00:23:35
陳維德
2017-02-23 00:29:03
對了
黃大丙
那有的模型不想要挖空,是去掉-1 就好還是整行要拿掉呢,哦哦有補充了,用-2 就可以了產生二個檔案
James Lin
2017-02-23 00:33:40
黃大丙
2017-02-23 00:36:58
陳維德
2017-02-23 00:39:11
說的就是換料柱囉,
黃大丙
細心呢,兩個都產出有挖空跟沒挖空的,真的印有問題直接拿第一個產出檔就能印了
邢鳳言
2017-02-23 02:05:31
黃大丙
2017-02-23 10:59:26
Dennis Chen
2017-02-23 11:22:14
黃大丙
2017-02-23 11:31:39
Dennis Chen
2017-02-23 11:32:53
Cura用的python,有時候python程式寫錯,就直接crash給你看啊...
黃大丙
2017-02-23 11:38:51
Cura我還蠻喜歡的,會用S3D都是因為他預覽功能作的好,所以其它問題就默默忍受或想辦法改善了 XD
Dennis Chen
2017-02-23 11:40:45
Cura預覽對雙擠出真的很糟,都看不出來正在用什麼顏色...也不容易動態改層高 (大傷)
黃大丙
2017-02-23 11:42:08
對啊~Cura比較偏向移動路徑顯示,不像S3D有三種模式可以看
黃大丙
2017-02-23 11:42:44
不過Cura engine很棒,免費軟體作到這樣也真的是神了
陳方瑜
2017-02-23 14:49:27
回報,如果是用支撐當E1的話,支撐會一層有,一層沒有,造成沒有洗料就直接上。
陳方瑜
2017-02-23 14:49:48
剛切好時
黃大丙
2017-02-23 15:09:30
陳方瑜
2017-02-23 15:17:56
陳維德
2017-02-23 16:26:59
陳維德
2017-02-23 16:30:36
mac node 裝完要重開機後在試比較好,在script要這樣加
/usr/local/bin/node /Volumes/Date/s3dPostProcessorDS.js "[output_filepath]" -2
不然node 沒法呼叫來run
黃大丙
mac 要改的方式可以加到你這文中,不用在找到我這才看的到
黃大丙
2017-02-23 16:32:55
不是~S3D的有把這兩個分開
是我沒測試到這種情況support的gocde跟平常不太一樣
陳維德
2017-02-23 16:33:40
黃大丙
2017-02-23 16:53:02
我研究他gcode結構看起來是這樣:
單雙數層的順序會不一樣
要能猜到下一個他會出什麼牌才行,不然順序會弄錯
-----新層 ------
支撐 (不一定有)
工具切換 (不一定有)
換色柱 (不一定有)
擋風牆 (不一定有)
物件
-----新層 ------
物件
工具切換 (不一定有)
換色柱 (不一定有)
擋風牆 (不一定有)
支撐 (不一定有)
-----新層 ------
支撐 (不一定有)
工具切換 (不一定有)
換色柱 (不一定有)
.....
黃大丙
2017-02-23 16:53:39
黃大丙
2017-02-23 17:02:25
陳維德
2017-02-23 19:22:55
黃大丙
2017-02-23 19:27:21
黃大丙
2017-02-24 07:28:40
James Lin
2017-02-25 00:16:09
看來換料住實際印會塌陷在空盒子內,或許也可以降低撞噴頭的機會,又可以收集換料線 ~
我還沒試比較高的模型 ~
黑色的部分是最上層像頭髮一樣懸空
陳方瑜
2017-02-25 00:18:37
Moko Jenson Huang
2017-07-30 01:09:32
黃大丙
2017-08-13 07:57:20
蘇子中
2017-08-14 23:26:43
Jason Zhou
2020-01-13 06:44:05
哪位可以提供下 s3dPostProcessorDS.js 腳本下載嗎?原來的誤刪了...