Browse Source

reduced default unicell cage thickness

Alexander Rose 5 years ago
parent
commit
c217aab5fc
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/mol-plugin/util/model-unitcell.ts

+ 1 - 1
src/mol-plugin/util/model-unitcell.ts

@@ -48,7 +48,7 @@ function getUnitcellMesh(data: UnitcellData, props: UnitcellProps, mesh?: Mesh)
     Mat4.fromTranslation(tmpTranslate, tmpRef)
     const cellCage = transformCage(copyCage(unitCage), tmpTranslate)
 
-    const radius = (Math.cbrt(data.symmetry.spacegroup.cell.volume) / 100) * props.cellScale
+    const radius = (Math.cbrt(data.symmetry.spacegroup.cell.volume) / 300) * props.cellScale
     state.currentGroup = 1
     MeshBuilder.addCage(state, fromFractional, cellCage, radius, 2, 20)