Fist af all Thanks and Regards to all partecipants.
@Paula, I don't want to begin a flame war nor make any personal offense to you, it's only for clarity.
As I'm not very skilled in math, but I'm using FreeCAD almost daily using mostly Scripting where concepts and math became "very important" if not "vital", I have some concepts, maybe very wrong, so clarify primarily my mind.
But for my mental sanity, to honor the original scope of this post, which was to gather better explanation of a base concept that seems to have many misunderstanding if you read many forum posts.
From edwilliam16 explanation:
The length of the vector v1 is given by Pythagoras' theorem (in 3D):
Code: Select all
import math
math.sqrt(v1.x * v1.x + v1.y * v1.y + v1.z * v1.z)
but the first result of a internet search of "vector magnitude" give this result.
https://mathinsight.org/definition/magnitude_vector
So if my rusted math is not too wrong, the formulas, seems very much similar, so your assumption is not in line with that explanation.
From what I could guess as you are dealing with coordinates, and numbers are starting by 0, so the origin of a Vector is "implicitly" the origin Vector(0,0,0)
Or maybe I'm doing some wrong assumptions?
I know also that Vector has a slightly different concepts when used in Physics (the force and speed are physics concepts) maybe this is one of the sources of confusion, at least for me and from many forum post also for other people.
The situation is even worse as in FreeCAD vector is used also for rotation, where it resemble simply to a collection of "rotation number" when entered, but became a different thing when is used as output of some methods.
Not forgetting of the "orientation plane" when used as Vector(0,0,1) to set the orientation in space of a 2D curve, as circle and so on.
For all these different conceptsI have created this post, hoping that more competent people than me could gave some explanation that maybe could became a better documentation not only for beginners but also for more advanced user.
@edwilliams16 there is some chances that your page will became a wiki page soon?
Carlo D.