discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

dotSCAD 1.1

C
caterpillar
Sat, May 4, 2019 1:25 PM
- New matrix functions: - m_multiply <https://openhome.cc/eGossip/OpenSCAD/lib-m_multiply.html> - m_cumulate <https://openhome.cc/eGossip/OpenSCAD/lib-m_cumulate.html> - m_translation <https://openhome.cc/eGossip/OpenSCAD/lib-m_translation.html> - m_rotation <https://openhome.cc/eGossip/OpenSCAD/lib-m_rotation.html> - m_scaling <https://openhome.cc/eGossip/OpenSCAD/lib-m_scaling.html> - m_mirror <https://openhome.cc/eGossip/OpenSCAD/lib-m_mirror.html> - m_shearing <https://openhome.cc/eGossip/OpenSCAD/lib-m_shearing.html> - New modules: - shear <https://openhome.cc/eGossip/OpenSCAD/lib-m_shearing.html> - New Parameters: - added v parameter to rotate_p <https://openhome.cc/eGossip/OpenSCAD/lib-rotate_p.html> - Improved Performance: - path_extrude <https://openhome.cc/eGossip/OpenSCAD/lib-path_extrude.html> - align_with <https://openhome.cc/eGossip/OpenSCAD/lib-along_with.html> ----- http://openhome.cc -- Sent from: http://forum.openscad.org/
C
caterpillar
Sat, May 4, 2019 1:27 PM
Repo: https://github.com/JustinSDK/dotSCAD ----- http://openhome.cc -- Sent from: http://forum.openscad.org/
A
ats3788
Sat, May 4, 2019 2:48 PM

What a wonderful Artwork Perfect to fiddle with. If this has a positive
meaning THX

--
Sent from: http://forum.openscad.org/

What a wonderful Artwork Perfect to fiddle with. If this has a positive meaning THX -- Sent from: http://forum.openscad.org/
NH
nop head
Tue, May 7, 2019 6:44 AM

OpenSCAD has matrix multiplication built in. E.g. ma * mb.

On Sat, 4 May 2019 at 15:49, ats3788 ats3788@gmail.com wrote:

What a wonderful Artwork Perfect to fiddle with. If this has a positive
meaning THX

--
Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

OpenSCAD has matrix multiplication built in. E.g. ma * mb. On Sat, 4 May 2019 at 15:49, ats3788 <ats3788@gmail.com> wrote: > What a wonderful Artwork Perfect to fiddle with. If this has a positive > meaning THX > > > > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
C
caterpillar
Tue, May 7, 2019 8:59 AM

You might mean things like [1,2,3]*[4,5,6].

Matrices passed into m_multiply have the data structure [[1,2,3],[4,5,6]]
required by multmatrix.


http://openhome.cc

Sent from: http://forum.openscad.org/

You might mean things like [1,2,3]*[4,5,6]. Matrices passed into m_multiply have the data structure [[1,2,3],[4,5,6]] required by multmatrix. ----- http://openhome.cc -- Sent from: http://forum.openscad.org/
C
caterpillar
Tue, May 7, 2019 9:22 AM

I didn't know it!!!! Thank you very much!!!!


http://openhome.cc

Sent from: http://forum.openscad.org/

I didn't know it!!!! Thank you very much!!!! ----- http://openhome.cc -- Sent from: http://forum.openscad.org/
NH
nop head
Tue, May 7, 2019 9:23 AM

Your first examples are vectors and I think it does the dot product in that
case but if you pass matrices as your second example it does matrix
multiplication as long as the dimensions are compatible. In you case 4 x 4
will work fine.

On Tue, 7 May 2019 at 10:00, caterpillar caterpillar@openhome.cc wrote:

You might mean things like [1,2,3]*[4,5,6].

Matrices passed into m_multiply have the data structure [[1,2,3],[4,5,6]]
required by multmatrix.


http://openhome.cc

Sent from: http://forum.openscad.org/


OpenSCAD mailing list
Discuss@lists.openscad.org
http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org

Your first examples are vectors and I think it does the dot product in that case but if you pass matrices as your second example it does matrix multiplication as long as the dimensions are compatible. In you case 4 x 4 will work fine. On Tue, 7 May 2019 at 10:00, caterpillar <caterpillar@openhome.cc> wrote: > You might mean things like [1,2,3]*[4,5,6]. > > Matrices passed into m_multiply have the data structure [[1,2,3],[4,5,6]] > required by multmatrix. > > > > ----- > http://openhome.cc > -- > Sent from: http://forum.openscad.org/ > > _______________________________________________ > OpenSCAD mailing list > Discuss@lists.openscad.org > http://lists.openscad.org/mailman/listinfo/discuss_lists.openscad.org >
C
caterpillar
Tue, May 7, 2019 9:43 AM

Yes, you are right. I soon found that 4 x 4 will work fine so I deleted my
origin reply :p

Thank you very much again. It helps a lot!


http://openhome.cc

Sent from: http://forum.openscad.org/

Yes, you are right. I soon found that 4 x 4 will work fine so I deleted my origin reply :p Thank you very much again. It helps a lot! ----- http://openhome.cc -- Sent from: http://forum.openscad.org/