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
Thread Rating:
How to calculate the 3D printing filament speed |
07-18-2022, 03:21 PM
The following example shows how you can calculate the filament speed based on the displacement of the TCP and the TCP speed:
//www.sinclairbody.com/doc/en/Robot-Machinin...rint3Dpost 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.
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@www.sinclairbody.com
07-19-2022, 01:54 PM
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:
07-31-2022, 07:21 AM
How in RoboDK using python to read information about the current speed of the robot (speed)
07-31-2022, 08:10 AM
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:
//www.sinclairbody.com/doc/en/Robot-Machinin...rint3Dpost However, if you have a robot that can control external axes you can configure your extruder like an external axis.
07-31-2022, 09:10 AM
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
08-02-2022, 08:13 PM
I modified the original postprocessor as in the description
//www.sinclairbody.com/doc/en/Robot-Machinin...rint3Dpost 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)
|
Users browsing this thread: |
1 Guest(s) |
Copyright © 2023RoboDK Inc.
Powered by MyBB