daily pastebin goal
60%
SHARE
TWEET

Untitled

a guest Jun 14th, 2018 58 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. (
  2.  
  3. ln = line()
  4. addNewSpline ln
  5. addKnot ln 1 #corner #line [1,0,0]
  6. addKnot ln 1 #corner #line [5,0,0]
  7. format "ln: % : %\n" (superClassOf ln) (classof ln)
  8. convertToSplineShape ln; updateShape ln
  9. format "ln: % : % -- still not a splineshape :(\n" (superClassOf ln) (classof ln)
  10.  
  11. ss = SplineShape()
  12. addNewSpline ss
  13. addKnot ss 1 #corner #line [-5,0,0]
  14. addKnot ss 1 #corner #line [-1,0,0]
  15. format "ss: % : %\n" (superClassOf ss) (classof ss)
  16.  
  17. )
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top