What is wrong with the following def?

69 views
Skip to first unread message

Mirko Vukovic

unread,
Jan 19, 2012, 4:00:45 PM1/19/12
to sketch...@googlegroups.com
Hello,

I am picking up sketch after a long break, and I am stymied with the syntax error in the following statement:

def pt rotate(15, (0,0,0), [0,-1,0])(1/3,l/2,0)

Thank you,

Mirko

Gene Ressler

unread,
Jan 19, 2012, 4:40:36 PM1/19/12
to sketch...@googlegroups.com
Hi Mirko.  You'll be good if you put a * between the factors.  Also your l/2 has the letter ell rather than a 1 in it.

Gene


--
You received this message because you are subscribed to the Google Groups "Sketch Users" group.
To post to this group, send email to sketch...@googlegroups.com.
To unsubscribe from this group, send email to sketch-users...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sketch-users?hl=en.



--
Gene Ressler

Mirko Vukovic

unread,
Jan 19, 2012, 8:59:09 PM1/19/12
to sketch...@googlegroups.com
Thanks,

def pt rotate(15,(0,0,0),[1,1,1])*(0,1,0)

does the trick
Reply all
Reply to author
Forward
0 new messages