summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2016-01-13 20:44:23 (UTC)
committer Michael Krelin <hacker@klever.net>2016-01-13 20:44:23 (UTC)
commitba0d2b52cac7c0ff12fcefb41211177e31963cdc (patch) (unidiff)
tree959db70d5c0e00488c3e9d96d6737b6f0674b65f
parent4463cba1eed4a59d4eba588389a169481798a73c (diff)
downloadredelta-ba0d2b52cac7c0ff12fcefb41211177e31963cdc.zip
redelta-ba0d2b52cac7c0ff12fcefb41211177e31963cdc.tar.gz
redelta-ba0d2b52cac7c0ff12fcefb41211177e31963cdc.tar.bz2
comments
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--delta.jscad4
1 files changed, 2 insertions, 2 deletions
diff --git a/delta.jscad b/delta.jscad
index 0e8fd62..326d172 100644
--- a/delta.jscad
+++ b/delta.jscad
@@ -792,29 +792,29 @@ function bedholder(params) {
792 radius: CONFIG.bedholder.bolt.d/2+PRINT.screw_tolerance/2 792 radius: CONFIG.bedholder.bolt.d/2+PRINT.screw_tolerance/2
793 }), 793 }),
794 CSG.cube({ // nut pocket 794 CSG.cube({ // nut pocket
795 center: [0,-CONFIG.heatbed.sr,nuth], 795 center: [0,-CONFIG.heatbed.sr,nuth],
796 radius: [CONFIG.extrusion.w/2+1,(CONFIG.bedholder.nut.w+PRINT.slide_tolerance)/2,(CONFIG.bedholder.nut.h+PRINT.slide_tolerance)/2] 796 radius: [CONFIG.extrusion.w/2+1,(CONFIG.bedholder.nut.w+PRINT.slide_tolerance)/2,(CONFIG.bedholder.nut.h+PRINT.slide_tolerance)/2]
797 }), 797 }),
798 CSG.cylinder({ // sink base screw 798 CSG.cylinder({ // sink base screw
799 start: [0,-CD.base.mid_inscription_r,h0+bolt_s], 799 start: [0,-CD.base.mid_inscription_r,h0+bolt_s],
800 end: [0,-CD.base.mid_inscription_r,h0+CONFIG.bedholder.h+1], 800 end: [0,-CD.base.mid_inscription_r,h0+CONFIG.bedholder.h+1],
801 radius: CONFIG.bedholder.bolt.head.d/2+PRINT.play_tolerance 801 radius: CONFIG.bedholder.bolt.head.d/2+PRINT.play_tolerance
802 }) 802 })
803 ]); 803 ]);
804 rv = rv.union(CSG.cylinder({ 804 rv = rv.union(CSG.cylinder({ // patch up for bridging
805 start: [0,-CONFIG.heatbed.sr,nutth], end: [0,-CONFIG.heatbed.sr,nutth+PRINT.layer_height], 805 start: [0,-CONFIG.heatbed.sr,nutth], end: [0,-CONFIG.heatbed.sr,nutth+PRINT.layer_height],
806 radius: (CONFIG.bedholder.nut.w+PRINT.slide_tolerance)/2+PRINT.extrusion_width 806 radius: (CONFIG.bedholder.nut.w+PRINT.slide_tolerance)/2+PRINT.extrusion_width
807 })); 807 }));
808 rv = rv.intersect(CSG.cylinder({ 808 rv = rv.intersect(CSG.cylinder({ // cut off excess
809 start: [0,0,h0-1], end: [0,0,h0+CONFIG.bedholder.h+1], 809 start: [0,0,h0-1], end: [0,0,h0+CONFIG.bedholder.h+1],
810 radius: CONFIG.heatbed.r, resolution: 270 810 radius: CONFIG.heatbed.r, resolution: 270
811 })); 811 }));
812 rv.properties.P = new CSG.Connector([0,-CD.base.mid_inscription_r,h0],[0,0,1],[1,0,0]); 812 rv.properties.P = new CSG.Connector([0,-CD.base.mid_inscription_r,h0],[0,0,1],[1,0,0]);
813 return rv.setColor(CONFIG.color.parts); 813 return rv.setColor(CONFIG.color.parts);
814} 814}
815 815
816var PARTS = { 816var PARTS = {
817 wip: function(params) { 817 wip: function(params) {
818 return duetholder(params); 818 return duetholder(params);
819 return PARTS.alltogethernow(params); 819 return PARTS.alltogethernow(params);
820 return base_extrusions(); 820 return base_extrusions();