The point I wanted to make is that such a statement
Ronaldo wrote
Module pointervers(v) produces a rotation that brings [0,0,1] to v.
is a bit too simplified (thus misleading) for what pointervers(v) does, 'cos
other than "bringing [0,0,1] to v", it also makes a swing of the obj, which
is evident if you compare the the figures I attached.
$ Runsun Pan, PhD $ libs: scadx , doctest , faces ( git ), offline doc ( git ), runscad.py ( 2 , git ), editor of choice: CudaText ( OpenSCAD lexer ); $ Tips ; $ Snippets
--
Sent from: http://forum.openscad.org/
@runsun
I agree with your observations. I just wanted to clarify that what you call
the "swing" produced by pointvers(v) is an additional rotation around axis
v (with an angle that depends on v). So it meets the requirement of
bringing [0,0,1] to v but adds another rotation on that. It is not a
minimum rotation like mine.
2018-05-19 20:13 GMT+01:00 runsun runsun@gmail.com:
The point I wanted to make is that such a statement
Ronaldo wrote
Module pointervers(v) produces a rotation that brings [0,0,1] to v.
is a bit too simplified (thus misleading) for what pointervers(v) does,
'cos
other than "bringing [0,0,1] to v", it also makes a swing of the obj, which
is evident if you compare the the figures I attached.