![]() |
![]() |
|
#1
|
|||
|
|||
|
Does anyone have code to allow me to surface my table going back and forth (down the x axis) vice the pocket way (cutting in a rectangle).
Thanks - Kasey |
|
#2
|
|||
|
|||
|
Kasey,
Check this thread. Here's the version I currently use for my own spoilboard: ' File for surface planing the 96" x 48" spoilboard ' ' Copyright 2006 David Buchsbaum. Unauthorized use or sale prohibited. &length=96.5 &width=49 INPUT "DEPTH" &depth &step=1.125 BEGIN: JH SO,1,1 &yvalue=0 JZ,.02 M3,5,0,-&depth MX,0 LOOP: MX,&length &yvalue=&yvalue+&step MY,&yvalue MX,0 &yvalue=&yvalue+&step IF &yvalue>&width THEN GOTO FINISHED MY,&yvalue GOTO LOOP FINISHED: SO,1,0 JZ,1 &depth=0 INPUT "ANOTHER PASS? ENTER NEW DEPTH OR [0] TO END IF &depth=0 THEN END GOTO BEGIN |
|
#3
|
|||
|
|||
|
Did I miss something or should the third line from the bottom be;
INPUT "ANOTHER PASS? ENTER NEW DEPTH OR [0] TO END" &depth |
|
#4
|
|||
|
|||
|
Hey Ed,
I'll make a programmer out of you yet! |
|
#5
|
|||
|
|||
|
Here's the "package" I use.
surfacing_along_XorYaxis surfacing_along_wood_grain_X.zip (2.6 k) It's derived from David Buchsbaum; I and Mike Richard hacked his project. Play with it but I know there's room for improvements, code tidy and I think there's a bug with SB3 about the file call up where SB3 use it's last remembered used folder to look for the sub file... gotta check at this. I change the version I use on my control PC with a full folder path to the subs. I've add this idea to my blog 'to do' post so I'll post my tweaks and improvements when I get a chance (maybe this week end). I want to track down the FP subs call up issue, get rid of the 'Ready to Rock & Roll' annoying prompt (sorry David; see you changed that too), add a re-use of previously used settings, implement an half pass (half depth for final work; more detail later) and some more minors... stay tunned. OH, and I promise I'll keep credit to the original idea author and contributor too! |
|
#6
|
|||
|
|||
|
Whoops, Ed, glad you were paying attention.
I've also modified the above file with a version for surfacing boards of any size, like Paco's, with the added feature of specifying a lead-in and lead-out distance where the machine only climb cuts to eliminate tear-out along the edges of the board, but reverts to back-and-forth cutting between the edges for speed. Here is what prompted me to write that variation... |
|
#7
|
|||
|
|||
|
Hey Paco,
How about sending me details on the file path problem you're having...I haven't been able to duplicate it. Bill |
|
#8
|
|||
|
|||
|
Paco / David -
The file worked like a charm! I didn't get any file path problems either. Thanks Kasey |
|
#9
|
|||
|
|||
|
Great!
Bill has identify the bug; it's related to relative path used with custom cuts and the 'Set part file folder'. Other than that it work correctly. I have rewrote the code (tidy), make it a single file, fixed some minors glitches and added some new features. I'll test the code on cut mode today and I should post about it today on my blog. Here's a teaser: quote:02/2007 - Major clean up and tidy of the code. Implementation of a few ideas: simplifications, half pass (half stepdown), overshoot the ends (to avoid tool marking), re-use of previous settings, display (print on the Part file message screen) of the depth of cut progression. |
|
#10
|
|||
|
|||
|
David Buchsbaum when he first post is code...
quote:Feel free to use this file if you find it useful, in exchange I ask that you post any improvements here for use by all. Here's my latest release. surfacing_along_XorY_axis.sbp (2.7 k) You can see more details about it on my blog's post about it; the README and a diagram of how the code is working. Check it out! Let me know what you think. |
| Thread Tools | |
| Display Modes | |
|
|