Page 1 of 1

Path sanity

Posted: Fri May 13, 2022 2:39 am
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)

Re: Path sanity

Posted: Fri May 13, 2022 2:43 am
by WarrenkCash
See attached files.