• Tags
  • Documentation
  • Order
  • Register
  • Login
Duet3D Logo Duet3D
  • Tags
  • Documentation
  • Order
  • Register
  • Login

Hierarchical Carstesian Machine

Scheduled Pinned Locked Moved
My Duet controlled machine
macro additionalaxes
1
1
119
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • undefined
    misan
    last edited by 14 May 2020, 18:50

    Hi,

    I am writing here looking for tips on how to handle this best.

    But let me explain first what I want to achieve under this perhaps obscure name. Think of any regular cartesian printer and now imagine that your limited X and Y axis happen in a moving frame (red box in the image below). If that frame is located at (0,0) your printhead can reach up to (XM, YM). But your machine has two additional axes (let's call them A & B) that allow you to move the frame to another place, for example to (XM,0) so now the print head could reach from that point up to (2*XM,YM). The basic "small" frame (red box) can be "translated" so it can cover a much larger surface.

    cc0b006b-3ad8-4629-9988-3d887f4a8944-image.png

    My question here is how something like this would be better handled with the Duet. Let us assume that what we are going to do is to create a lattice of copies of the same part, so each layer at any new location is the same as before.

    I am thinking to create two nested loops to move the red frame to each one of the 16 different locations for the code of each layer. Something like:

    for x in range(3):
    for y in range(3):
    G1 A(x*XM) B(y*YM)
    G28 XY
    all the code of that layer ...

    It does not exactly follow the purple arrow but that's not important.

    Thanks a lot,

    misan

    1 Reply Last reply Reply Quote 0
    1 out of 1
    • First post
      1/1
      Last post
    Unless otherwise noted, all forum content is licensed under CC-BY-SA