PDA

View Full Version : Surface Table



kasey_jones
02-09-2007, 03:25 AM
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

beacon14
02-09-2007, 08:48 AM
Kasey,

Check this thread (http://www.talkshopbot.com/forum/messages/29/7427.html?1113888158#POST23422).

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

ed_lang
02-09-2007, 09:28 AM
Did I miss something or should the third line from the bottom be;

INPUT "ANOTHER PASS? ENTER NEW DEPTH OR [0] TO END" &depth

bill.young
02-09-2007, 11:39 AM
Hey Ed,

I'll make a programmer out of you yet!

paco
02-09-2007, 03:44 PM
Here's the "package" I use.


surfacing_along_XorYaxis
surfacing_along_wood_grain_X.zip (http://www.talkshopbot.com/forum/messages/312/surfacing_along_wood_grain_X-18234.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 (http://pacosarea.blogspot.com/) '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!

beacon14
02-09-2007, 09:58 PM
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...


6630

bill.young
02-10-2007, 09:14 AM
Hey Paco,

How about sending me details on the file path problem you're having...I haven't been able to duplicate it.

Bill

kasey_jones
02-11-2007, 06:19 AM
Paco / David -

The file worked like a charm! I didn't get any file path problems either.

Thanks
Kasey

paco
02-11-2007, 10:00 AM
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 (http://pacosarea.blogspot.com/).
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.

paco
02-11-2007, 03:57 PM
David Buchsbaum when he first post is code (http://www.talkshopbot.com/forum/messages/29/7427.html?1113888158)...
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.




6631 (2.7 k)

You can see more details about it on my blog's post about it (http://pacosarea.blogspot.com/2007/02/surfacing-along-axis-shopbot-routine.html); the README and a diagram of how the code is working. Check it out! Let me know what you think.