Descriptive header in the toolpath file

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
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Descriptive header in the toolpath file

Post by CandL »

Ok I admit it, my "book keeping" skill are virtually non-existent. I will come up with a file that is well named ie trivet_6_by _5_.25EM if I am being real good. But usually I end up opening the file called "Foot" and try to remember just what it goes to.

Is it possible to have a header in the front of the toolpath that record things like:

Stock Size
Bits required
etc.

Basically the known parameters

Something like:

Code: Select all

(Exported by FreeCAD)

(Start new stuff)
( Stock Size X 13in  y 15in )
( Bits used: 0.25 Endmill Whiteside RU2076 )
(Estimated Time: 8.36 min)
(Notes: FreeCad is doing what I need it to do... happy dance)
(End new stuff)

(Post Processor: grbl_post)
(Output Time:2022-03-02 10:07:24.729844)
(Begin preamble)
G17 G90
G21
(Begin operation: Fixture)
(Path: Fixture)
G54
(Finish operation: Fixture)
(Begin operation: TC: 0.25 Endmill Whiteside RU2076 )
(Path: TC: 0.25 Endmill Whiteside RU2076 )
(TC: 0.25 Endmill Whiteside RU2076 )

Thanks
Carl
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: Descriptive header in the toolpath file

Post by GeneFC »

You can add a comment using the supplemental commands. I do not think there is an icon, but the Path menu dropdown includes the comment command.

I recall you use scripting. I cannot say how to proceed, but it should be possible.

The only issue is that the comment is inserted after a number of other headers, not right at the top.

Gene
CandL
Posts: 87
Joined: Thu Oct 29, 2020 6:41 pm

Re: Descriptive header in the toolpath file

Post by CandL »

Thanks, I had not seen the comment command... I wikk give it a whrl
Post Reply