Results 1 to 4 of 4

Thread: setting select status of NURBS cv

  1. #1

    setting select status of NURBS cv

    is there a way to set the select status of a NURBS cv?

    for Bezier curves, we have the BezTriple object with the "selects" list for each point. but a NURBS point is just a list of 4-5 floats. where is the select status stored?

    thx



  2. #2
    Member
    Join Date
    Mar 2002
    Location
    PACA, France
    Posts
    3,701
    Originally Posted by ncy View Post
    is there a way to set the select status of a NURBS cv?

    for Bezier curves, we have the BezTriple object with the "selects" list for each point. but a NURBS point is just a list of 4-5 floats. where is the select status stored?

    thx
    A nurbs point should be a bezierpoint too :
    http://www.zoo-logique.org/3D.Blende...ml#__getitem__



  3. #3
    hi jms, thanks for replying.

    the problem with CurNurb's getitem is, it returns a python list of 5 floats if it's a NURBS cv. there's no flag attribute named "sel" or "select" (not that i can find ...).

    in the case of Bezier curves, it works fine, because it returns a BezTriple objects instead of a list. the BezTriple objects has a list called "selects" that stores the select status of each point and its handles.



  4. #4
    Member VeroWright's Avatar
    Join Date
    Dec 2016
    Location
    New York, NY
    Posts
    9
    Interesting points! It needs to be printed and placed on the wall until you'll learn them all.



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •