Circles/arcs
Moderators: Mr Magoo, Martin, bradders, Steve
Circles/arcs
Hi
when we draw a circle and export to machine it cuts anti clockwise...is there a way we can set the default to so it will run clockwise each time....when we cut perspex it cuts a much cleaner circle running clockwise because of the cutting edge on the tooling
thanks
Phill
when we draw a circle and export to machine it cuts anti clockwise...is there a way we can set the default to so it will run clockwise each time....when we cut perspex it cuts a much cleaner circle running clockwise because of the cutting edge on the tooling
thanks
Phill
 Denford Admin
 Site Admin
 Posts: 3586
 Joined: Fri 10 Feb , 2006 12:40 pm
 Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can  it makes it easier for everyone to know what you're talking about then.  Location: Sunny Brighouse
 Contact:
Are you using the older version of Techsoft ? The one that uses the Denford/Techsoft extension ?
If so, then there could be a way to alter the Denford extension to look for circles and output G02 instead of G03 (or vice versa)...
Can you create an example output , and supply the file GENERIC.GNC which will be located here:
C:\Denford\Data
If so, then there could be a way to alter the Denford extension to look for circles and output G02 instead of G03 (or vice versa)...
Can you create an example output , and supply the file GENERIC.GNC which will be located here:
C:\Denford\Data
 Denford Admin
 Site Admin
 Posts: 3586
 Joined: Fri 10 Feb , 2006 12:40 pm
 Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can  it makes it easier for everyone to know what you're talking about then.  Location: Sunny Brighouse
 Contact:
In that case, then this may work:
I looked at the post config file, and it seems as though arc angles greater than 0 output G03 and any others are G02.
I'm not sure what specifies a circle, but if its an angle of 0, then G02 will always be specified.
Locate this file
C:\Denford\Libs\Fanucm.slb
Make a copy of it !
Then have a look for this bit of code:
Possibly changing this little bit will fix it if circles are specified with a 0 degree angle (and not 360)
I'd need to see a .GNC file with circles in to be sure what will fix it though.
I looked at the post config file, and it seems as though arc angles greater than 0 output G03 and any others are G02.
I'm not sure what specifies a circle, but if its an angle of 0, then G02 will always be specified.
Locate this file
C:\Denford\Libs\Fanucm.slb
Make a copy of it !
Then have a look for this bit of code:
Code: Select all
* Circular traverse
proc circ_trav
....
if angle > 0
gcode = 3
else
gcode = 2
endif
..
return circ_trav
Code: Select all
if angle >= 0
gcode = 3
else
gcode = 2
endif
 Denford Admin
 Site Admin
 Posts: 3586
 Joined: Fri 10 Feb , 2006 12:40 pm
 Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can  it makes it easier for everyone to know what you're talking about then.  Location: Sunny Brighouse
 Contact:
is this what you need?
and many thanks for your help on this subject
phill
string machine_type (4)="MILL"
repeat
metric=TRUE
real x_datum=0
real y_datum=0
real z_datum=0
real x_dimension=80
real y_dimension=80
real z_dimension=13.2
PROJECT="TechSoft Design Tools  Untitled1"
DATE="17.03.2009"
PROGID=99
PROLOGUE
no_of_tools=1
tool=1
tool_diam=0.3
tool_length=0
DEFINE_TOOL
tools_defined
tool=1
tool_diam=0.3
tool_length=0
CHANGE_TOOL
spindle=15000
CHANGE_SPINDLE
x=9.43624
y=7.73154
FAST_TRAV
z=2
FAST_TRAV
z=0.800001
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=1.6
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=2.4
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=3.2
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=2
FAST_TRAV
EPILOGUE
until last_pass
and many thanks for your help on this subject
phill
string machine_type (4)="MILL"
repeat
metric=TRUE
real x_datum=0
real y_datum=0
real z_datum=0
real x_dimension=80
real y_dimension=80
real z_dimension=13.2
PROJECT="TechSoft Design Tools  Untitled1"
DATE="17.03.2009"
PROGID=99
PROLOGUE
no_of_tools=1
tool=1
tool_diam=0.3
tool_length=0
DEFINE_TOOL
tools_defined
tool=1
tool_diam=0.3
tool_length=0
CHANGE_TOOL
spindle=15000
CHANGE_SPINDLE
x=9.43624
y=7.73154
FAST_TRAV
z=2
FAST_TRAV
z=0.800001
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=1.6
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=2.4
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=3.2
feed=300
LINEAR_TRAV
x=70.1208
y=7.73154
feed=1200
LINEAR_TRAV
cx=70.1208
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
x=72.1208
y=70.1208
feed=1200
LINEAR_TRAV
cx=70.1208
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=9.43624
y=72.1208
feed=1200
LINEAR_TRAV
cx=9.43624
cy=70.1208
angle=90
feed=1200
CIRC_TRAV
x=7.43624
y=9.73154
feed=1200
LINEAR_TRAV
cx=9.43624
cy=9.73154
angle=90
feed=1200
CIRC_TRAV
z=2
FAST_TRAV
EPILOGUE
until last_pass
 Denford Admin
 Site Admin
 Posts: 3586
 Joined: Fri 10 Feb , 2006 12:40 pm
 Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can  it makes it easier for everyone to know what you're talking about then.  Location: Sunny Brighouse
 Contact:
Yep  thats the intermediate file which Techsoft creates, and the Denford post uses to create a CNC file.
It looks like Techsoft outputs a maximum of 90 degree arcs  it could well be splitting circles up so as not to go past any quadrants.
If this is the circle program, then only the Techsoft software could change the direction of circles.
Either with a setting, or possibly by drawing the circles differently ?
Might be worth putting the question to them...
It looks like Techsoft outputs a maximum of 90 degree arcs  it could well be splitting circles up so as not to go past any quadrants.
If this is the circle program, then only the Techsoft software could change the direction of circles.
Either with a setting, or possibly by drawing the circles differently ?
Might be worth putting the question to them...
Re: Circles/arcs
Hi,
We have a student who needs to machine a series of ovals on the Microrouter to construct a laminated box.
He has drawn them up in Techsoft 2D Design V2 version 2.10 and they appeared on screen as intended, and also cut out cleanly and to the correct size when he did a test run in thin card on the laser.
When we save as a dxf however and import into the Microrouter running VR Milling version 5.54.0.630 the drawing import cam page shows the design as whilst still being basically the correct shape, it is made up of a series of straight lines and not the smooth curves as originally drawn, and this new, incorrect tool path is confirmed in the next stages when the outer contour is selected, simulated and machined, this problem also occurs in another design involving a circle.
We have tried completely redrawing again with the same results, I am not sure what the “use arc command” is supposed to do when exporting from Techsoft 2D Design as a dxf, but it doesn’t seem to make any difference in this case whether it is used or not.
We tried taking a copy the same drawing and using the “Alter the size of the selected objects” command in the 2D Design toolbox, reduced its size to enable it to fit a piece of 160mm x 90mm HIPS, and then saved this as a dxf before importing it into the Triac and where it both simulated and machined perfectly.
I understand that if the drawing size is reduced, then any errors will also decrease proportionally, but the Triac version appears perfect, with no distinguishable defects at all.
Both the machines are networked and running windows 7 service pack 1, the only difference I can think of is the Triac is using a different version of VR Milling, as it currently has version 5.49.0.613 installed.
Is there a setting somewhere that controls the resolution when converting to Gcode, does anyone know of any conflict with our version of 2D Design and the Microrouters version of VR Milling or are we missing an obvious point, because we have never had a problem like this before.
We have a student who needs to machine a series of ovals on the Microrouter to construct a laminated box.
He has drawn them up in Techsoft 2D Design V2 version 2.10 and they appeared on screen as intended, and also cut out cleanly and to the correct size when he did a test run in thin card on the laser.
When we save as a dxf however and import into the Microrouter running VR Milling version 5.54.0.630 the drawing import cam page shows the design as whilst still being basically the correct shape, it is made up of a series of straight lines and not the smooth curves as originally drawn, and this new, incorrect tool path is confirmed in the next stages when the outer contour is selected, simulated and machined, this problem also occurs in another design involving a circle.
We have tried completely redrawing again with the same results, I am not sure what the “use arc command” is supposed to do when exporting from Techsoft 2D Design as a dxf, but it doesn’t seem to make any difference in this case whether it is used or not.
We tried taking a copy the same drawing and using the “Alter the size of the selected objects” command in the 2D Design toolbox, reduced its size to enable it to fit a piece of 160mm x 90mm HIPS, and then saved this as a dxf before importing it into the Triac and where it both simulated and machined perfectly.
I understand that if the drawing size is reduced, then any errors will also decrease proportionally, but the Triac version appears perfect, with no distinguishable defects at all.
Both the machines are networked and running windows 7 service pack 1, the only difference I can think of is the Triac is using a different version of VR Milling, as it currently has version 5.49.0.613 installed.
Is there a setting somewhere that controls the resolution when converting to Gcode, does anyone know of any conflict with our version of 2D Design and the Microrouters version of VR Milling or are we missing an obvious point, because we have never had a problem like this before.
Re: Circles/arcs
Hi,
I am not sure exactly what the problem you have is. When drawing in techsoft a lot of arcs are broken down into straight lines. I have tried exporting a circle and an elipse from Techsoft and importing into another package and the elipse comes through as a series of lines. This happens when exporting to corel or QuickCAM.
I am not sure why you have a problem with the arc being lines as it should still machine correctly if there are enough of them.
Can you post some screenshots showing the problem and a sample of DXF's. I think this is an issue with the Techsoft.
I am unsure as to why different versions of VR milling have a different result selecting a different machine will change nothing other than the material library selection.
I am not sure exactly what the problem you have is. When drawing in techsoft a lot of arcs are broken down into straight lines. I have tried exporting a circle and an elipse from Techsoft and importing into another package and the elipse comes through as a series of lines. This happens when exporting to corel or QuickCAM.
I am not sure why you have a problem with the arc being lines as it should still machine correctly if there are enough of them.
Can you post some screenshots showing the problem and a sample of DXF's. I think this is an issue with the Techsoft.
I am unsure as to why different versions of VR milling have a different result selecting a different machine will change nothing other than the material library selection.
Re: Circles/arcs
Hi, thanks for the reply,
Here are the a couple of screen shots, dxf and a picture of the machined result, I tried to add the Techsoft 2D Design file but the forum won't allow the dtd extension.
Here are the a couple of screen shots, dxf and a picture of the machined result, I tried to add the Techsoft 2D Design file but the forum won't allow the dtd extension.
 Attachments

 Oval For Box.fnc
 (1.81 KiB) Downloaded 518 times

 Oval For Box.dxf
 (56 KiB) Downloaded 553 times

 Oval For Box Tool Path.docx
 (67.99 KiB) Downloaded 543 times

 Oval For Box 1.docx
 (65.7 KiB) Downloaded 530 times

 Oval For Box Machined.jpg (663.77 KiB) Viewed 17467 times
Re: Circles/arcs
Hi, I have tried opening the DXF in various packages and it apears to be OK. I had V 5.53 on my computer which worked fine. Have upgraded to 5.54 and have the same result as you do.
I will forward this to our software engineer and we will get it fixed and post a new version.
Short term either go back to your previous version or import the DXF into QuickCAM 2D and post process in that package.
I will forward this to our software engineer and we will get it fixed and post a new version.
Short term either go back to your previous version or import the DXF into QuickCAM 2D and post process in that package.
Re: Circles/arcs
Hi,
OK, thanks for the quick response; your help is very much appreciated,
Kev
OK, thanks for the quick response; your help is very much appreciated,
Kev
 Denford Admin
 Site Admin
 Posts: 3586
 Joined: Fri 10 Feb , 2006 12:40 pm
 Hardware/Software: Go to User Control Panel > Profile
Enter as much information about your CNC hardware and software as you can  it makes it easier for everyone to know what you're talking about then.  Location: Sunny Brighouse
 Contact:
Re: Circles/arcs
Hi. There is a new version of VR Milling available on the software download site at http://website.denford.ltd.uk/index.php ... downloads. This version number is 5.55. The curves on loaded DXF files are smoothed off as expected. Can you please download and install this new version and see if that works better for you?