Code cleaning + add ears to the bottle clip! #22

Open
ajabep wants to merge 23 commits from ajabep/scad:trunk into trunk

23 commits

Author SHA1 Message Date
Ajabep
daee24ebc9 Adjust the thickness
Less precise, but faster and smaller files
2026-01-16 23:06:54 +01:00
Ajabep
79710a9d66 Add parameters to customize the ears at a script level 2026-01-15 21:36:34 +01:00
Ajabep
536b0e5eb1 remove dead code 2026-01-15 19:57:25 +01:00
Ajabep
ebc235de42 Add documentation 2026-01-15 19:57:13 +01:00
Ajabep
7bb36f9f89 Change a preview color
Improve the third dimension perception
2026-01-15 18:29:59 +01:00
Ajabep
7c49687f9c Add a new ear style 2026-01-15 18:26:36 +01:00
Ajabep
37c2e71138 Add 2 styles for ears 2026-01-15 18:24:34 +01:00
Ajabep
9bebad59c3 Fixing trigonometry 2026-01-14 21:45:32 +01:00
Ajabep
8b7f829cff typo 2026-01-14 21:35:12 +01:00
Ajabep
8d0fae7652 Add the ear generation in this file. 2026-01-14 17:30:33 +01:00
Ajabep
2ac86c04a9 Fix rotation problem 2026-01-14 17:29:00 +01:00
Ajabep
f91c00bd74 Fix anti-aliasing problem in preview
Was solve previously with magic value and was not documented.
2026-01-14 17:26:49 +01:00
Ajabep
5172886c42 typo 2026-01-14 17:22:24 +01:00
Ajabep
2ef1e01eaa USE_TINY_EARS -> HAS_EARS 2026-01-13 16:18:01 +01:00
Ajabep
e2aa0c2a83 Add the HAS_EARS var and rename the RENDER_EARS to RENDER_COLOR_EARS
Add the HAS_EARS variable to be able to generate bottle clips without ears.
Rename the RENDER_EARS to RENDER_COLOR_EARS
2026-01-11 10:08:56 +01:00
Ajabep
6364985e55 Add a function to generate a the bottle clip depending on the asked format 2026-01-11 10:04:01 +01:00
Ajabep
f492bdd2cd Add the Steinie bottles 2026-01-10 11:52:45 +01:00
Ajabep
bbb63737cc Add a "FORMAT" variable to change the format for the bottle. 2026-01-10 11:52:44 +01:00
Ajabep
6de29e1752 Add documentation of variables (also available in the customizer) 2026-01-10 11:52:44 +01:00
Ajabep
301c06da5f Add two variables
Add the FONT variable
Propagate the LOGO_FILE
2026-01-10 11:52:44 +01:00
Ajabep
aaf497d736 Renamed variables for more clarity
RENDER_COLOR_ONE -> RENDER_COLOR_CLIP

RENDER_COLOR_TWO -> RENDER_COLOR_TEXT

RENDER_COLOR_THREE -> RENDER_COLOR_LOGO
2026-01-10 11:52:43 +01:00
Ajabep
b342b09dab Fix indent, some typo, and all of that 2026-01-10 11:52:43 +01:00
Ajabep
ce19d357bc Add an icon library 2026-01-10 11:52:42 +01:00