Path comments tool

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!
darrylb123
Posts: 6
Joined: Sun Mar 05, 2023 9:15 pm

Re: Path comments tool

Post by darrylb123 »

Ok, what I meant by broken is still there.
A path job created in 0.20 or older, when opened into 0.21, does not display the Job dialog box when clicked on.
The Job icon is not beside a list of operations etc but by itself.
When the Job is double clicked, the dialog does not open.

A drawing created in 0.21 does not display this behaviour.
Attachments
Screenshot from 2023-03-09 09-42-15.png
Screenshot from 2023-03-09 09-42-15.png (21.62 KiB) Viewed 990 times
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path comments tool

Post by chrisb »

darrylb123 wrote: Wed Mar 08, 2023 11:44 pm A path job created in 0.20 or older, when opened into 0.21, ...
See this pinned topic. There are two Python scripts which migrate old models to the new format.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
darrylb123
Posts: 6
Joined: Sun Mar 05, 2023 9:15 pm

Re: Path comments tool

Post by darrylb123 »

My oh My, this is really going to cause problems.
We're a bunch of retirees learning to operate a home made CNC router and learning FreeCAD at the same time.
Changing all the models to work only on 0.21 is about 10 bridges too far. This will take some careful planning.

Definitely not going to do this until 0.21 is released.

Looks like no comments in gcode files for a while longer yet.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path comments tool

Post by chrisb »

darrylb123 wrote: Thu Mar 09, 2023 5:13 am Definitely not going to do this until 0.21 is released.
I would rather recommend the opposite: the earlier the better. A migration is another step, and unknown issues can occur.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Path comments tool

Post by GeneFC »

darrylb123 wrote: Thu Mar 09, 2023 5:13 am Looks like no comments in gcode files for a while longer yet.
Not sure what you are doing with the comments, but it is a trivial edit to add a comment as soon as the g-code file is created. Then it will be there for any subsequent users of that g-code on actual shop machines.

When I need comments that is exactly what I do.

Gene
jbraun
Posts: 253
Joined: Fri Sep 18, 2020 5:41 pm

Re: Path comments tool

Post by jbraun »

Something to consider with the g-code being shared among users:
https://wiki.freecad.org/Path_Sanity
Text entered in General>Job Description will show in the html file or the file can be edited in the usual ways.
Just a thought, use or ignore as suits your needs.
For English help on youtube check out Joko Engineering or Mango Jelly Solutions.
Look for recent videos, this software is updated at a rapid pace.
Russ4262
Posts: 953
Joined: Sat Jun 30, 2018 3:22 pm
Location: Oklahoma
Contact:

Re: Path comments tool

Post by Russ4262 »

darrylb123 wrote: Mon Mar 06, 2023 10:36 pm ... Attached is a simple square with a path to route it out. A comment using the comment tool is added after the operation. The comment does not appear in the gcode output.
The comments in the gcode was working for 0.19 but has not worked for any of the 0.20 series.
Run the attached macro within any file that is not printing the comments. It adds the 'Active' property to any Comment objects that are lacking it. This does the trick on my end using the FC version included below and a 'grbl' post-proccessor.

Russell

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * FC_SU
  * freecad.gears 1.0.0
  * Z_MacroStartup
Attachments
Make_Comments_Active.FCMacro
Helper script to add 'Active' property to Comment objects lacking the same.
(1.09 KiB) Downloaded 21 times
User avatar
freman
Veteran
Posts: 2214
Joined: Tue Nov 27, 2018 10:30 pm

Re: Path comments tool

Post by freman »

And there are many power users around, who use this 0.21 version, without issues. GeneFC is one of them who also uses Path.
I don't mean to follow all updates, but we seem to have currently a very stable phase, which I can highly recommend.
I would not call myself a "power user" but I've been using FC for years and know the ropes. I've just moved to 0.21 and I've had nothing but problems and breakage since I did. YMMV.
User avatar
freman
Veteran
Posts: 2214
Joined: Tue Nov 27, 2018 10:30 pm

Re: Path comments tool

Post by freman »

chrisb wrote: Wed Mar 08, 2023 11:55 pm
darrylb123 wrote: Wed Mar 08, 2023 11:44 pm A path job created in 0.20 or older, when opened into 0.21, ...
See this pinned topic. There are two Python scripts which migrate old models to the new format.
Caveat Emptor !!

Please do not recommend that script without the warning that it is experimental, may trash your files and you should keep copies of everything before trying it.

The author says:
No warranties or guarantees implied, otherwise suggested, supported or otherwise offered. Use at your own risk. Please backup your originals before enjoying with a smile the attached script.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Path comments tool

Post by chrisb »

freman wrote: Sat Mar 18, 2023 10:24 pm Please do not recommend that script without the warning that it is experimental, may trash your files and you should keep copies of everything before trying it.

The author says:
No warranties or guarantees implied, otherwise suggested, supported or otherwise offered. Use at your own risk. Please backup your originals before enjoying with a smile the attached script.
I'm puzzled. What do you want me to do?? As you quote yourself it's all written in the post containing the script.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply