2009-03-03 06:00 AM
2009-05-20 07:02 AM
2009-05-21 10:38 AM
2009-05-21 11:23 AM
Maybe now GS/Nemetschek will start to develop a so much needed GDL 2.0...Or, at least, a decent developing environment.
2009-05-25 01:22 AM
2009-05-25 08:31 AM
hotspot2 0, 0 Why not call 1st one hotspot1?hmmm in GDL there are two commands for the HotSpots. One is "HOTSPOT" and is for the 3D script, and the other is "HOTSPOT2" and is for the 2D symbol. The number "2" here is part of the command name, so you can't change it!
hotspot2 a, 0 How does the “a” HS seem to know to go to near end of last board?The two numbers after the "HOTSPOT2" are the coordinates (X and Y), so the place where the hotspot goes. "a" is the parameter that hold the width of your object (is the very first, if you look at the "parameters" list of the object).
del 1 Why does this not delete the gosub just above?The "DEL" command only cancel the effect of the last performed transformation of the "stack". These are: MUL2 MUL MULX MULY MULZ ADD2 ADD ADDx ADDy ADDz
poly2 14, 7, Messed with different numbers but did not “get it.”You can't mess them. "14" is the number of nodes, and must correspond to the coordinates pairs that follow. "7" is a code that says to make a polygon BORDERED (1), FILLED (2), CLOSED (4). 1+2+4=7
Return why does this not say end?The script execution do NOT ends here. We are in a subroutine, and we have to go back to the calling point (just after the GOSUB)
2009-05-25 02:31 PM
for x = 0 to a step boardWidth + gap The beginning board location call out, right?I think you got this, but not 100%
add2 x, 0 Add two times board to get next board start?
Also played with “gap” parameter that was set as 0’ and yet there was a gap.It works for me. No gap, with value zero.
(Tried to attach a word.doc that I had formatted to read easier but would not accept .doc I found out) That's why there are no spaces between your script and my questionsNext time you can put an exclamation mark (!) to separate comments. This way we can simply copy-paste the whole thing to check.
2009-05-25 09:43 PM
0, chamfer, How does script know to put chamfer on bottom?In the POLY2 command, each line, after the first one, is a coordinate pair: X and Y of a node.
chamfer, 0, Can you also annotate the remaining lines?
2009-05-26 02:12 AM
2009-05-26 04:45 PM
2009-05-26 09:34 PM
lec1212 wrote:
Also I think the "a" hot spot is not spot on because the +gap parameter has pushed the boards past that point?
Still don't understand why in the parameters section the gap parameter keeps reverting back to 0 when I try to set it to 1/16".I'm on the metric side... do not know if this has something to do.
In my work environment level of fractions are set to down to 1/16".
PS; Also played with “gap” parameter that was set as 0’ and yet there was a gap.Sure, at the begining there was a small value, rounded to 0' in the input field, but still memorized as >0.
I changed it to 1/8” and gap got larger as I suspected, Then tried to change to 1/16” but it kept reverting
back to original 0’ but now at 0’ there was no actual gap. Did not understand that.