Hello Guest it is December 16, 2019, 03:26:42 AM

Author Topic: Program Extrema calculation error  (Read 5744 times)

0 Members and 1 Guest are viewing this topic.

Program Extrema calculation error
« on: November 11, 2008, 11:07:29 AM »
Attached are 2 Gcodes. The first is the complete code. The second is just a few lines from the first. Something with G17 arc plane arcs that are connected seems to be causing the X and Y program extrema to calculating wrong.
« Last Edit: November 11, 2008, 11:09:55 AM by swarfboy »

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #1 on: November 11, 2008, 06:25:21 PM »
warfboy,
What values are you getting for the extrema?
RICH
Re: Program Extrema calculation error
« Reply #2 on: November 11, 2008, 07:52:57 PM »
Screen shot of program extrema attached. It should be much smaller.

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #3 on: November 11, 2008, 08:09:22 PM »
Thanks,
I just wanted to make sure i wasn't doing something strange. I can't fix it and have never seen it before, but, may have a clue on what is happening and will post shortly with some info so Brain can take a look.
RICH

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #4 on: November 11, 2008, 08:24:08 PM »
swarfboy,
What program generated the code?

MODIFIED: added a few more questions..
Was any scaling used on the drawing on export?
Was any scale factor used in MACH?

MODIFIED:11/12
What size cutter?
What version of mach?
I am curious about this. Notice that there are crop circles in the code. Yopu would think the extrema would be based on the
part dimensions shown, but it may be a bug that if there crop circles exist the program bases it on something else. Knowing what cutter size would probably help in evaluating the intrepetation of extrema. You could take the view that something is wrong, or ,
on the other hand, giving additional info to pinpoint something saves time.
Your nickle swarfboy, 
RICH
« Last Edit: November 12, 2008, 07:18:53 AM by RICH »

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #5 on: November 11, 2008, 09:00:04 PM »
swarfboy,
Attached is a screen shot of the cuts and a CAD drawing of your posted gcode.
RICH

« Last Edit: November 11, 2008, 09:15:15 PM by RICH »
Re: Program Extrema calculation error
« Reply #6 on: November 12, 2008, 08:18:41 AM »
Cutter size doesn't matter.
No scaling was used.
In mach scaling is not changed = 1:1
This code is for cutting in mm but it doesn't matter.
Visualmill 6 Pro generated the code.
Mach backplots it fine as long as IJ Mode is set to absolute in the general config. If you set it to incremental you will get something like you have with the arcs not making sense.
Its a Mach 3.42.15 bug where its not calcing the program extrema properly.
The extrema should be approximately  X min=0, Xmax=13, Ymin=- 7 , Ymax=7 (these are roundabout numbers I just rounded to a whole integer)
« Last Edit: November 12, 2008, 08:25:41 AM by swarfboy »

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #7 on: November 12, 2008, 01:35:06 PM »
I just downloaded the latest dev version .018 which installed as a V.017, and it seems like V.017 fixed the one axis but as you can see something still wrong with the "X".
RICH
Re: Program Extrema calculation error
« Reply #8 on: November 12, 2008, 01:48:54 PM »
This was fixed a few days ago :)  The lockdown has this in it.. please test and tell me if I missed anything

Thanks
Brian
Fixing problems one post at a time ;)

www.newfangledsolutions.com
www.machsupport.com

Offline RICH

*
  • *
  •  7,382 7,382
    • View Profile
Re: Program Extrema calculation error
« Reply #9 on: November 12, 2008, 01:52:40 PM »
Brian,
I just downloaded .018 and ran swarf's file. And the X extremes are not correct.
RICH

MOIDIFIED:

Will download V.018  lockdown and try it again.
« Last Edit: November 12, 2008, 01:56:23 PM by RICH »