-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathlayer_beta_test.py
47 lines (43 loc) · 1.33 KB
/
layer_beta_test.py
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
41
42
43
44
45
46
47
# -*- coding: utf-8 -*-
"""
Created on Thu Aug 13 10:31:55 2020
@author: chans
"""
import move
def first_layer(mass, angle):
move.x("deposition")
move.r(angle)
move.z("down")
#zero the scale
#dispense media using scale and motor
move.r(0)
move.z("up")
move.x("heating")
#heat for some amount of 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)
move.z("down") #select up or down
#zero the scale
#dispense media using scale and motor
move.z("up")
move.r(0)
move.x("heating")
#heat for some amount of time
move.x("compression")
#actuate pneumatic piston
move.x("heating")
#heat for some amount of time
def last_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)
move.z("down") #select up or down
#zero the scale
#dispense media using scale and motor
move.r(0)
move.z("up")
move.x("heating")
#heat for some amount of time
move.x("compression")
#actuate pneumatic piston
move.x("end")