Skip to content

Anatomical Models

Working with models from the Virtual Population

56 Topics 266 Posts
  • Importing anatomical models in the python script

    3
    0 Votes
    3 Posts
    407 Views
    M
    I ended up creating my Duke model in a separate script, where I first cloned him as static. Then I removed part of the body not relevant to me by boolean subtraction (entity by entity) and finally export the remain static model to a sab file, which I load in my main script instead of the entire Duke. It has been this confusion about entities and groups and what not disturbing the flow. Thanks for your suggestions bryn
  • ViP Shells for Sim4Life Users

    4
    0 Votes
    4 Posts
    1k Views
    V
    That's helpful. Thank you for the detailed steps @bryn.
  • Determine distance between bones and Antenna

    2
    0 Votes
    2 Posts
    511 Views
    brynB
    To measure the shortest distance between two entities, you can use the Python API: import XCoreModeling as xcm shell = xcm.GetActiveModel().SelectedEntities[0] coil = xcm.GetActiveModel().SelectedEntities[1] res = xcm.GetEntityEntityDistance(shell, coil) print(f"Shortest distance shell-coil: {res[0].Distance}") p1 = xcm.CreatePoint(res[0].ClosestPosition) p1.Name = "Point on Shell" p2 = xcm.CreatePoint(res[1].ClosestPosition) p2.Name = "Point on Coil" # This line is just to visualize where the measured distance was taken line = xcm.CreatePolyLine([res[0].ClosestPosition, res[1].ClosestPosition]) This would create something like this: [image: 1747752108672-c17b7bff-2d64-408c-88a7-fd83a4dadfdb-image.png] Some other snippets are shared here: https://forum.zmt.swiss/topic/565/geometry-modeling-snapping-to-endpoints-in-python-api/3?_=1747746585465
  • Modification of Tissue Volumes in the Anatomical Model

    3
    0 Votes
    3 Posts
    401 Views
    brynB
    I would add that in the first approach you might change the tissue property of the original bladder to something else, e.g. fat, to get the desired effect of shrinking or stretching the bladder without creating air holes. Btw, you can measure the volume of a tissue surface in the modeler using the measure tool.
  • Drawing Toe Nails or other Details in Anatomical Model

    1
    2 Votes
    1 Posts
    199 Views
    No one has replied
  • Evaluation of head segmentation quality

    7
    0 Votes
    7 Posts
    834 Views
    G
    Okay, I will take those considerations into account. Thanks for the fast reply!
  • Automatic Head Model including 1010-System / Electrode Placement

    30
    1 Votes
    30 Posts
    26k Views
    L
    @bryn Is the 6.8 displayed on the color bar the actual maximum field strength value? I exported the values and found that the maximum is around 5.9 instead. [image: 1735124755536-42fb974e-d830-42c2-8373-84c85ee63339-image.png]
  • Morphing Tool: How it can be used to modify the shape of the heart

    1
    0 Votes
    1 Posts
    363 Views
    No one has replied
  • Head tissue segmentation

    1
    0 Votes
    1 Posts
    180 Views
    No one has replied
  • Brain atlas

    1
    0 Votes
    1 Posts
    159 Views
    No one has replied
  • Neck flexion with Jeduk V4

    5
    0 Votes
    5 Posts
    756 Views
    N
    @bryn Thank you again for your reply and the posture file!
  • Can I scale a ViP model? Why is the model "locked"?

    1
    0 Votes
    1 Posts
    211 Views
    No one has replied
  • Poser API documentation?

    3
    0 Votes
    3 Posts
    823 Views
    S
    Thank you for the detailed answer!
  • Pose User-Defined Surfaces/Entities

    39
    2 Votes
    39 Posts
    37k Views
    V
    Hi Bryn, I would like to ask a question regarding posing. My aim is to detect the variation in bone position from the skin in different poses (hypothesis being: as the soft tissues deform, the bone wont always be at the same position wrt the skin). I currently have 8 antennas placed around the skin which are supposed to mimic wearable antennas and I would like to move these antennas along with the pose. But if I link these antennas to the bone using "link-parent tool", the bone is always at the same location wrt to the bone irrespective of the pose. But I cannot link the antennas wrt to the skin as the antennas dont move with the pose. How can I do this? I would like the antennas which are placed around the skin to similar to the skin rather than the bone? Based on the first video in this chain, triangular meshes can be posed similar to the body. If I convert the antennas to meshes and then pose it, will I be getting the same issue i.e the bone is always at the same location wrt to the antennas? Thanks
  • Anatomical model extraction and dimension

    7
    1 Votes
    7 Posts
    2k Views
    A
    Thank You, It really works.
  • Subdivide the structure of SKIN into stratum corneum, epidermis

    3
    0 Votes
    3 Posts
    734 Views
    M
    Thank you! That helps a lot.
  • Locked items inside Virtual Population

    2
    0 Votes
    2 Posts
    602 Views
    brynB
    You can drag the entire group onto the simulation. The surfaces are tagged, and will be assigned to the correct material properties automatically. The reason for the locks is to prevent users from deleting individual surfaces, or editing them in some way. This would break the poser functionality. If you are bothered by this, or don't need to change the posture of the model, you can always select the bone mesh system and run "Clone As Static" in the context menu. https://youtu.be/CYI6rBPZw7E
  • Multiple simulations

    2
    0 Votes
    2 Posts
    652 Views
    H
    Hi Michael, I think you are talking about project files (.smash), and not about simulations. One project file can have multiple simulations in it. Your solution can be to use s4l_v1.document.SaveAs( "FileName" ). This will change the name of the current file from default to something you choose. Best, Habib
  • 0 Votes
    2 Posts
    624 Views
    brynB
    You could use the IXI025 head: https://github.com/ITISFoundation/IXI025 Or any ViP model...
  • Wireless Power Transfer on Yoon-Sun

    5
    0 Votes
    5 Posts
    1k Views
    brynB
    License issue?