Thanks every one, I managed to do exactly what I wanted to get
Best posts made by Jean-Baptiste
-
RE: How to communicate between a Duet and Python?
Latest posts made by Jean-Baptiste
-
RE: Order of instruction
Turns out my colleague made another post on the forum, I'll leave them handle this issue.
It seems to be linked with circular interpolation on a beta version, I don't have more intel on it.Thanks for your help
-
RE: Order of instruction
@droftarts For the Duet, I've got this:
RepRapFirmware for Duet 3 MB6HC version 3.5.0-rc.3 (2024-01-24 17:58:49) running on Duet 3 MB6HC v1.02 or later (SBC mode)
I'm not using CNC mode (I think, I'm not the one configuring it and we do 3D printers)
I send it as a single line, as it should be if we want a straight movement, isn't it? -
RE: Order of instruction
@droftarts Thanks for your confirmation on my issue...
I have discretization of every G1 movement at a moment long before any G2/G3 movement.
G1 Xxxx Yyyyy
This line does first the movement in X direction then in Y direction instead of doing it in the same time and I have no clue on why it does that
Any idea?
-
Order of instruction
Hello every one
I'm having an issue with my machine
I'm writing my GCode as POC and I was wondering if the order of instruction is important on Duet.
To be clear isG19 G2 F3183 X144.716 Y188.322 Z10.202 I0.394 J-0.919 K0.000
the same as
G2 G19 F3183 X144.716 Y188.322 Z10.202 I0.394 J-0.919 K0.000
I'm having some trouble with my printing and was wondering if it was possible that this was the origin of the issue
thanks a lot
-
RE: How to communicate between a Duet and Python?
Thanks every one, I managed to do exactly what I wanted to get
-
RE: How to communicate between a Duet and Python?
@oozeBot It is not on a SBC, the software I'm writing will run on computers as I need to gather intel from the duet, do some heavy calculations and produce a file from those calculations.
@achrn Should I download/install any package to use it in python? I think it's the perfect thing and it should be working for me
-
How to communicate between a Duet and Python?
Hello everyone
I'm trying to get some file automatically out of the duet of my printer and do some calculation/data analysis on python.
I already saw posts about some RRF PythonAPI or DSF-python but I'm totaly lost on what to use or not.I just want to, when I run my script on my PC, that the script get for example the heightmap.csv from my printer and after some calculations, a new GCode to be uploaded to my printer.
How would you do it simply and easily?
In addition would there be issues if the local network is secured (I guess yes, but which ones?)Thanks for all the help anyone can provide
-
RE: Tools offset on 5 axis machine using DUET2 or DUET3
@miss-rebekah
The sad thing is we move the tool in 4 axis and the "workpiece" is Z moved (like most of 3D printer).
If I had a "trunnion" it would be more simple, I agree but no...
I'm programming 5axis tool path on Fusion 360
It is just for now I am anticipating some work on a machine my firm is designing.
I'm making the postprocess and this issue came to my mind."the duet is just playing back the g code it doesn't care how long your tool is"
I'm aware of that and it scares me a lot -
RE: Tools offset on 5 axis machine using DUET2 or DUET3
The "fun part" of my issue is that I work on a tool changer machine, which means that I can have a spindle and cutting tool as well as a 3D printing device or a laser engraving tool.
For each of them, I have a different offset and CAM software don't take into account different process... (or I'm missing something)
If I do the maths, does the DUET3 will undestand it?for example, if I set offsets like this for each tool of each process
X offset = x cosC - y sinC cosA + z sinC sinA
Y offset = x sinC + y cosA cosC - z sinA cosC
Z offset = y sinA + z cosA
will the end of every tool will be at the same positions if I code something like:
G1 X100 Y100 A0 C0
G1 X100 Y100 A180 C0
G1 X100 Y100 A180 C180
G1 X100 Y100 A0 C180
G1 X100 Y100 A0 C0 -
Tools offset on 5 axis machine using DUET2 or DUET3
Hello everyone
I was wondering how the transformation caused by 2 rotational axis affects the offsets of tools.
I am making the geometric model of a 5axis machine and I don't want to have any collision: got a spindle at 50000RPM max...
In a 3 axis machine, it's quite simple as tools don't rotate.I'll stick to geometry description:
- Th is the point where my tools are fixed when they are used.
- T1 is the endpoint of my tool NĀ°1, (X1,Y1,Z1) is the array between this point and Th called Offset1
- T2 is the endpoint of my tool NĀ°2, (X2,Y2,Z2) is the array between this point and Th called Offset2
Offset1 and Offset2 are determined when no rotation are applied to tools
How does DUET take that into account when rotations occurs if they can?
Should I set equations in the offset definition?
I'm a little bit lost on this aspect on DUET