EzCad keypress marking script for fiber laser
HTML-код
- Опубликовано: 6 окт 2022
- #fiberlaser
Ever wanted to press one key, mark one design, press another key, mark a separate design? Now you can ;-) I wrote a short AutoIt script to wait for keypresses and then mark the corresponding object in EzCad. Download here: imajeenyus.com/temp/keypress_m... Наука
Actually fantastic! I can imagine workflows become very fast with this technique 😲
Thanks! I've got some very thin parts where I need to alternate the engraving on opposite sides to balance out the stresses induced.
This is amazing. Do you think you can make autoit change text box values from a list of choices?
Thanks! It should be possible - AutoIt seems capable of using pretty much all of the Windows controls, so you could pick choices from a list and then set them. www.autoitscript.com/autoit3/docs/guiref/GUIRef.htm
Any reason you use ezcad as opposed to lightburn?
Just what I'm used to - been using it a couple years before LB came out. I've got a load of files and scripts for EzCad and updating them all to work with LB would be a lot of work! TBH I've never had any problems with EzCad, but maybe my designs aren't as complicated as some.
Can i make a script to move on xy certain distance and autofocus then start again?
No doubt you could, but I have no idea about the precise details. AutoIt is able to simulate any key/mouse interaction, so if you can do it in the original software, you'd be able to simulate it with a script.
@@imajeenyus42 hm thank you. i think i understand , so i can't write custom scripts for automation but if is something that i can press manually ,AutoIt will make this process itself ?
But how will it know when the deep engraving is done and make z axis come back to starting position and move xy axis and press autofocus and start again ?
@@dansv3872 That's correct - whatever you can do yourself by clicking a button or using key presses, you can automate. As for checking when it's done, EzCad2 displays a "marking" window when marking is in progress, and I'm just checking every 100ms to see if the window is still present. If not, then I assume that marking is finished. Take a look at my other automator script here, it might give you some ideas:
imajeenyus.com/temp/automator.au3
Hello Wilson, I would like a help, I realized that your script makes communication with ezcad, I wonder if you have any manual on this, because I need to develop an application equal to is however using the python language.
Hello, do you find the way to communicate ezcad and python????
@@user-ys4to2ts9c Sorry, I don't know how to do that. My script is interacting with EzCad by simulating key and mouse presses, which is what AutoIt is designed to do.
Good evening, my name is Enrique Lara, I am a high school student conducting research in one of your fields of interest. Is it possible if I can get your email address so I can inquire about a few questions I had about my research? Thank you.
Hello, yes, you can email me at sales@eyejayinstruments.com
@@imajeenyus42 Thank you, I have sent an email!