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 01, 2008, 10:01:04 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.
programatically setting the machine coordinate like in MDI form
Pages:
1
Go Down
« previous
next »
Author
Topic: programatically setting the machine coordinate like in MDI form (Read 737 times)
0 Members and 1 Guest are viewing this topic.
dandumit
Active Member
Offline
Posts: 34
programatically setting the machine coordinate like in MDI form
«
on:
April 17, 2008, 10:20:25 AM »
Hi,
I would like to enhance the video plugin and to add some offset values when the webcam is aside from the drilling machine.
I have tryed to wrote something like :
#include "CMyScriptObject.h"
CMyScriptObject scripter;
scripter.SetParam("X",0.001);
not working ?
what it should be ?
from where I should find those info ?
Daniel
Logged
dandumit
Active Member
Offline
Posts: 34
Re: programatically setting the machine coordinate like in MDI form
«
Reply #1 on:
April 21, 2008, 10:18:17 AM »
since nobody has answered I will try to do it myself :
CString com;
com.Format("G92 X %.4f Y %.4f", m_xoffset, m_yoffset);
Code(com);
I still wait for constructive criticism or confirmation or infirmation.
Logged
jemmyell
Active Member
Online
Posts: 70
Re: programatically setting the machine coordinate like in MDI form
«
Reply #2 on:
April 21, 2008, 03:15:13 PM »
Hi Daniel,
Did you ever get the tutorial plugin running?
You can't just declare the scripter object. You must go through the steps to retrieve the IDispatch interface for Mach.
Sorry for the slow reply, since you created a new topic I didn't get an email that stuff was happening over here.
You must be sure Mach is idle before you can use the 'code' call. See the usage of IsMoving in the macros, you can do the same thing from the object model in C++;
-James
Logged
-James Leonard
www.DragonCNC.com
-
www.LeonardCNCSoftware.com
-
www.CorelDRAWCadCam.com
Pages:
1
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...