Skip to content

Conversation

asergunov
Copy link

@asergunov asergunov commented Mar 4, 2025

I had my laptop keycaps broken. Used this awesome tool to generate some

  • key shape square with rounded bottom and my ThinkPad T440p has
  • Scissors clip steam
  • Label text alignment options

Example

include <./includes.scad>

$keytop_thickness = 0.8;
$wall_thickness = 1;
$corner_radius = 1.5;
$key_shape_type = "rounded_bottom_rouned_square";
$bottom_radius_heght = 1;

$bottom_key_width = 16;
$bottom_key_height = 15.2;
$width_difference = 0.2;
$height_difference = 0.5;

$dish_type = "cylindrical";
$dish_depth = 0.2;
$dish_skew_x = 0;
$dish_skew_y = 0;

$top_skew = 0.2;
$top_tilt_y = 0;
$top_tilt = 0;

$total_depth = 2;
$stem_type = "scissors_clip";
$stem_support_height = 8;

$text="Ctrl";

$label_valign = "left";
legend($text, position=[-1.5, -.2], size=3) key();

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant