zoltar wrote:
I went down to line 84 and I put 12 next to res and got a message that said "no comma in line 84", so I put a comma in and get another message saying "too many parameters in line 84".
The code should look like this (I have added the lines before and after the altered code:
material matm
resol 12
add a1-0.05, 0, -d-0.03
So make sure that this is the exact code, GDL does not allow minor mistakes. The
resol command take only one variable, so there should be no comma, you can read about this command in the GDL manual. You might want to make sure that you are on the correct line of the script, there is a "Go to Line..." command available when editing library parts, I have added it to the Edit menu, but you may need to add this to your Work Environment as I don't know if it is there in the default Work Environments.
zoltar wrote:
Also there seems to be a problem in line 28 of the 3d script. Something about a "non-instanced, non-initialized parameter". I'm using the greek localized version so as the message makes no sense to me I might be off with the translation.
This refers to the line:
if mir1=1 then
which I think has to do when the part is mirrored (just a guess), where the variable
mir1 has not been defined, so this is just a warning but does not affect the running of the script, so you can leave it alone, this warning will appear when checking the script but not when the script is run.
The ideal solution for these issues would be to contact the author of this part so he/she can correct it (there is a copyright notice and name at the top of the 3D Script) and post a better version, but this is not a bad way to learn a bit about GDL.
HTH
David