├── .gitignore ├── README.md ├── animateAlongPath.FCMacro ├── needle.fcstd ├── red-needlesupport.fcstd ├── structural-mock.fcstd └── track.fcstd /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | *.fcstd1 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | #Engineering a printable circular knitting machine with an optional mini-computer 2 | --------------------- 3 | 4 | ##Background 5 | 6 | There are commercial circular knitting machines, that are nearly completely made from plastic. A popular modul is the Addi Express. Plastic can be easily printed out on 3D printers. So, we came up with the idea to code a circular knitting machine. As inexpensive small PCs components like the Rapsberry PI and Arduinos become increasingly powerful there is even an option to include them as optional components in such a 3D printed knitting machine. 7 | 8 | ##Features 9 | 10 | * 22 or 46 needle. 11 | * Can create circular and rectangular swatches (using back-and-forth knit) 12 | * Max swatch for 46 needle: 17.75 inch 13 | * Manual cast-on and bind-off 14 | * Manual forwarding 15 | 16 | ##Motivation 17 | 18 | * Be able to replicate using distributed digital manufacturing (3d-print/CNC) 19 | * Be able to customize. Different number of needles, needle/mask size, adapting to different materials, adding automation 20 | 21 | ##Links 22 | 23 | * Circular Knitting Machine of Mar Canet: https://github.com/var-mar/circular_knitic 24 | * Addi Express: http://www.amazon.com/addi-9902-addi-Express-Professional-Knitting/dp/B000XT3OPG 25 | 26 | 27 | ##References 28 | ---------- 29 | 30 | * [Replacement needles](http://www.amazon.com/Express-Knitting-Machine-Replacement-Needles/dp/B004T2MHVA) 31 | -------------------------------------------------------------------------------- /animateAlongPath.FCMacro: -------------------------------------------------------------------------------- 1 | from PyQt4 import QtGui, QtCore 2 | 3 | # TODO: make configurable 4 | doc = App.ActiveDocument 5 | path = doc.Sketch 6 | #obj = doc.Cylinder 7 | obj = doc.getObject("Part__Feature003") 8 | obj2 = doc.getObject("Part__Feature004") 9 | steps = 10 10 | 11 | #geometry = sorted(path.Geometry, key=lambda g: g.discretize(10)[0].x) 12 | geometry = path.Geometry 13 | 14 | all = [] 15 | 16 | for geom in geometry: 17 | points = geom.discretize(steps) 18 | for p in points: 19 | all.append(p) 20 | 21 | all = sorted(all, key=lambda p: p.x) 22 | 23 | #for p in all[0:len(all)]: 24 | # obj.Placement.Base = p 25 | 26 | def move(rel): 27 | p = all[int(rel*(len(all)-1))] 28 | # obj.Placement.Base = App.Vector(p.x, p.z, p.y) 29 | # obj.Placement.Base = App.Vector(0, 0, p.y) 30 | z = p.y 31 | obj.Placement.Base = App.Vector(p.x, obj.Placement.Base.y, z) 32 | obj2.Placement.Base = App.Vector(p.x+12, obj2.Placement.Base.y, obj2.Placement.Base.z) 33 | 34 | i=0 35 | def engine(): 36 | global i 37 | i+=0.05 38 | if i > 1.0: 39 | i = 0.0 40 | move(i) 41 | 42 | #move(0.5) 43 | 44 | timer=QtCore.QTimer() 45 | timer.timeout.connect(engine) 46 | timer.start(100) -------------------------------------------------------------------------------- /needle.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/circle-knitting/60bd927e6091823d87545d86472ff0371e26c9ee/needle.fcstd -------------------------------------------------------------------------------- /red-needlesupport.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/circle-knitting/60bd927e6091823d87545d86472ff0371e26c9ee/red-needlesupport.fcstd -------------------------------------------------------------------------------- /structural-mock.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/circle-knitting/60bd927e6091823d87545d86472ff0371e26c9ee/structural-mock.fcstd -------------------------------------------------------------------------------- /track.fcstd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/fossasia/circle-knitting/60bd927e6091823d87545d86472ff0371e26c9ee/track.fcstd --------------------------------------------------------------------------------