Skip to content

Commit 6448bc5

Browse files
committed
add maincase option and add lid prefix/suffix to previous files
1 parent 977749a commit 6448bc5

8 files changed

Lines changed: 2375 additions & 22 deletions

File tree

MainCase/VerticalCase_JSN-AJ/logo-case-generator/README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Logo Case Generator
22

3-
This is a tool made with OpenSCAD, to take the main case file and add a logo to
3+
This is a tool made with OpenSCAD, to take the main case or lid file and add a logo to
44
it. The script generates a "main" part and a "inner" part, where the main part
55
is the normal case file with the logo cut out, and the "inner" part is the
66
logo. This can be used in multi-part printing, e.g. in Prusa Slicer. In general
@@ -29,7 +29,7 @@ you will need to follow these steps:
2929
thickness of lines are ignored. Use the options in the "Path" menu of
3030
Inkscape, e.g. "Object to Path" and "Union", to generate a single path
3131
object. Remove its border, fill it black.
32-
* Open `frame.svg` in Inkscape and copy-paste your logo into it. Transform the
32+
* Open `frame-lid.svg` or `frame-maincase.svg` in Inkscape and copy-paste your logo into it. Transform the
3333
logo to place it where you would like to print it.
3434
* Delete the gray frame shape, leaving only a correctly sized document with the
3535
logo placed where you want it.
@@ -63,15 +63,18 @@ First, you need to have [OpenSCAD](https://openscad.org/) installed.
6363
Run the following commands:
6464

6565
```bash
66-
openscad -D 'mode="main"' -D 'logo_file="my-logo-framed.svg"' -D 'logo_depth=0.4' logo.scad -o lid-my-logo-main.stl
67-
openscad -D 'mode="inner"' -D 'logo_file="my-logo-framed.svg"' -D 'logo_depth=0.4' logo.scad -o lid-my-logo-inner.stl
66+
openscad -D 'mode="main"' -D 'logo_file="my-logo-framed.svg"' -D 'logo_depth=0.4' logo-lid.scad -o lid-my-logo-main.stl
67+
openscad -D 'mode="inner"' -D 'logo_file="my-logo-framed.svg"' -D 'logo_depth=0.4' logo-lid.scad -o lid-my-logo-inner.stl
6868
```
6969

7070
If you chose an inverted logo, also add `-D 'inverted=true'` to both
7171
commands. If your logo is a very complex shape, and the result looks wrong, try
7272
setting and increasing the `logo_convexity` parameter as well, from its default
7373
10 upwards, e.g. to 20 or 30.
7474

75+
You can also combine the inverted `inner` with a with an inverted `main` with
76+
`-D 'logo_file="empty_logo.svg"'` to achieve a bridged logo with multiple files.
77+
7578
### Importing into Prusa Slicer
7679

7780
If you're not using Prusa Slicer or a derivative thereof, you will need to find
@@ -98,3 +101,10 @@ of the box.
98101
in between those paths. The printer will then pause and wait for the user to
99102
change the filament and confirm to resume.
100103

104+
If you don't mind multiple gcode-Files, your printer does not support `M600` and
105+
your nozzle shape allows you to print around multiple layers, you can export the
106+
gcode for each color by turning the other part into a support blocker. If the bed
107+
keeps being heated after the print (eg. no `M140 S0` command at the end of the print),
108+
you can change filament and start with the next file. Printing brims can be problematic
109+
if the printed part only touches the build plate on smaller areas than the rest of the
110+
body does.
Lines changed: 54 additions & 0 deletions
Loading

MainCase/VerticalCase_JSN-AJ/logo-case-generator/frame.svg renamed to MainCase/VerticalCase_JSN-AJ/logo-case-generator/frame-lid.svg

File renamed without changes.

0 commit comments

Comments
 (0)