From 9756845c59a85499c6f5c5efe029783735fc4e73 Mon Sep 17 00:00:00 2001 From: Alex Verschoot Date: Thu, 17 Jul 2025 22:42:02 +0200 Subject: [PATCH] formatting + extra comments --- vitamins/corner_3d_connector.scad | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/vitamins/corner_3d_connector.scad b/vitamins/corner_3d_connector.scad index d3b6dba..e92ca62 100644 --- a/vitamins/corner_3d_connector.scad +++ b/vitamins/corner_3d_connector.scad @@ -50,13 +50,13 @@ function corner_3d_connector_nut_screws_hor(type) = type[12]; //! The positions function corner_3d_connector_nut_screws_ver(type) = type[13]; //! The positions of the screw holes on the vertical arms, expressed in %/100 of the nut arm -function corner_3d_connector_get_y_offset(type) = [0,-corner_3d_connector_outer_side_length(type)/2,corner_3d_connector_nut_nyloc_thickness(type)]; -function corner_3d_connector_get_y_rot(type) = [90,0,0]; -function corner_3d_connector_get_x_offset(type) = [corner_3d_connector_outer_side_length(type)/2,0,corner_3d_connector_nut_nyloc_thickness(type)]; -function corner_3d_connector_get_x_rot(type) = [0,90,0]; +function corner_3d_connector_get_y_offset(type) = [0,-corner_3d_connector_outer_side_length(type)/2,corner_3d_connector_nut_nyloc_thickness(type)]; //! helper function to position the y beam +function corner_3d_connector_get_y_rot(type) = [90,0,0]; //! helper function to rotate the y beam +function corner_3d_connector_get_x_offset(type) = [corner_3d_connector_outer_side_length(type)/2,0,corner_3d_connector_nut_nyloc_thickness(type)]; //! helper function to position the x beam +function corner_3d_connector_get_x_rot(type) = [0,90,0]; //! helper function to rotate the y beam -module corner_3d_connector (type, thread = false, grub_screws = true) { +module corner_3d_connector (type, thread = false, grub_screws = true) { //! draw the specified corner_3d_connector nut_screw_dia = corner_3d_connector_nut_screw_dia(type); nut_dia = corner_3d_connector_nut_dia(type); nut_thickness = corner_3d_connector_nut_thickness(type);