diff --git a/CAD/RAW/Readme.md b/CAD/RAW/Readme.md index 68b67d6b..ce2dd5da 100644 --- a/CAD/RAW/Readme.md +++ b/CAD/RAW/Readme.md @@ -11,4 +11,9 @@ Save as -> Pack 'n go -> save somewhere and copy the ```.ipt``` files in the [IP ### STL files Export -> export as STL and hit options -> individual files. -Rename them with e.g. Bulkrenamer or so. \ No newline at end of file + +#### Renaming +On Windows: +``` +python rename.py +``` diff --git a/CAD/RAW/STL/UC2_v3_10_Base_puzzle_v3_77.stl b/CAD/RAW/STL/UC2_10_Base_puzzle_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_10_Base_puzzle_v3_77.stl rename to CAD/RAW/STL/UC2_10_Base_puzzle_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_10_Cube_1x1_v3_78.stl b/CAD/RAW/STL/UC2_10_Cube_1x1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_10_Cube_1x1_v3_78.stl rename to CAD/RAW/STL/UC2_10_Cube_1x1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_10_Cube_2x1_v3_79.stl b/CAD/RAW/STL/UC2_10_Cube_2x1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_10_Cube_2x1_v3_79.stl rename to CAD/RAW/STL/UC2_10_Cube_2x1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_10_Lid_1x1_v3_80.stl b/CAD/RAW/STL/UC2_10_Lid_1x1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_10_Lid_1x1_v3_80.stl rename to CAD/RAW/STL/UC2_10_Lid_1x1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_10_Lid_2x1_v3_81.stl b/CAD/RAW/STL/UC2_10_Lid_2x1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_10_Lid_2x1_v3_81.stl rename to CAD/RAW/STL/UC2_10_Lid_2x1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Beamexpander_Lens_Adapter_82.stl b/CAD/RAW/STL/UC2_20_Beamexpander_Lens_Adapter_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Beamexpander_Lens_Adapter_82.stl rename to CAD/RAW/STL/UC2_20_Beamexpander_Lens_Adapter_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamexpander_v3_3.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Beamexpander_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamexpander_v3_3.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Beamexpander_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplitter_v3_4.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplitter_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplitter_v3_4.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplitter_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Base_25x35_v3_5.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Base_25x35_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Base_25x35_v3_5.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Base_25x35_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Dichroicmirror_Retainplate_25_36_6.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Dichroicmirror_Retainplate_25_36_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Dichroicmirror_Retainplate_25_36_6.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Dichroicmirror_Retainplate_25_36_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Retainring_25mm_7.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Retainring_25mm_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Beamsplittercube_Retainring_25mm_7.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Beamsplittercube_Retainring_25mm_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Guide_v3_8.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Guide_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Guide_v3_8.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Guide_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Leaf_9.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Leaf_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Leaf_9.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Leaf_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Lid_v3_10.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Lid_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Lid_v3_10.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Lid_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Wheel_11.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Wheel_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_CirAp_Wheel_11.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_CirAp_Wheel_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Eye_Lens_v3_12.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Eye_Lens_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Eye_Lens_v3_12.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Eye_Lens_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Eye_v3_13.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Eye_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Eye_v3_13.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Eye_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Holder-okular+flashlight_v3_14.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Holder-okular+flashlight_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Holder-okular+flashlight_v3_14.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Holder-okular+flashlight_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_Plate_18.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_Plate_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_Plate_18.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_Plate_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_Thorlabsadapter_19.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_Thorlabsadapter_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_Thorlabsadapter_19.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_Thorlabsadapter_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_part1_15.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_part1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_part1_15.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_part1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_part2_16.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_part2_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_part2_16.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_part2_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_v3_17.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_45_base_v3_17.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_45_base_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_Plate_21.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_Plate_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_Plate_21.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_Plate_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_Thorlabsadapter_22.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_Thorlabsadapter_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_Thorlabsadapter_22.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_Thorlabsadapter_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_base_v3_20.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_base_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Kinematic_Mirrormount_base_v3_20.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Kinematic_Mirrormount_base_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Laser_Holder_fixed_v3_24.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Laser_Holder_fixed_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Laser_Holder_fixed_v3_24.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Laser_Holder_fixed_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_165mm_clamp_27.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Lens_165mm_clamp_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_165mm_clamp_27.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Lens_165mm_clamp_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_165mm_26.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Lens_165mm_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_165mm_26.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Lens_165mm_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_Cylindrical_v3_28.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Lens_Cylindrical_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_Cylindrical_v3_28.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Lens_Cylindrical_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_holder_RMS_63x_29.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Lens_holder_RMS_63x_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Lens_holder_RMS_63x_29.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Lens_holder_RMS_63x_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Mirror_Holder_Thorlabs_v3_30.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Mirror_Holder_Thorlabs_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Mirror_Holder_Thorlabs_v3_30.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Mirror_Holder_Thorlabs_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Mirror_Holder_wLogo_v3_31.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Mirror_Holder_wLogo_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Mirror_Holder_wLogo_v3_31.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Mirror_Holder_wLogo_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Objective_Holder_v3_32.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Objective_Holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Objective_Holder_v3_32.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Objective_Holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_RaspiCam_v3_33.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_RaspiCam_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_RaspiCam_v3_33.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_RaspiCam_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Sample_clamp_magnetic_35.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Sample_clamp_magnetic_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Sample_clamp_magnetic_35.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Sample_clamp_magnetic_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Sample_clamp_34.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Sample_clamp_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Sample_clamp_34.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Sample_clamp_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Some_Holder_38.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Some_Holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Some_Holder_38.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Some_Holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Thorlabs_39.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Thorlabs_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Thorlabs_39.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Thorlabs_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_objectivemount_40.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_objectivemount_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_objectivemount_40.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_objectivemount_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_single_motorized_v3_41.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_single_motorized_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_single_motorized_v3_41.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_single_motorized_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_single_v3_42.stl b/CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_single_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_Insert_Z-Focus_single_v3_42.stl rename to CAD/RAW/STL/UC2_20_Cube_Insert_Z-Focus_single_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_AlliedVision_Alvium_adjustable_83.stl b/CAD/RAW/STL/UC2_20_Cube_insert_AlliedVision_Alvium_adjustable_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_AlliedVision_Alvium_adjustable_83.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_AlliedVision_Alvium_adjustable_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_AlliedVision_Alvium_v3_1.stl b/CAD/RAW/STL/UC2_20_Cube_insert_AlliedVision_Alvium_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_AlliedVision_Alvium_v3_1.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_AlliedVision_Alvium_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_Basler_acA1920_25gm_v3_2.stl b/CAD/RAW/STL/UC2_20_Cube_insert_Basler_acA1920_25gm_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_Basler_acA1920_25gm_v3_2.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_Basler_acA1920_25gm_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_LED_holder_v3_25.stl b/CAD/RAW/STL/UC2_20_Cube_insert_LED_holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_LED_holder_v3_25.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_LED_holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_Laser_Block_adjustable_v3_23.stl b/CAD/RAW/STL/UC2_20_Cube_insert_Laser_Block_adjustable_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_Laser_Block_adjustable_v3_23.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_Laser_Block_adjustable_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_Sample_holder_magnetic_v3_36.stl b/CAD/RAW/STL/UC2_20_Cube_insert_Sample_holder_magnetic_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_Sample_holder_magnetic_v3_36.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_Sample_holder_magnetic_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Cube_insert_Sample_holder_v3_37.stl b/CAD/RAW/STL/UC2_20_Cube_insert_Sample_holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Cube_insert_Sample_holder_v3_37.stl rename to CAD/RAW/STL/UC2_20_Cube_insert_Sample_holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Insert_Eyepiece_v3.stl b/CAD/RAW/STL/UC2_20_Insert_Eyepiece_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Insert_Eyepiece_v3.stl rename to CAD/RAW/STL/UC2_20_Insert_Eyepiece_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Insert_Lens_holder_40mm_v3.stl b/CAD/RAW/STL/UC2_20_Insert_Lens_holder_40mm_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Insert_Lens_holder_40mm_v3.stl rename to CAD/RAW/STL/UC2_20_Insert_Lens_holder_40mm_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Rect_Aperture_Insert_half_v3_50.stl b/CAD/RAW/STL/UC2_20_Rect_Aperture_Insert_half_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Rect_Aperture_Insert_half_v3_50.stl rename to CAD/RAW/STL/UC2_20_Rect_Aperture_Insert_half_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Rect_Aperture_door_hinge_48.stl b/CAD/RAW/STL/UC2_20_Rect_Aperture_door_hinge_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Rect_Aperture_door_hinge_48.stl rename to CAD/RAW/STL/UC2_20_Rect_Aperture_door_hinge_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Rect_Aperture_door_slide_49.stl b/CAD/RAW/STL/UC2_20_Rect_Aperture_door_slide_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Rect_Aperture_door_slide_49.stl rename to CAD/RAW/STL/UC2_20_Rect_Aperture_door_slide_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_Rect_Aperture_for_printing_v3.stl b/CAD/RAW/STL/UC2_20_Rect_Aperture_for_printing_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_Rect_Aperture_for_printing_v3.stl rename to CAD/RAW/STL/UC2_20_Rect_Aperture_for_printing_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_focus_inlet_linearflexure_mechanical_v3_43.stl b/CAD/RAW/STL/UC2_20_focus_inlet_linearflexure_mechanical_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_focus_inlet_linearflexure_mechanical_v3_43.stl rename to CAD/RAW/STL/UC2_20_focus_inlet_linearflexure_mechanical_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_focus_inlet_linearflexure_v2-3_1x1_44.stl b/CAD/RAW/STL/UC2_20_focus_inlet_linearflexure_v2-3_1x1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_focus_inlet_linearflexure_v2-3_1x1_44.stl rename to CAD/RAW/STL/UC2_20_focus_inlet_linearflexure_v2-3_1x1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_focus_inlet_objective_mount_v8_45.stl b/CAD/RAW/STL/UC2_20_focus_inlet_objective_mount_v8_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_focus_inlet_objective_mount_v8_45.stl rename to CAD/RAW/STL/UC2_20_focus_inlet_objective_mount_v8_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_gear_46.stl b/CAD/RAW/STL/UC2_20_gear_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_gear_46.stl rename to CAD/RAW/STL/UC2_20_gear_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_20_gear_with_bar_47.stl b/CAD/RAW/STL/UC2_20_gear_with_bar_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_20_gear_with_bar_47.stl rename to CAD/RAW/STL/UC2_20_gear_with_bar_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Adapter_M3_nut_51.stl b/CAD/RAW/STL/UC2_30_Adapter_M3_nut_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Adapter_M3_nut_51.stl rename to CAD/RAW/STL/UC2_30_Adapter_M3_nut_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Cagelid_56.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_Cagelid_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Cagelid_56.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_Cagelid_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_DMD_Fixation_base_57.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_DMD_Fixation_base_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_DMD_Fixation_base_57.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_DMD_Fixation_base_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_DMD_Holder_58.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_DMD_Holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_DMD_Holder_58.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_DMD_Holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Fouriermask_59.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_Fouriermask_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Fouriermask_59.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_Fouriermask_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Laser_Telescope_Mount_60.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_Laser_Telescope_Mount_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Laser_Telescope_Mount_60.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_Laser_Telescope_Mount_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Rodholder_61.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_Rodholder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_Rodholder_61.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_Rodholder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_base_v4_55.stl b/CAD/RAW/STL/UC2_30_CUBE_openSIM_base_v4_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_CUBE_openSIM_base_v4_55.stl rename to CAD/RAW/STL/UC2_30_CUBE_openSIM_base_v4_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Coupling_Screw_28BYJ_M3_53.stl b/CAD/RAW/STL/UC2_30_Coupling_Screw_28BYJ_M3_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Coupling_Screw_28BYJ_M3_53.stl rename to CAD/RAW/STL/UC2_30_Coupling_Screw_28BYJ_M3_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Cube_LED_Array_v0_54.stl b/CAD/RAW/STL/UC2_30_Cube_LED_Array_v0_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Cube_LED_Array_v0_54.stl rename to CAD/RAW/STL/UC2_30_Cube_LED_Array_v0_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Cube_sampleholder_62.stl b/CAD/RAW/STL/UC2_30_Cube_sampleholder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Cube_sampleholder_62.stl rename to CAD/RAW/STL/UC2_30_Cube_sampleholder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_IM_LED_holder_v3_65.stl b/CAD/RAW/STL/UC2_30_IM_LED_holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_IM_LED_holder_v3_65.stl rename to CAD/RAW/STL/UC2_30_IM_LED_holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_LS_Sample_stage_v2_68.stl b/CAD/RAW/STL/UC2_30_LS_Sample_stage_v2_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_LS_Sample_stage_v2_68.stl rename to CAD/RAW/STL/UC2_30_LS_Sample_stage_v2_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Laser_Clamp_OnOffSwitch_thin_67.stl b/CAD/RAW/STL/UC2_30_Laser_Clamp_OnOffSwitch_thin_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Laser_Clamp_OnOffSwitch_thin_67.stl rename to CAD/RAW/STL/UC2_30_Laser_Clamp_OnOffSwitch_thin_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Laser_Clamp_OnOffSwitch_66.stl b/CAD/RAW/STL/UC2_30_Laser_Clamp_OnOffSwitch_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Laser_Clamp_OnOffSwitch_66.stl rename to CAD/RAW/STL/UC2_30_Laser_Clamp_OnOffSwitch_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Smartphone_Holder_50mmRamsden_v3_72.stl b/CAD/RAW/STL/UC2_30_Smartphone_Holder_50mmRamsden_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Smartphone_Holder_50mmRamsden_v3_72.stl rename to CAD/RAW/STL/UC2_30_Smartphone_Holder_50mmRamsden_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Smartphone_Holder_v3_73.stl b/CAD/RAW/STL/UC2_30_Smartphone_Holder_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Smartphone_Holder_v3_73.stl rename to CAD/RAW/STL/UC2_30_Smartphone_Holder_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_XY_Stage_Clamp_Slide_74.stl b/CAD/RAW/STL/UC2_30_XY_Stage_Clamp_Slide_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_XY_Stage_Clamp_Slide_74.stl rename to CAD/RAW/STL/UC2_30_XY_Stage_Clamp_Slide_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Z_Stage_Adapterplate_75.stl b/CAD/RAW/STL/UC2_30_Z_Stage_Adapterplate_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Z_Stage_Adapterplate_75.stl rename to CAD/RAW/STL/UC2_30_Z_Stage_Adapterplate_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_Z_Stage_Fluomodule_76.stl b/CAD/RAW/STL/UC2_30_Z_Stage_Fluomodule_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_Z_Stage_Fluomodule_76.stl rename to CAD/RAW/STL/UC2_30_Z_Stage_Fluomodule_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_alignment_template_52.stl b/CAD/RAW/STL/UC2_30_alignment_template_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_alignment_template_52.stl rename to CAD/RAW/STL/UC2_30_alignment_template_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_focus_inlet_objective_mount_v7_fluo_64.stl b/CAD/RAW/STL/UC2_30_focus_inlet_objective_mount_v7_fluo_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_focus_inlet_objective_mount_v7_fluo_64.stl rename to CAD/RAW/STL/UC2_30_focus_inlet_objective_mount_v7_fluo_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_focus_inlet_objective_mount_v7_63.stl b/CAD/RAW/STL/UC2_30_focus_inlet_objective_mount_v7_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_focus_inlet_objective_mount_v7_63.stl rename to CAD/RAW/STL/UC2_30_focus_inlet_objective_mount_v7_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_printing_calibrator_69.stl b/CAD/RAW/STL/UC2_30_printing_calibrator_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_printing_calibrator_69.stl rename to CAD/RAW/STL/UC2_30_printing_calibrator_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_raspi_lens_to_laser_2in1_71.stl b/CAD/RAW/STL/UC2_30_raspi_lens_to_laser_2in1_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_raspi_lens_to_laser_2in1_71.stl rename to CAD/RAW/STL/UC2_30_raspi_lens_to_laser_2in1_v3.stl diff --git a/CAD/RAW/STL/UC2_v3_30_raspi_lens_to_laser_70.stl b/CAD/RAW/STL/UC2_30_raspi_lens_to_laser_v3.stl similarity index 100% rename from CAD/RAW/STL/UC2_v3_30_raspi_lens_to_laser_70.stl rename to CAD/RAW/STL/UC2_30_raspi_lens_to_laser_v3.stl diff --git a/CAD/RAW/STL/convertname2.py b/CAD/RAW/STL/convertname2.py new file mode 100644 index 00000000..c58933eb --- /dev/null +++ b/CAD/RAW/STL/convertname2.py @@ -0,0 +1,35 @@ +# -*- coding: utf-8 -*- +""" +Created on Sat Jan 9 14:55:03 2021 + +@author: diederichbenedict +""" +# rename the following pattern: +# *v3_XXX.stl -> *v3.stl +# or +# *_XXX.stl -> v3 (more generic!) + + +import os + +delimiter = '_' +filetype = '.stl' +basefolder = 'C:\\Users\\diederichbenedict\\Dropbox\\Dokumente\\Promotion\\PROJECTS\\UC2-GIT\\CAD\\RAW\\STL\\' +basefolder = '/Users/bene/Dropbox/Dokumente/Promotion/PROJECTS/UC2-GIT/CAD/RAW/STL/' + +import glob, os +os.chdir(basefolder) +for filename in glob.glob("*"+filetype): + filename_final = '' + + filename_split = filename.split(delimiter) + for i in range(len(filename_split)-1): + if not filename_split[i] == 'v3': + filename_final += (filename_split[i] + delimiter) + + filename_final += 'v3'+filetype + + print(filename + " -> " + filename_final) + + # rename + os.rename(filename,filename_final)