• Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Social Media
    •   @Wings3dOfficial
    •   @Wings3dOfficial
    •   Wings3dOfficial
    •   Wings3dOfficial
  • Register
  • Login
  • Website
  • Search
  • Member List
  • Help
  • Old Forum
  • Register
  • Login
Wings 3D Development Forum Wings 3D Design & Development v
« Previous 1 … 7 8 9 10 11 Next »
Still having lots of trouble with this routine.

 
  • 0 Vote(s) - 0 Average
Still having lots of trouble with this routine.

ggaliens
Offline

Erlang Hacker
Posts: 954
Threads: 143
Joined: Nov 2012
#1
12-29-2013, 05:22 PM (This post was last modified: 12-29-2013, 05:26 PM by ggaliens.)
Still having lots of trouble with this routine. (wings_we_build)
Even though I'm trying to pre-clean the data a big before
sending. I wish I knew what the requirements were.

Code:
1> wpc_ml_tetgen_cell:command/3: bad return value: {'EXIT',
                                                 {function_clause,
                                                  [{wings_we_build,
                                                    combine_half_edges,
                                                    [[{{0,1},
                                                       [{left,
                                                         {3,none,
                                                          {1,...},
                                                          {...}}},
                                                        {left,
                                                         {7,none,{...},...}}]},
                                                      {{0,2},
                                                       [{left,
                                                         {10,none,{...},...}},
                                                        {right,{3,none,...}}]},
                                                      {{0,13},
                                                       [{right,{7,none,...}},
                                                        {right,{10,...}}]},
                                                      {{1,3},
                                                       [{left,{7,...}},
                                                        {right,{...}}]},
                                                      {{1,5},
                                                       [{left,{...}},
                                                        {left,...}]},
                                                      {{2,4},
                                                       [{left,...},{...}]},
                                                      {{2,7},[{...}|...]},
                                                      {{3,...},[...]},
                                                      {{...},...},
                                                      {...}|...],
                                                     [],[]]},
                                                   {wings_we_build,
                                                    eliminate_shared_vertices,
                                                    3},
                                                   {wings_we_build,
                                                    build_etab,3},
                                                   {wings_we_build,we,3},
                                                   {wings_we,build,2},
                                                   {wpc_ml_tetgen_cell,
                                                    '-readCellRegions_1/4-fun-2-',
                                                    4},
                                                   {lists,foldl,3},
                                                   {wpc_ml_tetgen_cell,
                                                    readCellRegions_1,4}]}}

I think it can handle unused vertices in the Pts list so long as the proper indexes are used in the Fs (faces).

But ... it does not seem to like inconsistent order of verts. I wrote a consistency checker/flipper for the Fs faces ... but still get the error.

In the past ... because of this problem ... I often export OBJ and then import OBJ rather than doing it all with the we builder routines. This is causing me fits. Any ideas would be appreciated.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D - Powered by MyBB

Linear Mode
Threaded Mode