-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathlayer.py
More file actions
40 lines (28 loc) · 811 Bytes
/
layer.py
File metadata and controls
40 lines (28 loc) · 811 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 13 10:31:55 2020
@author: chans
"""
import move
import peripherals
import time
def make_layer(mass, angle):
move.x("deposition") #select station from deposition, heating, compression, or end
move.r(angle) #select plate angle (not done yet due to still unknown scaling factor)
peripherals.auger_pulse("long")
time.sleep(3)
peripherals.auger_pulse("short")
time.sleep(3)
move.r(0)
peripherals.heat_on()
move.x("heating")
time.sleep(30)
peripherals.heat_off()
move.x("compression")
time.sleep(0.1)
time.sleep(5)
time.sleep(0.1)
peripherals.heat_on()
move.x("heating")
time.sleep(10)
peripherals.heat_off()