Home
Downloads
Mach and LazyCam
Plugins
CAM Post Processors
Screensets
Purchase
Support
Forum
Tutorial Videos
Documentation
Yahoo Group
Mach Wiki
German Forum
Italian Forum
Portugese Forum
Resources
Links
User Reviews
User Videos
Contact Us
CNCZone
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
December 02, 2008, 02:50:18 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Select from and to languages
Chinese-simp to English
Chinese-trad to English
English to Chinese-simp
English to Chinese-trad
English to Dutch
English to French
English to German
English to Greek
English to Italian
English to Japanese
English to Korean
English to Portuguese
English to Russian
English to Spanish
Dutch to English
Dutch to French
French to English
French to German
French to Greek
French to Italian
French to Portuguese
French to Dutch
French to Spanish
German to English
German to French
Greek to English
Greek to French
Italian to English
Italian to French
Japanese to English
Korean to English
Portuguese to English
Portuguese to French
Russian to English
Spanish to English
Spanish to French
Machsupport Forum
Mach Discussion
Mach SDK plugin questions and answers.
Mach3 Plugin Tutorial Document and Prototype File Set
Pages:
«
1
2
3
4
5
6
»
Go Down
« previous
next »
Author
Topic: Mach3 Plugin Tutorial Document and Prototype File Set (Read 6202 times)
0 Members and 5 Guests are viewing this topic.
dandumit
Active Member
Offline
Posts: 34
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #40 on:
May 03, 2008, 03:29:40 AM »
Unfortunately I wasn't able to run the gcolde calling the scripter object. I have tryed all kind of declaration.
At the end I have added :
#include "Mach3ObjectModel.h"
and
Instead of :
//scripter.LoadFile((LPCSTR)"C:\\Mach3\\GCode\\roadrunner.tap");
I have wrote :
Mach3ObjectModelStartup();
LoadGcodeFile("C:\\Mach3\\GCode\\roadrunner.tap");
Mach3ObjectModelShutdown();
Daniel
Logged
jemmyell
Active Member
Online
Posts: 70
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #41 on:
May 04, 2008, 07:56:30 PM »
Hi Daniel,
Here is the last version of my CustomPlugin, it works just fine. Maybe you can find out what is different.
CustomPlugin_050408.zip
(108.55 KB - downloaded 104 times.)
Logged
-James Leonard
www.DragonCNC.com
-
www.LeonardCNCSoftware.com
-
www.CorelDRAWCadCam.com
dandumit
Active Member
Offline
Posts: 34
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #42 on:
July 23, 2008, 06:23:56 AM »
@jemmyell - first of all thank you for continuous support.
Following your tutorial I was able to develop more my plugin and I hope that I will post it soon.
(it's about cnc drilling for toner transfer built pcb's)
I had a problem and found that scripter.loadfile cannot be called in body of a procedure wich is overriding the WndProc method (to trap the window messages).
On WndProc I save the string received and on form timer I will call scripter.LoadFile.
Daniel
«
Last Edit: July 23, 2008, 11:04:13 AM by dandumit
»
Logged
jemmyell
Active Member
Online
Posts: 70
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #43 on:
July 27, 2008, 09:02:59 AM »
Quote from: dandumit on July 23, 2008, 06:23:56 AM
@jemmyell - first of all thank you for continuous support.
Following your tutorial I was able to develop more my plugin and I hope that I will post it soon.
(it's about cnc drilling for toner transfer built pcb's)
I had a problem and found that scripter.loadfile cannot be called in body of a procedure wich is overriding the WndProc method (to trap the window messages).
On WndProc I save the string received and on form timer I will call scripter.LoadFile.
Daniel
Hi Daniel,
Yes, that will probably work. Consider using a worker thread to do the calls to the Mach3 scripter. The thread can block on a named event and wake up to do whatever you need. A linked list can be used to queue things to be done to the worker thread.
-James
Logged
-James Leonard
www.DragonCNC.com
-
www.LeonardCNCSoftware.com
-
www.CorelDRAWCadCam.com
Jeff_Birt
Active Member
Online
Posts: 162
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #44 on:
July 31, 2008, 11:16:24 AM »
I've been going through the plug-in tutorial again today after being away from it for quite some time. I am up to the point where I have the form displayed and have added event handlers for the buttons. Problem is that it is displaying an HTML document in the background of the form. Obviously there is some box that I have checked in error and it has auto generated this bloody HTML page, For the life of me I can't figure out how to make it quite including it with the form.
Also, just found this as I got towards the end of the tutorial. The following are included in Mach3OjectModel.cpp:#include "Mach3DRO.h", #include "Mach3Button.h", but ar enot present in machincludes. What am I missing?
Any ideas? Thanks...
«
Last Edit: July 31, 2008, 02:12:29 PM by Jeff_Birt
»
Logged
Jeff
jemmyell
Active Member
Online
Posts: 70
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #45 on:
July 31, 2008, 09:54:50 PM »
Hi Jeff,
Those header files should be in the latest download, available on page 1. If not, please post here and I will fix it. I am back from vacation now.
-James Leonard
Logged
-James Leonard
www.DragonCNC.com
-
www.LeonardCNCSoftware.com
-
www.CorelDRAWCadCam.com
Jeff_Birt
Active Member
Online
Posts: 162
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #46 on:
August 01, 2008, 09:05:20 AM »
I just found those headers just now in the zip file on this page (from May 4th). The file set on page 1 does not have them. There still seems to be some issues with the object model section. Should I start over with the may file set?
Logged
Jeff
jemmyell
Active Member
Online
Posts: 70
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #47 on:
August 01, 2008, 09:54:10 AM »
Hi Jeff,
Yes, you can use the new file set, or just use the custom plugin source code that I posted here also for dandumit.
-James
Logged
-James Leonard
www.DragonCNC.com
-
www.LeonardCNCSoftware.com
-
www.CorelDRAWCadCam.com
Jeff_Birt
Active Member
Online
Posts: 162
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #48 on:
August 04, 2008, 04:27:06 PM »
Just for my future reference; does anybody have a clue how I caused an HTML page to appear as the dialog box background? I would like to know how to turn it off if I happen to do it again.
Thanks,
Logged
Jeff
poppabear
S S SYSTEMS, LLC
Global Moderator
Online
Posts: 770
Briceville, TN, USA
Re: Mach3 Plugin Tutorial Document and Prototype File Set
«
Reply #49 on:
August 04, 2008, 07:40:53 PM »
Yes, cause it happened to me also.......
When you create a class for your dialog box, what very carefully the Type, make sure it says "Cdialog" NOT, "HtmlCdialog" (or something like that.... cant remember exact spelling)
scott
Logged
All things Mach3, Screens, Wizards, Plugins, Brians, complete control solutions for complex machines, Macros, ATC's, any kind of CNC machine build, retrofit or repair.
Pages:
«
1
2
3
4
5
6
»
Go Up
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Mach Discussion
-----------------------------
=> General Mach Discussion
=> Mach3 under Vista
=> Quantum
=> Mach SDK plugin questions and answers.
=> VB and the development of wizards
=> Brains Development
=> Video P*r*o*b*e*i*n*g
=> Mach Screens
=> Feature Requests
=> Non English Forums
=> FAQs
===> Finished Plugins for Download
===> Screen designer tips and tutorials
===> Works in progress
===> Finished Screens
===> Flash Screens
===> JetCam screen designer
===> Italian
===> French
===> Spanish
===> Chinese
===> German
===> Russian
===> Romanian
===> Japanese
===> Vietnamese
-----------------------------
*****VIDEOS*****
-----------------------------
=> *****VIDEOS*****
-----------------------------
General CNC Chat
-----------------------------
=> Share Your GCode
=> Show"N"Tell ( What you have made with your CNC machine.)
=> Building or Buying a Wood routing table.. Beginnners guide..
=> Show"N"Tell ( Your Machines)
-----------------------------
G-Code, CAD, and CAM
-----------------------------
=> G-Code, CAD, and CAM discussions
=> Lazy Cam (Beta)
-----------------------------
Third party software and hardware support forums.
-----------------------------
=> LazyTurn
=> dspMC/IP motion controller
=> Third party software and hardware support forums.
=> Newfangled Solutions Wizards
=> Mach3 and G-Rex
=> Modbus
=> NC Pod
=> PoKeys
=> SmoothStepper USB
=> Promote and discuss your product .
=> Sieg Machines
-----------------------------
Tangent Corner
-----------------------------
=> Tangent Corner
=> Competitions
=> Polls
=> Bargain Basement
-----------------------------
Support
-----------------------------
=> Downloads
=> One on one phone support.
=> Forum suggestions and report forum problems.
===> XML files
===> Post Processors
===> Macros
===> Tutorials
===> Others
===> Beta Brains
===> Screen Sets
===> Documents
===> MACH TOOL BOX
Loading...