From 923b3327d5ad06448a596afb916a1c2b80f39f90 Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Sat, 6 Jun 2020 01:30:24 +0100 Subject: [PATCH] bike-phone-mount: prefix modules, nfc Signed-off-by: Ian Jackson --- bike-phone-mount.scad | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/bike-phone-mount.scad b/bike-phone-mount.scad index 8f2cf66..cba9d62 100644 --- a/bike-phone-mount.scad +++ b/bike-phone-mount.scad @@ -30,7 +30,7 @@ mount_total_height = mnep2[1] - mnep6[1]; mnep_z_offset = -mnep2[1]; mnep_side_offset = [ mount_neck_width/2, mnep_z_offset ]; -module NeckEdgePlan() { +module MountNeckEdgePlan() { polygon([ mnep0, mnep1, mnep2, @@ -41,13 +41,13 @@ module NeckEdgePlan() { mnep7 ]); } -module Neck() { +module MountNeck() { intersection_for (r=[0,90]) { rotate([0,0,r]){ linextr_y_xz(-100,100,convexity=10){ for (m=[0,1]) { mirror([m,0]) { - translate(mnep_side_offset) NeckEdgePlan(); + translate(mnep_side_offset) MountNeckEdgePlan(); rectfromto([-0.1, -mount_total_height], mnep_side_offset + mnepm); } @@ -57,7 +57,7 @@ module Neck() { } } -module DemoCeil() { +module MountDemoCeil() { c = mount_demo_ceil + mount_extra_slope; linextr(0, 0.8) { square(mount_neck_width + 2*(mount_demo_ceil + mount_extra_slope), @@ -65,12 +65,12 @@ module DemoCeil() { } } -module Demo(){ - Neck(); - DemoCeil(); +module MountDemo(){ + MountNeck(); + MountDemoCeil(); } -//NeckEdgePlan(); -//Neck(); -//DemoCeil(); -Demo(); +//MountNeckEdgePlan(); +//MountNeck(); +//MountDemoCeil(); +MountDemo(); -- 2.30.2