Hello Guest it is April 19, 2024, 08:30:02 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Graham Waterworth

2221
Don't you just love there generosity  ;D

Graham.

2222
For a first attempt this is very good, I can't find a fault, but I have cleaned it up a bit, I have found that % can cause problems.

When you run the code through Mach3 it will display the tool path that it will cut.

When you cycle through the code the tool path will be drawn on the first part of the path only,  It can't draw using the G52 offsets. But it will cut it right.

Graham.


O0001

(GCodeGenericGameBoard - route pockets in flat surface for tiles)


(design parameters used)

#101=3.      ( board width )
#102=3.      ( board height )
#103=.5      ( left border )
#104=.5      ( right border )
#105=.25   ( top border )
#106=.25   ( bottom border )
#107=.05   ( horizontal divider )
#108=.05   ( vertical divider )
#109=.1      ( depth of pockets )

#111=4      ( rows )
#112=4      ( columns )

#201=.1875   ( cutter size )
#202=.050   ( cutter depth of cut per pass )
#203=6.      ( feed rate )

(calculated parameters)

#301=[[#101-#103-#104-[[#111-1]*#107]]/#111]   ( pocket width )
#302=[[#102-#105-#106-[[#112-1]*#108]]/#112]   ( pocket height )

#311=0
#312=0

(main program - move to start and iterate rows)
f#203
#311=[#103]
#312=[#106]
m98 p1000 l#111
g52 x0 y0
g90
g0 x0 y0
m30

O1000(do a row)
m98 p1100 l#112
#311=[#103]
#312=[#312+#302+#108]
m99

O1100(do a single box within a row)
g52 x#311 y#312 z0
g90
g0 x0 y0
m98 p2000
g90
g0 x0 y0
#311=[#311+#301+#107]
m99

O2000  (do a layer of routing for a box)
#401=[#201/2]         ( half the cutter size )
#411=[#301-#401]      ( width of path based on cutter size )
#412=[#302-#401]      ( height of path based on cutter size )
g91
g0 x#401 y#401
g1 y#412
g1 x#411
g1 y[0-#412]
g1 x[0-#411]
#501=[[#411]-.02]      ( left/right pass size )
#502=[[#201]-.02]      ( y move each pass )
#503=[FIX[[[#302-.02]/#502]]-1]   ( left/right pass count )
g1 x.01 y.01
m98 p2100 l#503
m99

O2100 (do a left/right pass to route the area withing a box)
g91
g1 y#502      ( move to next pass )
g1 x#501      ( do a pass )
#501=[0-#501]      ( setup for reverse )
m99

2223
General Mach Discussion / Re: Voice question
« on: January 31, 2007, 03:36:44 AM »
Have a look at this posting.

Graham.

http://www.machsupport.com/forum/index.php?topic=799.0

2224
General Mach Discussion / Re: Input question
« on: January 31, 2007, 03:24:27 AM »
You got it.

Graham.

2225
General Mach Discussion / Re: Input question
« on: January 30, 2007, 03:14:49 PM »
The timing signal is for reading the spindle speed using a multi slotted disk and sensor.

Graham.

2226
I have got my name down, I am not going to miss this one.

Anybody else in the UK fancy a trip to the USA?

Graham.

2227
Not sure what you want to convert, pictures or drawings, but have a look here.

http://www.vectric.com/

Graham.

2228
G-Code, CAD, and CAM discussions / Re: Blender 3D and Mach3
« on: January 27, 2007, 04:18:00 AM »
I did a quick conversion of your Jpeg and this is the DXF file It generated.

Try it.

Graham.

2229
G-Code, CAD, and CAM discussions / Re: Blender 3D and Mach3
« on: January 27, 2007, 03:36:29 AM »
The problem is your DXF file is incomplete, for the shape you have shown it should be hundreds of lines long, It looks like you are not outputting all the layers.

Graham.

This is all that is in your DXF.

 0
SECTION
  2
TABLES
  0
TABLE
  2
LTYPE
 70
     1
  0
LTYPE
  2
CONTINUOUS
 70
    64
  3
Solid line
 72
    65
 73
     0
 40
0.000000
  0
ENDTAB
  0
TABLE
  2
LAYER
 70
     1
  0
LAYER
  2
Meshes
 70
     0
 62
   254
  6
CONTINUOUS
  0
ENDTAB
  0
ENDSEC
  0
SECTION
  2
ENTITIES
  0

2230
G-Code, CAD, and CAM discussions / Re: Blender 3D and Mach3
« on: January 25, 2007, 11:19:07 AM »
Go to File and click LazyCAM, thats the dxf importer.

Graham.