Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Extruder Value required in single line.

#1
Hello,

I have modelled a 3 Axis Gantry and am using it for 3D Printing Application using a robot Machining project.

We are inputting G code with an E value, detecting it using Set Extruder Function and changing the Axis Assignment to by passing code: B%1.

Output Code we are getting is :

G1 X149.431 Y-150.529 Z0.000
B150.00000
G1 X145.532 Y-127.316 Z0.000
B150.00000
G1 X138.049 Y-105.000 Z0.000
B150.00000

What we would like to have is :

G1 X127.168 Y-84.128 Z0.000 B150.000
G1 X113.155 Y-65.216 Z0.000 B150.000
G1 X96.357 Y-48.729 Z0.000 B150.000
G1 X77.185 Y-35.073 Z0.000 B150.000

Namely Get the B Value in the same line and reduce the precision to 3f.

Attaching the post processor.

Any ideas would be welcome.

Thanks in Advance

Munis


Attached Files
.py   PD101.py (Size: 25.65 KB / Downloads: 32)
#2
The following section of the documentation shows you how you can capture a specific value, for example Extruder(value) and insert it in the movement command:
https://robodk.com/doc/en/Robot-Machinin...rint3Dpost

In short, you should create a variable to hold your B value and then you output it with your following G-code G0 and G1 commands.
  




Users browsing this thread:
1 Guest(s)