Hello Guest it is August 23, 2019, 01:26:38 AM

Author Topic: How to create customized drawing of G-code?  (Read 1677 times)

0 Members and 1 Guest are viewing this topic.

How to create customized drawing of G-code?
« on: May 11, 2017, 07:54:24 AM »
Tell me, please, how to create customized drawing of G-code?

How can I do this in Mach3?

I'm going to do this via m1s-script, but I can not find the graphics commands.


Like this:



Or in window:

« Last Edit: May 11, 2017, 07:57:09 AM by Macho3 »

Offline Tweakie.CNC

*
  • *
  •  7,885 7,885
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: How to create customized drawing of G-code?
« Reply #1 on: May 11, 2017, 08:16:05 AM »
You can, to some extent, do this using the 'Teach' function and the keyboard arrow keys but I suggest you use a CAD/CAM program - it does a much better job.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: How to create customized drawing of G-code?
« Reply #2 on: May 11, 2017, 08:23:07 AM »
Thank you!

But I need to get the data about a loaded g-code and custom draw it.

This is need for the machine operator.

Offline Tweakie.CNC

*
  • *
  •  7,885 7,885
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: How to create customized drawing of G-code?
« Reply #3 on: May 11, 2017, 08:33:14 AM »
Quote
But I need to get the data about a loaded g-code and custom draw it.

This is need for the machine operator.

I think you are expecting too much from Mach3 which is just a Machine Controller - it does not have a CAD function as such.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.
Re: How to create customized drawing of G-code?
« Reply #4 on: May 11, 2017, 08:40:07 AM »

I think you are expecting too much from Mach3 which is just a Machine Controller - it does not have a CAD function as such.

Tweakie.

I do not expect Mach3 to do it for me. I want to make the program myself (for example, in Visual Basic or Visual C ++) for customized drawing.

Offline Tweakie.CNC

*
  • *
  •  7,885 7,885
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: How to create customized drawing of G-code?
« Reply #5 on: May 11, 2017, 08:46:22 AM »
obviously nothing is impossible but there is no way you can code that into Mach3.

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline RICH

*
  • *
  •  7,351 7,351
    • View Profile
Re: How to create customized drawing of G-code?
« Reply #6 on: May 11, 2017, 08:55:32 AM »
Quote
But I need to get the data about a loaded g-code and custom draw it.

You can make a drawing of a gcode program. This is called backplotting. It basically provides the instructions to
the CAD software on how to draw each coded line. So you get a drawing  of the pathing. You can buy a backplotter program  like NC Plot ($300) or some others.
I use a custom backplotter ( sorry,  can't  share it ).

RICH
Re: How to create customized drawing of G-code?
« Reply #7 on: May 11, 2017, 09:19:27 AM »
Quote
But I need to get the data about a loaded g-code and custom draw it.

You can make a drawing of a gcode program. This is called backplotting. It basically provides the instructions to
the CAD software on how to draw each coded line. So you get a drawing  of the pathing. You can buy a backplotter program  like NC Plot ($300) or some others.
I use a custom backplotter ( sorry,  can't  share it ).

RICH


Thanks for your reply!

Can you tell me more information about this?

How did you develop your custom backplotter?
Re: How to create customized drawing of G-code?
« Reply #8 on: May 11, 2017, 09:27:29 AM »
Quote
But I need to get the data about a loaded g-code and custom draw it.

You can make a drawing of a gcode program. This is called backplotting. It basically provides the instructions to
the CAD software on how to draw each coded line. So you get a drawing  of the pathing. You can buy a backplotter program  like NC Plot ($300) or some others.
I use a custom backplotter ( sorry,  can't  share it ).

RICH


I looked, NCPlot is a independent program.

I have the my independent program for viewing g-code.

But I need to integrate it into Mach3 (or create new program for Mach3).
Re: How to create customized drawing of G-code?
« Reply #9 on: May 11, 2017, 12:52:05 PM »
Friends, I found a solution: I call the browser using CreateObject in m1s and pass the data to it for drawing.