LatheEasyStep – experimental QtVCP macro for step-by-step lathe programming

  • aDm1N
  • aDm1N's Avatar Topic Author
  • Away
  • Senior Member
  • Senior Member
More
15 Dec 2025 12:19 - 15 Dec 2025 12:51 #340123 by aDm1N
Hi all,

I want to share an experimental QtVCP macro I am currently working on:
LatheEasyStep.

It is embedded into the QtDragon lathe panel and aims to simplify
lathe programming by replacing manual G-code writing with a structured,
step-by-step workflow (facing, contouring, parting, threading, drilling,
keyways, etc.).

Each operation is configured in its own tab with tool, spindle, feed,
coolant and geometry parameters. The macro then generates a complete
lathe program, including comments and basic safety moves.

Important notes:
- This project is NOT finished.
- The G-code generation still needs restructuring and improvement.
- I built the first working version with the help of AI, then refined it
  manually. I am very aware that this often leads to suboptimal structure,
  which is exactly why I am asking for feedback.

What I am especially looking for:
- Suggestions for a cleaner G-code generation architecture
- Common LinuxCNC lathe pitfalls I should explicitly handle
- Ideas for improving safety, validation, and workflow
- General QtVCP / QtDragon best practices

The project is GPL licensed and available here:
github.com/peter-pan08/LatheEasyStep

Critical feedback is explicitly welcome. I am more interested in doing it
right than doing it quickly.

Thanks in advance!

 
Attachments:
Last edit: 15 Dec 2025 12:51 by aDm1N. Reason: add pic
The following user(s) said Thank You: tommylight

Please Log in or Create an account to join the conversation.

More
15 Dec 2025 13:53 #340127 by cmorley
This should be moved to the Qtvcp section.
Looks promising! Keep is updated! If you get stumped with the programming i can try to help.

Please Log in or Create an account to join the conversation.

  • aDm1N
  • aDm1N's Avatar Topic Author
  • Away
  • Senior Member
  • Senior Member
More
15 Dec 2025 14:15 #340128 by aDm1N
I've never moved anything in a forum before, how do I do that?

Please Log in or Create an account to join the conversation.

  • tommylight
  • tommylight's Avatar
  • Away
  • Moderator
  • Moderator
More
15 Dec 2025 14:22 #340129 by tommylight

This should be moved to the Qtvcp section..

Done.
Thank you.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.154 seconds
Powered by Kunena Forum