1. 17 Mar, 2016 2 commits
    • David Thompson's avatar
      Add pedigree IDs to polygon imports. · e29a8f4c
      David Thompson authored
      ... and test the import operator. The large image error allowance (50.0)
      is because the image is larger and (on Mac OS X 10.11 with current
      VTK) edge thickness varies significantly from run to run. Grrr.
      e29a8f4c
    • David Thompson's avatar
      Fix polygon import. · 4d6bf7ab
      David Thompson authored
      Faces with holes must specify "counts" that indicate which edges
      make up the outer loop and which make up each inner loop.
      
      Also color faces in the import test so that when one face fills
      the hole of another there is a way to verify that the 2 faces
      are tessellated properly.
      4d6bf7ab
  2. 15 Mar, 2016 1 commit
  3. 14 May, 2015 1 commit
    • David Thompson's avatar
      Fix `PYTHONPATH` for VTK image tests. · 9ddaf7bc
      David Thompson authored
      SMTK currently requires a ParaView build directory, at least on
      Mac OS X, because ParaView does not install properly.
      Fix the `PYTHONPATH` for testing to include the `lib/site-packages`
      directory so that `import vtk` can work and image-based tests run.
      9ddaf7bc
  4. 13 May, 2015 1 commit
    • David Thompson's avatar
      Add geometry style (parametric/discrete) to models. · 45c19684
      David Thompson authored
      This commit adds a new enum named `ModelGeometryStyle` used to
      indicate whether a model is discrete or parametric (or some other
      type in the future — maybe point clouds, implicit models like RBFs
      or other non-solid-models). The various sessions mark their models
      with the appropriate type. It is stored as an integer property.
      
      This also adds some new image tests to the various sessions.
      
      Finally, it adds SetEntityProperty to the simple Python API
      and uses that in the image tests to set colors on groups.
      45c19684
  5. 11 May, 2015 1 commit
  6. 07 Feb, 2015 1 commit
  7. 06 Feb, 2015 1 commit
    • David Thompson's avatar
      A new "simple" python API and many fixes. · 0c32e65e
      David Thompson authored
      This commit adds an "smtk.simple" Python module that
      provides a basic, function-oriented API for solid modeling
      using SMTK's operators. Some of the tests now use this module.
      
      The CGM operator now provides a convenience method for
      converting all of the model entities in an item into CGM
      references of a given type. The boolean operators now use
      this method.
      
      The ModelEntityItem class now provides an `isExtensible()`
      method as a convenience for accessing the definition's extensibility.
      This is used to fix the XML attribute parser, which was not properly
      resizing ModelEntityItem instances that are extensible.
      
      This commit adds a new Sweep operator to the CGM bridge which
      allows construction by extrusion, revolution, or sweeps along paths.
      It is only partially tested by `cgmBuildUp.py`.
      0c32e65e
  8. 02 Feb, 2015 1 commit
  9. 30 Jan, 2015 1 commit
  10. 26 Jan, 2015 1 commit
  11. 19 Jan, 2015 1 commit