Skip to content

ENH: Fixing up Polygon Operators

Robert M. O'Bara requested to merge bob.obara/smtk:polygonOperatorCleanUp into master
  1. By default the label of an Attribute Definition is set to its type

  2. When Operators are displayed they now refer to the label associated with its underlying attribute defintion instead of the type - this allows operator to be "named" differently in the display without changing its actual name

  3. Added a method to Polygon's Model to create an edge from 2 vertices

  4. Divided CreateEdge operator into 3 operators: 4.1 CreateEdge - creates the edge interactively 4.2 CreateEdgeFromVertices 4.3 CreateEdgeFromPoints - also cleaned up GUI

  5. CreateFaces has been split into 2 operators 5.1 - CreateFace creates all possible faces 5.2 - CreateFaceFromEdges - creates all posisble faces based on a set of selected edges

  6. Simplified CreateVertices operator and cleaned-up the UI

  7. Changed a bunch of operator labels to provide better grouping when they get displayed Note that in order to get the Model focused operators to be displayed at the top they all start with a space.

  8. Sessions can now return opertor labels and their mapping to their names

  9. Polygon Session renames some opertors (in particularly export to SMTK model is now called Model-Save which is how a polygon model is actually saved.

Merge request reports