Re: [NTG-context] Trouble constructing a drawer rail with MP

2021-05-22 Thread Willi Egger
Hello Mikael, thank you very much for the explanation. Indeed I was assuming that giving the starting point of a path followed by a dir would result in a vector starting from that point. — My knowledge about vectors is unfortunately super restricted :-( Thanks Willli > On 21 May 2021, at

Re: [NTG-context] Trouble constructing a drawer rail with MP

2021-05-21 Thread Mikael Sundqvist
Hi, It was in fact not really "working", but it just happened that it looked more or less correct in one case, but not in the other. For example: The path Pkt[1]--dir(194)*10mm for example is not given by the two points Pkt[1] and "Pkt[1] shifted 10mm in direction 194 degrees", but Pkt[1] and

Re: [NTG-context] Trouble constructing a drawer rail with MP

2021-05-21 Thread Willi Egger
Hi Jairo! thank you so much, this is precisely what I need. Still I am wondering why this is not working starting at the Pkt[2] but working when starting from Pkt[1]. Kind regards Willi > On 21 May 2021, at 13:15, Jairo A. del Rio wrote: > > Hi! > > Do > > p[102] :=

Re: [NTG-context] Trouble constructing a drawer rail with MP

2021-05-21 Thread Jairo A. del Rio
Hi! Do p[102] := (origin--dir(194)*10mm) shifted Pkt[1]; and p[103] := (origin--dir(166)*10mm) shifted Pkt[2]; do what you need? Jairo El vie, 21 de may. de 2021 a la(s) 05:57, Willi Egger (cont...@boede.nl) escribió: > Hello MP Gurus! > > I wanted to make a technical drawing. However the

[NTG-context] Trouble constructing a drawer rail with MP

2021-05-21 Thread Willi Egger
Hello MP Gurus!I wanted to make a technical drawing. However the enclosed mwe does not give me the required results.While the vector from point 1 is directing in the desired direction of 194 degrees, the second vector from point 2 does not as defined point in the direction of 166 degrees.What am I