Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
pmp-accessibility
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teaching-materials
pmp-accessibility
Commits
25c7207d
Commit
25c7207d
authored
2 years ago
by
Jennifer Mankoff
Browse files
Options
Downloads
Patches
Plain Diff
Added compiled knit code
parent
1ea46967
No related branches found
No related tags found
2 merge requests
!41
Updating change-for-future with the final version of the class website from winter 2023
,
!39
Added compiled knit code
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
slides/3dprinting.html
+29
-0
29 additions, 0 deletions
slides/3dprinting.html
with
29 additions
and
0 deletions
slides/3dprinting.html
+
29
−
0
View file @
25c7207d
...
@@ -689,7 +689,36 @@ with Carrier as c1:{
...
@@ -689,7 +689,36 @@ with Carrier as c1:{
knit_colored_stripe(c2); // will use c2
knit_colored_stripe(c2); // will use c2
knit_stripe(); // starts using c1 again
knit_stripe(); // starts using c1 again
}
}
```
```
---
# Compiled Code
```python
;!knitout-2
;;Machine: SWG091N2
;;Position: Center
inhook 1 ;Activating carrier 1
;KS: Cast on 20loops
tuck - f19 1 ; tuck loops: [0 on yarn C1.1]. # happens 9 more times on odd needles
[...]
tuck - f1 1 ; tuck loops: [9 on yarn C1.1].
releasehook 1 ;
tuck + f0 1 ; tuck loops: [10 on yarn C1.1]. # happens 9 more times on even needles
[...]
tuck + f18 1 ; tuck loops: [19 on yarn C1.1].
knit - f19 1 ;knit loops: [20 on yarn C1.1]. # knits 20 loops (all needles)
[...]
knit - f0 1 ;knit loops: [39 on yarn C1.1].
knit + f0 1 ;knit loops: [40 on yarn C1.1]. # knits 20 loops (all needles)
[...]
knit + f19 1 ;knit loops: [59 on yarn C1.1]. # continues to do more rows
[...]
inhook 2 ;Activating carrier 2 # changes carrier (color)
[...]
```
---
---
# Knitting a stripe
# Knitting a stripe
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment