Should g-obj fail on cup.g?

Help
2006-02-02
2013-04-22
  • Nobody/Anonymous

    I just got the latest from CVS last night (2/1/06) and compiled it in both Linux and Windows.  I've got it compiling in both places (in Win using VisStudio 7).  While I was playing with g-obj, I found that while it converts several of my in house BRLCAD models fine, it doesn't seem to like the cup example that is in the html documentation.  It complains in the following manner:

    bn_mat_ck(cyl):  bad matrix, does not preserve axis perpendicularity.
      X.Y=0, Y.Z=0, X.Z=0, s=4.6006e-41
    MATRIX bn_mat_ck() bad matrix:
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
    db_recurse(cyl):  matrix does not preserve axis perpendicularity.
    MATRIX bad matrix:
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
    bn_mat_ck(inside):  bad matrix, does not preserve axis perpendicularity.
      X.Y=0, Y.Z=0, X.Z=0, s=4.6006e-41
    MATRIX bn_mat_ck() bad matrix:
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
    db_recurse(inside):  matrix does not preserve axis perpendicularity.
    MATRIX bad matrix:
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
          0.000    0.000    0.000    0.000
    ERROR: db_walk_dispatcher() region 0 started with no state

    Is this the correct/intended behavior?
    Thanks

     
    • Sean Morrison

      Sean Morrison - 2006-02-23

      It certainly should not fail.  The bug is related to a change that was made to CVS head (and that is still there) that hasn't been fixed yet.  You'll notice that in your compilation if you run "make test", that it will fail.  When that completes successfully, CVS head will should be back to a functioning state.

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks