Problem.
I need to calculate a new wobj based on user input and a known PERS wobjdata “wobjCalib”.
Question:
Is there any vector operations available in the ABB. namespace? It would be convenient to be able to say something like: (pseudo syntax)
WobjData wobjUserDefined = wobjCalib + new VectorOffset(Xdist,0,0);
It also involves rotation etc, so it is unfortunately necessary with a bit of computing before generating the program.
A possible way is to convert the ABB objects into the appropriate classes in Microsofts System.Windows.Media.Media3D namespace (Wpf .Net 3.5 PresentationCore.dll if I remember correctly) and do the manipulations there, and then send it back again…
But it is a bit annoying to do conversions to get a bit of math functionality…