Warner
Give this one a try (in the air to start with)
Greg
Indexer Wrapping Y looks backwards, but isn't.
-
- Vectric Wizard
- Posts: 1000
- Joined: Fri Sep 21, 2007 1:44 pm
- Model of CNC Machine: UCCNC Router, Plasma, Laser
- Location: Australia 3781
Re: Indexer Wrapping Y looks backwards, but isn't.
- Attachments
-
- ShopBot _X-B_Indexer_inch.pp
- (4.18 KiB) Downloaded 234 times
- Rcnewcomb
- Vectric Archimage
- Posts: 5928
- Joined: Fri Nov 04, 2005 5:54 am
- Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
- Location: San Jose, California, USA
- Contact:
Re: Indexer Wrapping Y looks backwards, but isn't.
I think this one might do what Warner wants....
Basically I changed:
"M5,,[Y],[Z],,[X]"
to
"M5,,[Y],[Z],,-[X]"
CAUTION: I HAVE NOT TESTED THIS
Revised
Basically I changed:
"M5,,[Y],[Z],,[X]"
to
"M5,,[Y],[Z],,-[X]"
CAUTION: I HAVE NOT TESTED THIS
Revised
Last edited by Rcnewcomb on Mon Dec 28, 2009 10:44 pm, edited 1 time in total.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop
10 fingers in, 10 fingers out, another good day in the shop
-
- Vectric Wizard
- Posts: 1000
- Joined: Fri Sep 21, 2007 1:44 pm
- Model of CNC Machine: UCCNC Router, Plasma, Laser
- Location: Australia 3781
Re: Indexer Wrapping Y looks backwards, but isn't.
Randall
I am fairly sure both our examples will do the same thing.
The only advantage of using this line, ROTARY_WRAP_X = "-B" is that it only takes one change.
Not a huge advantage really.
Greg
I am fairly sure both our examples will do the same thing.
The only advantage of using this line, ROTARY_WRAP_X = "-B" is that it only takes one change.
Not a huge advantage really.
Greg
-
- Vectric Wizard
- Posts: 1000
- Joined: Fri Sep 21, 2007 1:44 pm
- Model of CNC Machine: UCCNC Router, Plasma, Laser
- Location: Australia 3781
Re: Indexer Wrapping Y looks backwards, but isn't.
Randall
I tested the output with your PP and getting double negatives.
J5,,0.0000,0.4724,,--91.4153
M5,,0.0000,0.3543,,--91.4153
M5,,0.6945,0.3543,,--91.4153
M5,,0.6945,0.3543,,--53.5047
M5,,0.7874,0.3543,,--53.5047
M5,,0.7874,0.3543,,--144.3338
M5,,0.6945,0.3543,,--144.3338
And mine with ROTARY_WRAP_X = "-B is placing a "B" in the code, which shopbot probably won't like.
J5,,0.0000,0.4724,,B91.4153
M5,,0.0000,0.3543,,B91.4153
M5,,0.6945,0.3543,,B91.4153
M5,,0.6945,0.3543,,B53.5047
M5,,0.7874,0.3543,,B53.5047
M5,,0.7874,0.3543,,B144.3338
M5,,0.6945,0.3543,,B144.3338
I tested the output with your PP and getting double negatives.
J5,,0.0000,0.4724,,--91.4153
M5,,0.0000,0.3543,,--91.4153
M5,,0.6945,0.3543,,--91.4153
M5,,0.6945,0.3543,,--53.5047
M5,,0.7874,0.3543,,--53.5047
M5,,0.7874,0.3543,,--144.3338
M5,,0.6945,0.3543,,--144.3338
And mine with ROTARY_WRAP_X = "-B is placing a "B" in the code, which shopbot probably won't like.
J5,,0.0000,0.4724,,B91.4153
M5,,0.0000,0.3543,,B91.4153
M5,,0.6945,0.3543,,B91.4153
M5,,0.6945,0.3543,,B53.5047
M5,,0.7874,0.3543,,B53.5047
M5,,0.7874,0.3543,,B144.3338
M5,,0.6945,0.3543,,B144.3338
-
- Vectric Wizard
- Posts: 1000
- Joined: Fri Sep 21, 2007 1:44 pm
- Model of CNC Machine: UCCNC Router, Plasma, Laser
- Location: Australia 3781
Re: Indexer Wrapping Y looks backwards, but isn't.
OK after a few more tries this line looks to work.
ROTARY_WRAP_X = "-"
Gives this code,
M5,,-0.2097,0.7480,,22.6584
M5,,-0.1911,0.7480,,23.0938
M5,,-0.1710,0.7480,,23.4327
M5,,-0.1496,0.7480,,23.6752
M5,,-0.1268,0.7480,,23.8211
M5,,-0.1268,0.7480,,-7.1327
M5,,-0.1010,0.7480,,-7.1717
M5,,-0.0667,0.7480,,-7.0893
M5,,-0.0502,0.7480,,-6.9863
Here is the corrected PP
Greg
ROTARY_WRAP_X = "-"
Gives this code,
M5,,-0.2097,0.7480,,22.6584
M5,,-0.1911,0.7480,,23.0938
M5,,-0.1710,0.7480,,23.4327
M5,,-0.1496,0.7480,,23.6752
M5,,-0.1268,0.7480,,23.8211
M5,,-0.1268,0.7480,,-7.1327
M5,,-0.1010,0.7480,,-7.1717
M5,,-0.0667,0.7480,,-7.0893
M5,,-0.0502,0.7480,,-6.9863
Here is the corrected PP
Greg
- Attachments
-
- ShopBot _XtoB_Indexer_inch.pp
- (4.24 KiB) Downloaded 448 times
- Rcnewcomb
- Vectric Archimage
- Posts: 5928
- Joined: Fri Nov 04, 2005 5:54 am
- Model of CNC Machine: 24x36 GCnC/WinCNC with ATC
- Location: San Jose, California, USA
- Contact:
Re: Indexer Wrapping Y looks backwards, but isn't.
Greg,
I'm still amazed that people on different side of the planet can collaborate on some software and come up with a solution within 2 hours. Thanks for your work on this.
I'm still amazed that people on different side of the planet can collaborate on some software and come up with a solution within 2 hours. Thanks for your work on this.
- Randall Newcomb
10 fingers in, 10 fingers out, another good day in the shop
10 fingers in, 10 fingers out, another good day in the shop
-
- Posts: 10
- Joined: Tue Oct 06, 2009 3:02 pm
Re: Indexer Wrapping Y looks backwards, but isn't.
You guys are jewels--your fixes worked. Thanks from a neophyte Wrapper! Greg, I used your fix. Randall, keep warm.
Thanks again,
Warner
Thanks again,
Warner