How to calculate the 3D printing filament speed- Printable Version +- RoboDK Forum (//m.sinclairbody.com/forum) +-- Forum: RoboDK (EN) (//m.sinclairbody.com/forum/Forum-RoboDK-EN) +--- Forum: RoboDK API (//m.sinclairbody.com/forum/Forum-RoboDK-API) +--- Thread: How to calculate the 3D printing filament speed (/Thread-How-to-calculate-the-3D-printing-filament-speed) |
How to calculate the 3D printing filament speed-robo1973-07-18-2022 How can filament speed be assigned to sys.argv? In the event program, I can only assign the amount of filament Extruder (% 1), I cannot assign the filamnet feeding speed RE: filament speed be assigned to sys.argv?-Albert-07-18-2022 The following example shows how you can calculate the filament speed based on the displacement of the TCP and the TCP speed: //m.sinclairbody.com/doc/en/Robot-Machining.html#Print3Dpost The filament speed is also referred to as flow in the post processor or the documentation. Contact us by email if you would like to get access to the source code of the post processor to better customize it. RE: filament speed be assigned to sys.argv?-robo1973-07-18-2022 ok thank you for the answer I already have a postprocessor received for you I modify the postroceror according to the example and not writes me down in the general program self.addline ('ExtruderSpeed (%. 3f)'% extruder_signal) ... ExtruderSpeed (0.667) not ??? I have uploaded my modification info@m.sinclairbody.com RE: filament speed be assigned to sys.argv?-robo1973-07-19-2022 Hello !! I still haven't found out how in RoboDK I can pass information about the speed of filamnet feeding to the sys.argv variable so that I can pass it to the script.
Code:
if len(sys.argv) > 1:
RE: filament speed be assigned to sys.argv?-robo1973-07-31-2022 How in RoboDK using python to read information about the current speed of the robot (speed) RE: filament speed be assigned to sys.argv?-Albert-07-31-2022 It is not possible to extract the current speed directly but you can calculate it in your post processor as I mentioned in my previous post: //m.sinclairbody.com/doc/en/Robot-Machining.html#Print3Dpost However, if you have a robot that can control external axes you can configure your extruder like an external axis. RE: How to calculate the 3D printing filament speed-robo1973-07-31-2022 OK thank you for your answer 在后处理程序我添加和没有没说完ens It should add and highlight
Code:
self.addline('ExtruderSpeed(%.3f)' % extruder_signal)
I want to download speed information in the RoboDK simulator itself to apply this python script
Code:
import sys
RE: How to calculate the 3D printing filament speed-robo1973-08-02-2022 I modified the original postprocessor as in the description //m.sinclairbody.com/doc/en/Robot-Machining.html#Print3Dpost I put the modification in the attachment Please see what I did wrong? It does not print out
Code:
self.setDO(self.PRINT_E_AO, "%.3f"% extruder_signal)
and
Code:
self.addline('ExtruderSpeed(%.3f)' % extruder_signal)
|