Add BOSL2 library support and rounded plate edges
- Added BOSL2 include for advanced shape operations - Added plate_rounding parameter (3mm default) - Updated plate_base() to use cuboid() with rounded vertical edges - Re-exported STL with latest model changes 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
53c5f279ac
commit
32596c8cbb
Binary file not shown.
@ -1,10 +1,13 @@
|
||||
// Avocado Nameplate for Ry
|
||||
// A rectangular plate with recessed avocado cross-section and raised text
|
||||
|
||||
include <BOSL2/std.scad>
|
||||
|
||||
/* [Plate Dimensions] */
|
||||
plate_width = 50; // mm
|
||||
plate_height = 85; // mm
|
||||
plate_thickness = 5; // mm
|
||||
plate_rounding = 3; // mm - radius for rounded edges
|
||||
|
||||
/* [Avocado Settings] */
|
||||
avocado_recess_depth = 2; // mm - how deep the avocado is recessed
|
||||
@ -136,9 +139,13 @@ module text_recess_3d() {
|
||||
valign = "baseline");
|
||||
}
|
||||
|
||||
// Base plate
|
||||
// Base plate with rounded edges (using BOSL2)
|
||||
module plate_base() {
|
||||
cube([plate_width, plate_height, plate_thickness]);
|
||||
// anchor=FRONT+LEFT+BOTTOM positions like cube() (corner at origin)
|
||||
cuboid([plate_width, plate_height, plate_thickness],
|
||||
rounding=plate_rounding,
|
||||
edges="Z", // Round only vertical edges (sides)
|
||||
anchor=FRONT+LEFT+BOTTOM);
|
||||
}
|
||||
|
||||
// Keychain hole (for subtracting from plate)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user