[Plugin] RandomPushPull v2.5 20110709
-
Here's v2.4 http://forums.sketchucation.com/viewtopic.php?p=340452#p340452
The selection now passes to the newly pushpulled faces even though the original faces have been deleted by Sketchup... -
-
As I explained, the original face is lost with a pushpull so I need to find the equivalent new face... At the moment it matches area, face normal and face plane [offset by the pushpull distance] - even the slightest variance in the figures that Sketchup calculates will result in a mismatch - so I suspect that's why some faces are being ignored
Any ideas on a better way to spot newly pushpulled faces is invited... -
you can add a random move tool?
-
@tig said:
As I explained, the original face is lost with a pushpull so I need to find the equivalent new face... At the moment it matches area, face normal and face plane [offset by the pushpull distance] - even the slightest variance in the figures that Sketchup calculates will result in a mismatch - so I suspect that's why some faces are being ignored
Any ideas on a better way to spot newly pushpulled faces is invited...TIG,
Seems to work 100%, if you account for the tiny area difference of the new face. In line #64, I used "if face.area-e[0].abs < 0.000001" instead of "if face.area==e[0]".
Well, at least this worked on a 7 inch diameter sphere. Don't know if it will fail for other scales.
[Addition]
Ok, I had a chance to check if scaling would make the new area test fail. Looks ok so far. My sphere had 288 faces. Initially 7 inches in diameter. I've scaled it up to 70, 700, and 7000 inch diameter. And even with the larger areas, 0.000001 difference still worked to compare if the faces have the same area. The plugin still kept the selection on all 288 faces, in all the tests. -
Muchas gracias, me viene al pelo
-
Here's v2.5 http://forums.sketchucation.com/viewtopic.php?p=340452#p340452
Kyyu beat me to it with an 'area accuracy check', which now [hopefully] ensures that all of the selected faces that are pushpulled [and thereby get erased] now get their selection passed onto the the newly added face every time... -
Works like a charm
Again some requests- does it possible to keep the selection but separated like when you make a normal PushPpull with CTRL ?
- make a Scale on each face
This last must be asked also for Fredo Scale
Advertisement