Search found 307 matches

by Moray
Wed Jan 17, 2024 11:29 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

This is the latest version. It's only the basic .exe, so you'll need to combine it with the previous download to get all the additional files. DRO set buttons can now be added/removed/edited, although the popup is currently hardcoded (I do appear to have a bug with setting/zeroing the Z axis, but I'...
by Moray
Wed Jan 17, 2024 11:14 pm
Forum: User PC Applications and Libraries .Net
Topic: MCode Actions and custom buttons
Replies: 7
Views: 45066

Re: MCode Actions and custom buttons

Thanks Tom.

I'll add it to the list of things to think about, as although I'm not using Action Indexes for my own user buttons, I can see the benefit of replicating that functionality in some form.
by Moray
Wed Jan 17, 2024 9:01 pm
Forum: User PC Applications and Libraries .Net
Topic: MCode Actions and custom buttons
Replies: 7
Views: 45066

Re: MCode Actions and custom buttons

I've just finished adding the code to control bits, and was making some checks with KMotionCNC. As part of executing programs with a User Button, I noticed KMotionCNC allows you to set a Var. Is this ever used with a User Button, as I can't think of how it'd actually be used, given I don't think a u...
by Moray
Sun Jan 14, 2024 11:04 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

Just realised what I've been doing wrong. I've been writing the values to the DROs before calling ConvertAbolsuteToInterpreterCoord/Machine(), so I was writing the absolute values to the DROs, and as I use the same variables for reading the absolute values and writing to the DROs, I was only getting...
by Moray
Sun Jan 14, 2024 10:51 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

I'm back looking at the core functionality, and have already fixed a big bug I introduced in the DRO colours, but I'm struggling with the DRO values and I can't remember if this is something I've had an issue with before or not. If I enable my test machine, the DROs start at 0. If I then jog say 1mm...
by Moray
Thu Jan 11, 2024 10:06 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

This is the latest version, just to get some feedback on the screen designer. You need to unzip the attached file to the KMotion/Release directory. When run, a basic configuration file should be created, along with a default screen. The only reason the Screens/Images directories are included, is the...
by Moray
Thu Jan 11, 2024 8:56 pm
Forum: User PC Applications and Libraries .Net
Topic: Unable to load KMotion_dotNet Libraries error
Replies: 8
Views: 49458

Re: Unable to load KMotion_dotNet Libraries error

I've moved the Release build directory, so my app can be contained within it's own directory within the main KMotion5.3.1 directory (i.e. c:/KMotion5.3.1/KMoCNC/), just so everything is more contained. If I set the build directory to the main KMotion/Release directory, everything works as it should,...
by Moray
Thu Jan 11, 2024 8:33 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

I do have it uploading to GitHub, but that's not my GitHub, and I've still got mine set to private.
by Moray
Thu Jan 11, 2024 8:32 pm
Forum: User PC Applications and Libraries .Net
Topic: Unable to load KMotion_dotNet Libraries error
Replies: 8
Views: 49458

Re: Unable to load KMotion_dotNet Libraries error

I've currently got the same issue, but before I go setting a PATH in Windows, is there anything else I can try? My application is building with the relevant .NET dll being placed in the build directory, but when I try running the app, it fails to find the KMotion libs (same result whether I launch i...
by Moray
Thu Jan 11, 2024 5:48 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 156
Views: 278305

Re: G-codes/offsets/tools with .Net

While I'm logged in, just a quick update. The screen designer is now functional. I won't say fully functional, as it's a big "clunky" to use, but it allows moving/editing controls, and in terms of custom controls, allows unlimited buttons that can switch screens or execute C Programs. I have a wish ...