Skip to content
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

ZMT zurich med tech

  1. Home
  2. Sim4Life
  3. Anatomical Models
  4. Voxel of a part of ViP models obtained with planar cutting

Voxel of a part of ViP models obtained with planar cutting

Scheduled Pinned Locked Moved Anatomical Models
1 Posts 1 Posters 242 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maxwell
    wrote on last edited by
    #1

    When trying to voxel a part of ViP models (e.g., a hand from Duke) obtained with planar cutting, the following error may be encountered:
    Modeler : [Error] [facets_from_deep_copy]: Not a valid ENTITY type for this operation
    Error : Unable to voxel object which contains neither mesh nor wire data.

    This error is because the planar cut operation does not delete the empty meshes. A workaround is running the following script after selecting the model obtained with planar cutting:

    import XCoreModeling
    sel = XCoreModeling.GetActiveModel().SelectedEntities
    sel = XCoreModeling.CollectEntities(sel)
    empty = XCoreModeling.CreateGroup("Empty Meshes")
    for e in sel:
    if XCoreModeling.IsTriangleMesh(e):
    if e.Empty():
    print("%s is empty" % e.Name)
    empty.Add(e)

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Search