Great, glad you got it working! Adding the list to document the solution. cheers, On 07/14/2018 01:05 PM, İhsan MUTLU
wrote:
I have made it work. Here it is if anyone needs. sourceDir = {'C:/Users/Htmn-07/Desktop/series-000000/aaaa.nrrd'} targetDir = 'C:/Users/Htmn-07/Desktop/series-000000/aklm.uvf' temp = 'C:/Users/Htmn-07/Desktop/series-000000/fsa' data = "iv3d.renderer.new(targetDir) iv3d.useIsoMode() iv3d.setIsoValueFloat(0.05) createdmesh = 'C:/Users/Htmn-07/Desktop/series-000000/son.stl' dataset = data.getDataset() dataset.saveRescaleFactors() tuvok.io.extractIsosurface(dataset, 0, 120, {0,0,0,0}, createdmesh, temp) 2018-07-14 18:24 GMT+03:00 İhsan MUTLU
<
>:
Correction**
tuvok.io.exportMesh(mesh[0], createdmesh)
2018-07-14 14:15 GMT+03:00
İhsan MUTLU <
>:
It just crashes after running above
code.
2018-07-14 14:14
GMT+03:00 İhsan MUTLU <
>:
Hi Tom,
Thanks for your attention but I
couldn't get this to work either. I
don't want to trouble you further.
But if you want to check here is
what I have tried:
sourceDir =
{'C:/Users/Htmn-07/Desktop/series-000000/aaaa.nrrd'}
targetDir = 'C:/Users/Htmn-07/Desktop/series-000000/aklm.uvf' temp = 'C:/Users/Htmn-07/Desktop/series-000000/fsa' tuvok.io.convertDataset(sourceDir,targetDir, temp, false, false) data = "iv3d.renderer.new(targetDir) iv3d.useIsoMode() iv3d.setIsoValueFloat(0.05) createdmesh = 'C:/Users/Htmn-07/Desktop/series-000000/son.stl' mesh = data.getDataset().getMeshes() tuvok.io.exportMesh(mesh, createdmesh) 2018-07-11
2:35 GMT+03:00 Tom Fogal <
>:
Hi Ihsan, Please keep replies
on-list. HTH, -tom On 07/10/2018 11:43 AM, İhsan MUTLU wrote:
|
Archive powered by MHonArc 2.6.18.