Skip to content

Commit 7ca91da

Browse files
authored
Merge pull request #25 from elmbeech/master
@ pcdl : update readme tutorial blender and minor fix vtk functions.
2 parents 00cda39 + 3bf948c commit 7ca91da

File tree

2 files changed

+8
-11
lines changed

2 files changed

+8
-11
lines changed

man/TUTORIAL_blender.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -66,25 +66,21 @@ To learn more about Blender and BVTK Node plugin, please study the official docu
6666

6767
## ✨ Handle ome tiff files
6868

69-
The blender bioxel nodes plugin allows us load ome tiff files into blender.
69+
The blender bioxel nodes plugin allows us load single time step ome tiff files into blender.
7070

71-
### Generate vtk files from the command line
71+
### Generate ome tiff files from the command line
7272

7373
```bash
74-
pcdl_make_conc_vtk output
75-
```
76-
```bash
77-
pcdl_make_cell_vtk output
74+
pcdl_make_ome_tiff output --collapse false
7875
```
7976

80-
### Generate vtk files from within python
77+
### Generate ome tiff files from within python
8178

8279
```python
8380
import pcdl
8481

8582
mcdsts = pcdl.TimeSeries('output/')
86-
mcdsts.make_conc_vtk()
87-
mcdsts.make_cell_vtk()
83+
mcdsts.make_ome_tiff(collapse=False)
8884
```
8985

9086
### The blender bioxel nodes plugin

pcdl/pyMCDS.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1412,7 +1412,7 @@ def make_conc_vtk(self, visualize=True):
14121412
iren.Start()
14131413

14141414
# free memory
1415-
del vfa_value
1415+
#del vfa_value
14161416

14171417
# save vtk file
14181418
s_vtkpathfile = self.path + '/' + s_vtkfile
@@ -2062,7 +2062,8 @@ def make_cell_vtk(self, attribute=['cell_type'], visualize=True):
20622062
voa_data.InsertNextValue(df_cell.loc[i, s_attribute])
20632063

20642064
vug_data.GetPointData().AddArray(voa_data)
2065-
del voa_data
2065+
# free memory
2066+
#del voa_data
20662067

20672068
# generate sphere source
20682069
vss_data = vtk.vtkSphereSource()

0 commit comments

Comments
 (0)