SPINDLE_WAIT

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
phil from seattle
Posts: 7
Joined: Fri Jul 30, 2021 5:24 pm
Location: Seattle, WA, USA
Contact:

SPINDLE_WAIT

Post by phil from seattle »

I am a bit of a FreeCAD newbie but pretty experienced in other CAD and CAM systems.

I see this in the grbl_post.py script:

Code: Select all

      if SPINDLE_WAIT > 0:
        if command in ('M3', 'M03', 'M4', 'M04'):
          out += linenumber() + format_outstring(outstring) + "\n"
          out += linenumber() + format_outstring(['G4', 'P%s' % SPINDLE_WAIT]) + "\n"
          outstring = []
Where do I set SPINDLE_WAIT in FreeCAD? I've looked through Path/* and Edit/Preferences/Path/*
spanner888
Posts: 327
Joined: Tue May 28, 2019 10:51 am

Re: SPINDLE_WAIT

Post by spanner888 »

phil from seattle wrote: Fri Jul 30, 2021 6:02 pm Where do I set SPINDLE_WAIT in FreeCAD?
Looks like this is set when creating or editing the Job, in the Output Tab, Arguments field. Hover to get help text, or since you are already looking in grbl_post.py then see around line 100:

Code: Select all

parser.add_argument('--wait-for-spindle',   type=int, default=0, help='Wait for spindle to reach desired speed after M3 / M4, default=0')
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: SPINDLE_WAIT

Post by Kunda1 »

@spanner888, offtopic github tip (should also work for gitlab).
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
phil from seattle
Posts: 7
Joined: Fri Jul 30, 2021 5:24 pm
Location: Seattle, WA, USA
Contact:

Re: SPINDLE_WAIT

Post by phil from seattle »

Ah! thank you. I guess I am just too impatient - hover delay seems pretty long.
spanner888
Posts: 327
Joined: Tue May 28, 2019 10:51 am

Re: SPINDLE_WAIT

Post by spanner888 »

Kunda1 wrote: Fri Jul 30, 2021 11:55 pm @spanner888, offtopic github tip (should also work for gitlab).
Nice tip thanks.
Post Reply