Hello Guest it is March 28, 2024, 06:43:41 PM

Author Topic: How to create customized drawing of G-code?  (Read 3760 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

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
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.
PEACE
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

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
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.
PEACE
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

*
  • *
  •  9,196 9,196
  • Super Kitty
    • View Profile
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.
PEACE

Offline RICH

*
  • *
  •  7,427 7,427
    • 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.