Results 1 to 2 of 2

Thread: Point order

  1. #1
    Newbie Member
    Join Date
    Feb 2003
    Location
    Australia
    Posts
    65

    Question Point order

    Hi all. This is my first post in the Lscript forum. I hadn't really touched it before but since I've been doing heaps of programming of various types at work, I thought I would finally try Lscript.
    I am currently using 2.2.2 with LW 6.5b.

    My question is : after creating points at certain locations to add to some existing points, the internal points variable keeps the points in the order of creation. Is there a way to reorder those points for selection so that I can create a poly or closed curve using the point selection. If they aren't in the correct order the shape is messed up obviously.

    Apart from that my script works fine and I'll post it when its done.

    CHEERS!
    When I was young, I wanted to work hard and make lots of money. Now I work hard, make lots of money and want to be young.

  2. #2

    Re: Point order

    Originally posted by Roux
    My question is : after creating points at certain locations to add to some existing points, the internal points variable keeps the points in the order of creation. Is there a way to reorder those points for selection so that I can create a poly or closed curve using the point selection. If they aren't in the correct order the shape is messed up obviously.
    i think you need to use selmode(USER). this is usually invoked at the beginning of the script.

    by default, all lscript are in selmode(GLOBAL) (with or without callling it).
    "The hardness of God is kinder than the softness of men, and His compulsion is our liberation." - C.S. Lewis


Bookmarks

Posting Permissions

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