PDA

View Full Version : selinvert() also selects hidden?!?!?



TripD
10-23-2010, 12:13 AM
So I'm closing in on creating a Sierpinski triangle script. The method I'm using seemed easy enough in my head, but doesn't seem to be working right just yet. part of the process is to use copy() of the original large tetrahedran, and then to scale it to 1/2 using the original four vertex points info as the center. Trouble is, when I use selinvert() to explicately 'grab' the new pasted original tetrahedran, the hidden already scaled one seems to get selected as well...... sigh.

Anyone care to have a look see? :D

Oh... the loop only goes to 2, because I was troubleshooting.

TripD
10-23-2010, 12:20 AM
Oh... also, ignore the 'Steps' variable... it will be used later as an outside loop counter to repeat what is happening in the existing loop.

TripD
10-23-2010, 11:47 AM
Ahhhh...... got it!!

selpolygon(SET,POLYNDX)

This will make it really easy!

TripD
10-23-2010, 07:57 PM
Finished it, for what it's worth.