[fixes #976] Updated display order v1.1

This commit is contained in:
Sibo Van Gool 2021-07-13 20:58:02 +02:00
parent 6d7e25b0a8
commit 2c0870fa4d
10 changed files with 13 additions and 13 deletions

View File

@ -14,7 +14,7 @@ public class Bulkhead extends RadiusRingComponent {
setOuterRadiusAutomatic(true);
setLength(0.002);
super.displayOrder_side = 8; // Order for displaying the component in the 2D side view
super.displayOrder_back = 13; // Order for displaying the component in the 2D back view
super.displayOrder_back = 6; // Order for displaying the component in the 2D back view
}
@Override

View File

@ -14,7 +14,7 @@ public class CenteringRing extends RadiusRingComponent {
setInnerRadiusAutomatic(true);
setLength(0.002);
super.displayOrder_side = 7; // Order for displaying the component in the 2D side view
super.displayOrder_back = 14; // Order for displaying the component in the 2D back view
super.displayOrder_back = 5; // Order for displaying the component in the 2D back view
}
private static final Translator trans = Application.getTranslator();

View File

@ -50,7 +50,7 @@ public class InnerTube extends ThicknessRingComponent implements AxialPositionab
motors = new MotorConfigurationSet(this);
super.displayOrder_side = 5; // Order for displaying the component in the 2D side view
super.displayOrder_back = 12; // Order for displaying the component in the 2D back view
super.displayOrder_back = 14; // Order for displaying the component in the 2D back view
}

View File

@ -38,7 +38,7 @@ public class LaunchLug extends ExternalComponent implements AnglePositionable, B
thickness = 0.001;
length = 0.03;
super.displayOrder_side = 15; // Order for displaying the component in the 2D side view
super.displayOrder_back = 10; // Order for displaying the component in the 2D back view
super.displayOrder_back = 12; // Order for displaying the component in the 2D back view
}

View File

@ -42,14 +42,14 @@ public class MassComponent extends MassObject {
public MassComponent() {
super();
super.displayOrder_side = 13; // Order for displaying the component in the 2D side view
super.displayOrder_back = 8; // Order for displaying the component in the 2D back view
super.displayOrder_back = 10; // Order for displaying the component in the 2D back view
}
public MassComponent(double length, double radius, double mass) {
super(length, radius);
this.mass = mass;
super.displayOrder_side = 13; // Order for displaying the component in the 2D side view
super.displayOrder_back = 8; // Order for displaying the component in the 2D back view
super.displayOrder_back = 10; // Order for displaying the component in the 2D back view
}

View File

@ -24,7 +24,7 @@ public class Parachute extends RecoveryDevice {
this.lineMaterial = Application.getPreferences().getDefaultComponentMaterial(Parachute.class, Material.Type.LINE);
this.lineLength = 0.3;
super.displayOrder_side = 11; // Order for displaying the component in the 2D side view
super.displayOrder_back = 7; // Order for displaying the component in the 2D back view
super.displayOrder_back = 9; // Order for displaying the component in the 2D back view
}

View File

@ -70,7 +70,7 @@ public class RailButton extends ExternalComponent implements AnglePositionable,
this.setInstanceSeparation( this.outerDiameter_m * 6);
this.setMaterial(Databases.findMaterial(Material.Type.BULK, "Delrin"));
super.displayOrder_side = 14; // Order for displaying the component in the 2D side view
super.displayOrder_back = 9; // Order for displaying the component in the 2D back view
super.displayOrder_back = 11; // Order for displaying the component in the 2D back view
}
public RailButton( final double od, final double ht ) {
@ -78,7 +78,7 @@ public class RailButton extends ExternalComponent implements AnglePositionable,
this.setOuterDiameter( od);
this.setTotalHeight( ht);
super.displayOrder_side = 14; // Order for displaying the component in the 2D side view
super.displayOrder_back = 9; // Order for displaying the component in the 2D back view
super.displayOrder_back = 11; // Order for displaying the component in the 2D back view
}
public RailButton( final double od, final double id, final double ht, final double flangeThickness, final double _standoff ) {
@ -91,7 +91,7 @@ public class RailButton extends ExternalComponent implements AnglePositionable,
this.setInstanceSeparation( od*2);
this.setMaterial(Databases.findMaterial(Material.Type.BULK, "Delrin"));
super.displayOrder_side = 14; // Order for displaying the component in the 2D side view
super.displayOrder_back = 9; // Order for displaying the component in the 2D back view
super.displayOrder_back = 11; // Order for displaying the component in the 2D back view
}
private static final RailButton make1010Button(){

View File

@ -16,7 +16,7 @@ public class ShockCord extends MassObject {
material = Application.getPreferences().getDefaultComponentMaterial(ShockCord.class, Material.Type.LINE);
cordLength = 0.4;
super.displayOrder_side = 12; // Order for displaying the component in the 2D side view
super.displayOrder_back = 5; // Order for displaying the component in the 2D back view
super.displayOrder_back = 7; // Order for displaying the component in the 2D back view
}

View File

@ -22,7 +22,7 @@ public class Streamer extends RecoveryDevice {
this.stripLength = 0.5;
this.stripWidth = 0.05;
super.displayOrder_side = 10; // Order for displaying the component in the 2D side view
super.displayOrder_back = 6; // Order for displaying the component in the 2D back view
super.displayOrder_back = 8; // Order for displaying the component in the 2D back view
}

View File

@ -14,7 +14,7 @@ public class TubeCoupler extends ThicknessRingComponent implements RadialParent
setThickness(0.002);
setLength(0.06);
super.displayOrder_side = 6; // Order for displaying the component in the 2D side view
super.displayOrder_back = 11; // Order for displaying the component in the 2D back view
super.displayOrder_back = 13; // Order for displaying the component in the 2D back view
}
@Override