[Plugin] QuadsFrom2Tris v1.3 20110312
-
TIG (c) 2011
All Rights Reserved.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED
WARRANTIES,INCLUDING,WITHOUT LIMITATION,THE IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
Plugin:
QuadsFrom2Tris.rb >> Plugins folder
Usage:
Plugins menu >> "Quads From 2 Triangles..."
Result:
Processes 2 preselected connected triangles into 5 quads, with a central
hub-diamond placed just above/below the common-edge depending on
convex/concave surfaces.
If the 2 triangles are coplanar they are combined into 1 quad.
The Triangle's Materials and Layers are preserved.
or use in other code as
QuadsFrom2Tris.new() or quadsfrom2tris()
Without arguments it needs 2 preselected triangular faces, or use as
QuadsFrom2Tris.new([tri1, tr2]) or quadsfrom2tris([tri1, tr2])
where tr1 and tr2 are the two connected triangular faces.
Donations:
By Paypal.com to info @ revitrev.org Version:
1.0 20110310 First issue.
1.1 20110310 Reversed faces glitch etc fixed.
1.2 20110311 Off of 'hub' optimized.
1.3 20110312 Occasional glitch with some configurations addressed.
-
Amazing no one ever thought of this before?
-
@unknownuser said:
Amazing no one ever thought of this before?
I was nudged into it by some PM nagging
-
Wish GRANTed! Lucky member who it was?
-
@unknownuser said:
Wish GRANTed! Lucky member who it was?
I don't exactly remember the member... but I think he sounds wealthy
-
I've just finished testing it... and in some circumstances I've found that it can reverse some faces and mess up concave surfaces... I'm already working on an update
-
Here's v1.1
The reversed faces glitch etc have been fixed.
http://forums.sketchucation.com/viewtopic.php?p=315130#p315130 -
Here's v1.2 http://forums.sketchucation.com/viewtopic.php?p=315130#p315130
The offset of the 'hub' has been [re]optimized... -
TIG,
I first ran it on the opposite side to this and it worked perfect. Did the other side and this is the result...
Nothing in Ruby Console if that helps?
-
@unknownuser said:
TIG,
I first ran it on the opposite side to this and it worked perfect. Did the other side and this is the result...
Nothing in Ruby Console if that helps?Strangely when I run it on the SKP you provided before I get perfect results on BOTH sides
Can you retry and PM me the problem SKP if it keeps happening. I can't see how this might happen ? -
This actually does it on both sides
-
Here is v1.3 http://forums.sketchucation.com/viewtopic.php?p=315130#p315130
This now successfully works even on the configuration supplied by Rich [I still can't see why it was failing... BUT it seems like it intersected with a ghost of part itself - weird - - this new version avoids this issue by making sure there are no coplanar edges at a crucial stage in the reforming ]
It's now a bit like 'Aspirin' - it is efficacious, but no one is sure exactly 'how' -
Works fine, trying my hardest to break it..
Advertisement