# Simulation Modeling Toolkit (SMTK)

**URL:** https://discourse.kitware.com/c/smtk/6.md?page=4

[Latest](https://discourse.kitware.com/latest.md) · [Categories](https://discourse.kitware.com/categories.md)

**Page:** 5

---

## [Expanding the Roles of Categories](https://discourse.kitware.com/t/expanding-the-roles-of-categories/570)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 3\
**Last updated:** [December 9, 2020, 6:38pm UTC](https://discourse.kitware.com/t/expanding-the-roles-of-categories/570 "2020-12-09T18:38:09Z")

</div>

When categories where first implemented, their role was to provide a way of filtering the information within an Attribute Resource but they did not change the actual state of the Resource. Though categories have been e…

---

## [Modeling question on prerequisites for association](https://discourse.kitware.com/t/modeling-question-on-prerequisites-for-association/556)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 5\
**Last updated:** [November 19, 2020, 6:12pm UTC](https://discourse.kitware.com/t/modeling-question-on-prerequisites-for-association/556 "2020-11-19T18:12:25Z")

</div>

Hi all but especially @Bob\_Obara and @johnt, I’m trying to model surface adhesion and sliding contact between anatomical organs for aeva. These contacts relate side sets on 2 organs (e.g., femur and ACL) to each other. …

---

## [Adding a new MeshIO Reader](https://discourse.kitware.com/t/adding-a-new-meshio-reader/536)

<div class="topic-metadata">

**Author:** [@bram.metsch](https://discourse.kitware.com/u/bram.metsch)\
**Replies:** 2\
**Last updated:** [November 9, 2020, 11:01am UTC](https://discourse.kitware.com/t/adding-a-new-meshio-reader/536 "2020-11-09T11:01:51Z")

</div>

I am trying to implement a new MeshIO reader to use inside a CMB plugin. I have derived a class from MeshIO, implemented read() and importMesh(). Furthermore, I have written a second class that adds the reader to smtk::i…

---

## [Expanding Categories to Support Exclusion](https://discourse.kitware.com/t/expanding-categories-to-support-exclusion/545)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 11:54pm UTC](https://discourse.kitware.com/t/expanding-categories-to-support-exclusion/545 "2020-10-28T23:54:03Z")

</div>

Current Design Categories assigned to Attribute and Item Definitions follow one of the following patterns (a | b | c) - passes if the list of filtering categories contain a, b or c. Done using the Any option. (a & b & …

---

## [Modeling Analyses](https://discourse.kitware.com/t/modeling-analyses/253)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 4\
**Last updated:** [October 7, 2020, 2:49pm UTC](https://discourse.kitware.com/t/modeling-analyses/253 "2020-10-07T14:49:04Z")

</div>

New to SMTK 3.1 - Hierarchical Analyses. When modeling simulation information in SMTK, you can associate a set of categories (currently a category is represented simply as a string) with each attribute item. This infor…

---

## [Gitlab runner down for weekend](https://discourse.kitware.com/t/gitlab-runner-down-for-weekend/529)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [September 4, 2020, 8:43pm UTC](https://discourse.kitware.com/t/gitlab-runner-down-for-weekend/529 "2020-09-04T20:43:46Z")

</div>

Hi all, The macos gitlab-ci runner for cmb-superbuilds will be down this weekend and Monday while sysadmin does some work on it. Please don’t merge things that haven’t got a passing macos build+test.

---

## [Modeling arrays on geometry](https://discourse.kitware.com/t/modeling-arrays-on-geometry/523)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [August 29, 2020, 4:26am UTC](https://discourse.kitware.com/t/modeling-arrays-on-geometry/523 "2020-08-29T04:26:34Z")

</div>

We have several use cases (anatomical data annotation, hydrological simulations) that involve modeling functions defined over volumes (from regularly sampled volumetric image data to explicit structured grids to fully un…

---

## [Extending Styles for displaying Attributes](https://discourse.kitware.com/t/extending-styles-for-displaying-attributes/520)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 5\
**Last updated:** [August 19, 2020, 10:22pm UTC](https://discourse.kitware.com/t/extending-styles-for-displaying-attributes/520 "2020-08-19T22:22:26Z")

</div>

Currently how an attribute and its items are displayed are based on the style (including item views) stored in the View information. For example: \<View Type="Instanced" Title="General"\> \<InstancedAttributes\> …

---

## [AEVA selection](https://discourse.kitware.com/t/aeva-selection/493)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 1\
**Last updated:** [August 6, 2020, 6:44am UTC](https://discourse.kitware.com/t/aeva-selection/493 "2020-08-06T06:44:30Z")

</div>

AEVA gained the ability to import mesh data in several formats (MED, PLY, OBJ, and VTK). Also, avea now has the ability to create selections based on features (such as picking triangles whose normals point near a given d…

---

## [Extending Association Behavior in QtView Classes](https://discourse.kitware.com/t/extending-association-behavior-in-qtview-classes/516)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 3\
**Last updated:** [August 5, 2020, 2:21pm UTC](https://discourse.kitware.com/t/extending-association-behavior-in-qtview-classes/516 "2020-08-05T14:21:50Z")

</div>

A SMTK Attribute’s Definition provides a simple mechanism to describe what an attribute (or reference item) can be associated with. But what if you wanted to model complex association constraints specific to your workflo…

---

## [Changing the behavior of Extensible Items](https://discourse.kitware.com/t/changing-the-behavior-of-extensible-items/517)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 2\
**Last updated:** [August 2, 2020, 1:17pm UTC](https://discourse.kitware.com/t/changing-the-behavior-of-extensible-items/517 "2020-08-02T13:17:37Z")

</div>

Currently most Items within an Attribute Resource have the following properties: NumberOfRequiredValues - the minimum number of values the Item must contain Extensible - Can the number of values be modified? MaximumNum…

---

## [Expanding Support for Expressions](https://discourse.kitware.com/t/expanding-support-for-expressions/487)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 15\
**Last updated:** [July 20, 2020, 9:52pm UTC](https://discourse.kitware.com/t/expanding-support-for-expressions/487 "2020-07-20T21:52:55Z")

</div>

Currently in SMTK’s attribute resource, a ValueItem can either be a constant or can reference an attribute that represents an expression. Expressions are then used in the exporting process and are transcribed into a for…

---

## [Extending Projects Part 3: Export](https://discourse.kitware.com/t/extending-projects-part-3-export/452)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 0\
**Last updated:** [May 13, 2020, 3:12pm UTC](https://discourse.kitware.com/t/extending-projects-part-3-export/452 "2020-05-13T15:12:06Z")

</div>

This is part 3 of 3 in the series on updating SMTK projects for multiple simulation sequences. Part 1 discussed UI updates to be implemented in the project plugin module. Part 2 described proposed changes to SMTK core fo…

---

## [clang-tidy checks and fixing remaining checks](https://discourse.kitware.com/t/clang-tidy-checks-and-fixing-remaining-checks/360)

<div class="topic-metadata">

**Author:** [@ben.boeckel](https://discourse.kitware.com/u/ben.boeckel)\
**Replies:** 0\
**Last updated:** [December 10, 2019, 10:24pm UTC](https://discourse.kitware.com/t/clang-tidy-checks-and-fixing-remaining-checks/360 "2019-12-10T22:24:42Z")

</div>

clang-tidy is now being run on master for SMTK and CMB. The CI build will fail if any warnings are made from it. You can run it locally by doing -DCMAKE\_{C,CXX}\_CLANG\_TIDY=$(which clang-tidy) on the command line to tell…

---

## [Truchas shared-material properties UI](https://discourse.kitware.com/t/truchas-shared-material-properties-ui/318)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 0\
**Last updated:** [September 12, 2019, 9:11pm UTC](https://discourse.kitware.com/t/truchas-shared-material-properties-ui/318 "2019-09-12T21:11:19Z")

</div>

Background We are implementing a custom view for Truchas materials, and still have one main requirement to address. The Truchas material attribute needs to support properties that can specified in either of two ways (i) …

---

## [Ephemeral persistent objects for selecting pieces of components](https://discourse.kitware.com/t/ephemeral-persistent-objects-for-selecting-pieces-of-components/307)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [September 5, 2019, 1:29pm UTC](https://discourse.kitware.com/t/ephemeral-persistent-objects-for-selecting-pieces-of-components/307 "2019-09-05T13:29:38Z")

</div>

Purpose At least a couple use cases we have encountered (selecting cells of a mesh for grow or split operations, selecting placements of a model instance for editing) need to create new persistent objects (mainly compone…

---

## [Manually updating ComponentItem will not trigger UI update](https://discourse.kitware.com/t/manually-updating-componentitem-will-not-trigger-ui-update/306)

<div class="topic-metadata">

**Author:** [@Haocheng\_Liu](https://discourse.kitware.com/u/Haocheng_Liu)\
**Replies:** 0\
**Last updated:** [September 2, 2019, 3:41pm UTC](https://discourse.kitware.com/t/manually-updating-componentitem-will-not-trigger-ui-update/306 "2019-09-02T15:41:35Z")

</div>

Hi smtk developers, I got a question regarding the ComponentItem and its qt representation. My use case is that the input for my operator is an AssociationDef item and a ComponentItem. When user has selected something …

---

## [Tips for debugging SMTK](https://discourse.kitware.com/t/tips-for-debugging-smtk/304)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [August 29, 2019, 3:34pm UTC](https://discourse.kitware.com/t/tips-for-debugging-smtk/304 "2019-08-29T15:34:33Z")

</div>

NB: This topic is a “wiki page,” which means anyone (not just the author) can edit it. Please add your own tips below. LLDB Below are some niceties for using lldb with SMTK. There may be equivalents for gdb; if so, plea…

---

## [Subtracting UI components from ModelBuilder](https://discourse.kitware.com/t/subtracting-ui-components-from-modelbuilder/302)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [August 16, 2019, 9:53pm UTC](https://discourse.kitware.com/t/subtracting-ui-components-from-modelbuilder/302 "2019-08-16T21:53:25Z")

</div>

Purpose There are many parts of ParaView (and thus ModelBuilder) that preprocessing applications may not want to expose to users. To deal with this, we are adding (in SMTK MR 1690) a new class to the smtkPQComponentsExt …

---

## [Heads up](https://discourse.kitware.com/t/heads-up/294)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [August 2, 2019, 1:08am UTC](https://discourse.kitware.com/t/heads-up/294 "2019-08-02T01:08:36Z")

</div>

Hi all, I am merging SMTK MR 1607 that splits qtBaseView into qtBaseView and qtBaseAttributeView. This is a first step toward having the resource panel and potentially the operation panel inherit qtBaseView, which would …

---

## [Dealing with Items that are Extensible and have number of required values \> 0](https://discourse.kitware.com/t/dealing-with-items-that-are-extensible-and-have-number-of-required-values-0/284)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 0\
**Last updated:** [June 29, 2019, 3:05am UTC](https://discourse.kitware.com/t/dealing-with-items-that-are-extensible-and-have-number-of-required-values-0/284 "2019-06-29T03:05:22Z")

</div>

qtAssociationWdiget has a strange behavior when an Attribute Definition specifies its association requirements as extensible but also with a number of required values \> 0. In this case when something is associated with …

---

## [New Attribute Item Types for Referencing Other Items](https://discourse.kitware.com/t/new-attribute-item-types-for-referencing-other-items/246)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 0\
**Last updated:** [April 17, 2019, 2:15am UTC](https://discourse.kitware.com/t/new-attribute-item-types-for-referencing-other-items/246 "2019-04-17T02:15:16Z")

</div>

There are cases where you might need to have an attribute reference an item from another attribute. For example in hydrology you may want have one attribute (A) represent a set of sediments as an extensible list of item…

---

## [Feature Request: Resource panel display both model entity name and pedigree ids](https://discourse.kitware.com/t/feature-request-resource-panel-display-both-model-entity-name-and-pedigree-ids/236)

<div class="topic-metadata">

**Author:** [@johnt](https://discourse.kitware.com/u/johnt)\
**Replies:** 0\
**Last updated:** [March 11, 2019, 7:06pm UTC](https://discourse.kitware.com/t/feature-request-resource-panel-display-both-model-entity-name-and-pedigree-ids/236 "2019-03-11T19:06:38Z")

</div>

For Truchas, we explicitly changed sessions so that we could display model entity labels instead of pedigree ids in the resource panel. In practice, however, we have situations where we want both pieces of information, a…

---

## [Geometry library](https://discourse.kitware.com/t/geometry-library/224)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [February 15, 2019, 8:34pm UTC](https://discourse.kitware.com/t/geometry-library/224 "2019-02-15T20:34:41Z")

</div>

As part of our Planning for SMTK v3.1 and v4.0 discussion, we mentioned the possibility of separating tessellation information into another library (the bullet named “Geometry library” in the list of SMTK 3.1. features).…

---

## [Plugin to autoload an attribute resource](https://discourse.kitware.com/t/plugin-to-autoload-an-attribute-resource/180)

<div class="topic-metadata">

**Author:** [@tj.corona](https://discourse.kitware.com/u/tj.corona)\
**Replies:** 0\
**Last updated:** [November 21, 2018, 2:18pm UTC](https://discourse.kitware.com/t/plugin-to-autoload-an-attribute-resource/180 "2018-11-21T14:18:11Z")

</div>

I have created a plugin to demonstrate how to construct a standalone plugin for CMB that automatically loads an attribute resource to every server. Please let me know what you think!

---

## [Operations and selection](https://discourse.kitware.com/t/operations-and-selection/480)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 2\
**Last updated:** [June 10, 2020, 2:21pm UTC](https://discourse.kitware.com/t/operations-and-selection/480 "2020-06-10T14:21:05Z")

</div>

I have a use case (for aeva) where I would like an operation to modify the application’s selection. I see a few ways to do it: good: add ReferenceItems to the operator’s Result attribute named append to selection and r…

---

## [Resource-tree panel in SMTK3/CMB6](https://discourse.kitware.com/t/resource-tree-panel-in-smtk3-cmb6/146)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [August 21, 2018, 6:42pm UTC](https://discourse.kitware.com/t/resource-tree-panel-in-smtk3-cmb6/146 "2018-08-21T18:42:21Z")

</div>

@Bob\_Obara You asked in our weekly meeting about where the logic lives to handle updates to the resource panel when operations occur. It goes something like this: When the SMTK plugins are loaded and/or a ParaView serv…

---

## [Tracking Modified Resources](https://discourse.kitware.com/t/tracking-modified-resources/138)

<div class="topic-metadata">

**Author:** [@Bob\_Obara](https://discourse.kitware.com/u/Bob_Obara)\
**Replies:** 0\
**Last updated:** [August 9, 2018, 9:22pm UTC](https://discourse.kitware.com/t/tracking-modified-resources/138 "2018-08-09T21:22:17Z")

</div>

Going through the issue tracker I can across one that I had added - the ability to know if an attribute resource was modified since it was loaded from or saved to disk. I was thinking how this could be done and wanted t…

---

## [Workflow and the operation manager](https://discourse.kitware.com/t/workflow-and-the-operation-manager/96)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [April 25, 2018, 1:19am UTC](https://discourse.kitware.com/t/workflow-and-the-operation-manager/96 "2018-04-25T01:19:10Z")

</div>

One topic of today’s meeting, besides progress on SMTK’s new operation panel, was how workflows would affect the presentation of operations from the operation manager. Workflow configuration We discussed having the wor…

---

## [Gallery: curve widget](https://discourse.kitware.com/t/gallery-curve-widget/465)

<div class="topic-metadata">

**Author:** [@dcthomp](https://discourse.kitware.com/u/dcthomp)\
**Replies:** 0\
**Last updated:** [June 3, 2020, 8:38pm UTC](https://discourse.kitware.com/t/gallery-curve-widget/465 "2020-06-03T20:38:10Z")

</div>

This movie: illustrates how SMTK’s spline widget works to tie an attribute accepting point locations to an interactive curve editor. See our widget documentation for how to configure it for your attributes. Note t…

[Previous page](https://discourse.kitware.com/c/smtk/6.md?page=3)

[Next page](https://discourse.kitware.com/c/smtk/6.md?page=5)
