Revision: 73887
http://sourceforge.net/p/brlcad/code/73887
Author: starseeker
Date: 2019-09-11 13:00:46 +0000 (Wed, 11 Sep 2019)
Log Message:
-----------
This may not be the right approach - might be better to go with inserting local
points based on the trim bboxes, then just doing the surface breakdown and
rejecting at the end any points inside either the trim bboxes or bboxes defined
around the trim-inserted points. Need to experiment with whether inserting
points near trims from their bboxes is workable.
Modified Paths:
--------------
brlcad/trunk/src/libbrep/cdt_surf.cpp
Modified: brlcad/trunk/src/libbrep/cdt_surf.cpp
===================================================================
--- brlcad/trunk/src/libbrep/cdt_surf.cpp 2019-09-10 20:55:58 UTC (rev
73886)
+++ brlcad/trunk/src/libbrep/cdt_surf.cpp 2019-09-11 13:00:46 UTC (rev
73887)
@@ -644,9 +644,13 @@
//point on the surface? Would need to avoid too-close points from
//the main build of the surface, but that might be one way to
//get the points where we need them...
- if (tcnt > 2) {
+ //
+ // TODO - a simple tcnt isn't enough - we need to know if part of that
count is
+ // boxes that the close_edge breakdown wasn't able to resolve. if so, we
need
+ // to adjust tcnt accordingly in some fashion or this will infinite loop
+ if (tcnt > 3) {
- // We have trims involved.
+ // We have more than 1 trim involved - split.
split_u = 1;
split_v = 1;
} else {
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits