What does it do, I mean what do the numbers mean?
(I could only google that one user already asked this (https://forum.freecadweb.org/viewtopic. ... 10#p242878) but got no reply.)
Abdullah?
Many thanks! (strange that I could not google this)bejant wrote: ↑Sun Jul 14, 2019 9:21 pm https://forum.freecadweb.org/viewtopic.php?f=10&t=28890
https://forum.freecadweb.org/viewtopic.php?f=22&t=29184
the first item is "0" and the next "1" in Python, but in the GUI the first is 1. This has always been like that, the extended info is reading the number you see from Python. You have to allow for that when writing code/macro in Python.
You're welcome, I had trouble finding it in the past too so since then I have had those pages Bookmarked.
That may be; from the 3rd reply in the first link:
The internal Python identifier might be different than what is displayed to the user.[(GeoId1,PosId1);(GeoId2,PosId2);(GeoId3,PosId3)]
GeoId identifies the element. It is the value you use in Python to identify the geometric element.
PosId is: 0 = the edge, 1 = starting point, 2 = endpoint, 3 = midpoint
I raised the topic now in the original thread of implementation: https://forum.freecadweb.org/viewtopic. ... 0&start=20
[Off topic]It was very well known in high level programming languages how to handle arrays that start at an arbitrary index, until C came around - the best assembler I have ever seen. Sad to say, but there are very well educated people who think it is high level near to natural thinking, to have months from 0 to 11 and days from 0 to 30. But that's the way it is.[/Off topic]TheMarkster wrote: ↑Mon Jul 15, 2019 1:31 am In programming lists almost always begin with the first item at index 0.
You were not exaggerating. Of course CAD needs a lot of knowledge but with the focus on uneducated users you keep the focus on simplicity.