Documenting Vector, Matrix, Rotation & Placement Expressions
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
- adrianinsaval
- Veteran
- Posts: 5552
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
realthunder's explanation of this stuff: https://forum.freecadweb.org/viewtopic. ... 74#p330713
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
Thanks for the interest and feedback all.
I made an attempt to document the create function, and tuple / list functions on the Expressions page.
Additionally, I made mention of this on the Placement page under the "Using Placement in expressions" section.
I still plan to document Matrix Functions (i.e. mscale and minvert).
I made an attempt to document the create function, and tuple / list functions on the Expressions page.
Additionally, I made mention of this on the Placement page under the "Using Placement in expressions" section.
I still plan to document Matrix Functions (i.e. mscale and minvert).
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
Thanks; good solution with the reference.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
I made one more pass at the Expressions page with the following changes:
- Documented mscale and minvert matrix functions.
- Documented hypot and cath trig functions.
- Added a couple links to the v0.19.2 FreeCAD source code in case the Wiki page and code ever gets out of sync. It may be easier to reconcile them.
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
Thank you very much!
Regards / Viele Grüße
Max
Max
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
I suspect that this V0.19.2 code is more or less static as we are currently developing V0.20. So I do not fully understand the logic behind these links.
Re: Documenting Vector, Matrix, Rotation & Placement Expressions
Yes, the links are pinned to the latest release, the static v0.19.2 version, and should not ever change.
If you link to code that changes, like the master branch, then your links may become out of date, or bad in the future as the code changes.
Knowing where these are defined in the source code for v0.19.2 can help people track down where these will be defined in the code for future releases like v0.20.0.
For example, if more predefined functions are added, but not documented.
---
P.S. It looks like a new str function will be avaliable in the next release (see here).
(This link with line numbers included, may not be good in the future as master changes over time.)