Skip to content
Discussion options

You must be logged in to vote

Hi @ptrem,

We were thinking of a couple of workarounds while there's no solution available, although they require a certain amount of effort:

You can keep exporting a .case file x object and then merge them with PyVista and load them individually and visualize together in a PyVista Plotter. The add_mesh method accepts a label argument which can be used as an identifier of the object (ID). Something like:
files = ["part1.case", "part2.case", "part3.case"]
meshes = [pv.read(f) for f in files]

p = pv.Plotter()
for i, m in enumerate(meshes):
p.add_mesh(m, label=f"Part {i+1}")
You could rely on PyVista and intersect the case field data with the objs and get mesh obj x obj.
Hope this helps,

Kin…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ptrem
Comment options

Answer selected by gmalinve
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants