chiark / gitweb /
bike-phone-mount: prefix modules, nfc
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jun 2020 00:30:24 +0000 (01:30 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 6 Jun 2020 00:30:24 +0000 (01:30 +0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
bike-phone-mount.scad

index 8f2cf66ef37f5712abad577ae3574964a0432511..cba9d628d20da5df3e62f5339167320872ef0a07 100644 (file)
@@ -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();