From 8694cf108fadc30dd00635d55745e37a2fdc9f8e Mon Sep 17 00:00:00 2001 From: Mario Voigt Date: Tue, 2 Nov 2021 17:46:54 +0100 Subject: [PATCH] a lot of inx refactorings to ease up menu structure a bit --- extensions/fablabchemnitz/000_boxes.py.sh | 5 ++ extensions/fablabchemnitz/000_validate.sh | 2 +- .../box_maker_conical/box_maker_conical.inx | 2 +- .../box_maker_elliptical_box.inx | 2 +- .../box_maker_elliptical_cone.inx | 2 +- .../box_maker_generic_generator.inx | 6 +- .../box_maker_lasercut_box.inx | 6 +- .../box_maker_living_hinge.inx | 2 +- .../box_maker_mehr_boxes.inx | 2 +- .../box_maker_path_to_flex.inx | 6 +- .../box_maker_t_slot/box_maker_t_slot.inx | 2 +- .../boxes.py/boxes.py.AgricolaInsert.inx | 2 +- .../boxes.py/boxes.py.AllEdges.inx | 2 +- .../boxes.py/boxes.py.AngledBox.inx | 2 +- .../boxes.py/boxes.py.AngledCutJig.inx | 2 +- .../boxes.py/boxes.py.Arcade.inx | 2 +- .../boxes.py/boxes.py.Atreus21.inx | 2 +- .../boxes.py/boxes.py.BasedBox.inx | 2 +- .../boxes.py/boxes.py.BayonetBox.inx | 2 +- .../boxes.py/boxes.py.BinTray.inx | 2 +- .../boxes.py/boxes.py.BottleStack.inx | 2 +- .../boxes.py/boxes.py.BurnTest.inx | 2 +- .../boxes.py/boxes.py.CardBox.inx | 2 +- .../boxes.py/boxes.py.Castle.inx | 2 +- .../boxes.py/boxes.py.ClosedBox.inx | 2 +- .../boxes.py/boxes.py.CoffeeCapsuleHolder.inx | 2 +- .../boxes.py/boxes.py.ConcaveKnob.inx | 2 +- .../boxes.py/boxes.py.Console.inx | 2 +- .../boxes.py/boxes.py.Console2.inx | 2 +- .../boxes.py/boxes.py.DinRailBox.inx | 2 +- .../boxes.py/boxes.py.DiscRack.inx | 2 +- .../boxes.py/boxes.py.Display.inx | 2 +- .../boxes.py/boxes.py.DisplayCase.inx | 2 +- .../boxes.py/boxes.py.DisplayShelf.inx | 2 +- .../boxes.py/boxes.py.DividerTray.inx | 2 +- .../boxes.py/boxes.py.DoubleFlexDoorBox.inx | 2 +- .../boxes.py/boxes.py.DrillBox.inx | 2 +- .../boxes.py/boxes.py.DrillStand.inx | 2 +- .../boxes.py/boxes.py.ElectronicsBox.inx | 2 +- .../boxes.py/boxes.py.EuroRackSkiff.inx | 2 +- .../boxes.py/boxes.py.FanHole.inx | 2 +- .../boxes.py/boxes.py.FlexBox.inx | 2 +- .../boxes.py/boxes.py.FlexBox2.inx | 2 +- .../boxes.py/boxes.py.FlexBox3.inx | 2 +- .../boxes.py/boxes.py.FlexBox4.inx | 2 +- .../boxes.py/boxes.py.FlexBox5.inx | 2 +- .../boxes.py/boxes.py.FlexTest.inx | 2 +- .../boxes.py/boxes.py.FlexTest2.inx | 2 +- .../boxes.py/boxes.py.Folder.inx | 2 +- .../boxes.py/boxes.py.GearBox.inx | 2 +- .../boxes.py/boxes.py.Gears.inx | 2 +- .../boxes.py/boxes.py.HeartBox.inx | 2 +- .../boxes.py/boxes.py.HexHoles.inx | 2 +- .../boxes.py/boxes.py.HingeBox.inx | 2 +- .../fablabchemnitz/boxes.py/boxes.py.Hook.inx | 2 +- .../boxes.py/boxes.py.IntegratedHingeBox.inx | 2 +- .../boxes.py/boxes.py.Keypad.inx | 2 +- .../boxes.py/boxes.py.LBeam.inx | 2 +- .../boxes.py/boxes.py.LaserClamp.inx | 2 +- .../boxes.py/boxes.py.LaserHoldfast.inx | 2 +- .../boxes.py/boxes.py.MagazinFile.inx | 2 +- .../boxes.py/boxes.py.MakitaPowerSupply.inx | 2 +- .../boxes.py/boxes.py.NemaMount.inx | 2 +- .../boxes.py/boxes.py.NemaPattern.inx | 2 +- .../boxes.py/boxes.py.NotesHolder.inx | 2 +- .../boxes.py/boxes.py.OpenBox.inx | 2 +- .../boxes.py/boxes.py.OrganPipe.inx | 2 +- .../boxes.py/boxes.py.OttoBody.inx | 2 +- .../boxes.py/boxes.py.OttoLegs.inx | 2 +- .../boxes.py/boxes.py.OttoSoles.inx | 2 +- .../boxes.py/boxes.py.PaintStorage.inx | 2 +- .../boxes.py/boxes.py.PaperBox.inx | 2 +- .../boxes.py/boxes.py.PhoneHolder.inx | 2 +- .../boxes.py/boxes.py.Planetary.inx | 2 +- .../boxes.py/boxes.py.Planetary2.inx | 2 +- .../boxes.py/boxes.py.Platonic.inx | 2 +- .../boxes.py/boxes.py.PoleHook.inx | 2 +- .../boxes.py/boxes.py.Pulley.inx | 2 +- .../boxes.py/boxes.py.Rack10Box.inx | 2 +- .../boxes.py/boxes.py.Rack19Box.inx | 2 +- .../boxes.py/boxes.py.Rack19HalfWidth.inx | 2 +- .../boxes.py/boxes.py.RackBox.inx | 2 +- .../boxes.py/boxes.py.RectangularWall.inx | 2 +- .../boxes.py/boxes.py.RegularBox.inx | 2 +- .../boxes.py/boxes.py.RobotArm.inx | 2 +- .../boxes.py/boxes.py.Rotary.inx | 2 +- .../boxes.py/boxes.py.RoundedBox.inx | 2 +- .../boxes.py/boxes.py.RoyalGame.inx | 2 +- .../boxes.py/boxes.py.SBCMicroRack.inx | 2 +- .../boxes.py/boxes.py.ShutterBox.inx | 2 +- .../boxes.py/boxes.py.SideDoorHousing.inx | 2 +- .../boxes.py/boxes.py.Silverware.inx | 2 +- .../boxes.py/boxes.py.SlatwallCaliper.inx | 2 +- .../boxes.py.SlatwallChiselHolder.inx | 2 +- .../boxes.py/boxes.py.SlatwallConsole.inx | 2 +- .../boxes.py/boxes.py.SlatwallDrillBox.inx | 2 +- .../boxes.py/boxes.py.SlatwallEdges.inx | 2 +- .../boxes.py/boxes.py.SlatwallPinRow.inx | 2 +- .../boxes.py/boxes.py.SlatwallPlaneHolder.inx | 2 +- .../boxes.py.SlatwallPliersHolder.inx | 2 +- .../boxes.py.SlatwallSlottedHolder.inx | 2 +- .../boxes.py/boxes.py.SlatwallStairs.inx | 2 +- .../boxes.py/boxes.py.SlatwallTypeTray.inx | 2 +- .../boxes.py.SlatwallWrenchHolder.inx | 2 +- .../boxes.py/boxes.py.SpicesRack.inx | 2 +- .../boxes.py/boxes.py.Stachel.inx | 2 +- .../boxes.py/boxes.py.StorageRack.inx | 2 +- .../boxes.py/boxes.py.StorageShelf.inx | 2 +- .../boxes.py/boxes.py.TrafficLight.inx | 2 +- .../boxes.py/boxes.py.TrayInsert.inx | 2 +- .../boxes.py/boxes.py.TriangleLamp.inx | 2 +- .../boxes.py/boxes.py.TwoPiece.inx | 2 +- .../boxes.py/boxes.py.TypeTray.inx | 2 +- .../fablabchemnitz/boxes.py/boxes.py.UBox.inx | 2 +- .../boxes.py/boxes.py.UnevenHeightBox.inx | 2 +- .../boxes.py/boxes.py.UniversalBox.inx | 2 +- .../boxes.py/boxes.py.WaivyKnob.inx | 2 +- .../boxes.py/boxes.py.WineRack.inx | 2 +- .../boxmaker_tabbed/box_maker_tabbed.inx | 6 +- .../boxmaker_tabbed/schroffmaker.inx | 82 +++++++++---------- .../can_generator/can_generator.inx | 52 ++++++------ extensions/fablabchemnitz/collar/collar.inx | 2 +- .../fablabchemnitz/cutcraft/cutcraftbox.inx | 4 +- .../cutcraft/cutcraftcylinder.inx | 4 +- .../cutcraft/cutcraftrollerbot.inx | 4 +- .../dxf2papercraft/dxf2papercraft.inx | 2 +- .../estucheria/airplanetypelinearcase.inx | 6 +- .../estucheria/automaticbottomcase.inx | 6 +- .../fablabchemnitz/estucheria/box4p.inx | 6 +- .../estucheria/doublerailingcase.inx | 6 +- .../fablabchemnitz/estucheria/girdle.inx | 6 +- .../fablabchemnitz/estucheria/linearcase.inx | 6 +- .../estucheria/swissbottomcase.inx | 6 +- .../fablabchemnitz/extruder/extruder.inx | 4 +- .../grid_strip_creator/grid_strip_creator.inx | 6 +- .../fablabchemnitz/inkpacking/inkpacking.inx | 6 +- .../origami_patterns_bendy_straw.inx | 4 +- .../origami_patterns_kresling.inx | 6 +- .../origami_patterns_misc_support_ring.inx | 2 +- .../origami_patterns_pleat_circular.inx | 6 +- .../origami_patterns_pleat_hypar.inx | 6 +- .../origami_patterns_template.inx | 6 +- .../origami_patterns_waterbomb.inx | 6 +- .../papercraft_unfold/papercraft_unfold.inx | 6 +- .../fablabchemnitz/paperfold/paperfold.inx | 6 +- .../playing_cards/playing_cards.inx | 4 +- .../fablabchemnitz/plycutter/plycutter.inx | 4 +- extensions/fablabchemnitz/polygen/polygen.inx | 64 +++++++-------- .../fablabchemnitz/polyhedra/polyhedra.inx | 4 +- .../quick_joint/quick_joint.inx | 4 +- .../robot_boxes/robot_boxes.inx | 6 +- .../simple_frame/simple_frame.inx | 4 +- .../tab_generator/tab_generator.inx | 4 +- extensions/fablabchemnitz/tuckbox/tuckbox.inx | 6 +- 154 files changed, 306 insertions(+), 307 deletions(-) create mode 100755 extensions/fablabchemnitz/000_boxes.py.sh diff --git a/extensions/fablabchemnitz/000_boxes.py.sh b/extensions/fablabchemnitz/000_boxes.py.sh new file mode 100755 index 00000000..9f077d2c --- /dev/null +++ b/extensions/fablabchemnitz/000_boxes.py.sh @@ -0,0 +1,5 @@ +#!/bin/bash +for file in boxes.py/*.inx ; do + #echo $file + sed -i 's/"Boxes.py"/"FabLab Chemnitz Boxes.py"/g' $file +done diff --git a/extensions/fablabchemnitz/000_validate.sh b/extensions/fablabchemnitz/000_validate.sh index df6741bc..d25af8ff 100755 --- a/extensions/fablabchemnitz/000_validate.sh +++ b/extensions/fablabchemnitz/000_validate.sh @@ -66,7 +66,7 @@ echo "Removing unrequired pyc cache files" find . -type d -name "__pycache__" -exec rm -rf {} \; > /dev/null -read -p "Build local gallery extension zip files?" -n 1 -r +read -p "Update zip files for zipmirror?" -n 1 -r echo if [[ $REPLY =~ ^[Yy]$ ]]; then echo "Building extension zip files for zipmirror" diff --git a/extensions/fablabchemnitz/box_maker_conical/box_maker_conical.inx b/extensions/fablabchemnitz/box_maker_conical/box_maker_conical.inx index fb39dc2f..37d337bc 100644 --- a/extensions/fablabchemnitz/box_maker_conical/box_maker_conical.inx +++ b/extensions/fablabchemnitz/box_maker_conical/box_maker_conical.inx @@ -19,7 +19,7 @@ all - + diff --git a/extensions/fablabchemnitz/box_maker_elliptical_box/box_maker_elliptical_box.inx b/extensions/fablabchemnitz/box_maker_elliptical_box/box_maker_elliptical_box.inx index 22bc6c4a..b0139137 100644 --- a/extensions/fablabchemnitz/box_maker_elliptical_box/box_maker_elliptical_box.inx +++ b/extensions/fablabchemnitz/box_maker_elliptical_box/box_maker_elliptical_box.inx @@ -24,7 +24,7 @@ all - + diff --git a/extensions/fablabchemnitz/box_maker_elliptical_cone/box_maker_elliptical_cone.inx b/extensions/fablabchemnitz/box_maker_elliptical_cone/box_maker_elliptical_cone.inx index e225aa60..e3be1c63 100644 --- a/extensions/fablabchemnitz/box_maker_elliptical_cone/box_maker_elliptical_cone.inx +++ b/extensions/fablabchemnitz/box_maker_elliptical_cone/box_maker_elliptical_cone.inx @@ -22,7 +22,7 @@ all - + diff --git a/extensions/fablabchemnitz/box_maker_generic_generator/box_maker_generic_generator.inx b/extensions/fablabchemnitz/box_maker_generic_generator/box_maker_generic_generator.inx index 3f5630b0..136bf6dc 100644 --- a/extensions/fablabchemnitz/box_maker_generic_generator/box_maker_generic_generator.inx +++ b/extensions/fablabchemnitz/box_maker_generic_generator/box_maker_generic_generator.inx @@ -57,9 +57,9 @@ all - - - + + + + + + \ No newline at end of file diff --git a/extensions/fablabchemnitz/can_generator/can_generator.inx b/extensions/fablabchemnitz/can_generator/can_generator.inx index a296cfc3..0541f16c 100644 --- a/extensions/fablabchemnitz/can_generator/can_generator.inx +++ b/extensions/fablabchemnitz/can_generator/can_generator.inx @@ -1,29 +1,29 @@ - Can Generator - fablabchemnitz.de.can_generator - - - 30 - 5 - 50 - 22.5 - 3.6 - false - - - - - - - all - - - - - - - + Can Generator + fablabchemnitz.de.can_generator + + + 30 + 5 + 50 + 22.5 + 3.6 + false + + + + + + + all + + + + + + + \ No newline at end of file diff --git a/extensions/fablabchemnitz/collar/collar.inx b/extensions/fablabchemnitz/collar/collar.inx index 94027736..04b71ddd 100644 --- a/extensions/fablabchemnitz/collar/collar.inx +++ b/extensions/fablabchemnitz/collar/collar.inx @@ -34,7 +34,7 @@ all - + diff --git a/extensions/fablabchemnitz/cutcraft/cutcraftbox.inx b/extensions/fablabchemnitz/cutcraft/cutcraftbox.inx index acd964b2..0bdd1b29 100644 --- a/extensions/fablabchemnitz/cutcraft/cutcraftbox.inx +++ b/extensions/fablabchemnitz/cutcraft/cutcraftbox.inx @@ -21,8 +21,8 @@ all - - + + diff --git a/extensions/fablabchemnitz/cutcraft/cutcraftcylinder.inx b/extensions/fablabchemnitz/cutcraft/cutcraftcylinder.inx index fe1f5bc6..11f50c6c 100644 --- a/extensions/fablabchemnitz/cutcraft/cutcraftcylinder.inx +++ b/extensions/fablabchemnitz/cutcraft/cutcraftcylinder.inx @@ -25,8 +25,8 @@ all - - + + diff --git a/extensions/fablabchemnitz/cutcraft/cutcraftrollerbot.inx b/extensions/fablabchemnitz/cutcraft/cutcraftrollerbot.inx index 2181fe29..481540f7 100644 --- a/extensions/fablabchemnitz/cutcraft/cutcraftrollerbot.inx +++ b/extensions/fablabchemnitz/cutcraft/cutcraftrollerbot.inx @@ -19,8 +19,8 @@ all - - + + diff --git a/extensions/fablabchemnitz/dxf2papercraft/dxf2papercraft.inx b/extensions/fablabchemnitz/dxf2papercraft/dxf2papercraft.inx index ae37c044..4977534e 100644 --- a/extensions/fablabchemnitz/dxf2papercraft/dxf2papercraft.inx +++ b/extensions/fablabchemnitz/dxf2papercraft/dxf2papercraft.inx @@ -70,7 +70,7 @@ all - + diff --git a/extensions/fablabchemnitz/estucheria/airplanetypelinearcase.inx b/extensions/fablabchemnitz/estucheria/airplanetypelinearcase.inx index 03a6dfda..205b92be 100644 --- a/extensions/fablabchemnitz/estucheria/airplanetypelinearcase.inx +++ b/extensions/fablabchemnitz/estucheria/airplanetypelinearcase.inx @@ -15,9 +15,9 @@ all - - - + + + - + + all + + + + + + + + \ No newline at end of file diff --git a/extensions/fablabchemnitz/polyhedra/polyhedra.inx b/extensions/fablabchemnitz/polyhedra/polyhedra.inx index 4acbb083..7c827cf6 100644 --- a/extensions/fablabchemnitz/polyhedra/polyhedra.inx +++ b/extensions/fablabchemnitz/polyhedra/polyhedra.inx @@ -55,8 +55,8 @@ all - - + + diff --git a/extensions/fablabchemnitz/quick_joint/quick_joint.inx b/extensions/fablabchemnitz/quick_joint/quick_joint.inx index 8a80e327..4ddde8a1 100644 --- a/extensions/fablabchemnitz/quick_joint/quick_joint.inx +++ b/extensions/fablabchemnitz/quick_joint/quick_joint.inx @@ -27,8 +27,8 @@ path - - + + diff --git a/extensions/fablabchemnitz/robot_boxes/robot_boxes.inx b/extensions/fablabchemnitz/robot_boxes/robot_boxes.inx index c6c50c7e..2501cb1b 100644 --- a/extensions/fablabchemnitz/robot_boxes/robot_boxes.inx +++ b/extensions/fablabchemnitz/robot_boxes/robot_boxes.inx @@ -25,9 +25,9 @@ all - - - + + +