Path sanity

Here's the place for discussion related to CAM/CNC and the development of the Path module.
Post Reply
WarrenkCash
Posts: 17
Joined: Wed Aug 04, 2021 9:10 am

Path sanity

Post by WarrenkCash »

I am not a coder just a hack and I have a go at most things. The code I modified is pretty simple but possibly not up to the coding standard
everyone is used to. I have modified PathSanity.py mostly to my liking . I have marked most mods in the file attached but may have missed some as I did not intend to go as far as I did.
I added extra fields and also change the feed rates as per Sliptonics suggestion in a another Path Sanity thread. The extra fields may cause trouble if the are not added to your tools propertybag as I have not tested on all my tools.
I hope this is help full even if just to give the sliptonic some feed back. I have spent some time learning this but it is not my work its slitonics. I just added things I wanted , most of which are already in the wings waiting to be included.
My default output file is %D%d this didn't work on my system. I got a file named "%d".ascciidoc. I did sort this out and is marked in the file.
The asciidoc file is created then I get this error.
12:21:01 asciidoc file written to /home/wil/CNC/MI8Phone/Mi8Fixture 172x68x29v5.asciidoc
12:21:01 [Errno 2] No such file or directory: 'asciidoctor'HTML report written to /home/wil/CNC/MI8Phone/Mi8Fixture 172x68x29v5.html
This I have not been able to fix. I think this may be a snap related problem according to some google searching. I just go to into the dir with my files and open a terminal then run the command "asciidoctor myfilename.asciidoc" without quotes to generate the HTML file.
Hope this is helpull and happy FreeCADing.

OS: Ubuntu Core 20 (ubuntu:GNOME/ubuntu)
Word size of FreeCAD: 64-bit
Version: 2022.512.14555 (Git shallow)
Build type: Release
Branch: (HEAD detached at 2022.05.12-edge)
Hash: 8f837b53c108a2444535be2604fdf31170dcf7f0
Python version: 3.8.10
Qt version: 5.15.3
Coin version: 4.0.1
OCC version: 7.6.2
Locale: English/Australia (en_AU)
WarrenkCash
Posts: 17
Joined: Wed Aug 04, 2021 9:10 am

Re: Path sanity

Post by WarrenkCash »

See attached files.
Attachments
PathSanity.py
(31.61 KiB) Downloaded 17 times
Screenshot 2022-05-13 at 12-14-11 Setup Report for FreeCAD Job Job_Mi8_Fixture.png
Screenshot 2022-05-13 at 12-14-11 Setup Report for FreeCAD Job Job_Mi8_Fixture.png (804.31 KiB) Viewed 294 times
Post Reply