We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f10c56 commit 8d3e553Copy full SHA for 8d3e553
pySlice.py
@@ -27,6 +27,9 @@
27
from Model3D import STLModel, Vector3, Normal
28
from svgwrite import Drawing, rgb
29
import sys
30
+import time
31
+
32
+start_time = time.time()
33
34
def slice_file(f=None, resolution=0.1):
35
print("Status: Loading File.")
@@ -133,7 +136,7 @@ def findInterpolatedPoint(A, B):
133
136
134
137
dwg.save()
135
138
- print("Status: Finished Outputting Slices.c")
139
+ print("Status: Finished Outputting Slices")
140
141
142
if __name__ == '__main__':
@@ -154,3 +157,6 @@ def findInterpolatedPoint(A, B):
154
157
155
158
args = parser.parse_args()
156
159
slice_file(args.file, args.resolution)
160
161
+ end_time = time.time()
162
+ print ("Execution Time: %is" % (end_time-start_time))
0 commit comments