1
Fork 0

rudder wing

This commit is contained in:
Andy Killorin 2023-11-01 09:41:27 -05:00
parent 9647d1b3b2
commit 1ae4fcfd24
No known key found for this signature in database
GPG key ID: 8CB11B45B690DC2A
2 changed files with 5 additions and 1 deletions

View file

@ -13,3 +13,7 @@ pub const SPAR_SIDE_WIDTH: f32 = 0.75 * IN2MM;
pub const FUSELAGE_GAP: f32 = 10.0 * IN2MM;
/// a very large number, used to place unknown objects such that they do not intersect
pub const INF: f32 = 1000.0;
pub const RUDDER_HEIGHT: f32 = 5.0 *IN2MM;
pub const RUDDER_CHORD: f32 = 4.0 *IN2MM;
pub const RUDDER_TAPER: f32 = 0.7;
pub const RUDDER_STRUTS: usize = 3;

View file

@ -38,7 +38,7 @@ fn main() {
// rudder
let mut rudder = scad!(Rotate(90.0, vec3(1.0, 0.0, 0.0)));
rudder.add_child(strut(&evert, CHORD, CARDBOARD_WIDTH));
rudder.add_child(wing(&evert, RUDDER_STRUTS, RUDDER_HEIGHT, RUDDER_CHORD, RUDDER_CHORD * RUDDER_TAPER));
scad_file.add_object(rudder);