Add an optional pill-shaped dent near the hook tip to prevent items from sliding off at 0° inclination. The dent is customizable via hook_dent_enabled and hook_dent_width parameters. Update generate-stl.sh to skip rendering when the STL is already newer than the source SCAD file.
28 lines
1.1 KiB
Markdown
28 lines
1.1 KiB
Markdown
# Parametrizable Wall Hook
|
|
|
|

|
|
|
|
A simple wall hook with a rectangular base plate and a cylindrical peg extending outward. Designed for 3D printing.
|
|
|
|
## Parameters
|
|
|
|
### Customizable Parameters
|
|
|
|
| Parameter | Default | Description |
|
|
|-----------|---------|-------------|
|
|
| `hook_cylinder_length` | 20 mm | Length of the hook cylinder (how far it extends from the wall) |
|
|
| `hook_angle` | 30 deg | Upward angle of the hook cylinder in degrees |
|
|
| `overall_scale` | 1.0 | Overall scale multiplier |
|
|
| `hook_dent_enabled` | true | Enable a pill-shaped retaining dent near the tip of the hook |
|
|
| `hook_dent_width` | 10 mm | Width of the retaining dent along the hook |
|
|
|
|
### Base Parameters
|
|
|
|
| Parameter | Default | Description |
|
|
|-----------|---------|-------------|
|
|
| `base_width` | 20 mm | Width (vertical dimension when mounted) |
|
|
| `base_height` | 40 mm | Height (vertical dimension when mounted) |
|
|
| `base_depth` | 3 mm | Thickness/depth of base plate |
|
|
| `hook_diameter` | 5 mm | Diameter of the hook cylinder |
|
|
| `fillet_radius` | 2 mm | Radius for smooth junction between hook and base |
|
|
| `cylinder_resolution` | 50 | Number of facets for cylinders |
|