Log in

View Full Version : Custom Fill In Sheets



archis
09-21-2011, 01:33 PM
Is it possible to customize the fill in sheet for a .sbp script? I want a sheet with just the parameters appropriate to my routine.

Thanks,
Jim

srwtlc
09-21-2011, 01:53 PM
Jim,

Provide a little more info on what it is that you would like to do. A fill-in sheet can be hacked a little, but maybe it would be better to make a custom cut file that would bypass the fill-in sheet.

archis
09-21-2011, 02:40 PM
Scott,

I want a custom fill-in sheet to contain only the data required for my routine. That would be

Bit Diameter
X Length of Material
Y Length of Material.

I'm looking for a cleaner way to enter my input scripts parameters than 3 input statements. If there is another way to enter 3 inputs with a single user prompt that would also work.

Thanks

ssflyer
09-21-2011, 03:57 PM
Jim,

If you have any programming experience, you could look into developing your own front end. There are samples for both VB6 and VB.Net in the Program Files\ShopBot\Developer Tools\ directory. The samples are for a table surfacing routine, but should give you a good idea of how to proceed.

Ron

srwtlc
09-21-2011, 04:39 PM
Jim,

That would be more along the line of what Ron has mentioned. Visual Studio Visual Basic 2010 Express is free.

http://www.microsoft.com/visualstudio/en-us/products/2010-editions/visual-basic-express

Otherwise, you can combine those into one input statement like this...

INPUT "Bit diameter, material X length, material Y length?" &dia,&Xlength,&Ylength

...and your input would be like this for example .375,12,5.

archis
09-21-2011, 05:36 PM
Thanks for the input but I don't really want to get that deep into the programming right now since that's what I do for a living:)

For now I'll stick with the 3 input boxes.

Brady Watson
09-21-2011, 08:17 PM
You can hard code fill in sheet parameters right into an SBP.

For example, here's what the Tabletop Surfacer tool generates as code:

--------------------------
SO,1,1 'Turns the router on
MZ,1
M3,0,0,1
VC,1,,,,, 10
CR,96, 48, T, 1, 4,-.01,1,2,1
MZ,1
M3,0,0,1
END
--------------------------

VC - sets the values for the 1" cutter @ 10% overlap
CR - cuts a rectangle that is 96,48 and .01" deep with an offset pocket

Each parameter, separated by a [ , ] represents each line in the fill-in sheet.

Doing it this way eliminates the need to use the VC or CR fill in sheets. Make sense?

-B

archis
09-22-2011, 07:52 AM
Brady,

Thanks for the tip but I was hoping the API would let me add/drop parameters from the fill-in sheet. I want the fill in sheet to contain only the parameters that are needed by my routine.

On another note, is it possible to have the SK command show the key board in Jog mode?