Skip to content

Commit 3e14782

Browse files
committed
change Void space plotting from spheres to dots - much faster!
1 parent 108208b commit 3e14782

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

GSASII/GSASIIplot.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7418,8 +7418,10 @@ def Draw(caller='',Fade=[],NPkey=False):
74187418
Backbone = Backbones[chain]
74197419
RenderBackbone(Backbone,BackboneColor,bondR)
74207420
if drawingData['showVoids']:
7421-
for x,y,z in drawingData['Voids']:
7422-
RenderSphere(x,y,z,.05,(0.,0.,1.),True)
7421+
RC = len(drawingData['Voids'])*[[0.05,2*Bl]]
7422+
RenderDots(drawingData['Voids'],RC)
7423+
# for x,y,z in drawingData['Voids']:
7424+
# RenderSphere(x,y,z,.05,(0.,0.,1.),True)
74237425
if drawingData['unitCellBox']:
74247426
RenderBox()
74257427
if drawingData['Plane'][1]:

0 commit comments

Comments
 (0)