Keyboard Shortcuts
Likes
- Pcbgcode
- Messages
Search
Re: Protel 99SE or Altium and PCBgcode
#gcode
开云体育Hi John, Really the only avenue here is if you can import the files into Eagle. pcbgcode is heavily reliant on the way Eagle creates pours, and makes those polygons available to scripts. Regards, On 11/3/22 13:37, John Dammeyer wrote:
I've been a member of this group for years but until now the commercial side of work-work means I was required to use outside firms to make plated through 4 layer boards.? |
Protel 99SE or Altium and PCBgcode
#gcode
I've been a member of this group for years but until now the commercial side of work-work means I was required to use outside firms to make plated through 4 layer boards.?
Now I'm pseudo retired and looking again at doing small PC boards for my own amusement.? I still use Protel 99SE even though my last license for Altium was Version 18 and I do use that when needed. Is there a way to get pcbgcode to create the CNC router G-Code from Protel or Altium files? Thanks John |
Re: #pcbgcode #development
#pcbgcode
#development
I've done some more investigation into ver 3.6.6 by fudging the exit of the setup url.
Substituting?? [ m_cmd = "run pcb-gcode-setup;\n"; ]????? for?? [ m_cmd = "run " + g_path + "/pcb-gcode;\n"; ] allowed me to bypass the space in my user name.? (this is allowable in Windows, so must surely be a ulp language problem??). ? The setup url now runs, but has a really odd (and annoying) problem whereby changes to machine setup (in version 3.6.6) are not saved in "C:\Users\Peter Harrison\Documents\pcb-gcode\Settings", but instead appear in the settings folder of my earlier version 3.6.2.4 which is located in "C:\Users\Peter Harrison\AppData\Local\Pcb-gcode".? I guess I'll still be using ver 3.6.2.4 for a while!! Hope this is useful information. Peter H |
Re: #pcbgcode #development
#pcbgcode
#development
Hi Martin,
Strange, I have multiple copies in the "Viewer" folder i.e. in [C:\Users\Peter Harrison\Documents\pcb-gcode\viewer\applet\data] and [C:\Users\Peter Harrison\Documents\pcb-gcode\viewer\application.linux\data]? etc. According to the error popup, the programme isn't looking in the correct place.? As I commented before, there could be a problem with a directories list. Regards, Peter. |
Re: #pcbgcode #development
#pcbgcode
#development
Hi,
I also had that problem. It seems that there is no file called optimize_me.txt in that folder. I tried to things both worked for me. 1. I copied the optimize_me.txt from the 3.3.4 package (then, just in case there is something special for the 3.3.6 version, I deleted it again and....) 2. gave the <...>/data/ directory read/write permissions for users. (Reran the program and it created a new optimize_me.txt) -- Regards, M. |
Re: #pcbgcode #development
#pcbgcode
#development
Error popup during code generation.? This is a second attempt, the first failed apparently.? This popup makes me wonder if the problem is all about knowledge of directories - or lack of it.
|
Re: #pcbgcode #development
#pcbgcode
#development
Hi John,
Checked the Eagle directory paths and added the one for downloads - no change to error situation. Modified both lines containing ? [ m_cmd = "run " + g_path + "/pcb-gcode;\n";] to [m_cmd = "run \"" + g_path + "/pcb-gcode;\"\n";] by cut and paste - again no change to error situation. E Now for a stupid idea !!? Cut and pasted the end code of ver3.6.2.4? below? to replace the exit command setup code of ver 3.6.6. OMG - IT WORKED !!!!!?? Generated all the requested files and terminated correctly (I have had some hangups on 3.6.2.4 - but that's another story and probably not relevant here) Hope this hasn't given you another headache!! Regards? Peter // Setup the appropriate exit command. // m_cmd = ""; switch (Result) { ?? ?// Accept ?? ?case 1: ?? ???? if (m_setup_was_changed) ?? ???? ??? m_cmd = "run pcb-gcode-setup;\n"; ?? ???? break; ?? ?// Accept and make board ?? ?case 2: //??? dlgMessageBox("g_path = \"" + g_path + "\""); ?? ???? m_cmd = "run pcb-gcode;\n"; ?? ???? break; } exit(m_cmd); Late edit:- Even though the gcode files are seem correct, the programme does not save any altered parameters and appears to look for a file in ver 3.6.2.4.? - this gives rise to an error popup window. ? I'll investigate further and update this post if appropriate. Even later edit - Confirmed that ver 3.6.6 is actually creating the files - I began to wonder when an? error popup apeared (a total of 7 times) during programme execution - selected "OK"? each time to move on. Changes to the setup were not saved - defaults appeared each time the programme executed. At this stage I appear not to be able to add a picture, so will post it separately. ? ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????? |
Re: #pcbgcode #development
#pcbgcode
#development
开云体育Hm. Could be a space problem in the path (as others have said). Also, be sure your Downloads folder is the first entry in Eagle control panel's Options | Directories. Here's something else you could try. In pcb-gcode-setup.ulp, change this line (nearly the last in the file) m_cmd = "run " + g_path + "/pcb-gcode;\n"; to this: m_cmd = "run \"" + g_path + "/pcb-gcode;\"\n"; Note there are two added \" in the string. Let us know how it goes. --John
On 10/5/22 13:28, peterg1000 via
groups.io wrote:
Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder. |
Re: #pcbgcode #development
#pcbgcode
#development
开云体育Hi Guys, ? One thing I have noticed in the past is that pcbgcode does not like non alpha characters in the directory path names. I had a new laptop setup by our IT dept and they include an apostrophy in the PC name and hence directory paths for everything and that broke everything. While windows and possibly linux accept it nowadays I suspect it’s a bit of a legacy code or perhaps a limitation of the compiler used. Anyway found a space wasn’t working either. Had to reset up without any of the IT’s special characters and it all worked again. (albeit with a day wasted formatting and reinstalling everything. Well IT’s day not mine. I just got to point the finger ? ) ? ? From: [email protected] <[email protected]>
On Behalf Of Tobias Holzmann via groups.io
Sent: Thursday, 6 October 2022 8:45 AM To: [email protected] Subject: Re: [pcbgcode] #pcbgcode #development ? This error seems to be somehow identical to the one I had a few days ago by using the latest version of eagle 9.6.2 on my Linux computer (but I installed the windows version using wine).
? 05.10.2022 23:13:15 peterg1000 via groups.io <petergharrison@...>:
|
Re: #pcbgcode #development
#pcbgcode
#development
开云体育
This error seems to be somehow identical to the one I had a few days ago by using the latest version of eagle 9.6.2 on my Linux computer (but I installed the windows version using wine).
However, i just downloaded Eagle 9.6.2 on my Linux machine and used the latest version of the pcb-gcode and it worked quite nicely. 05.10.2022 23:13:15 peterg1000 via groups.io <petergharrison@...>:
|
Re: #pcbgcode #development
#pcbgcode
#development
Having thought about the error message - could it be that a space between my first and last names is causin a problem??
Peter. |
Re: #pcbgcode #development
#pcbgcode
#development
Hi Tobi,
Sorry about poor quality - I think the cropped corner will be more useful to you. Cheers Peter |
Re: #pcbgcode #development
#pcbgcode
#development
开云体育
Hey,
The picture is not very sharp but it seems to complain about a file which we can not be opened.? Can you re upload the image with higher quality or give us the text of the error? Thanks Tobi 05.10.2022 19:29:09 peterg1000 via groups.io <petergharrison@...>: Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder. |
#pcbgcode #development
#pcbgcode
#development
Having used PCB-GCODE for more than 6 years and seen that an new updated Version 3.6.6 was available, I decided to download and give it a try.?? Not wishing to damage the original running version, I installed it in my "Downloads" folder.
Starting the setup ulp from an existing Eagle design appeared problem free and I was able to set up all parameters without any problems, however as soon as I clicked on "Accept and make my board" an error pop up appeared!!? I've no idea what this file is about or how I should create it. See attached screen shot Fortunately reverting back to? Rev 3.6.2.4 was problem free, apart from some of the machine parameters having been "fiddled" with in the interim Please can someone lighten my darkness. Thanks |
Re: Error while starting generating the gcode
#pcb-gcode
Hey Tobi,
toggle quoted message
Show quoted text
Okay, that's a new one. Glad it's working for you. -- John On 10/5/22 03:25, Tobias Holzmann wrote:
Hey John |
Re: Error while starting generating the gcode
#pcb-gcode
Hey John
toggle quoted message
Show quoted text
thanks for your feedback. I totally agree and I made a mistake. I downloaded the latest "Linux" version of Eagle but it turned out that whatever file you select (MAC, LINUX, Windows) you always get the executive files for windows. Hence, there is a bug in the website. After realizing that, I got the version 9.3 and now things are working out properly and nicely. It was simply my mistake thinking that the Linux version should be installed via wine too. :) Thanks for that great tool. Tobi On 04.10.22 14:55, John Johnson wrote:
|
Re: Error while starting generating the gcode
#pcb-gcode
开云体育Hi Tobi, I'm not sure I follow what you're saying. You mention Ubuntu, but your screenshot seems to be from Windows? Also not sure about Meine.ulp. pcb-gcode-setup.ulp should allow you to change options, then run pcb-gcode.ulp to do the actual work of making the files. Also note that the directory for pcb-gcode files has to be in Options | Directories in the Eagle control panel. Please refer to the manual for details.
-- John On 9/27/22 6:51 AM, Tobias Holzmann
wrote:
|
Re: Error while starting generating the gcode
#pcb-gcode
Hey everybody, the error vanishes if I am using the pcb-gcode code from autodesk rather than the one from the repository. However, the viewer does not start automatically, hence, I will make further investigations.
|
Error while starting generating the gcode
#pcb-gcode
Hey everybody, Since a while I am looking for a new option to generate my own PCB's and I was always wondering if I can handle some PCB milling with my 3D printer. As I am having holiday at the moment and came across your very interesting program which convert the Eagle PCB data to some gcode, I am really interested in this approach. However, if I am going to start the generation of the gcode by clicking "Accept and create my board" within EAGLE, I get an error that stats that the `Meine.upl` can not be opened. Please see the image attached. I am using Ubuntu 22.04 on my laptop and I also tried to generate the file myself. Doing so, I got another error stating that we have an unexpected file ending. Would be nice to get some feedback from you. Tobi |
Re: pcbgcode.com domain secured
#pcb-gcode
开云体育Fantastic, I can remember when this site started and the amount of confusion that it caused.I am happy to see this come to a great end. Country On 8/28/2022 4:18 PM, John Johnson
wrote:
In a moment of being overly generous a few years ago, someone asked if they could register the pcbgcode.com and I agreed. Seventeen minutes later, I regretted it. He was selling some modified version of pcb-gcode, which also didn't sit well. Since 2003, my goal has been for pcb-gcode to be a free tool available to everyone that wanted it. |