1
0
mirror of https://github.com/nophead/NopSCADlib.git synced 2025-08-12 10:23:58 +02:00

Bodge to jhead to allow the ziptie and sleaving to be removed by setting naked to undef.

This commit is contained in:
Chris Palmer
2020-09-06 12:33:44 +01:00
parent d1429a3b7d
commit d0513c7299

View File

@@ -138,7 +138,7 @@ module jhead_hot_end_assembly(type, filament, naked = false) { //! Assembly with
// //
// silcone tape // silcone tape
// //
if(!naked) if(is_undef(naked) || !naked)
color("red") color("red")
if(exploded()) if(exploded())
translate([0, max(hot_end_insulator_diameter(type) / 2, heater_length(heater) / 2 - nozzle_x(heater)), translate([0, max(hot_end_insulator_diameter(type) / 2, heater_length(heater) / 2 - nozzle_x(heater)),
@@ -156,7 +156,7 @@ module jhead_hot_end_assembly(type, filament, naked = false) { //! Assembly with
// //
// Zip tie and heatshrink // Zip tie and heatshrink
// //
if(!naked) if(!naked && !is_undef(naked))
rotate(10) { rotate(10) {
dia = hot_end_insulator_diameter(type); dia = hot_end_insulator_diameter(type);
scale([1, (bundle + dia) / dia]) scale([1, (bundle + dia) / dia])