Skip to content

Commit

Permalink
update runtime values
Browse files Browse the repository at this point in the history
  • Loading branch information
Jacob Morris committed Mar 21, 2016
1 parent fe455a5 commit dd4d52d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions cubester.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,10 +176,15 @@ def draw(self, context):
else:
layout.label("Approximate Point Count: " + str(rows * columns))

#blocks and plane time values
if scene.cubester_blocks_plane == "blocks":
time = rows * columns * 0.000062873 + 0.10637 #approximate time count for blocks
slope = 0.0000876958
intercept = 0.02501
else:
time = rows * columns * 0.000016688 + 0.02718 #approximate time count for mesh
slope = 0.000017753
intercept = 0.04201

time = rows * columns * slope + intercept #approximate time count for mesh

time_mod = "s"
if time > 60: #convert to minutes if needed
Expand Down

0 comments on commit dd4d52d

Please sign in to comment.