Open full view…

Howto sharing some code modifications

Sun, 01 Jan 2017 12:30:49 GMT

Hi Juan Pablo, first of all I must say thank you for this remarkable tool. I've been using it for the last year or so for PCB prototyping in combination with Autoleveller and I find it very usefull. One thing I've found very unconfortable to my taste is the need to modify the generated G-Code before going to the CNC mill. The generated code is not exactly bad or wrong, but I needed to make a number of manual optimizations for the tool change code and for improving safety in some movements. I normally work on Windows so I tried to setup the development environment for Windows, but failed. It was relatively strightforward to set it up in Linux (Debian 8.6.0), though. Is there any step by step guide for seting up the development environment for Windows? I downloaded the source code and applied some modifications to camlib.py and FlatCAMObj.py. Is there any way I could sent you the code back, I don't see how I could attach a file here? Once again, thanks a lot for sharing this tool with us. Victor

Thu, 19 Jan 2017 14:25:52 GMT

Hi Victor, The way FlatCAM and most other open source software is similar. You start by making a clone of the repository in Bitbucket (Go to the Development in flatcam.org). Then you make your changes in your computer, update them to your copy of the repository, and when you are ready to share, you make a "Pull Request" to the original repository. You can find docs and tutorials of this whole methodology in bitbucket.org. JP