144 Commits

Author SHA1 Message Date
d4217405e1 TEMP build123d framework stuff part 2
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-07-05 17:23:11 -05:00
0dcd1cb5ff TEMP build123d extremely basic panel demo
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-07-05 17:21:57 -05:00
e63a5da6a2 TEMP build123d framework stuff and test layout
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-07-04 21:58:43 -05:00
82d914c30c TEMP build123d environment part 1
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-07-02 10:24:13 -05:00
903b9b40ff actually update the blown up demo image after fixing the file
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-07-01 20:28:53 -05:00
9fd3658518 parameterize more of the slashes used for windowed walls
this was done for a probably-abandoned attempt at something, but the
parameterization is good anyway

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-28 12:01:49 -05:00
bd7b908712 make more windowed frame pieces, this time horizontal stripes
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-28 12:01:26 -05:00
61a67109ce fix alignment of a bottom overhang panel in the demo
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-25 17:02:03 -05:00
ff85423cee DRY the frame wall slashes and parameterize them a bit
this should allow me to reuse them in another design I've got cooking

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-25 17:01:21 -05:00
ca655012c5 start a CHANGELOG for v4.4 and backfill old notes
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-24 16:17:06 -05:00
3059e01b8f update build blown up demo and example photo
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-24 15:50:25 -05:00
2911b23db4 rewrite "plates" as two separate plates
could these be broken up? yes. but this .scad was never used AFAIK, so
I'm just going to repurpose it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-24 15:35:43 -05:00
00a1bbc065 don't error if the necessary build directories already exist
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-24 15:35:14 -05:00
6726233beb favor symmetry in the front/back and side wall windowed pieces
I think the lack of symmetry led to a varying amount of force being
applied when joined with the interconnect. take for instance:

OUTER  INTER  INNER
INTER  INTER  INTER
INNER  INTER  OUTER

if OUTER (the "windowed" piece, the outside wall + one half of the
mounting column) is on top on the left side and on the bottom on the
right side, and INNER (the inner wall, the one that floats around
relative to the outer wall) vice versa on the other side, the two pieces
side by side would not create a clean line --- left would be ~0.5mm
lower than the right.

if there was a way to clamp these down relative to each other, the
problem might go away, but these are pretty pivotal to the overall stick
being aligned and the panels don't cross the interconnect, so probably
panels and a completed stick would have been similarly misaligned.

this, I believe, fixes it, and also fixes a tiny issue where a bit too
much material was being cut out of the inner walls by way of the mount
columns having a triangular point not normally seen because it's inside
the inner wall

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-22 09:01:19 -05:00
bc68f8b0dc naming consistency: panels are top/bottom
vertical planes that make up the frame are either sides or front/back

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-21 11:38:31 -05:00
de3914fa85 more documentation updates for the assembly, after renaming stuff
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-21 09:07:46 -05:00
92d3f9e6d5 some minor documentation updates
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-21 08:44:40 -05:00
8168797be3 rewrite the README notes on parts, now that I reorganized them
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-21 08:36:08 -05:00
244ace1b4a add box pieces for a vent kind of look
no particular reference for this, just took some "slashes" and cut them
out of the walls with the expectation of using the inner wall in a
different color. designed, as much as I'd call it a design, for the Eva
stick, but this is mostly just me trying stuff at the moment

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-21 08:34:18 -05:00
db887b668f reorganize all the parts into subdirectories
src/ was getting pretty unreadable and I finally had time to do
something about it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-20 17:58:19 -05:00
dccd2836b2 start some frame pieces that have openings for decoration
essentially, the whole inner wall and part of the outer wall gets cut
out of the piece, and a new inner wall piece (probably printed in a
different color, or with some design of its own) created that can be
seen through the outer wall's window

multiple window and inner options are possible, this is just the start
while I do other organization

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-20 14:02:19 -05:00
2ed9b12ed3 simplify my Makefile by writing the build stuff in Python
I'm going to move all of the .scad files into subdirectories and I
couldn't figure out how to recurse properly in make, so... do it the
easy way

make is hard, let's go shopping

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-20 10:51:16 -05:00
de0fcfd160 use gray in the demo so that it's easier to see edges
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 13:28:23 -05:00
4e65445e16 fix the extended pieces, sans 45 degree box corner
box pieces having a 45 degree cut for the corners looks very nice, and
works well, but the cut interferes with the extended piece options, so
this reuses the pieces to take ones with the 45 degree lip cut off,
which would be combined with the flush extended pieces, much like how
things used to work for these pieces before I made the box pieces use
said cut.

this also commits a demo of combining everything extended-style

phew

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 13:23:01 -05:00
d578890d96 rename box-style frame pieces to be explicitly for boxes
I'm going to need to duplicate and edit the top/bottom pieces in
order to create better extended pieces, so this moves them into
something explicitly-named. next commit will fix the extended pieces

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 12:54:13 -05:00
db41aa1183 add demo of a stick as if was assembled
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 11:12:33 -05:00
0d954c2630 fix the blown up demo and move it to a demo/ dir
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 10:46:27 -05:00
60b52eb10d DRY: base top_or_bottom_aux_and_neutrik_frame_piece on basic piece
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 10:05:07 -05:00
63c7ade41d split the top/bottom and side walls' corners in the middle
this makes them meet at the corner at a 45 degree angle, rather than the
side having the whole wall, which tended not to print well. the behavior
of the extended walls, where the whole side is on the extended side
piece, is retained --- this only affects the box walls

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-19 09:57:38 -05:00
eaaa92004f scoot the 3 aux buttons a bit closer to the edge
this is just to line up with the frame/panel mount column a bit better
and remove some weird geometry

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-18 13:58:55 -05:00
cf218ecc1d tweaks to the frame pieces for better names and post sizes
in addition to renaming a number of the frame pieces, and adjusting the
pieces affected by those renames, this tweaks how the interlocking
pieces are designed by using 1/3 of the inner z of the frame rather than
dividing up the outer z. this is more consistent and might be a relevant
tweak in a later part I'm working on

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-18 07:37:52 -05:00
8fd77375b7 parameterize the construction of the frame_mount_column chamfer
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-17 12:22:31 -05:00
a9911820c9 make a base for the little stand things
for stability, could be decorated more in the future, that kind of
thing, but this works right now so I'll commit it before I go breaking
things

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-17 11:51:34 -05:00
b9ba201c99 add a shiokenstar layout and top panels
I didn't use this in a build, but the panels work. there might be some
misalignment with the interconnect, still, but I'm thinking of redoing
that piece anyway. I think these files are good at least.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-06-17 11:25:32 -05:00
3bd36cfbdf leave a section of full frame after a neutrik cutout
the previous cutout ran the height of the interior, meaning that if you
looked straight down a top panel edge, if the fit wasn't perfect, you
could see some gaps, as the lip that the panel was resting on had gaps
in it. this eliminates that, and makes the pieces with neutrik cutouts a
bit more stable, by just shortening the cutout box and retaining a
little lip for the panels across the whole box

slightly harder to get around with buttons that way, but definitely a
net improvement

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-30 08:03:52 -05:00
89e25bd001 lengthen the stand to give more support
previous design worked fine, but it's just so tiny, a slight breeze
would sometimes knock the stick off

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-20 10:11:52 -05:00
a6803450f8 raise the stand piece slightly
this will make room for the mount structure I'm working on now, which
will tweak this further

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-20 10:09:44 -05:00
e41f3f4c6c a new stand, far simpler and smaller than the old
this is basically just a little wedge to display the stick on. I really
like using three since they're not secured to anything, but I might make
a plate to put them in next, for a bit more stability

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-19 15:52:53 -05:00
3ec6132547 tweak the interchange hole slightly to fit center layouts a bit better
a shiokenstar layout is possible with this, to be committed soon once I
do a confirmation

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-13 12:44:01 -05:00
b43b79ce19 commit the frame_box component necessary for the abandoned mount
so, that mount wouldn't have even been printable for anyone else anyway,
that's good, but this breaking out of a piece might as well be committed

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-11 09:44:41 -05:00
f93f20997a move the fancy mount into the attic
the friction fit is too unreliable, and it took minimal kid aura to have
the whole thing toppling over. I will make a more stable mount at a
minimum later, so this thing goes into the TODO pile for now

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-11 09:43:17 -05:00
70b45fa18b make a fancy mount for showing off sticks
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-05-01 08:11:40 -05:00
e50629d372 make the frame routing hole a semicircle on one side
this is still a very solid piece compared to the old method of a diamond
through the middle, and comes with two benefits:

1. semicircle cut out of the bottom (or top) means that wiring can be
   run over rather than through, simplifying some (dis)assembly, and...
2. semicircle on the bottom, and offset from the center, should allow
   for designs with a button in the center of the x-axis, rather than
   having to leave room for the frame wall. this might facilitate
   directional arc layouts where the buttons are combined in one shape

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-23 17:15:03 -05:00
01d4d95f24 update the blown up demo, now with frame pieces
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-22 12:40:24 -05:00
4cefdfa26b move the DCO into CONTRIBUTING.md
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-12 00:56:49 -05:00
dabfc4258b include the right file following its rename
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-05 18:49:09 -05:00
a7206add7c updated assembly instructions, simpler without posts
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-05 10:25:44 -05:00
d70a2f90c6 remove the frame posts from panels, more trouble than they're worth
the panels had posts that would drive into the frame column (the frame
column needing to be a bit wider at the top and bottom accodringly).
this was an attempt to assist the friction fit of the whole stick in
tandem by having the panels contribute to the position and rigidity of
the frame pieces. in practice I think this didn't really contribute
anything major to that problem, and instead made the panels hard to
connect, and way harder to remove, while also having a visual defect in
that the panels were usually separated slightly due to having to fit
exactly in the frame columns.

this goes back to the old design where the base panel is a flat sheet
and the frame column holes are uniform. everything seems nicer this way,
and the overall build is simpler.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-04 16:33:29 -05:00
0513da125f don't recommend fiddling with the initial layer height/width
doesn't seem to be any real gain in changing them, having done more
prints with those settings and with stock settings.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-04 14:17:34 -05:00
e7543dceb0 dedupe top left and right frame pieces, they're the same shape
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-03 18:00:58 -05:00
45439cbf6d things might have actually been warping a bit more with the higher temps
at least it's seeming that way with some Bambu matte PLA

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-04-01 16:11:43 -05:00
b21cb75816 add some documentation to the built STLs .zip
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-21 19:07:29 -05:00
882a34db55 rewrite Makefile to allow parallelization
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-21 18:15:10 -05:00
90f5670c2a more notes on printing settings for the parts
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-21 17:36:03 -05:00
96342f1b16 general assembly instructions
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-18 18:15:52 -05:00
7bc6acfb93 updated photo for the README, showing the large bevels
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-18 18:15:52 -05:00
16f41fe245 more notes on printing and bottom layer patterns
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-18 18:15:48 -05:00
c8881fc172 document observations on printing settings
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-16 11:28:25 -05:00
1f8b5d527b reorder the attribution section a bit
also add a blurb about what I believe satisfies the GPLv3 in any
distribution of the object files and/or objects themselves, since I'm
beginning to think about how to send sticks to other people

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-15 09:48:52 -05:00
edf5729a85 document a trick for getting panels out in this frictioned world
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-14 18:59:27 -05:00
3a1494c021 s/spacer/standoff/
I honestly never remember the difference, but might as well be
consistent

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-14 18:52:25 -05:00
9125105b42 correct name of the extra extended side piece
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-09 12:49:49 -06:00
cadf2bf210 add pieces vaguely like the TE1 sides as alternative frame sides
still playing with these a bit, but test prints yields some promising
shapes, just need to do a build with them to confirm I like it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-07 19:15:31 -06:00
0993c0f292 sales pitch (tongue in cheek) preamble in the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 14:11:20 -06:00
954ce38f07 clean up the part descriptions slightly in the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 13:31:15 -06:00
832d5ede8b update example images in the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 13:30:02 -06:00
341f6cfc6a add to the complications of the box frame method in the notes
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 13:02:43 -06:00
308c21fb61 add more parts notes to the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 12:01:26 -06:00
c7befe0800 update the TODO
I did the "four pieces" one, yay!

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 11:41:50 -06:00
41bfe3a661 bevel overhang panels in the same way as the frame
this also ends our last usage of roundedcube.scad

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 11:41:17 -06:00
412e6231d5 better parameterize frame bevel based on frame_bevel_height
replace hardcoded values creating the 45 degree bevel with the parameter
itself, so that htis is a bit more flexible in the future

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-06 11:33:09 -06:00
0ed6b32911 move the "extra lip" to the side pieces instead of the top/bottom
this is just an aesthetic choice, but I think 2+ tone colorways will
look slightly nicer if the whole side panel color runs along the whole
side rather than stopping at the top/bottom "lip". the actual difference
is arbitrary but I'm going to toy with this for now as I suspect side
colors and panels will be more interesting than top/bottom ones

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-05 14:33:06 -06:00
155cba6d85 modularize the frame into separate wall pieces
this provides a system for interlocking frame walls as separate pieces,
rather than a whole frame box as one piece. the primary motivation for
this was to improve print quality. these pieces can be printed flat side
down, meaning improvements due to:

1. printing the box required the long, thin bottom to be the side on the
   print surface, which meant shrinkage force would curl the corners
   with essentially no remedy outside of bed adhesive
2. printing the box bottom up created poor circles for the button holes,
   sometimes bad enough to be a visible problem, as well as making small
   flow glitches to stand out (especially on non-matte PLA)
3. printing the box also required supports when the frame bottom was
   inset-style, leading to an annoying post-print step
4. the outward side is now what rests on the print surface, yielding a
   nicer, more consistent surface

the box modules still exist in the event someone wants them, but I
personally will probably be focused on this method going forward. this
also opens up some exciting options regarding color mixing, different
side panel shapes, and the like, so I expect to see more of these even
if the boxes don't go away (especially since these new pieces are all
derived from the boxes anyway).

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-03 18:33:55 -06:00
0708540ac7 restore the inset tray to the bottom overhang panel
yes I keep going back and forth on this, but I think I'm done now that I
have a better frame approach

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-03 14:03:31 -06:00
4c224b8a60 rename bottom-panel.scad to -inset.scad for clarity's sake
this will be inset again, might as well follow the pattern

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-03 13:58:04 -06:00
e2e6acc0ca use the same plate with posts for the bottom panel
this makes the bottom panels have posts, now that the frame is looking
like it will be composed of parts where printing the column hole in this
fashion is not a problem

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-03 13:55:35 -06:00
3b886d3994 simplify the interchange hole to make print easier
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-03 13:46:50 -06:00
d97f68a5cd improve the edge (and name) of the frame bevel
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-01 13:42:41 -06:00
390df34f2b frames: re-bevel the bottom and top, center buttons
this undoes my work to simplify the bottom of the frame and move button
holes in the frames accordingly. the top and bottom are now symmetrical
in terms of their bevel, and the buttons are centered. this will make
the print of the frame difficult again, but I have an upcoming change to
modularize the frame walls and that will print far better, so I'm
thinking this is what I want. testing ongoing

This reverts commit ed031b9308.
This reverts commit f90fc095e0.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-01 10:01:50 -06:00
365faebfcb parameterize frame_mount_column_width
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-03-01 07:56:41 -06:00
da54b160e9 update the reference to IRC in the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-25 00:27:50 -06:00
4cc110e791 replace the copy of the GPLv3 with one that is formatted better
not sure why I used this non-line-breaked version of the GPLv3
initially, but this formatted one is easier to read

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 23:28:08 -06:00
05dab45152 fix the blown up demo and update it for the docs
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00
180b7deb9e update costs in the README based on new settings
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00
8987d403ce don't build another SCAD file I have locally for tinkering
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00
44a238f454 move the lever mount spacer out of the panels, into separate part
this has two effects:

1. thinner and thicker spacers could be printed to accommodate
   preferences without having to reprint panels
2. I'm still testing this a bit, but by not having the spacer and panel
   be the same (partially hollow) part, I think the lever clickiness is
   a bit more pleasing to the ear

the second point is entirely arbitrary, so the first point is the real
benefit, despite me trying this because of the second

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00
ed031b9308 create 2mm of additional frame bottom
this is for the bottom panels to go flush against; without it, there's a
visible gap between the panel edge and the wall cutout space

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-22 13:40:01 -06:00
296e6da14b link to a couple presences in the README
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-19 23:35:26 -06:00
c0c9b9e1dc adjust how the lever mount is aligned to do the chopper right
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-19 11:14:14 -06:00
b7af797349 un-inset the bottom panels, the bottom is now flush
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-19 10:41:59 -06:00
dd3d77ae90 correct the hole for the panel-to-frame post
made it too small accidentally, which explains why I got test prints
stuck :p

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-19 10:33:16 -06:00
f90fc095e0 remove the bottom bevel to try to simplify the print
this just chops off the bottom entirely, essentially. this could be done
cleaner but this is the least disruptive change until I'm certain of it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-18 12:36:51 -06:00
f54aa989f7 bevel all the top edges of the frame
I didn't think I'd want this, but playing with it... yeah. it's a good
idea.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-18 10:31:14 -06:00
abc4577173 bevel the bottom of the frame
mostly an aesthetic choice, but I think it helps mitigate the look of
the front relative to the need to have the case be deeper for some
levers, so (I believe) it's not an arbitrary aesthetic choice.

also maybe there's some benefit to have it be slightly less flush on the
surface, IDK

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-16 12:25:17 -06:00
7b2289624e fix an old math mistake with the spacing of 24mm aux buttons
their cutout for the screw nut was giving too much space, which spread
them out too much on the frame walls. this should fix it, the nuts for a
Crown SDB-202 or a Seimitsu PS-14 still fit anyway

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-15 15:32:02 -06:00
15083f6787 adjust the top panel post holes to fit appropriately
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-14 14:33:10 -06:00
a5724209fe restore space for the hex bolts in the base panel frame posts
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-14 14:04:24 -06:00
78a43e41bc fix imports of the overhang panels following renames
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-12 20:17:18 -06:00
370aeb56c6 add posts to the top panels
trying to add more friction fit to the panel to frame connection point

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-12 20:17:10 -06:00
06c27bd4aa only round the sides, not the top/bottom, of the frame
trying to simplify the print again a bit, I think the roundedness is one
of the causes of prints lifting

since the top is now "sharp" (not that sharp in my printing practice,
but whatever), I added a bevel to the front in an attempt to make it a
bit more comfortable

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-12 20:02:35 -06:00
773433cd10 add a chamfer to the frame mount columns
should add a bit of structural strength without compromising much

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-11 19:27:27 -06:00
bad3c7628f grow the frame, remove the bottom panel basin
the bottom panel had a basin or tray to make room for taller levers,
namely the Seimitsu LSX-NOBI that I really like. per its specs, the
lever needs 43.70mm internally, and the old values were too tight (55mm
- 19mm from panels - 2mm from lever plate = 43) so the bottom panel was
arbitrarily given a sunken portion (somewhat arbitrarily 2.5mm) to
compensate at the time, because I already had frames printed.

adding 2mm to the frame Z covers the difference (57mm - 10mm - 2mm =
45mm) and thus we don't need the bottom panel hack anymore. I also
suspect the bottom panel basin was slightly affecting it structurally,
so this may help that.

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-11 19:27:23 -06:00
6a1e1cc1f3 better component/parameter names to match panel naming
sed -i 's/top_plate/panel/g' *.scad
sed -i 's/plate_to_frame/panel_to_frame/g' *.scad

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-02-11 19:27:17 -06:00
3c8aa4e090 rename overhang panel files for clarity and sorting
Signed-off-by: Brian S. Stephan <bss@incorporeal.org
2024-02-06 19:19:37 -06:00
dac1073aa0 move the bottom plate with overhang into the only part that uses it
also that component *is* the part so it's easier to just reuse the part

Signed-off-by: Brian S. Stephan <bss@incorporeal.org
2024-02-06 19:19:35 -06:00
d3940c4109 s/topplate/panel/ --- just better naming
Signed-off-by: Brian S. Stephan <bss@incorporeal.org
2024-02-06 19:19:33 -06:00
53834363a6 add overhang amount to the chopper, to chop those properly too
Signed-off-by: Brian S. Stephan <bss@incorporeal.org
2024-02-06 19:19:31 -06:00
02993ab6a6 the overhang plates don't need the sunken tray
Signed-off-by: Brian S. Stephan <bss@incorporeal.org
2024-02-06 19:19:22 -06:00
543e31aec7 add an alternative top plate for buttons
this is a crazy one since I tried to fill the corners by hand.
interesting, but I don't know if I'm actually going to use it... but it
works so committing it

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-16 22:14:26 -06:00
438220466d modularize "directional arc" buttons a bit more
just for DRY purposes that I may or may not use

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-07 17:00:05 -06:00
97f69b9332 update SPDX headers in source files
license is still the same, this just saves duplicating the terms and
standardizes with what I've been doing elsewhere, style-wise

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2024-01-02 15:08:01 -06:00
b653815ef5 leave a TODO note for myself
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-28 13:55:32 -06:00
14150a3f04 add DCO and contributing information
this also serves as my signoff for future DCO contributions under
MAINTAINERS.md

Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-18 12:54:53 -06:00
a0db9d9c3f add SPDX-License-Identifier: GPL-3.0-or-later to SCAD files
Signed-off-by: Brian S. Stephan <bss@incorporeal.org>
2023-12-18 12:51:38 -06:00
abc35affea add a decorative plate for the neutrik + rocker mounts 2023-12-14 12:30:09 -06:00
feebf5a38d put the rocker mount holes in components, give the plate a better name 2023-12-13 13:50:24 -06:00
3ee8745d09 DRY: use neutrik_d_mount in the 24mm mount plate 2023-12-13 13:40:17 -06:00
99b03a3b48 parameterize the distance the neutrik holes are from center 2023-12-13 13:33:14 -06:00
20373cf856 make the side chopper based on the frame wall parameter 2023-12-13 09:24:09 -06:00
36231248b9 new decorative plate for the 3-button aux controls 2023-11-26 12:59:54 -06:00
62c804ed35 group the three 24mm buttons used in frames in one component
this is a bit cleaner/DRY, and also lets me experiment with a decorative
plate easily
2023-11-25 23:52:20 -06:00
769f184d1d update material notes a bit with Hatchbox white 2023-11-23 20:50:09 -06:00
f14c80d8a8 bring the frame Z back to 55mm, for taller levers
50mm - 10mm of panels was fine for some levers but not enough for the
LSX-NOBI, which I personally have a number of. I can't vet every lever
in existence, but I know at least that this was a problem that is solved
by adding 5mm, which seems like a fair trade and not a huge difference
in the final product.

this also helps the fact that at 40mm internal, some buttons + wiring
harnesses were getting pretty tight, mostly relevant at the frame
connection point where the inner bottom panel isn't a basin. this should
help that too.

additionally this has us go back to the 45mm M4 standoff recommendation,
which kinda sucks because it seems like 40mm are easier to find, but as
stated in the notes, the difference is somewhat negligible if you just
use 40mm with longer bolts.
2023-11-23 09:32:03 -06:00
ae40fd7289 break out tweakable parameters into a separate file
this allows for:

include <parameters.scad>
// override a variable such as
frame_z = 60;
include <components.scad>

which will let individual components tweak settings, e.g. the height of
a frame
2023-11-20 14:25:27 -06:00
9a5792580c add a comment that is all that survived some experimentation 2023-11-16 16:48:05 -06:00
524273369b correctly refer to the plate overhang as per edge 2023-11-16 09:02:43 -06:00
e7a8fc42ed correctly refer to the frame wall as per edge 2023-11-16 08:59:06 -06:00
bac99f6ea8 fix dustwashers by scaling them based on the plate hole 2023-11-14 23:56:03 -06:00
6a4980165d write down a thing to try if I ever get time 2023-11-10 15:49:45 -06:00
7d3b4c0a6c update notes on bolts/plate heights 2023-11-10 15:49:26 -06:00
f2efee40ee include a finished photo, this time of an inset-based stick 2023-11-10 15:49:14 -06:00
53ecd27047 convert decorative plates to scaling the base button rather than adding 2023-11-09 12:47:05 -06:00
544f4fb4ce cleanups to the decorative plates 2023-11-09 12:29:18 -06:00
b9d66a4a2f remove commented out code 2023-11-09 08:02:47 -06:00
696697f574 more inset panels, my normal 9+1 buttons 2023-11-09 07:52:05 -06:00
d2a1a5be13 scoot the dir arc in and up a bit
the horizontal move sends the dir arc closer to the edge, and the
vertical move puts the top back where it used to be before moving the
rest of the layouts down

both of these choices are entirely subjective
2023-11-08 18:38:06 -06:00
56f2214339 scoot the button layouts down a bit
this gives a bit more space at the front, mostly so that the decorative
plate doesn't hang over the edge of an inset panel
2023-11-08 18:37:02 -06:00
6fa474b748 update README, need 40mm spacers since chopping the bottom 2023-11-08 18:14:19 -06:00
e13946e883 inset panel for a lever + directionals + W 2023-11-07 14:39:36 -06:00
fbf0dc6896 allow the frame bottom to take insets/raised panels too
this complicates the print, in that now printing the frame requires
supports, but by cutting in on the bottom the same way as the top, we
can center some stuff better and also make the plates a bit more
interchangeable. this also eliminates the slightly unsightly bottom
panel hanging out in the open, so overall I think it's worth the
printing complication
2023-11-02 16:34:08 -05:00
538fb1430b add a dustwasher for JLF mounts 2023-10-26 18:09:41 -05:00
8025038db5 improve 24mm + W layout components, add decorative plate 2023-10-04 16:47:06 -05:00
11107fe826 add lever + 6 30mm button sega 2P layout panel
a bit tight but totally possible
2023-10-04 16:45:53 -05:00
4ec97b9f36 add components for an OLED cutout and panel using it 2023-10-04 16:44:59 -05:00
141 changed files with 4998 additions and 1679 deletions

5
.gitignore vendored
View File

@@ -1,3 +1,8 @@
build/
venv/
*.egg-info/
.tox/
*.pyc
*.sw*
.coverage

2
.pylintrc Normal file
View File

@@ -0,0 +1,2 @@
[MESSAGES CONTROL]
disable = W,C,R

85
CHANGELOG.md Normal file
View File

@@ -0,0 +1,85 @@
# CHANGELOG
Included is a summary of changes to the project, by version. Details can be found in the commit history.
## v4.4.0
### Features
* New "windowed" frame box walls have been added, which allow for seeing through the outer wall to something else, such
as an inner wall of a different color, or for people who like showing off their wiring, nothing.
* An attempt at a two-panel "shiokenstar" layout has been added.
* The "plates" decorative plate for my favorite layout was altered since I wasn't using it anyway.
### Improvements
* The frame routing hole, in either the whole frames or the interconnect, is a semicircle on one side, making it easier
to wire (and rewire) a completed arcade stick, and it also makes button layouts that span the connection point more
possible.
* Less of the inner wall is cut out for e.g. Neutrik and aux buttons now, removing the possibility for inset panels to
allow for a tiny bit of light to seep the cracks and giving panels a bit more support.
* The piece-based frame walls now meet at 45 degree angles at the corners, which makes for fewer print anomalies to
catch your hand or clothing on. These 45 degree angles are not used for the TE1-style extended panels, which still
meet at 90 degree angles.
* All of the core arcade stick parts, and extras, have been reorganized and renamed into subdirectories that make their
purpose more obvious. This also makes it clearer what you're looking at when looking at the project file structure.
Documentation was updated throughout for this change.
### Miscellaneous
* A stand for showing off inset-based sticks has been added to extras. This may get more love in a future release.
* The blown up demo now uses frame pieces, as these are quickly becoming the standard build.
* Cleanups to CONTRIBUTING.md
* Demos have been given their own place in the repository.
* The Makefile has been altered to use a Python script to build the files, due to the complexity of reorganizing the
project into subdirectories.
* An abandoned floating stand has been moved into the attic --- it barely works right.
## v4.3.x
This finally removed the posts added to the panels introduced in v4.0.
## v4.2.x
This added TE1-like bevels to the repository, which look pretty neat.
## v4.1.0
Having improved the internals in v4.0.0, this broke out the frame into modular pieces, making them easier and more
reliable to print, with only a trivial effect on the overall stability of the stick. This also made the bottom panels
identical to the top, easing reuse.
## v4.0.x
This was an experiment that didn't survive scrutiny to add more posts to the frames and panels, in order to improve the
friction fit, but it really just make the whole thing more obnoxious to work with. However, this redesign also came with
some key improvements to the construction of the stick, which has made the subsequent releases easier to work with.
## v3.3.x
Largely a cleanup, this improved the component reuse and added more complete licensing information to the project.
## v3.2.x
This improved the frame height to accommodate more levers in inset panels, along with some cleanup.
## v3.1.x
This added panels for more layouts with more buttons, establishing my go-to of a lever, a directional arc with an extra
button in a W-as-in-WASD position, and a Sega 2P-inspired 9-button action button layout.
## v3.0.x
I think the project really took shape at this point, as it resized the panels and frames to accommodate a two-panel
layout for nice, long sticks.
## v2.0.x
This added the overhang plates to the mix, while still sticking to the three-panel design. It also started adding
dustwashers and decorative plates, which improved the aesthetics of the project.
## v1.0.x
This was a simple three-panel stick that was somewhat ridiculously long, but worked, and built a lot of the foundation
for the project. Its start as being inspired by the Open Stick really showed at this point, but things were coming
together.

71
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,71 @@
# Contributing Guidelines
The Buildable Stick System is made available under the GPLv3 (or later) license. Contributions are welcome via pull
requests. This document outlines the process to get your contribution accepted.
## Sign Offs/Custody of Contributions
I do not request the copyright of contributions be assigned to me or to the project, and I require no provision that I
be allowed to relicense your contributions. My personal oath is to maintain inbound=outbound in my open source projects,
and the expectation is authors are responsible for their contributions.
I am following the [Developer Certificate of Origin (DCO)](https://developercertificate.org/), reproduced below. The DCO
is a way for contributors to certify that they wrote or otherwise have the right to license their code contributions to
the project. Contributors must sign-off that they adhere to these requirements by adding a `Signed-off-by` line to their
commit message, and/or, for frequent contributors, by signing off on their entry in `MAINTAINERS.md`.
```
Developer Certificate of Origin
Version 1.1
Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
Developer's Certificate of Origin 1.1
By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
```
This process is followed by a number of open source projects, most notably the Linux kernel. Here's the gist of it:
```
[Your normal Git commit message here.]
Signed-off-by: Random J Developer <random@developer.example.org>
```
`git help commit` has more info on adding this:
```
-s, --signoff
Add Signed-off-by line by the committer at the end of the commit log
message. The meaning of a signoff depends on the project, but it typically
certifies that committer has the rights to submit this work under the same
license and agrees to a Developer Certificate of Origin (see
http://developercertificate.org/ for more information).
```

892
LICENSE
View File

@@ -1,232 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright © 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for software and other kinds of works.
The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too.
When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions.
Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and modification follow.
TERMS AND CONDITIONS
0. Definitions.
“This License” refers to version 3 of the GNU General Public License.
“Copyright” also means copyright-like laws that apply to other kinds of works, such as semiconductor masks.
“The Program” refers to any copyrightable work licensed under this License. Each licensee is addressed as “you”. “Licensees” and “recipients” may be individuals or organizations.
To “modify” a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a “modified version” of the earlier work or a work “based on” the earlier work.
A “covered work” means either the unmodified Program or a work based on the Program.
To “propagate” a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well.
To “convey” a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays “Appropriate Legal Notices” to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion.
1. Source Code.
The “source code” for a work means the preferred form of the work for making modifications to it. “Object code” means any non-source form of a work.
A “Standard Interface” means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language.
The “System Libraries” of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A “Major Component”, in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it.
The “Corresponding Source” for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work.
The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures.
When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified it, and giving a relevant date.
b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to “keep intact all notices”.
c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so.
A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an “aggregate” if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways:
a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b.
d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work.
A “User Product” is either (1) a “consumer product”, which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, “normally used” refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product.
“Installation Information” for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made.
If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM).
The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying.
7. Additional Terms.
“Additional permissions” are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or authors of the material; or
e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors.
All other non-permissive additional terms are considered “further restrictions” within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11).
However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice.
Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License.
An “entity transaction” is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it.
11. Patents.
A “contributor” is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's “contributor version”.
A contributor's “essential patent claims” are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, “control” includes the right to grant patent sublicenses in a manner consistent with the requirements of this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version.
In the following three paragraphs, a “patent license is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To “grant” such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party.
If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. “Knowingly relying” means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it.
A patent license is “discriminatory” if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program.
Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM “AS IS” WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the “copyright” line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode:
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details.
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an “about box”.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school, if any, to sign a “copyright disclaimer” for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see <http://www.gnu.org/licenses/>.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read <http://www.gnu.org/philosophy/why-not-lgpl.html>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

10
MAINTAINERS.md Normal file
View File

@@ -0,0 +1,10 @@
# Maintainers
This file contains information about people permitted to make major decisions and direction on the project.
## Contributing Under the DCO
By adding your name and email address to this section, you certify that all of your subsequent contributions to the
Buildable Stick System are made under the terms of the Developer's Certificate of Origin 1.1, available at `DCO.txt`.
* Brian S. Stephan (<bss@incorporeal.org>)

View File

@@ -1,14 +1,12 @@
SRC_FILES := $(wildcard ./src/*.scad)
SRC_FILES := $(filter-out ./src/blown-up-demo.scad, $(SRC_FILES))
SRC_FILES := $(filter-out ./src/components.scad, $(SRC_FILES))
SRC_FILES := $(filter-out ./src/roundedcube.scad, $(SRC_FILES))
all: $(SRC_FILES)
mkdir -p ./build
for file in $^ ; do \
openscad -o $${file}.stl $${file} ; \
mv $${file}.stl ./build/ ; \
done
zip ./build/buildable-stick-system-`git describe --dirty`-stls.zip ./build/*
all:
python build.py
mkdir -p ./build/docs
cp ./docs/README-objects.md ./build/README.md
cp ./docs/assembly-and-tips.md ./build/docs/assembly-and-tips.md
cp ./docs/printing-and-materials.md ./build/docs/printing-and-materials.md
cp ./LICENSE ./build/LICENSE
cp ./CHANGELOG.md ./build/CHANGELOG.md
pushd ./build; zip ./buildable-stick-system-`git describe --dirty`-stls.zip . -r; popd
clean:
rm -rf ./build

134
README.md
View File

@@ -2,7 +2,18 @@
Files for 3D printing an arcade stick.
![An example of stick components displayed in OpenSCAD](docs/two-panel-example-v3.png)
Have you ever wanted to conjure your own arcade stick out of the ether (well, plastic), or to prototype a new layout or
design before sending it to a custom builder? Do you just love having your space filled with arcade stick enclosures,
because you keep making different variants, colorways, and so on? Or do you simply want a good stick on the cheap, and
know someone or a library with a 3D printer? The Buildable Stick System may be the project for you!
![An example of stick components displayed in OpenSCAD](docs/blown-up-demo.png)
[OpenSCAD-based illustration of how the components for an overhang panel-based stick fit together.]
![A photo of a completed stick](docs/finished-v4.4.jpg)
[Photo of a completed inset panel-based stick.]
Originally an attempt to make a couple customized STL files for the [OpenStickCommunity Fightstick
Case](https://github.com/OpenStickCommunity/Hardware/tree/main/Fightstick%20Case), the changes ballooned to fit my
@@ -16,11 +27,51 @@ component objects or create new ones. The OpenSCAD language is essentially a fun
it easy to reuse, alter, and compose objects. If you do not see the object you would like, you can likely create it by
starting with an existing object and constructing what you'd like with new or existing components.
## Usage of Parts
There are a lot of parts to pick from, but there are some structural variants to pay attention to; here's some help
about what the types of parts are and how to use them:
* `frames/`
* `complete/` --- these are the four walls of the frame as one piece, in a couple variations for combining into
larger arcade sticks. They are simple to assemble, but you have fewer modularity/customization options, and they
are harder to print because the physics of the material cooling will probably pull the corners up. They also need
supports, since the top and bottom of the frame both have trays for panels to go into. Use at your own risk.
* `pieces/`
* `box/` --- these are the same four walls (generally speaking) as in the complete frames above, broken out into
modular pieces to print separately. Because they are separate pieces, you can mix and match colors, and you
can lay them all face down on the print surface for better adhesion and surface patterns. There are also
variants here, the "windowed" pieces, for doing two-tone variants and that kind of thing.
* `extended/` --- the frame walls are pulled out to create MCZ TE-style extended sides. Rather than getting a
box look, you get a longer slab with nice bevels. These look nice, but slightly fiddily to print (and of
course need more material) --- watch your surface adhesion.
* `interconnect` --- complete frames are bolted to one another, but for frame pieces, there is an interconnect
that stands in for the joined inner wall. You need this if you are combining multiple sets of walls, e.g. for
a two-panel-long stick.
* `panels/`
* `inset/` --- various panels, all of the same size, that fit into and flush with the frame, making the arcade stick
top or bottom. These work equally well with box or extended frames, and aside from using up a bit of the space
inside the frame, come with no downsides --- they print easily and are a pretty simple shape to tweak and remix.
* `overhang/` --- overhang panels have their plane extending over the edge of the frame, creating a bit of a
sandwich look. This is mostly an aesthetic choice, but they sit higher in the frame as well, the main panel being
over/under the frame rather than within it. This extra space is useful for taller levers. The only downside to
these is that they aren't as reusable as the inset panels, since the inset panels can go anywhere, but the
overhang panels must be designed to not overlap with other overhang panels, so you might have to make more custom
variants depending on where you put things.
* `misc/`
* Pieces that I haven't organized better (yet) --- there are decorative plates for top buttons and similar to give
more color variance and some layers to the arcade stick, some very simple dustwashers, plates that fit rocker
switches and the like in Neutrik D or 20mm holes, and a lever mount spacer for getting your lever shaft at the
desired height. You don't *need* any of these, but you'll probably use a few.
* `extras/`
* Various experiments and things not directly related to making an arcade stick. At time of writing, there's a
couple pieces for a little stand for the stick, solely for vanity purposes.
## Printing
These items all fit on a 256mm^2 print bed; I use a Bambu Lab P1P based on what I've learned from the
OpenStickCommunity. Standard settings seem sufficiently sturdy for my purposes, though the slicer has done a couple
weird things, in my experience.
OpenStickCommunity. Standard settings seem sufficiently sturdy, but see `docs/materials-and-printing.md` for more
thoughts and settings based on my tinkering with prints.
## Assembling
@@ -29,10 +80,14 @@ What you'll need beyond these objects:
* An arcade stick board (I recommend [TheTrain's RP2040 Advanced Breakout
Board](https://github.com/OpenStickCommunity/Hardware/tree/main/RP2040%20Advanced%20Breakout%20Board))
* 4 M3 8mm hex bolts to secure the PCB to a panel
* Per frame and plate combo:
* 4 45mm M4 hex brass standoffs
* 8 12-16mm M4 countersunk hex bolts
* Per frame connection point:
* Per frame and panel combo:
* 4 45mm M4 hex brass standoffs (or equivalent)
* 8 M4 countersunk hex bolts
* Overhang panels should use 12-16mm length bolts since they are taller
* Inset panels should probably use 8-12mm bolts --- some standoffs aren't threaded the whole way, making 16mm
too long to go flush
* If making the 45mm standoffs from multiple smaller ones, make sure they have enough length to take your bolts!
* Per frame connection point (only necessary if you are using complete frames and not frame pieces):
* 8 16mm M4 bolts
* 8 M4 flange nuts
* For a lever:
@@ -47,32 +102,34 @@ What you'll need beyond these objects:
## Rough Costs
This is a rough estimate of the cost to produce one of these sticks, assuming a usual 2-frame design and layout.
Filament masses from Bambu Studio estimates, using Bambu PLA Basic.
Filament masses from Bambu Studio estimates, using Bambu PLA Basic, 20% gyroid infill and 3 wall loops.
* Left and right frame: **$7.08 USD** (141.84g each, as of 2023-09-12)
* Left and right top panels: **~$6.74 USD** (~135g each, as of 2023-09-12)
* Left and right bottom panels: **$5.90 USD** (118.16g each, as of 2023-09-12)
* Miscellaneous mounting plates, decorative plates, etc.: **~$1.00 USD** (~40g, as of 2023-09-12)
* Left and right frame: **$10.42 USD** (208.50g each, as of 2024-02-22)
* Left and right (inset) top panels: **~$6.40 USD** (~128g each, as of 2024-02-22)
* Left and right (non-overhang) bottom panels: **$6.80 USD** (135.99g each, as of 2024-02-22)
* Miscellaneous mounting plates, decorative plates, etc.: **~$1.83 USD** (~73g, as of 2024-02-22)
* 8 16mm M4 bolts to connect the frames: **$0.72 USD** (you can get a pack of 100 on Amazon for $9, as of 2023-09-12)
* These are only necessary if you are using the whole frames, but as a heads up, the material cost of the
pieces-based interconnect piece costs around $1, so it's roughly a wash since that's also a frame wall.
* 8 M4 flange nuts to connect the frames: **$0.68 USD** (you can get a pack of 100 on Amazon for $8.50, as of 2023-09-12)
* 4 10mm M3 bolts to connect Neutrik D plates to frames: **$0.40 USD** (you can get a pack of 100 on Amazon for $10, as
of 2023-09-12)
* 4 M3 flange nuts to connect Neutrik D plates to frames: **$0.34 USD** (you can get a pack of 100 on Amazon for $8.50,
as of 2023-09-12)
* 8 45mm M4 spacers to connect panels to frames: **$2.40 USD** (you can get a pack of 10 on AliExpress for $3, as of
* 8 45mm M4 standoffs to connect panels to frames: **$2.40 USD** (you can get a pack of 10 on AliExpress for $3, as of
2023-09-12)
* You could 3D print these too, but you're probably better off with brass ones as they give some weight to the
stick anyway
* 8 16mm M4 bolts to connect top plates to frames: **$0.72 USD** (you can get a pack of 100 on Amazon for $9, as of
* 8 12mm M4 bolts to connect bottom plates to frames: **$0.72 USD** (you can get a pack of 100 on Amazon for $9, as of
* You can also use a shorter length with longer bolts, or combine multiple standoffs, if either of those yield better
prices
* 8 16mm M4 bolts to connect top panels to frames: **$0.72 USD** (you can get a pack of 100 on Amazon for $9, as of
* 8 12mm M4 bolts to connect bottom panels to frames: **$0.72 USD** (you can get a pack of 100 on Amazon for $9, as of
2023-09-12)
* You may be tempted to use 16mm M4 bolts for both the top and bottom, but the spacers I have aren't threaded all
the way through the shaft, and 16mm bolts won't make it all the way on the bottom panel, but do on the top panel
(which is 5mm thicker); be careful I guess
With an enclosure coming in around $26, depending on your choices --- say, ~$30 for TheTrain's RP2040 Advanced Breakout
With an enclosure coming in around $31, depending on your choices --- say, ~$30 for TheTrain's RP2040 Advanced Breakout
Board, ~$60 for Sanwa buttons and a lever, and ~$20 for miscellaneous connectors and wiring --- you can put a
full-featured controller with an open source foundation together for around $135.
full-featured controller with an open source foundation together for around $140. Reducing wall and infill settings
will probably save you around $5 of material, and you can probably decide what you want to do from there.
## Miscellany
@@ -90,16 +147,17 @@ Improvements, variants, new layouts, novel ideas, and etc. are all welcome.
These files are suitable for previewing and rendering in OpenSCAD. They may also work in FreeCAD and perhaps other
software, but they are developed in OpenSCAD, so YMMV otherwise.
This project is hosted at [my personal Git site](https://git.incorporeal.org/bss/buildable-stick-system), but people are
more likely to want to interact with [the GitHub mirror](https://github.com/bsstephan/buildable-stick-system). Feel free
to use either.
I'm reachable on the fediverse, over email, or on Discord, but if you're looking for an option I prefer, I maintain an
IRC channel, `#buildable-stick-system`, on [my IRC network, Randomus](https://randomus.net/) if you would like a place
to hang out and discuss issues and features and whatnot.
## Attribution
Inspired by the incredible work of [TheTrain](https://github.com/TheTrainGoes) on the [OpenStickCommunity Fightstick
Case](https://github.com/OpenStickCommunity/Hardware/tree/main/Fightstick%20Case), itself based on the incredible work
by [Dash n'Mash](https://twitter.com/Dash_xx_Mash?s=20). Original work Copyright 2023 TheTrain, [licensed under CC BY
4.0](https://creativecommons.org/licenses/by/4.0/).
Made possible by the amazing efforts of [slagcoin](https://www.slagcoin.com/).
## Author and Licensing
### Author and Licensing
Written by and copyright Brian S. Stephan (<bss@incorporeal.org>).
@@ -112,3 +170,23 @@ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Gen
You should have received a copy of the GNU General Public License along with the Buildable Stick System. If not, see
<https://www.gnu.org/licenses/>.
### Lineage
Inspired by the incredible work of [TheTrain](https://github.com/TheTrainGoes) on the [OpenStickCommunity Fightstick
Case](https://github.com/OpenStickCommunity/Hardware/tree/main/Fightstick%20Case), itself based on the incredible work
by [Dash n'Mash](https://twitter.com/Dash_xx_Mash?s=20). Original work Copyright 2023 TheTrain, [licensed under CC BY
4.0](https://creativecommons.org/licenses/by/4.0/).
Made possible by the amazing efforts of [slagcoin](https://www.slagcoin.com/).
### Distributing BSS Sticks
Under the terms of the GPLv3, you must inform the receiver of the "object code" of their rights under the GPLv3. This is
a bit of a gray area for physical objects, but likely applies to distribution of modified or unmodified STL, STEP, etc.
files at a minimum. The easiest way to satisfy the GPLv3 in either situation is to provide a link to the source code
(either the unmodified mainline project, or your copy, with modifications listed in a "prominent notice"); something
like the below should suffice in either electronic or printed form:
> This arcade stick is part of the Buildable Stick System, version X.Y.Z; the source code to this program is available
> under the terms of the GNU General Public License, at [LINK].

View File

@@ -2,9 +2,6 @@
Notes for "next time".
## v4
## v4.x
* Engraving some cosmetic stuff? Or maybe a place to mount other plates?
* Try making it so top plates are bolted in from the side of the frame rather than the top
* I'm thinking of abandoning this, because it makes the frame more complicated to have a portion of a column rather
than the full column, but I'll keep it here for a bit longer
* Engraving some cosmetic stuff? Or maybe a place to mount other plates on the top?

4
attic/README.md Normal file
View File

@@ -0,0 +1,4 @@
# The Attic
This directory includes abandoned pieces that I'd like to revisit some time, but I cannot support or recommend using
as-is. Print at your own caution, or better yet, maybe fix them!

View File

@@ -0,0 +1,68 @@
/*
* A stick mount that fits rectangular (non-extended) BSS sticks.
*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../parameters.scad>
include <../components.scad>
holder_x = 114;
holder_y = 60;
holder_z = 45;
tall_holder_post = frame_y-10;
module stick_holder() {
difference() {
cube([holder_x, holder_y, holder_z], center=true);
translate([14, 0, 132]) rotate([90, -40, 0]) frame_solid();
}
}
module mount() {
difference() {
union() {
// lowest post
translate([62, -frame_z-25, holder_z/2]) stick_holder(); // top = 45
// middle post
translate([0, 0, ((tall_holder_post)/2)/2])
cube([holder_x, holder_y, (tall_holder_post)/2], center=true);
translate([0, 0, ((tall_holder_post)/2)+holder_z/2]) stick_holder(); // top = 139
// highest post
translate([-62, frame_z+25, tall_holder_post/2])
cube([holder_x, holder_y, tall_holder_post], center=true);
translate([-62, frame_z+25, tall_holder_post+holder_z/2]) stick_holder(); // top = 233
// post stabilizers
translate([31, -41, holder_z/2]) cube([52, 23, holder_z], center=true);
translate([-31, 41, ((tall_holder_post/2)+holder_z)/2])
cube([52, 23, (tall_holder_post/2)+holder_z], center=true);
// base
hull() {
translate([110, 103, -2.5]) cylinder(r=15, h=5, center=true);
translate([110, -103, -2.5]) cylinder(r=15, h=5, center=true);
translate([-110, 103, -2.5]) cylinder(r=15, h=5, center=true);
translate([-110, -103, -2.5]) cylinder(r=15, h=5, center=true);
}
// placard
translate([0, -112, 15]) cube([frame_y, 5, 30], center=true);
/* // test */
/* translate([62+14, -frame_z-25, 132+holder_z/2]) rotate([90, -40, 0]) frame_solid(); */
/* translate([14, 0, 132+(frame_y/2)-20+holder_z/2]) rotate([90, -40, 0]) frame_solid(); */
/* translate([-62+14, frame_z+25, 132+tall_holder_post+holder_z/2]) rotate([90, -40, 0]) frame_solid(); */
}
// text on the placard
translate([-frame_z*3.3/2.5, -holder_x, 15]) rotate([90, 0, 0])
linear_extrude(1) text("Buildable Stick System", font="Noto Sans");
translate([-frame_z*3.3/2.5, -holder_x, 4]) rotate([90, 0, 0])
linear_extrude(1) text("v4 by bss", font="Noto Sans", size=6);
}
}
mount();

50
build.py Normal file
View File

@@ -0,0 +1,50 @@
"""Compile all OpenSCAD files into a build directory and package it with docs.
(a.k.a.: "make is hard"
SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
SPDX-License-Identifier: GPL-3.0-or-later
"""
import os
import os.path
import re
import subprocess
PROJECT_ROOT = os.path.abspath(os.getcwd())
BUILD_DIR = os.path.join(PROJECT_ROOT, 'build/')
SOURCE_DIR = os.path.join(PROJECT_ROOT, 'src/')
EXCLUDES = ['components.scad', 'parameters.scad']
# set up our environment to point openscad at the right stuff
os.environ['OPENSCADPATH'] = SOURCE_DIR
# track processes to wait on
processes = []
os.chdir(SOURCE_DIR)
for root, dirs, files in os.walk('.'):
print(f"{root} {dirs} {files}")
# make the current directory so that openscad can write stuff into it
try:
os.makedirs(os.path.join(BUILD_DIR, root))
except FileExistsError:
pass
input_dir = os.path.join(SOURCE_DIR, root)
output_dir = os.path.join(BUILD_DIR, root)
for file in files:
if not re.match(r'.*\.scad$', file):
continue
if file in EXCLUDES:
continue
stl_file = re.sub(r'\.scad$', '.stl', file)
input_ = os.path.join(input_dir, file)
output = os.path.join(output_dir, stl_file)
cmd = f'openscad -o {output} {input_}'
print(cmd)
processes.append(subprocess.Popen(cmd.split(' ')))
for process in processes:
process.wait()

View File

@@ -0,0 +1,38 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/pieces/extended/front-or-back.scad>
use <frames/pieces/extended/side-extended-to-bottom.scad>
use <frames/pieces/extended/front-or-back-clean-for-extended-side-aux-and-neutrik.scad>
use <panels/inset/lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/inset/sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <misc/dustwasher-lsx-nobi.scad>
top_panel_color = "#5B6579";
bottom_panel_color = "#8E9089";
frame_top_bottom_color = "#8E9089";
frame_side_color = "#8E9089";
top_deco_color = "#8E9089";
color(top_panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) lever_and_dir_arc_w_30mm_panel();
color(top_panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) sega_2p_plus_one_plus_control_panel_with_mount();
color(frame_side_color) translate([-frame_x/2+4, 0, -2.5]) extra_extended_left_or_right_frame_piece();
color(frame_side_color) translate([frame_x/2-4, 0, -2.5]) mirror([1, 0, 0]) extra_extended_left_or_right_frame_piece();
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) extended_front_or_back_frame_piece();
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) extended_front_or_back_frame_piece();
color(frame_top_bottom_color) translate([-frame_x/2+4, 0, -2.5]) rotate([180, 0, 0]) front_or_back_aux_and_neutrik_box_frame_piece_for_extended_side();
color(frame_top_bottom_color) translate([frame_x/2-4, 0, -2.5]) rotate([180, 180, 0]) front_or_back_aux_and_neutrik_box_frame_piece_for_extended_side();
color(bottom_panel_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) panel();
color(bottom_panel_color) translate([panel_x/2, 0, -5-frame_z/2+5]) panel();
/* color(top_deco_color) translate([0, 0, 3+frame_z/2-4]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates(); */
color(top_deco_color) translate([0, 0, 3+frame_z/2-panel_z]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();
color(top_deco_color) translate([-170, 20, 3+frame_z/2-panel_z]) lsx_nobi_dustwasher();
color(top_deco_color) translate([panel_x-24, 30, 3+frame_z/2-panel_z]) button_24mm_decorative_plate();

View File

@@ -0,0 +1,35 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <frames/pieces/box/front-or-back.scad>
use <frames/pieces/box/front-or-back-aux-and-neutrik.scad>
use <panels/inset/lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/inset/sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one-plates.scad>
use <misc/dustwasher-lsx-nobi.scad>
panel_color = "red";
base_color = "gray";
top_deco_color = "white";
color(panel_color) translate([-panel_x/2, 0, frame_z/2-panel_z+0.01]) lever_and_dir_arc_w_30mm_panel();
color(panel_color) translate([panel_x/2, 0, frame_z/2-panel_z+0.01]) sega_2p_plus_one_plus_control_panel_with_mount();
color(base_color) translate([-frame_x/2+5, 0, -2.5]) left_frame();
color(base_color) translate([panel_x/2, 0, -2.5]) rotate([0, 180, 0]) side_box_frame_piece();
color(base_color) translate([panel_x/2, 0, -2.5]) front_or_back_box_frame_piece();
color(base_color) translate([panel_x/2, 0, -2.5]) rotate([180, 180, 0]) front_or_back_aux_and_neutrik_box_frame_piece();
color(base_color) translate([-panel_x/2, 0, -5-frame_z/2+5]) panel();
color(base_color) translate([panel_x/2, 0, -5-frame_z/2+5]) panel();
/* color(top_deco_color) translate([0, 0, 3+frame_z/2-4]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates(); */
color(top_deco_color) translate([0, 0, 3+frame_z/2-panel_z]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();
color(top_deco_color) translate([-170, 20, 3+frame_z/2-panel_z]) lsx_nobi_dustwasher();
color(top_deco_color) translate([panel_x-24, 30, 3+frame_z/2-panel_z]) button_24mm_decorative_plate();

34
demo/blown-up-demo.scad Normal file
View File

@@ -0,0 +1,34 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/pieces/interconnect.scad>
use <frames/pieces/box/side.scad>
use <frames/pieces/box/front-or-back.scad>
use <frames/pieces/box/front-or-back-aux-and-neutrik.scad>
use <panels/overhang/left-lever-and-dir_arc-plus-w-30mm-panel.scad>
use <panels/overhang/right-sega-2p-plus-one-plus-control-panel-with-mount.scad>
use <panels/overhang/left-or-right-panel.scad>
use <misc/decorative-plate-24mm-button.scad>
use <misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc/dustwasher-lsx-nobi.scad>
color("#C12E1F") translate([-panel_x/2-25, 0, frame_z/2+75]) lever_and_dir_arc_w_30mm_left_overhang_panel();
color("#C12E1F") translate([panel_x/2+25, 0, frame_z/2+75]) sega_2p_plus_one_plus_control_right_overhang_panel_with_mount();
color("black") translate([-frame_x/2+5-25, -55, -2.5]) front_or_back_box_frame_piece();
color("black") rotate([0, 180, 0]) translate([-frame_x/2+5-25, -55, -2.5]) front_or_back_box_frame_piece();
color("black") translate([-frame_x/2+5-50, 0, -2.5]) side_box_frame_piece();
color("black") rotate([0, 180, 0]) translate([-frame_x/2+5-50, 0, -2.5]) side_box_frame_piece();
color("black") rotate([180, 0, 0]) translate([-frame_x/2+5-25, -55, -2.5]) front_or_back_aux_and_neutrik_box_frame_piece();
color("black") rotate([180, 0, 0]) rotate([0, 180, 0]) translate([-frame_x/2+5-25, -55, -2.5]) front_or_back_aux_and_neutrik_box_frame_piece();
color("black") rotate([0, 180, 0]) interconnect_frame_piece();
color("#C12E1F") translate([-panel_x/2-25, 0, -5-frame_z/2-75]) left_or_right_overhang_panel();
color("#C12E1F") mirror([0, 1, 0]) translate([panel_x/2+25, 0, -5-frame_z/2-75]) rotate([0, 0, 180])
left_or_right_overhang_panel();
color("black") translate([0, 0, 3+frame_z/2+150]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();
color("black") translate([-195, 25, 3+frame_z/2+150]) lsx_nobi_dustwasher();
color("black") translate([panel_x, 25, 3+frame_z/2+150]) button_24mm_decorative_plate();

79
docs/README-objects.md Normal file
View File

@@ -0,0 +1,79 @@
# The Buildable Stick System
Files for 3D printing an arcade stick.
## Objects
The following notes document the objects in the Buildable Stick System and how you can use them:
* `frames/`
* `complete/` --- these are the four walls of the frame as one piece, in a couple variations for combining into
larger arcade sticks. They are simple to assemble, but you have fewer modularity/customization options, and they
are harder to print because the physics of the material cooling will probably pull the corners up. They also need
supports, since the top and bottom of the frame both have trays for panels to go into. Use at your own risk.
* `pieces/`
* `box/` --- these are the same four walls (generally speaking) as in the complete frames above, broken out into
modular pieces to print separately. Because they are separate pieces, you can mix and match colors, and you
can lay them all face down on the print surface for better adhesion and surface patterns. There are also
variants here, the "windowed" pieces, for doing two-tone variants and that kind of thing.
* `extended/` --- the frame walls are pulled out to create MCZ TE-style extended sides. Rather than getting a
box look, you get a longer slab with nice bevels. These look nice, but slightly fiddily to print (and of
course need more material) --- watch your surface adhesion.
* `interconnect` --- complete frames are bolted to one another, but for frame pieces, there is an interconnect
that stands in for the joined inner wall. You need this if you are combining multiple sets of walls, e.g. for
a two-panel-long stick.
* `panels/`
* `inset/` --- various panels, all of the same size, that fit into and flush with the frame, making the arcade stick
top or bottom. These work equally well with box or extended frames, and aside from using up a bit of the space
inside the frame, come with no downsides --- they print easily and are a pretty simple shape to tweak and remix.
* `overhang/` --- overhang panels have their plane extending over the edge of the frame, creating a bit of a
sandwich look. This is mostly an aesthetic choice, but they sit higher in the frame as well, the main panel being
over/under the frame rather than within it. This extra space is useful for taller levers. The only downside to
these is that they aren't as reusable as the inset panels, since the inset panels can go anywhere, but the
overhang panels must be designed to not overlap with other overhang panels, so you might have to make more custom
variants depending on where you put things.
* `misc/`
* Pieces that I haven't organized better (yet) --- there are decorative plates for top buttons and similar to give
more color variance and some layers to the arcade stick, some very simple dustwashers, plates that fit rocker
switches and the like in Neutrik D or 20mm holes, and a lever mount spacer for getting your lever shaft at the
desired height. You don't *need* any of these, but you'll probably use a few.
* `extras/`
* Various experiments and things not directly related to making an arcade stick. At time of writing, there's a
couple pieces for a little stand for the stick, solely for vanity purposes.
Feel free to request or contribute to more objects, see the links to Git repos below.
## Printing and Assembling
Additional documentation regarding printing the objects and assembling the stick are available in
`docs/printing-and-materials.md` and `docs/assembly-and-tips.md`, respectively.
## Author and Licensing
Written by and copyright Brian S. Stephan (<bss@incorporeal.org>).
These arcade stick parts are from the Buildable Stick System; the source code to this program is available under the
terms of the GNU General Public License, at:
* <https://github.com/bsstephan/buildable-stick-system>, or
* <https://git.incorporeal.org/bss/buildable-stick-system>
See the tags/releases for the version of the source code corresponding to the STLs you received.
The Buildable Stick System is free software: you can redistribute it and/or modify it under the terms of the GNU General
Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any
later version.
The Buildable Stick System is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with the Buildable Stick System. If not, see
<https://www.gnu.org/licenses/>.
## Lineage
Inspired by the incredible work of [TheTrain](https://github.com/TheTrainGoes) on the [OpenStickCommunity Fightstick
Case](https://github.com/OpenStickCommunity/Hardware/tree/main/Fightstick%20Case), itself based on the incredible work
by [Dash n'Mash](https://twitter.com/Dash_xx_Mash?s=20). Original work Copyright 2023 TheTrain, [licensed under CC BY
4.0](https://creativecommons.org/licenses/by/4.0/).

52
docs/assembly-and-tips.md Normal file
View File

@@ -0,0 +1,52 @@
# Assembly and Tips
Just some miscellaneous notes for any dear reader, or more likely, my own forgetful self.
## Putting a BSS Stick Together
Assembly of a stick is pretty straightforward, but there are some choices that can make it easier or harder. The
following is the most consistent way I've found to put one together. This is assuming a v4.2 or beyond stick, with two
panels to make a long standard stick, and the frame made of pieces.
1. Prepare the frame pieces: this is your best shot to get the e.g. Neutrik plates for the USB mount, SPDT switches, etc.
installed, so do it now, and give them a good tighten. You shouldn't need to adjust these again, so finish their
installation while the pieces are free.
1. You could also do the decorative plates and related buttons, but it might be just as well to leave those for step 7,
just to make sure the buttons don't get in the way of other buttons or a lever or so on.
2. Start the top panels: you want both to get the components installed now when it's easy, and to make sure that the
overall assembly works with your components, so again get your buttons, lever, etc., in place. You can secure them at
this point.
1. If you are using a button decorative plate that spans two panels --- e.g.
`misc/decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one` --- take care to align the two panels as tightly
as possible, and accurately, as they will be hard to adjust once everything is secured and in the frame.
2. If using a lever, don't forget the lever mount spacer --- `misc/lever-mount-sanwa-seimitsu` --- if you want it,
and tighten those mounting bolts now as well.
3. Create the frame box by combining your frame piece parts, box or extended, together. This will be relatively stable
just via friction fit.
4. Rest the frame top-up on a desk, and put the standoffs through the holes. This will probably be tight, and you may
even need a rubber mallet or similar to drive the standoffs through the holes.
5. Insert the top panels into the frame.
6. Insert the bolts for the top panels, make any last adjustments, and tighten them.
7. At this point you have an open box with access to all your components. Do all of your wiring.
1. Tighten the buttons and etc. if you didn't in step 2.
8. Insert the bottom panels into the frame.
9. Insert the bottom bolts for the bottom panels, and tighten them.
In the end, this should be extremely sturdy. None of the frame or panels should be loose at all, and you should be able
to move, flip, gently toss, etc. the stick without anything moving or feeling loose.
## Removing Inset Panels
As of v4.1 (or in v3), the top and bottom inset panels both insert into the frame, inside the frame "lip", meaning that
when everything is put together, they create a flush surface (more or less). This can make them hard to get out, as you
can't grab anything to get any leverage, and especially with v4.1, the plastic posts to aid the friction fit make it
even harder to muscle out --- in fact, even if you could get an edge and start yanking, you'd probably just break some
of the plastic.
You can instead use the reverse side and the hex standoffs to push a panel out, as so:
1. Loosen, or completely remove, the hex bolts for the panel you would like to remove.
2. Flip the stick over, and remove the hex bolts on the opposite side.
3. Screw in longer bolts, or anything else that'll fit into the hole without going flush against the panel.
4. Push the long bolts in, thus pushing the standoffs, thus pushing the desired panel out from within.
5. You may have to even get a mallet and tap on a bolt, occasionally, as everything can be *pretty* tight.

BIN
docs/blown-up-demo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

BIN
docs/finished-v3.1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 MiB

BIN
docs/finished-v4.1.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

BIN
docs/finished-v4.2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 277 KiB

BIN
docs/finished-v4.4.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

View File

@@ -1,24 +0,0 @@
# Materials
bss's random thoughts and notes on 3D printing materials.
## Bambu Lab PLA
### Basic
* In general, nice texture, but under direct light, you can see a bit of the infill pattern through the walls. Not super
distracting, but it's there.
#### White
* Walls are practically translucent, you can almost always see the infill. Do not use for major components.
* Looks perfectly good for thin things like the Neutrik plates, decorative pieces, that kind of thing.
### Matte
* I don't like the texture as much, but they do produce nice non-primary color colorways, and you don't see the infill.
* Seems like their plastic treatment leaves some plate residue, so be better about cleaning it or you'll get ghosts.
## Hatchbox PLA
* Haven't done a lot of this yet, but my wife really likes the blue.

View File

@@ -0,0 +1,58 @@
# Printing and Materials
bss's random thoughts and notes on the actual printing of the Buildable Stick System.
## Printing Settings
My preferred settings are 3 wall loops with 20% gyroid sparse infill. This gives the models a bit more weight and
strength against bowing forces, but something more default, like 2 wall loops, 15% grid sparse infill, is fine and does
not lead to a weak enclosure.
### Working With Flatness
A lot of the pieces are long and flat, so I recommend really dialing in your printer settings. The frame pieces make
corner curling of the frame less of a problem, but you may still get it on the panels and the beveled frame pieces.
#### Bottom Layer Notes
Considering the visible layer (usually, the bottom layer) pattern is ideal. Monotonic prints fast but creates long,
uniform lines that create reflection patterns on long, flat surfaces. This can be especially distracting for the top
panels and their decorative plates, since they're what you're looking at 90% of the time, and the holes break up a
perfect pattern, making the long lines stand out even more.
* **Top panels:** using a non-uniform pattern reduces if not eliminates the problem of the surface catching the light,
but for some patterns, it may come at the expense of time. Other patterns may improve beyond monotonic, but hilbert
curve seems to be the gold standard.
* **Circle-centric decorative plates:** don't use complex patterns like Archimedean chords on decorative plates, as they
seem to have issues with filling curves and you still want to try to maximize contact with walls. Concentric is great
here if you dial it in.
The concentric pattern is a good default and prints awesome parts, with the only exception being the top panels, which
benefit from using a Hilbert curve initial layer pattern instead of concentric.
## Materials
Some notes on PLA brands, usages, etc.
### Bambu Lab PLA
#### Basic
* In general, nice texture, but under direct light, you can see a bit of the infill pattern through the walls. Not super
distracting, but it's there.
##### White
* Walls are practically translucent, you can almost always see the infill. 3 wall loops and a varying infill pattern
definitely help here.
* Looks perfectly good for thin things like the Neutrik plates, decorative pieces, that kind of thing.
#### Matte
* I don't like the texture as much, but they do produce nice non-primary color colorways, and you don't see the infill.
* Seems like their plastic treatment leaves some plate residue, so be better about cleaning it or you'll get ghosts.
### Hatchbox PLA
* **Blue:** very blue. Wife likes it.
* **White:** more opaque than the Bambu PLA mentioned above, makes a pretty decent (still slightly translucent) frame.

53
pyproject.toml Normal file
View File

@@ -0,0 +1,53 @@
[build-system]
requires = ["setuptools>=61.0", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"
[project]
name = "buildable-stick-system"
description = "Files for 3D printing an arcade stick."
readme = "README.md"
license = {text = "GPL-3.0-or-later"}
authors = [
{name = "Brian S. Stephan", email = "bss@incorporeal.org"},
]
requires-python = "<3.12,>=3.9"
dependencies = ["build123d"]
dynamic = ["version"]
classifiers = [
# TODO
]
[project.urls]
# TODO
[project.optional-dependencies]
dev = ["bandit", "flake8", "flake8-blind-except", "flake8-builtins", "flake8-docstrings",
"flake8-executable", "flake8-fixme", "flake8-isort", "flake8-logging-format", "flake8-mutable",
"flake8-pyproject", "mypy", "pip-tools", "pytest", "pytest-asyncio", "pytest-cov", "reuse",
"setuptools-scm", "tox", "twine"]
gui = ["cadquery>=2.2", "CQ-Editor@git+https://github.com/jdegenstein/jmwright-CQ-Editor"]
[project.scripts]
# TODO
[tool.flake8]
enable-extensions = "G,M"
exclude = [".tox/", "venv/", "_version.py", "tests/test-files/"]
extend-ignore = "T101"
max-complexity = 10
max-line-length = 120
[tool.isort]
line_length = 120
[tool.mypy]
ignore_missing_imports = true
[tool.pytest]
python_files = ["*_tests.py", "tests.py", "test_*.py"]
[tool.setuptools]
# TODO
[tool.setuptools_scm]
# TODO

View File

@@ -0,0 +1,644 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=dev --extra=gui --output-file=requirements/requirements-dev-and-gui.txt
#
alabaster==0.7.16
# via sphinx
anytree==2.12.1
# via build123d
arrow==1.3.0
# via cookiecutter
astroid==3.2.2
# via pylint
asttokens==2.4.1
# via stack-data
atomicwrites==1.4.1
# via spyder
attrs==23.2.0
# via
# jsonschema
# referencing
autopep8==2.0.4
# via python-lsp-server
babel==2.15.0
# via sphinx
backports-tarfile==1.2.0
# via jaraco-context
bandit==1.7.9
# via buildable-stick-system (pyproject.toml)
beautifulsoup4==4.12.3
# via nbconvert
binaryornot==0.4.4
# via
# cookiecutter
# reuse
black==24.4.2
# via python-lsp-black
bleach==6.1.0
# via nbconvert
boolean-py==4.0
# via
# license-expression
# reuse
build==1.2.1
# via pip-tools
build123d==0.4.0
# via buildable-stick-system (pyproject.toml)
cachetools==5.3.3
# via tox
cadquery==2.4.0
# via buildable-stick-system (pyproject.toml)
cadquery-ocp==7.7.2
# via
# build123d
# cadquery
# ocpsvg
casadi==3.6.5
# via cadquery
certifi==2024.6.2
# via requests
cffi==1.16.0
# via cryptography
chardet==5.2.0
# via
# binaryornot
# python-debian
# spyder
# tox
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# black
# cookiecutter
# pip-tools
cloudpickle==3.0.0
# via
# spyder
# spyder-kernels
colorama==0.4.6
# via tox
comm==0.2.2
# via ipykernel
cookiecutter==2.6.0
# via spyder
coverage[toml]==7.5.4
# via pytest-cov
cq-editor @ git+https://github.com/jdegenstein/jmwright-CQ-Editor
# via buildable-stick-system (pyproject.toml)
cryptography==42.0.8
# via secretstorage
debugpy==1.8.2
# via ipykernel
decorator==5.1.1
# via ipython
defusedxml==0.7.1
# via nbconvert
diff-match-patch==20230430
# via
# spyder
# three-merge
dill==0.3.8
# via pylint
distlib==0.3.8
# via virtualenv
docstring-to-markdown==0.15
# via python-lsp-server
docutils==0.21.2
# via
# readme-renderer
# sphinx
executing==2.0.1
# via stack-data
ezdxf==1.3.1
# via
# build123d
# cadquery
fastjsonschema==2.20.0
# via nbformat
filelock==3.15.4
# via
# tox
# virtualenv
flake8==7.0.0
# via
# buildable-stick-system (pyproject.toml)
# flake8-builtins
# flake8-docstrings
# flake8-executable
# flake8-isort
# flake8-mutable
# flake8-pyproject
# python-lsp-server
flake8-blind-except==0.2.1
# via buildable-stick-system (pyproject.toml)
flake8-builtins==2.5.0
# via buildable-stick-system (pyproject.toml)
flake8-docstrings==1.7.0
# via buildable-stick-system (pyproject.toml)
flake8-executable==2.1.3
# via buildable-stick-system (pyproject.toml)
flake8-fixme==1.1.1
# via buildable-stick-system (pyproject.toml)
flake8-isort==6.1.1
# via buildable-stick-system (pyproject.toml)
flake8-logging-format==2024.24.12
# via buildable-stick-system (pyproject.toml)
flake8-mutable==1.2.0
# via buildable-stick-system (pyproject.toml)
flake8-pyproject==1.2.3
# via buildable-stick-system (pyproject.toml)
fonttools==4.53.0
# via ezdxf
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.0.0
# via
# keyring
# twine
# yapf
inflection==0.5.1
# via qstylizer
iniconfig==2.0.0
# via pytest
intervaltree==3.1.0
# via spyder
ipykernel==6.29.5
# via
# qtconsole
# spyder-kernels
ipython==8.26.0
# via
# build123d
# cq-editor
# ipykernel
# spyder
# spyder-kernels
isort==5.13.2
# via
# flake8-isort
# pylint
jaraco-classes==3.4.0
# via keyring
jaraco-context==5.3.0
# via keyring
jaraco-functools==4.0.1
# via keyring
jedi==0.19.1
# via
# ipython
# python-lsp-server
# spyder
jeepney==0.8.0
# via
# keyring
# secretstorage
jellyfish==1.0.4
# via spyder
jinja2==3.1.4
# via
# cookiecutter
# nbconvert
# reuse
# sphinx
jsonschema==4.22.0
# via
# nbformat
# spyder
jsonschema-specifications==2023.12.1
# via jsonschema
jupyter-client==8.6.2
# via
# ipykernel
# nbclient
# qtconsole
# spyder-kernels
jupyter-core==5.7.2
# via
# ipykernel
# jupyter-client
# nbclient
# nbconvert
# nbformat
# qtconsole
jupyterlab-pygments==0.3.0
# via nbconvert
keyring==25.2.1
# via
# spyder
# twine
license-expression==30.3.0
# via reuse
logbook==1.7.0.post0
# via cq-editor
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
# via
# jinja2
# nbconvert
matplotlib-inline==0.1.7
# via
# ipykernel
# ipython
mccabe==0.7.0
# via
# flake8
# pylint
# python-lsp-server
mdurl==0.1.2
# via markdown-it-py
mistune==3.0.2
# via nbconvert
more-itertools==10.3.0
# via
# jaraco-classes
# jaraco-functools
multimethod==1.9.1
# via cadquery
mypy==1.10.1
# via buildable-stick-system (pyproject.toml)
mypy-extensions==1.0.0
# via
# black
# mypy
nbclient==0.10.0
# via nbconvert
nbconvert==7.16.4
# via spyder
nbformat==5.10.4
# via
# nbclient
# nbconvert
nest-asyncio==1.6.0
# via ipykernel
nh3==0.2.17
# via readme-renderer
nlopt==2.7.1
# via cadquery
nptyping==2.0.1
# via cadquery
numpy==1.26.4
# via
# build123d
# casadi
# ezdxf
# nlopt
# nptyping
# numpy-stl
# pyqtgraph
# scipy
# svgpathtools
numpy-stl==3.1.1
# via build123d
numpydoc==1.7.0
# via spyder
ocpsvg==0.2.1
# via build123d
packaging==24.1
# via
# black
# build
# ipykernel
# nbconvert
# pyproject-api
# pytest
# pytoolconfig
# qtconsole
# qtpy
# setuptools-scm
# sphinx
# tox
pandocfilters==1.5.1
# via nbconvert
parso==0.8.4
# via
# jedi
# spyder
path==16.14.0
# via
# cadquery
# cq-editor
pathspec==0.12.1
# via black
pbr==6.0.0
# via stevedore
pexpect==4.9.0
# via
# ipython
# spyder
pickleshare==0.7.5
# via spyder
pip-tools==7.4.1
# via buildable-stick-system (pyproject.toml)
pkginfo==1.10.0
# via twine
platformdirs==4.2.2
# via
# black
# jupyter-core
# pylint
# pytoolconfig
# tox
# virtualenv
# yapf
pluggy==1.5.0
# via
# pytest
# python-lsp-server
# tox
prompt-toolkit==3.0.47
# via ipython
psutil==6.0.0
# via
# ipykernel
# spyder
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
py-lib3mf==2.3.1
# via build123d
pycodestyle==2.11.1
# via
# autopep8
# flake8
# python-lsp-server
pycparser==2.22
# via cffi
pydocstyle==6.3.0
# via
# flake8-docstrings
# python-lsp-server
pyflakes==3.2.0
# via
# flake8
# python-lsp-server
pygments==2.18.0
# via
# ipython
# nbconvert
# qtconsole
# readme-renderer
# rich
# sphinx
# spyder
pylint==3.2.5
# via
# python-lsp-server
# spyder
pylint-venv==3.0.3
# via spyder
pyls-spyder==0.4.0
# via spyder
pyparsing==3.1.2
# via ezdxf
pyproject-api==1.7.1
# via tox
pyproject-hooks==1.1.0
# via
# build
# pip-tools
pyqt5==5.15.10
# via
# cq-editor
# pyqtwebengine
# spyder
pyqt5-qt5==5.15.14
# via pyqt5
pyqt5-sip==12.13.0
# via
# pyqt5
# pyqtwebengine
pyqtgraph==0.13.7
# via cq-editor
pyqtwebengine==5.15.6
# via spyder
pyqtwebengine-qt5==5.15.14
# via pyqtwebengine
pytest==8.2.2
# via
# buildable-stick-system (pyproject.toml)
# pytest-asyncio
# pytest-cov
pytest-asyncio==0.23.7
# via buildable-stick-system (pyproject.toml)
pytest-cov==5.0.0
# via buildable-stick-system (pyproject.toml)
python-dateutil==2.9.0.post0
# via
# arrow
# jupyter-client
python-debian==0.1.49
# via reuse
python-lsp-black==2.0.0
# via spyder
python-lsp-jsonrpc==1.1.2
# via python-lsp-server
python-lsp-server[all]==1.11.0
# via
# pyls-spyder
# python-lsp-black
# spyder
python-slugify==8.0.4
# via cookiecutter
python-utils==3.8.2
# via numpy-stl
pytoolconfig[global]==1.3.1
# via rope
pyxdg==0.28
# via spyder
pyyaml==6.0.1
# via
# bandit
# cookiecutter
pyzmq==26.0.3
# via
# ipykernel
# jupyter-client
# qtconsole
# spyder
# spyder-kernels
qdarkstyle==3.2.3
# via spyder
qstylizer==0.2.3
# via spyder
qtawesome==1.3.1
# via spyder
qtconsole==5.5.2
# via spyder
qtpy==2.4.1
# via
# qdarkstyle
# qtawesome
# qtconsole
# spyder
readme-renderer==43.0
# via twine
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
requests==2.32.3
# via
# cookiecutter
# cq-editor
# requests-toolbelt
# sphinx
# twine
requests-toolbelt==1.0.0
# via twine
reuse==3.0.2
# via buildable-stick-system (pyproject.toml)
rfc3986==2.0.0
# via twine
rich==13.7.1
# via
# bandit
# cookiecutter
# twine
rope==1.13.0
# via python-lsp-server
rpds-py==0.18.1
# via
# jsonschema
# referencing
rtree==1.2.0
# via spyder
scipy==1.14.0
# via svgpathtools
secretstorage==3.3.3
# via keyring
setuptools-scm==8.1.0
# via buildable-stick-system (pyproject.toml)
six==1.16.0
# via
# anytree
# asttokens
# bleach
# python-dateutil
snowballstemmer==2.2.0
# via
# pydocstyle
# sphinx
sortedcontainers==2.4.0
# via intervaltree
soupsieve==2.5
# via beautifulsoup4
sphinx==7.3.7
# via
# numpydoc
# spyder
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
spyder==5.5.5
# via cq-editor
spyder-kernels==2.5.2
# via spyder
stack-data==0.6.3
# via ipython
stevedore==5.2.0
# via bandit
svgelements==1.9.6
# via ocpsvg
svgpathtools==1.6.1
# via
# build123d
# ocpsvg
svgwrite==1.4.3
# via svgpathtools
tabulate==0.9.0
# via numpydoc
text-unidecode==1.3
# via python-slugify
textdistance==4.6.2
# via spyder
three-merge==0.1.1
# via spyder
tinycss2==1.3.0
# via
# nbconvert
# qstylizer
tomli==2.0.1
# via yapf
tomlkit==0.12.5
# via pylint
tornado==6.4.1
# via
# ipykernel
# jupyter-client
tox==4.15.1
# via buildable-stick-system (pyproject.toml)
traitlets==5.14.3
# via
# comm
# ipykernel
# ipython
# jupyter-client
# jupyter-core
# matplotlib-inline
# nbclient
# nbconvert
# nbformat
# qtconsole
trianglesolver==1.2
# via build123d
twine==5.1.1
# via buildable-stick-system (pyproject.toml)
types-python-dateutil==2.9.0.20240316
# via arrow
typing-extensions==4.12.2
# via
# build123d
# ezdxf
# ipython
# mypy
# python-utils
typish==1.9.3
# via cadquery
ujson==5.10.0
# via
# python-lsp-jsonrpc
# python-lsp-server
urllib3==2.2.2
# via
# requests
# twine
virtualenv==20.26.3
# via tox
watchdog==4.0.1
# via spyder
wcwidth==0.2.13
# via prompt-toolkit
webencodings==0.5.1
# via
# bleach
# tinycss2
whatthepatch==1.0.5
# via python-lsp-server
wheel==0.43.0
# via pip-tools
wurlitzer==3.1.1
# via spyder-kernels
yapf==0.40.2
# via python-lsp-server
zipp==3.19.2
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

View File

@@ -0,0 +1,295 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=dev --output-file=requirements/requirements-dev.txt
#
anytree==2.12.1
# via build123d
asttokens==2.4.1
# via stack-data
backports-tarfile==1.2.0
# via jaraco-context
bandit==1.7.9
# via buildable-stick-system (pyproject.toml)
binaryornot==0.4.4
# via reuse
boolean-py==4.0
# via
# license-expression
# reuse
build==1.2.1
# via pip-tools
build123d==0.5.0
# via buildable-stick-system (pyproject.toml)
cachetools==5.3.3
# via tox
cadquery-ocp==7.7.2
# via
# build123d
# ocpsvg
certifi==2024.6.2
# via requests
cffi==1.16.0
# via cryptography
chardet==5.2.0
# via
# binaryornot
# python-debian
# tox
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via pip-tools
colorama==0.4.6
# via tox
coverage[toml]==7.5.4
# via pytest-cov
cryptography==42.0.8
# via secretstorage
decorator==5.1.1
# via ipython
distlib==0.3.8
# via virtualenv
docutils==0.21.2
# via readme-renderer
executing==2.0.1
# via stack-data
ezdxf==1.3.1
# via build123d
filelock==3.15.4
# via
# tox
# virtualenv
flake8==7.1.0
# via
# buildable-stick-system (pyproject.toml)
# flake8-builtins
# flake8-docstrings
# flake8-executable
# flake8-isort
# flake8-mutable
# flake8-pyproject
flake8-blind-except==0.2.1
# via buildable-stick-system (pyproject.toml)
flake8-builtins==2.5.0
# via buildable-stick-system (pyproject.toml)
flake8-docstrings==1.7.0
# via buildable-stick-system (pyproject.toml)
flake8-executable==2.1.3
# via buildable-stick-system (pyproject.toml)
flake8-fixme==1.1.1
# via buildable-stick-system (pyproject.toml)
flake8-isort==6.1.1
# via buildable-stick-system (pyproject.toml)
flake8-logging-format==2024.24.12
# via buildable-stick-system (pyproject.toml)
flake8-mutable==1.2.0
# via buildable-stick-system (pyproject.toml)
flake8-pyproject==1.2.3
# via buildable-stick-system (pyproject.toml)
fonttools==4.53.0
# via ezdxf
idna==3.7
# via requests
importlib-metadata==8.0.0
# via
# keyring
# twine
iniconfig==2.0.0
# via pytest
ipython==8.26.0
# via build123d
isort==5.13.2
# via flake8-isort
jaraco-classes==3.4.0
# via keyring
jaraco-context==5.3.0
# via keyring
jaraco-functools==4.0.1
# via keyring
jedi==0.19.1
# via ipython
jeepney==0.8.0
# via
# keyring
# secretstorage
jinja2==3.1.4
# via reuse
keyring==25.2.1
# via twine
license-expression==30.3.0
# via reuse
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
# via jinja2
matplotlib-inline==0.1.7
# via ipython
mccabe==0.7.0
# via flake8
mdurl==0.1.2
# via markdown-it-py
more-itertools==10.3.0
# via
# jaraco-classes
# jaraco-functools
mypy==1.10.1
# via buildable-stick-system (pyproject.toml)
mypy-extensions==1.0.0
# via mypy
nh3==0.2.17
# via readme-renderer
numpy==1.26.4
# via
# build123d
# ezdxf
# numpy-stl
# scipy
# svgpathtools
numpy-stl==3.1.1
# via build123d
ocpsvg==0.2.1
# via build123d
packaging==24.1
# via
# build
# pyproject-api
# pytest
# setuptools-scm
# tox
parso==0.8.4
# via jedi
pbr==6.0.0
# via stevedore
pexpect==4.9.0
# via ipython
pip-tools==7.4.1
# via buildable-stick-system (pyproject.toml)
pkginfo==1.10.0
# via twine
platformdirs==4.2.2
# via
# tox
# virtualenv
pluggy==1.5.0
# via
# pytest
# tox
prompt-toolkit==3.0.47
# via ipython
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
py-lib3mf==2.3.1
# via build123d
pycodestyle==2.12.0
# via flake8
pycparser==2.22
# via cffi
pydocstyle==6.3.0
# via flake8-docstrings
pyflakes==3.2.0
# via flake8
pygments==2.18.0
# via
# ipython
# readme-renderer
# rich
pyparsing==3.1.2
# via ezdxf
pyproject-api==1.7.1
# via tox
pyproject-hooks==1.1.0
# via
# build
# pip-tools
pytest==8.2.2
# via
# buildable-stick-system (pyproject.toml)
# pytest-asyncio
# pytest-cov
pytest-asyncio==0.23.7
# via buildable-stick-system (pyproject.toml)
pytest-cov==5.0.0
# via buildable-stick-system (pyproject.toml)
python-debian==0.1.49
# via reuse
python-utils==3.8.2
# via numpy-stl
pyyaml==6.0.1
# via bandit
readme-renderer==43.0
# via twine
requests==2.32.3
# via
# requests-toolbelt
# twine
requests-toolbelt==1.0.0
# via twine
reuse==3.0.2
# via buildable-stick-system (pyproject.toml)
rfc3986==2.0.0
# via twine
rich==13.7.1
# via
# bandit
# twine
scipy==1.14.0
# via svgpathtools
secretstorage==3.3.3
# via keyring
setuptools-scm==8.1.0
# via buildable-stick-system (pyproject.toml)
six==1.16.0
# via
# anytree
# asttokens
snowballstemmer==2.2.0
# via pydocstyle
stack-data==0.6.3
# via ipython
stevedore==5.2.0
# via bandit
svgelements==1.9.6
# via ocpsvg
svgpathtools==1.6.1
# via
# build123d
# ocpsvg
svgwrite==1.4.3
# via svgpathtools
tox==4.15.1
# via buildable-stick-system (pyproject.toml)
traitlets==5.14.3
# via
# ipython
# matplotlib-inline
trianglesolver==1.2
# via build123d
twine==5.1.1
# via buildable-stick-system (pyproject.toml)
typing-extensions==4.12.2
# via
# build123d
# ezdxf
# ipython
# mypy
# python-utils
urllib3==2.2.2
# via
# requests
# twine
virtualenv==20.26.3
# via tox
wcwidth==0.2.13
# via prompt-toolkit
wheel==0.43.0
# via pip-tools
zipp==3.19.2
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# pip
# setuptools

View File

@@ -0,0 +1,508 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --extra=gui --output-file=requirements/requirements-gui.txt
#
alabaster==0.7.16
# via sphinx
anytree==2.12.1
# via build123d
arrow==1.3.0
# via cookiecutter
astroid==3.2.2
# via pylint
asttokens==2.4.1
# via stack-data
atomicwrites==1.4.1
# via spyder
attrs==23.2.0
# via
# jsonschema
# referencing
autopep8==2.0.4
# via python-lsp-server
babel==2.15.0
# via sphinx
backports-tarfile==1.2.0
# via jaraco-context
beautifulsoup4==4.12.3
# via nbconvert
binaryornot==0.4.4
# via cookiecutter
black==24.4.2
# via python-lsp-black
bleach==6.1.0
# via nbconvert
build123d==0.5.0
# via buildable-stick-system (pyproject.toml)
cadquery==2.4.0
# via buildable-stick-system (pyproject.toml)
cadquery-ocp==7.7.2
# via
# build123d
# cadquery
# ocpsvg
casadi==3.6.5
# via cadquery
certifi==2024.6.2
# via requests
cffi==1.16.0
# via cryptography
chardet==5.2.0
# via
# binaryornot
# spyder
charset-normalizer==3.3.2
# via requests
click==8.1.7
# via
# black
# cookiecutter
cloudpickle==3.0.0
# via
# spyder
# spyder-kernels
comm==0.2.2
# via ipykernel
cookiecutter==2.6.0
# via spyder
cq-editor @ git+https://github.com/jdegenstein/jmwright-CQ-Editor
# via buildable-stick-system (pyproject.toml)
cryptography==42.0.8
# via secretstorage
debugpy==1.8.2
# via ipykernel
decorator==5.1.1
# via ipython
defusedxml==0.7.1
# via nbconvert
diff-match-patch==20230430
# via
# spyder
# three-merge
dill==0.3.8
# via pylint
docstring-to-markdown==0.15
# via python-lsp-server
docutils==0.21.2
# via sphinx
executing==2.0.1
# via stack-data
ezdxf==1.3.1
# via
# build123d
# cadquery
fastjsonschema==2.20.0
# via nbformat
flake8==7.0.0
# via python-lsp-server
fonttools==4.53.0
# via ezdxf
idna==3.7
# via requests
imagesize==1.4.1
# via sphinx
importlib-metadata==8.0.0
# via
# keyring
# yapf
inflection==0.5.1
# via qstylizer
intervaltree==3.1.0
# via spyder
ipykernel==6.29.5
# via
# qtconsole
# spyder-kernels
ipython==8.26.0
# via
# build123d
# cq-editor
# ipykernel
# spyder
# spyder-kernels
isort==5.13.2
# via pylint
jaraco-classes==3.4.0
# via keyring
jaraco-context==5.3.0
# via keyring
jaraco-functools==4.0.1
# via keyring
jedi==0.19.1
# via
# ipython
# python-lsp-server
# spyder
jeepney==0.8.0
# via
# keyring
# secretstorage
jellyfish==1.0.4
# via spyder
jinja2==3.1.4
# via
# cookiecutter
# nbconvert
# sphinx
jsonschema==4.22.0
# via
# nbformat
# spyder
jsonschema-specifications==2023.12.1
# via jsonschema
jupyter-client==8.6.2
# via
# ipykernel
# nbclient
# qtconsole
# spyder-kernels
jupyter-core==5.7.2
# via
# ipykernel
# jupyter-client
# nbclient
# nbconvert
# nbformat
# qtconsole
jupyterlab-pygments==0.3.0
# via nbconvert
keyring==25.2.1
# via spyder
logbook==1.7.0.post0
# via cq-editor
markdown-it-py==3.0.0
# via rich
markupsafe==2.1.5
# via
# jinja2
# nbconvert
matplotlib-inline==0.1.7
# via
# ipykernel
# ipython
mccabe==0.7.0
# via
# flake8
# pylint
# python-lsp-server
mdurl==0.1.2
# via markdown-it-py
mistune==3.0.2
# via nbconvert
more-itertools==10.3.0
# via
# jaraco-classes
# jaraco-functools
multimethod==1.9.1
# via cadquery
mypy-extensions==1.0.0
# via black
nbclient==0.10.0
# via nbconvert
nbconvert==7.16.4
# via spyder
nbformat==5.10.4
# via
# nbclient
# nbconvert
nest-asyncio==1.6.0
# via ipykernel
nlopt==2.7.1
# via cadquery
nptyping==2.0.1
# via cadquery
numpy==1.26.4
# via
# build123d
# casadi
# ezdxf
# nlopt
# nptyping
# numpy-stl
# pyqtgraph
# scipy
# svgpathtools
numpy-stl==3.1.1
# via build123d
numpydoc==1.7.0
# via spyder
ocpsvg==0.2.1
# via build123d
packaging==24.1
# via
# black
# ipykernel
# nbconvert
# pytoolconfig
# qtconsole
# qtpy
# sphinx
pandocfilters==1.5.1
# via nbconvert
parso==0.8.4
# via
# jedi
# spyder
path==16.14.0
# via
# cadquery
# cq-editor
pathspec==0.12.1
# via black
pexpect==4.9.0
# via
# ipython
# spyder
pickleshare==0.7.5
# via spyder
platformdirs==4.2.2
# via
# black
# jupyter-core
# pylint
# pytoolconfig
# yapf
pluggy==1.5.0
# via python-lsp-server
prompt-toolkit==3.0.47
# via ipython
psutil==6.0.0
# via
# ipykernel
# spyder
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
py-lib3mf==2.3.1
# via build123d
pycodestyle==2.11.1
# via
# autopep8
# flake8
# python-lsp-server
pycparser==2.22
# via cffi
pydocstyle==6.3.0
# via python-lsp-server
pyflakes==3.2.0
# via
# flake8
# python-lsp-server
pygments==2.18.0
# via
# ipython
# nbconvert
# qtconsole
# rich
# sphinx
# spyder
pylint==3.2.5
# via
# python-lsp-server
# spyder
pylint-venv==3.0.3
# via spyder
pyls-spyder==0.4.0
# via spyder
pyparsing==3.1.2
# via ezdxf
pyqt5==5.15.10
# via
# cq-editor
# pyqtwebengine
# spyder
pyqt5-qt5==5.15.14
# via pyqt5
pyqt5-sip==12.13.0
# via
# pyqt5
# pyqtwebengine
pyqtgraph==0.13.7
# via cq-editor
pyqtwebengine==5.15.6
# via spyder
pyqtwebengine-qt5==5.15.14
# via pyqtwebengine
python-dateutil==2.9.0.post0
# via
# arrow
# jupyter-client
python-lsp-black==2.0.0
# via spyder
python-lsp-jsonrpc==1.1.2
# via python-lsp-server
python-lsp-server[all]==1.11.0
# via
# pyls-spyder
# python-lsp-black
# spyder
python-slugify==8.0.4
# via cookiecutter
python-utils==3.8.2
# via numpy-stl
pytoolconfig[global]==1.3.1
# via rope
pyxdg==0.28
# via spyder
pyyaml==6.0.1
# via cookiecutter
pyzmq==26.0.3
# via
# ipykernel
# jupyter-client
# qtconsole
# spyder
# spyder-kernels
qdarkstyle==3.2.3
# via spyder
qstylizer==0.2.3
# via spyder
qtawesome==1.3.1
# via spyder
qtconsole==5.5.2
# via spyder
qtpy==2.4.1
# via
# qdarkstyle
# qtawesome
# qtconsole
# spyder
referencing==0.35.1
# via
# jsonschema
# jsonschema-specifications
requests==2.32.3
# via
# cookiecutter
# cq-editor
# sphinx
rich==13.7.1
# via cookiecutter
rope==1.13.0
# via python-lsp-server
rpds-py==0.18.1
# via
# jsonschema
# referencing
rtree==1.2.0
# via spyder
scipy==1.14.0
# via svgpathtools
secretstorage==3.3.3
# via keyring
six==1.16.0
# via
# anytree
# asttokens
# bleach
# python-dateutil
snowballstemmer==2.2.0
# via
# pydocstyle
# sphinx
sortedcontainers==2.4.0
# via intervaltree
soupsieve==2.5
# via beautifulsoup4
sphinx==7.3.7
# via
# numpydoc
# spyder
sphinxcontrib-applehelp==1.0.8
# via sphinx
sphinxcontrib-devhelp==1.0.6
# via sphinx
sphinxcontrib-htmlhelp==2.0.5
# via sphinx
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-qthelp==1.0.7
# via sphinx
sphinxcontrib-serializinghtml==1.1.10
# via sphinx
spyder==5.5.5
# via cq-editor
spyder-kernels==2.5.2
# via spyder
stack-data==0.6.3
# via ipython
svgelements==1.9.6
# via ocpsvg
svgpathtools==1.6.1
# via
# build123d
# ocpsvg
svgwrite==1.4.3
# via svgpathtools
tabulate==0.9.0
# via numpydoc
text-unidecode==1.3
# via python-slugify
textdistance==4.6.2
# via spyder
three-merge==0.1.1
# via spyder
tinycss2==1.3.0
# via
# nbconvert
# qstylizer
tomli==2.0.1
# via yapf
tomlkit==0.12.5
# via pylint
tornado==6.4.1
# via
# ipykernel
# jupyter-client
traitlets==5.14.3
# via
# comm
# ipykernel
# ipython
# jupyter-client
# jupyter-core
# matplotlib-inline
# nbclient
# nbconvert
# nbformat
# qtconsole
trianglesolver==1.2
# via build123d
types-python-dateutil==2.9.0.20240316
# via arrow
typing-extensions==4.12.2
# via
# build123d
# ezdxf
# ipython
# python-utils
typish==1.9.3
# via cadquery
ujson==5.10.0
# via
# python-lsp-jsonrpc
# python-lsp-server
urllib3==2.2.2
# via requests
watchdog==4.0.1
# via spyder
wcwidth==0.2.13
# via prompt-toolkit
webencodings==0.5.1
# via
# bleach
# tinycss2
whatthepatch==1.0.5
# via python-lsp-server
wurlitzer==3.1.1
# via spyder-kernels
yapf==0.40.2
# via python-lsp-server
zipp==3.19.2
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
# setuptools

View File

@@ -0,0 +1,89 @@
#
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --output-file=requirements/requirements.txt
#
anytree==2.12.1
# via build123d
asttokens==2.4.1
# via stack-data
build123d==0.5.0
# via buildable-stick-system (pyproject.toml)
cadquery-ocp==7.7.2
# via
# build123d
# ocpsvg
decorator==5.1.1
# via ipython
executing==2.0.1
# via stack-data
ezdxf==1.3.1
# via build123d
fonttools==4.53.0
# via ezdxf
ipython==8.26.0
# via build123d
jedi==0.19.1
# via ipython
matplotlib-inline==0.1.7
# via ipython
numpy==1.26.4
# via
# build123d
# ezdxf
# numpy-stl
# scipy
# svgpathtools
numpy-stl==3.1.1
# via build123d
ocpsvg==0.2.1
# via build123d
parso==0.8.4
# via jedi
pexpect==4.9.0
# via ipython
prompt-toolkit==3.0.47
# via ipython
ptyprocess==0.7.0
# via pexpect
pure-eval==0.2.2
# via stack-data
py-lib3mf==2.3.1
# via build123d
pygments==2.18.0
# via ipython
pyparsing==3.1.2
# via ezdxf
python-utils==3.8.2
# via numpy-stl
scipy==1.14.0
# via svgpathtools
six==1.16.0
# via
# anytree
# asttokens
stack-data==0.6.3
# via ipython
svgelements==1.9.6
# via ocpsvg
svgpathtools==1.6.1
# via
# build123d
# ocpsvg
svgwrite==1.4.3
# via svgpathtools
traitlets==5.14.3
# via
# ipython
# matplotlib-inline
trianglesolver==1.2
# via build123d
typing-extensions==4.12.2
# via
# build123d
# ezdxf
# ipython
# python-utils
wcwidth==0.2.13
# via prompt-toolkit

View File

@@ -1,39 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <frame-left.scad>
use <frame-right.scad>
use <top-panel-left-lever-and-dir_arc-plus-w-30mm.scad>
use <top-panel-right-sega-2p-plus-one-plus-control-with-mount.scad>
use <bottom-panel-left.scad>
use <bottom-panel-right.scad>
use <misc-decorative-plate-24mm-button.scad>
use <misc-decorative-plate-dir_arc-plus-w-30mm-and-sega-2p-plus-one.scad>
use <misc-dustwasher-lsx-nobi.scad>
color("#C12E1F") translate([-top_plate_x/2-25, 0, frame_z/2+75]) top_panel_left_lever_and_dir_arc_w_30mm();
color("#C12E1F") translate([top_plate_x/2+25, 0, frame_z/2+75]) top_panel_right_sega_2p_plus_one_plus_control_with_mount();
color("black") translate([-frame_x/2+5-25, 0, -2.5]) left_frame();
color("black") translate([frame_x/2+25, 0, -2.5]) right_frame();
color("#C12E1F") translate([-top_plate_x/2-25, 0, -5-frame_z/2-75]) bottom_panel_left();
color("#C12E1F") translate([top_plate_x/2+25, 0, -5-frame_z/2-75]) bottom_panel_right();
color("black") translate([0, 0, 3+frame_z/2+150]) dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();
color("black") translate([-195, 25, 3+frame_z/2+150]) lsx_nobi_dustwasher();
color("black") translate([top_plate_x, 25, 3+frame_z/2+150]) button_24mm_decorative_plate();

View File

@@ -1,30 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <bottom-panel-solo.scad>
module bottom_panel_left() {
difference() {
bottom_panel_solo();
// chop the right edge off
side_chopper();
}
}
bottom_panel_left();

View File

@@ -1,30 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <bottom-panel-left.scad>
use <bottom-panel-right.scad>
module bottom_panel_middle() {
intersection() {
bottom_panel_left();
bottom_panel_right();
}
}
bottom_panel_middle();

View File

@@ -1,28 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module bottom_panel() {
difference() {
mirror([0, 0, 1]) topplate();
translate([0, 0, top_plate_z/2]) cube([top_plate_x*5/6, top_plate_y*5/6, top_plate_z], center=true);
}
}
bottom_panel();

View File

@@ -1,26 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <bottom-panel-left.scad>
module bottom_panel_right() {
rotate([0, 0, 180]) bottom_panel_left();
}
bottom_panel_right();

View File

@@ -1,28 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module bottom_panel_solo() {
difference() {
bottom_plate_with_overhang();
translate([0, 0, top_plate_z/2]) cube([top_plate_x*5/6, top_plate_y*5/6, top_plate_z], center=true);
}
}
bottom_panel_solo();

1
src/bss/__init__.py Normal file
View File

@@ -0,0 +1 @@
"""The Buildable Stick System, code to generate arcade stick components."""

68
src/bss/core.py Normal file
View File

@@ -0,0 +1,68 @@
"""Shared parameters and foundational objects.
Reminder that the default unit is millimeters.
SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
SPDX-License-Identifier: GPL-3.0-or-later
"""
import build123d as bd
####################
# measurements for holes and connectors
####################
HOLE_TOLERANCE = 0.15
M4_BOLT_RADIUS = 2 + HOLE_TOLERANCE
M4_BOLT_COUNTERSINK_RADIUS = M4_BOLT_RADIUS + 2
####################
# basic dimensions necessary for proper object composition
####################
# these are for ONE frame box, not the overall case, which may be composed
# of multiple frames
FRAME_X = 233
FRAME_Y = 208
FRAME_Z = 57
# the "wall" is the space inside the frame that is reserved to make a lip for panels
FRAME_WALL = 4
# panel dimensions for either an inset panel or the inner tray of an overhang panel
PANEL_X = FRAME_X - (FRAME_WALL * 2)
PANEL_Y = FRAME_Y - (FRAME_WALL * 2)
PANEL_Z = 5
# the center point of where the standoff and bolts connecting a panel to a frame go,
# relative to a centered object
PANEL_TO_FRAME_POINT_OFFSET = 10
PANEL_TO_FRAME_POINT_X = (PANEL_X/2) - PANEL_TO_FRAME_POINT_OFFSET
PANEL_TO_FRAME_POINT_Y = (PANEL_Y/2) - PANEL_TO_FRAME_POINT_OFFSET
####################
# commonly used button dimensions
####################
BUTTON_30MM_RADIUS = 15 + HOLE_TOLERANCE
BUTTON_24MM_RADIUS = 12 + HOLE_TOLERANCE
# carve out space for snap-ins
# judgng by https://www.slagcoin.com/joystick/attributes_brands.html 2.5mm is good for everything
BUTTON_SNAP_IN_THICKNESS = 2.5
# make sure the carve out space is also enough for screw-in nuts
# slagcoin has screw-in nut diameter at 36mm for 30mm buttons, 29.5 for 24mm buttons
# radius + value below should leave space for the nut and for fingers to grab the nut
BUTTON_30MM_RADIUS_CONNECTOR_SPACE = 6
####################
# arcade stick parts that are relevant in a number of contexts
####################
class CutoutButtonHole(bd.CounterBoreHole):
"""Use an inverted counter bore hole as the button hole with the extra thin space for snap-ins."""
def __init__(self, radius, **kwargs):
"""Initialize the inverted counter bore hole with the right thinness for e.g. a panel to take snap-ins."""
super().__init__(radius, radius+BUTTON_30MM_RADIUS_CONNECTOR_SPACE, BUTTON_SNAP_IN_THICKNESS, **kwargs)

31
src/bss/layouts.py Normal file
View File

@@ -0,0 +1,31 @@
"""Button and other component layouts for use in panels.
SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
SPDX-License-Identifier: GPL-3.0-or-later
"""
import build123d as bd
from bss import core
####################
# collected points and related data, to be used to construct a layout
####################
# 3x3, centered on top left (P1) button
SEGA_2P_SIX_BUTTON = {'radius': core.BUTTON_30MM_RADIUS,
'positions': [(0, 0), (30.5, 11 + 9), (30.5 + 36, 11 + 9),
(0, -19 - 9 - 11), (30.5, -19), (30.5 + 36, -19)]}
####################
# Layouts are Locations with extra stuff to document what it is
####################
class Layout(bd.Locations):
"""A set of button positions that can be adjusted relative to some parameters."""
def __init__(self, layout, *args, distance_scale=1.00, **kwargs):
"""Lay out the points for the buttons, etc. but can be scaled."""
self.points = list(map(lambda x: (x[0] * distance_scale, x[1] * distance_scale), layout['positions']))
self.button_radius = layout['radius']
super().__init__(self.points, *args, **kwargs)

45
src/bss/panels.py Normal file
View File

@@ -0,0 +1,45 @@
"""The base panel from which all other panels inherit.
SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
SPDX-License-Identifier: GPL-3.0-or-later
"""
import logging
import build123d as bd
from bss import core, layouts
logger = logging.getLogger(__name__)
class Panel(bd.BasePartObject):
"""A panel meant to be secured to the top or bottom of a base.
This is a hard box by default as an inset panel will be flush with the frame.
"""
def __init__(self, *args, **kwargs):
"""Create our part."""
with bd.BuildPart() as panel:
bd.Box(core.PANEL_X, core.PANEL_Y, core.PANEL_Z)
logger.info(panel.faces().sort_by(bd.Axis.Z))
with bd.Locations(panel.faces().sort_by(bd.Axis.Z)[-1]):
with bd.Locations((core.PANEL_TO_FRAME_POINT_X, core.PANEL_TO_FRAME_POINT_Y),
(-core.PANEL_TO_FRAME_POINT_X, core.PANEL_TO_FRAME_POINT_Y),
(-core.PANEL_TO_FRAME_POINT_X, -core.PANEL_TO_FRAME_POINT_Y),
(core.PANEL_TO_FRAME_POINT_X, -core.PANEL_TO_FRAME_POINT_Y)):
bd.CounterSinkHole(core.M4_BOLT_RADIUS, core.M4_BOLT_COUNTERSINK_RADIUS)
super().__init__(panel.part, *args, **kwargs)
with bd.BuildPart() as sega_2p_panel:
panel = Panel()
with layouts.Layout(layouts.SEGA_2P_SIX_BUTTON):
with bd.Locations((5, 45)):
with bd.Locations(panel.faces().sort_by(bd.Axis.Z)[0]):
core.CutoutButtonHole(layouts.SEGA_2P_SIX_BUTTON['radius'])
try:
show_object(sega_2p_panel)
except NameError:
pass

View File

@@ -1,86 +1,8 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <roundedcube.scad>
/* QUASI-CONSTANTS */
// adjustments
hole_tolerance = 0.15;
// M3
m3_screw_selftap_radius = 1.3;
// M4
m4_bolt_radius = 2 + hole_tolerance;
m4_bolt_countersink_radius = 6.1 + hole_tolerance;
m4_bolt_hex_exterior_radius = 3.6 + hole_tolerance;
// 24mm button
small_button_radius = 12 + hole_tolerance;
// 30mm button
big_button_radius = 15 + hole_tolerance;
// JLF mount dimensions
lever_mount_x = 53;
lever_mount_y = 95;
lever_mount_z = 2;
// case dimensions
// base frame box. reminder: top of inside (including mounts) is chopped by top_plate_z for plates
frame_x = 233;
frame_y = 208;
frame_z = 50;
// depth of the "lip" of the frame that the top plate sets into/supports the overhang
frame_wall = 8;
// per neutrik (mm)
neutrik_panel_thickness = 3;
// top plate, which can either be the whole plate ("inset") or the mounting frame for a plate that overhangs
top_plate_x = frame_x - frame_wall;
top_plate_y = frame_y - frame_wall;
top_plate_z = 5;
// how much the top plate x/y is expanded to overhang the frame
// note that this is relative to the top plate (so the wall is added back)
top_plate_overhang_amount = frame_wall + 17;
overhang_top_plate_x = top_plate_x + top_plate_overhang_amount;
overhang_top_plate_y = top_plate_y + top_plate_overhang_amount;
plate_to_frame_point_x = (top_plate_x/2)-10;
plate_to_frame_point_y = (top_plate_y/2)-10;
// frame interior that supports the top plates
panel_support_width = 5;
// neutrik D screw holes
neutrik_d_screw_radius = 1.6 + hole_tolerance;
neutrik_d_radius = 12 + hole_tolerance;
// additional button radius for decorative panels, etc.
decorative_radius = 12;
jumbo_decorative_radius = 15;
/* PARTS */
module m4_hole() {
cylinder(r=m4_bolt_radius, h=100, $fn=50, center=true);
}
@@ -89,17 +11,17 @@ module m4_hole_countersink() {
cylinder(r1=m4_bolt_radius, r2=m4_bolt_countersink_radius, h=3.2, $fn=50, center=true);
}
module top_plate_holes() {
module panel_holes() {
// holes for mount bolts
translate([plate_to_frame_point_x, plate_to_frame_point_y, 0]) m4_hole();
translate([plate_to_frame_point_x, -plate_to_frame_point_y, 0]) m4_hole();
translate([-plate_to_frame_point_x, plate_to_frame_point_y, 0]) m4_hole();
translate([-plate_to_frame_point_x, -plate_to_frame_point_y, 0]) m4_hole();
translate([panel_to_frame_point_x, panel_to_frame_point_y, 0]) m4_hole();
translate([panel_to_frame_point_x, -panel_to_frame_point_y, 0]) m4_hole();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, 0]) m4_hole();
translate([-panel_to_frame_point_x, -panel_to_frame_point_y, 0]) m4_hole();
// holes for mount bolt countersinks
translate([plate_to_frame_point_x, plate_to_frame_point_y, 2]) m4_hole_countersink();
translate([plate_to_frame_point_x, -plate_to_frame_point_y, 2]) m4_hole_countersink();
translate([-plate_to_frame_point_x, plate_to_frame_point_y, 2]) m4_hole_countersink();
translate([-plate_to_frame_point_x, -plate_to_frame_point_y, 2]) m4_hole_countersink();
translate([panel_to_frame_point_x, panel_to_frame_point_y, 2]) m4_hole_countersink();
translate([panel_to_frame_point_x, -panel_to_frame_point_y, 2]) m4_hole_countersink();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, 2]) m4_hole_countersink();
translate([-panel_to_frame_point_x, -panel_to_frame_point_y, 2]) m4_hole_countersink();
}
// button hole, with extra wide bits for various uses (cutting out space
@@ -107,12 +29,12 @@ module top_plate_holes() {
module button_24mm_hole() {
cylinder(r=small_button_radius, h=100, $fn=50, center=true);
// carve out space for snap-ins, leave 3mm
// slagcoin has screw-in nut diameter at 29.5mm, so radius+6 to leave some space
// slagcoin has screw-in nut diameter at 29.5mm, so radius+3 to leave some space
// translation is to leave 3mm thickness in the plate without recentering anything
translate([0, 0, -25]) cylinder(r=small_button_radius+6, h=49, $fn=50, center=true);
translate([0, 0, -25]) cylinder(r=small_button_radius+3, h=49, $fn=50, center=true);
// space for decorative button surround stuff
translate([0, 0, 50]) cylinder(r=small_button_radius+decorative_radius, h=20, $fn=50, center=true);
translate([0, 0, 70]) cylinder(r=small_button_radius+jumbo_decorative_radius, h=20, $fn=50, center=true);
translate([0, 0, 50]) cylinder(r=small_button_radius*decorative_radius_scale, h=20, $fn=50, center=true);
translate([0, 0, 70]) cylinder(r=small_button_radius*jumbo_decorative_radius_scale, h=20, $fn=50, center=true);
}
// button hole, with extra wide bits for various uses (cutting out space
@@ -124,8 +46,8 @@ module button_30mm_hole() {
// translation is to leave 3mm thickness in the plate without recentering anything
translate([0, 0, -25]) cylinder(r=big_button_radius+6, h=49, $fn=50, center=true);
// space for decorative button surround stuff
translate([0, 0, 50]) cylinder(r=big_button_radius+decorative_radius, h=20, $fn=50, center=true);
translate([0, 0, 70]) cylinder(r=big_button_radius+jumbo_decorative_radius, h=20, $fn=50, center=true);
translate([0, 0, 50]) cylinder(r=big_button_radius*decorative_radius_scale, h=20, $fn=50, center=true);
translate([0, 0, 70]) cylinder(r=big_button_radius*jumbo_decorative_radius_scale, h=20, $fn=50, center=true);
}
module frame_hex_bolt_hole() {
@@ -133,7 +55,7 @@ module frame_hex_bolt_hole() {
}
module frame_interchange_hole() {
cylinder(r=15, h=50, $fn=50, center=true);
cylinder(r=37, h=50, $fn=50, center=true);
}
module neutrik_d_hole() {
@@ -150,9 +72,43 @@ module neutrik_d_mount() {
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
}
// space for a neutrik D mount or 24mm button
module rocker_20mm_mount() {
cylinder(r=10+hole_tolerance, h=5, $fn=50, center=true);
cube([2.2, 22, 5], center=true);
translate([9.5, 12, 0]) neutrik_d_screw_hole();
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
}
// space for a neutrik D mount or 24mm button --- Z is meant to leave some lip now that frames
// are primarily printed on their side
module frame_cutout() {
cube([36.5, 8, 40], center=true);
cube([30.5, 8, frame_z-(panel_z*3)], center=true);
}
// bank of three 24mm buttons, commonly on a frame face
module aux_control_three_button_cluster() {
translate([-37, 0, 0]) button_24mm_hole();
translate([0, 0, 0]) button_24mm_hole();
translate([37, 0, 0]) button_24mm_hole();
}
module m2_mount_post() {
difference() {
cylinder(r=m2_screw_selftap_radius*2.25, h=3, $fn=6, center=true);
cylinder(r=m2_screw_selftap_radius, h=3*2, $fn=50, center=true);
}
}
module oled_ssd1306_mount() {
translate([11.5, 12, 0]) m2_mount_post();
translate([11.5, -12, 0]) m2_mount_post();
translate([-11.5, 12, 0]) m2_mount_post();
translate([-11.5, -12, 0]) m2_mount_post();
}
module oled_ssd1306_mount_cutout() {
translate([0, 1.9, 0]) cube([25, 14, 5], center=true);
translate([0, 0, -1.0]) cube([35, 35, 4], center=true);
}
module m3_mount_post() {
@@ -184,7 +140,7 @@ module levermountbase() {
// should work with JLF, JLW, LS-32, LS-33, LS-40, LS-55, LS-56
module levermountholes() {
// joystick hole
cylinder(r=12, h=5.1, $fn=50, center=true);
cylinder(r=lever_plate_hole, h=5.1, $fn=50, center=true);
// holes for joystick bolts
translate([20, 42.5, 0])
m4_hole();
@@ -194,6 +150,9 @@ module levermountholes() {
m4_hole();
translate([-20, -42.5, 0])
m4_hole();
}
module levermountcountersinks() {
// holes for joystick bolt countersinks
translate([20, 42.5, 2])
m4_hole_countersink();
@@ -205,62 +164,142 @@ module levermountholes() {
m4_hole_countersink();
}
module base_topplate() {
cube([top_plate_x, top_plate_y, top_plate_z], center=true);
module base_panel() {
cube([panel_x, panel_y, panel_z], center=true);
}
module panel() {
difference() {
base_panel();
panel_holes();
}
}
module overhang_plate() {
roundedcube([overhang_top_plate_x, overhang_top_plate_y, top_plate_z], center=true, radius=1);
top_points = [
// top bevel
[(overhang_panel_x/2)-(overhang_panel_bevel_height*2),
(overhang_panel_y/2)-(overhang_panel_bevel_height*2),
panel_z/2-overhang_panel_bevel_height/2],
[-(overhang_panel_x/2)+(overhang_panel_bevel_height*2),
(overhang_panel_y/2)-(overhang_panel_bevel_height*2),
panel_z/2-overhang_panel_bevel_height/2],
[(overhang_panel_x/2)-(overhang_panel_bevel_height*2),
-(overhang_panel_y/2)+(overhang_panel_bevel_height*2),
panel_z/2-overhang_panel_bevel_height/2],
[-(overhang_panel_x/2)+(overhang_panel_bevel_height*2),
-(overhang_panel_y/2)+(overhang_panel_bevel_height*2),
panel_z/2-overhang_panel_bevel_height/2],
];
hull() {
for (p = top_points) {
translate(p) cylinder(r=overhang_panel_bevel_height, h=overhang_panel_bevel_height, center=true);
}
translate([0, 0, -overhang_panel_bevel_height])
cube([overhang_panel_x, overhang_panel_y, panel_z-overhang_panel_bevel_height*2], center=true);
}
}
// this takes the base_topplate and makes it a small frame, putting a larger top plate
module base_top_plate_with_raised_overhang() {
// this takes the base_panel and makes it a small frame, putting a larger top plate
module base_panel_with_raised_overhang() {
// make a frame out of the top plate (and keep the main plate on the center plane)
translate([0, 0, -5]) difference() {
base_topplate();
cube([top_plate_x-(panel_support_width*2), top_plate_y-(panel_support_width*2), top_plate_z*2], center=true);
base_panel();
cube([panel_x-(panel_support_width*2), panel_y-(panel_support_width*2), panel_z], center=true);
}
translate([plate_to_frame_point_x, plate_to_frame_point_y, -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([-(plate_to_frame_point_x), plate_to_frame_point_y, -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([plate_to_frame_point_x, -(plate_to_frame_point_y), -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([-(plate_to_frame_point_x), -(plate_to_frame_point_y), -2.5]) resize([0, 0, 10]) frame_mount_column();
translate([panel_to_frame_point_x, panel_to_frame_point_y, -2.5]) resize([0, 0, 10])
frame_mount_column();
translate([-(panel_to_frame_point_x), panel_to_frame_point_y, -2.5]) resize([0, 0, 10])
rotate([0, 0, 90]) frame_mount_column();
translate([panel_to_frame_point_x, -(panel_to_frame_point_y), -2.5]) resize([0, 0, 10])
rotate([0, 0, 270]) frame_mount_column();
translate([-(panel_to_frame_point_x), -(panel_to_frame_point_y), -2.5]) resize([0, 0, 10])
rotate([0, 0, 180]) frame_mount_column();
overhang_plate();
}
module topplate() {
module panel_with_raised_overhang() {
difference() {
base_topplate();
top_plate_holes();
base_panel_with_raised_overhang();
panel_holes();
}
}
module bottom_plate_with_overhang() {
module frame_solid() {
difference() {
overhang_plate();
rotate([180, 0, 0]) top_plate_holes();
}
}
module top_plate_with_raised_overhang() {
difference() {
base_top_plate_with_raised_overhang();
top_plate_holes();
top_points = [
// top bevel
[(frame_x/2)-(frame_bevel_height*2),
(frame_y/2)-(frame_bevel_height*2),
frame_z/2-frame_bevel_height/2],
[-(frame_x/2)+(frame_bevel_height*2),
(frame_y/2)-(frame_bevel_height*2),
frame_z/2-frame_bevel_height/2],
[(frame_x/2)-(frame_bevel_height*2),
-(frame_y/2)+(frame_bevel_height*2),
frame_z/2-frame_bevel_height/2],
[-(frame_x/2)+(frame_bevel_height*2),
-(frame_y/2)+(frame_bevel_height*2),
frame_z/2-frame_bevel_height/2],
];
base_points = [
// majority of shape
[(frame_x/2)-frame_bevel_height, (frame_y/2)-frame_bevel_height, 0],
[-(frame_x/2)+frame_bevel_height, (frame_y/2)-frame_bevel_height, 0],
[(frame_x/2)-frame_bevel_height, -(frame_y/2)+frame_bevel_height, 0],
[-(frame_x/2)+frame_bevel_height, -(frame_y/2)+frame_bevel_height, 0],
];
bottom_points = [
// bottom bevel
[(frame_x/2)-(frame_bevel_height*2),
(frame_y/2)-(frame_bevel_height*2),
-frame_z/2+frame_bevel_height/2],
[-(frame_x/2)+(frame_bevel_height*2),
(frame_y/2)-(frame_bevel_height*2),
-frame_z/2+frame_bevel_height/2],
[(frame_x/2)-(frame_bevel_height*2),
-(frame_y/2)+(frame_bevel_height*2),
-frame_z/2+frame_bevel_height/2],
[-(frame_x/2)+(frame_bevel_height*2),
-(frame_y/2)+(frame_bevel_height*2),
-frame_z/2+frame_bevel_height/2],
];
hull() {
for (p = top_points) {
translate(p) cylinder(r=2, h=frame_bevel_height, center=true);
}
for (p = base_points) {
translate(p) cylinder(r=2, h=frame_z-(frame_bevel_height*2), center=true);
}
for (p = bottom_points) {
translate(p) cylinder(r=2, h=frame_bevel_height, center=true);
}
}
}
}
module frame_box() {
difference() {
roundedcube([frame_x, frame_y, frame_z], center=true, radius=3);
cube([top_plate_x-(panel_support_width*2), top_plate_y-(panel_support_width*2), frame_z+5], center=true);
frame_solid();
// cut out the middle to make it a box
cube([panel_x-(panel_support_width*2), panel_y-(panel_support_width*2), frame_z+5], center=true);
}
}
module frame_mount_column() {
cube([20, 20, frame_z], center=true);
cube([frame_mount_column_width, frame_mount_column_width, frame_z], center=true);
// add some corners back to do a lame chamfer
linear_extrude(height=frame_z, center=true)
polygon([
[frame_mount_column_width/2, frame_mount_column_width/2],
[-frame_mount_column_width, frame_mount_column_width/2],
[frame_mount_column_width/2, -frame_mount_column_width]
]);
}
module side_chopper() {
translate([frame_x/2+4, 0, 0]) cube([16, 2*(frame_y+top_plate_y), 2*(frame_z+top_plate_z)], center=true);
translate([(frame_x-frame_wall)/2+panel_overhang_amount, 0, 0])
cube([frame_wall+panel_overhang_amount*2, overhang_panel_y, frame_z], center=true);
}
module frame_connection_holes() {
@@ -276,28 +315,46 @@ module frame_connection_holes() {
}
module frame_cable_routing_hole() {
translate([frame_x/2, 0, 0]) rotate([0, 90, 0]) frame_interchange_hole();
// frame_y/12 is a hack for "kinda a bit above the center point"
translate([frame_x/2, frame_y/12+1, 25]) rotate([0, 90, 0]) frame_interchange_hole();
}
module base_frame() {
frame_box();
translate([plate_to_frame_point_x, plate_to_frame_point_y, 0]) frame_mount_column();
translate([-plate_to_frame_point_x, plate_to_frame_point_y, 0]) frame_mount_column();
translate([plate_to_frame_point_x, -(plate_to_frame_point_y), 0]) frame_mount_column();
translate([-plate_to_frame_point_x, -(plate_to_frame_point_y), 0]) frame_mount_column();
translate([panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_mount_column();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, 0]) rotate([0, 0, 90]) frame_mount_column();
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), 0]) rotate([0, 0, 180]) frame_mount_column();
translate([panel_to_frame_point_x, -(panel_to_frame_point_y), 0]) rotate([0, 0, 270]) frame_mount_column();
}
module frame() {
difference() {
base_frame();
translate([0, 0, frame_z/2]) scale([1, 1, 2]) base_topplate();
translate([plate_to_frame_point_x, plate_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([-plate_to_frame_point_x, plate_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([plate_to_frame_point_x, -plate_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([-plate_to_frame_point_x, -plate_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([0, 0, frame_z/2]) scale([1, 1, 2]) base_panel();
translate([0, 0, -frame_z/2]) scale([1, 1, 2]) base_panel();;
translate([panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([panel_to_frame_point_x, -panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
translate([-panel_to_frame_point_x, -panel_to_frame_point_y, 0]) frame_hex_bolt_hole();
}
}
/* MISC SHAPES --- for cutting out decorative panels, frame wall windows, etc. */
// for cutting out slashes from the frame outer wall
module slash_cutout() {
polyhedron([
[slash_inner_displacement/2, -frame_wall/2, -slash_height/2],
[(slash_inner_displacement/2+slash_width), -frame_wall/2, -slash_height/2],
[(slash_inner_displacement/2+slash_width), frame_wall/2, -slash_height/2],
[slash_inner_displacement/2, frame_wall/2, -slash_height/2],
[-(slash_inner_displacement/2+slash_width), -frame_wall/2, slash_height/2],
[-slash_inner_displacement/2, -frame_wall/2, slash_height/2],
[-slash_inner_displacement/2, frame_wall/2, slash_height/2],
[-(slash_inner_displacement/2+slash_width), frame_wall/2, slash_height/2]
], [[0, 1, 2, 3], [4, 5, 1, 0], [7, 6, 5, 4], [5, 6, 2, 1], [6, 7, 3, 2], [7, 4, 0, 3]]);
}
/* LAYOUTS */
// Directional Arc (both hands)
@@ -311,49 +368,60 @@ module dir_arc_24mm_directionals() {
module dir_arc_24mm_6_button() {
dir_arc_24mm_directionals();
translate([29.5+26.3+15.5+9.7+2.6, 0, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7+2.6+26.9, 10.9, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7+2.6+26.9+29.6, 10.9, 0]) button_24mm_hole();
translate([29.5+26.3+27.8, 0, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9, 10.9, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9+29.6, 10.9, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7, -29.4, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7+2.6+26.9-1.7, 10.9-30.1, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7+2.6+26.9+29.6, 10.9-30.1, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9-1.7, 10.9-30.1, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9+29.6-0.2, 10.9-30.1, 0]) button_24mm_hole();
}
module dir_arc_24mm_8_button() {
dir_arc_24mm_6_button();
translate([29.5+26.3+27.8+26.9+29.6+29.5, 7.1, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9+29.6+29.5-0.3, -23.9, 0]) button_24mm_hole();
}
// 6 button plus the normal fourth column for 8 button actually on a third row
module dir_arc_24mm_8_button_compressed() {
dir_arc_24mm_6_button();
translate([29.5+26.3+15.5+9.7+2.6+2.6, 29.4, 0]) button_24mm_hole();
translate([29.5+26.3+15.5+9.7+2.6+26.9+2.6, 40.3, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+2.6, 29.4, 0]) button_24mm_hole();
translate([29.5+26.3+27.8+26.9+2.6, 40.3, 0]) button_24mm_hole();
}
module dir_arc_plus_w_24mm_8_button() {
dir_arc_24mm_8_button();
translate([36, 28, 0]) button_24mm_hole();
}
// Directional Arc (left hand)
module dir_arc_30mm_thumb_button() {
// just my guesstimate on this one, but note that this is the same position as sega 2p (just mirrored)
translate([(top_plate_x/2)-28.06, (-top_plate_y/2)+67, 0]) button_30mm_hole();
translate([(panel_x/2)-28.06, (-panel_y/2)+62, 0]) button_30mm_hole();
}
module dir_arc_30mm() {
dir_arc_30mm_thumb_button();
translate([-5.4, 52.2, 0]) dir_arc_30mm_thumb_button();
translate([-5.4-33.8, 52.2+12.9, 0]) dir_arc_30mm_thumb_button();
translate([-5.4-33.8-34.8, 52.2+12.9, 0]) dir_arc_30mm_thumb_button();
module dir_arc_30mm_finger_buttons() {
translate([0, 57.2, 0]) dir_arc_30mm_thumb_button();
translate([-33.8, 57.2+12.9, 0]) dir_arc_30mm_thumb_button();
translate([-33.8-34.8, 57.2+12.9, 0]) dir_arc_30mm_thumb_button();
}
module dir_arc_w_30mm() {
dir_arc_30mm();
translate([-5.4-26.8, 52.2+12.9+34.5, 0]) dir_arc_30mm_thumb_button();
dir_arc_30mm_thumb_button();
dir_arc_30mm_finger_buttons();
translate([-26.8, 57.2+12.9+34.5, 0]) dir_arc_30mm_thumb_button();
}
module dir_arc_w_30mm_plus_one() {
dir_arc_w_30mm();
translate([-5.4-33.8-34.8-33.8, 52.2, 0]) dir_arc_30mm_thumb_button();
translate([-33.8-34.8-33.8, 57.2, 0]) dir_arc_30mm_thumb_button();
}
// Namco Noir (right hand)
module noir_button_p1() {
translate([-top_plate_x/2, -top_plate_y/2, 0]) translate([35, 145, 0]) button_30mm_hole();
translate([-panel_x/2, -panel_y/2, 0]) translate([35, 140, 0]) button_30mm_hole();
}
module noir_plus_one() {
@@ -374,7 +442,7 @@ module noir_plus_one() {
// Sega Astro City 2P (right hand)
module sega_2p_p1() {
translate([-top_plate_x/2, -top_plate_y/2, 0]) translate([28.06, 145, 0]) button_30mm_hole();
translate([-panel_x/2, -panel_y/2, 0]) translate([28.06, 140, 0]) button_30mm_hole();
}
module sega_2p_6_button() {
@@ -398,3 +466,8 @@ module sega_2p_plus_one() {
// just my guesstimate on this one
translate([0, -19-9-11-19-9-11, 0]) sega_2p_p1();
}
module shiokenstar() {
translate([-172, 32, 0]) dir_arc_24mm_directionals();
sega_2p();
}

View File

@@ -0,0 +1,19 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../parameters.scad>
include <../components.scad>
use <stand.scad>
module stand_base() {
difference() {
cube([frame_x, stand_y*2, 3], center=true);
translate([0, 0, 1.5]) rotate([180, 0, 0]) stand();
translate([-frame_x*0.4, 0, 1.5]) rotate([180, 0, 0]) stand();
translate([frame_x*0.4, 0, 1.5]) rotate([180, 0, 0]) stand();
}
}
stand_base();

29
src/extras/stand.scad Normal file
View File

@@ -0,0 +1,29 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <../parameters.scad>
include <../components.scad>
base_extra = 10;
back_extra_multiplier = 4.25;
rotation_alignment = 15;
module stand() {
difference() {
union() {
/* front lip piece */
translate([0, 0, stand_z/2]) cube([stand_x, stand_y, stand_z], center=true);
/* back supporting piece */
translate([0, (stand_y-rotation_alignment)/4, stand_z*back_extra_multiplier/2])
cube([stand_x, (stand_y+rotation_alignment)/2, stand_z*back_extra_multiplier], center=true);
/* base */
translate([0, 0, 0.5]) cube([stand_x+base_extra, stand_y+base_extra, 1], center=true);
}
/* cut out the actual frame solid */
translate([0, rotation_alignment, (frame_y/2)+7]) rotate([65, 0, 0]) frame_solid();
}
}
stand();

View File

@@ -1,52 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module base_left_frame() {
difference() {
frame();
// chop the right edge off
side_chopper();
}
}
module left_frame() {
difference() {
base_left_frame();
// connection holes to other frames
translate([0, 0, -top_plate_z/2]) frame_connection_holes();
// cable routing hole
translate([0, 0, -top_plate_z/2]) frame_cable_routing_hole();
// aux button holes
translate([-30, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([-30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-70, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([-70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([10, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// neutrix button hole
translate([70, (frame_y/2)-neutrik_panel_thickness, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
}
}
left_frame();

View File

@@ -1,51 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module base_middle_frame() {
difference() {
frame();
// chop the left and right edge off
side_chopper();
mirror([1, 0, 0]) side_chopper();
}
}
module middle_frame() {
difference() {
base_middle_frame();
// connection holes to other frames
translate([0, 0, -top_plate_z/2]) frame_connection_holes();
translate([0, 0, -top_plate_z/2]) mirror([1, 0, 0]) frame_connection_holes();
// cable routing holes
translate([0, 0, -top_plate_z/2]) frame_cable_routing_hole();
translate([0, 0, -top_plate_z/2]) mirror([1, 0, 0]) frame_cable_routing_hole();
// neutrik mounts for connector, switches
translate([0, (frame_y/2)-neutrik_panel_thickness, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([0, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-40, (frame_y/2)-neutrik_panel_thickness, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([40, (frame_y/2)-neutrik_panel_thickness, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
}
}
middle_frame();

View File

@@ -1,52 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module base_right_frame() {
difference() {
frame();
// chop the left edge off
mirror([1, 0, 0]) side_chopper();
}
}
module right_frame() {
difference() {
base_right_frame();
// connection holes to other frames
mirror([1, 0, 0]) translate([0, 0, -top_plate_z/2]) frame_connection_holes();
// cable routing hole
mirror([1, 0, 0]) translate([0, 0, -top_plate_z/2]) frame_cable_routing_hole();
// aux button holes
translate([30, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([30, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([70, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-10, 101.5, 0]) rotate([270, 0, 0]) button_24mm_hole();
translate([-10, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// neutrix button hole
translate([-70, (frame_y/2)-neutrik_panel_thickness, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-70, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
}
}
right_frame();

View File

@@ -1,55 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module solo_frame() {
difference() {
frame();
// neutrik mounts for connector, switches
translate([0, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([0, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-40, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([40, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// aux button holes
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
translate([0, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([(frame_x/2)-neutrik_panel_thickness-4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
translate([-40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([(frame_x/2)-neutrik_panel_thickness-4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
translate([-frame_x/2+2.5, 0, 0]) rotate([0, 0, 270])
translate([40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([(frame_x/2)-neutrik_panel_thickness-4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
translate([0, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([-(frame_x/2)+neutrik_panel_thickness+4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
translate([-40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([-(frame_x/2)+neutrik_panel_thickness+4, -40, 0]) rotate([0, 0, 90]) frame_cutout();
translate([frame_x/2-2.5, 0, 0]) rotate([0, 0, 90])
translate([40, 0, 0]) rotate([90, 0, 0]) button_24mm_hole();
translate([-(frame_x/2)+neutrik_panel_thickness+4, 40, 0]) rotate([0, 0, 90]) frame_cutout();
}
}
solo_frame();

View File

@@ -0,0 +1,40 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module base_left_frame() {
difference() {
frame();
// chop the right edge off
side_chopper();
}
}
module left_frame() {
difference() {
base_left_frame();
// connection holes to other frames
frame_connection_holes();
// cable routing hole
frame_cable_routing_hole();
// aux button holes
translate([-35.25, 101.5, 0]) rotate([270, 0, 0]) aux_control_three_button_cluster();
translate([-35.25, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-72.25, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([2, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// neutrix button hole
translate([frame_center_to_neutrik, (frame_y/2)-neutrik_panel_thickness, 0])
rotate([90, 0, 0]) neutrik_d_mount();
translate([frame_center_to_neutrik, (frame_y/2)-neutrik_panel_thickness-4, 0])
frame_cutout();
}
}
left_frame();

View File

@@ -0,0 +1,42 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module base_middle_frame() {
difference() {
frame();
// chop the left and right edge off
side_chopper();
mirror([1, 0, 0]) side_chopper();
}
}
module middle_frame() {
difference() {
base_middle_frame();
// connection holes to other frames
frame_connection_holes();
mirror([1, 0, 0]) frame_connection_holes();
// cable routing holes
frame_cable_routing_hole();
mirror([1, 0, 0]) frame_cable_routing_hole();
// neutrik mounts for connector, switches
translate([0, (frame_y/2)-neutrik_panel_thickness, 0])
rotate([90, 0, 0]) neutrik_d_mount();
translate([0, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-40, (frame_y/2)-neutrik_panel_thickness, 0])
rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([40, (frame_y/2)-neutrik_panel_thickness, 0])
rotate([90, 0, 0]) neutrik_d_mount();
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
}
}
middle_frame();

View File

@@ -0,0 +1,40 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module base_right_frame() {
difference() {
frame();
// chop the left edge off
mirror([1, 0, 0]) side_chopper();
}
}
module right_frame() {
difference() {
base_right_frame();
// connection holes to other frames
mirror([1, 0, 0]) frame_connection_holes();
// cable routing hole
mirror([1, 0, 0]) frame_cable_routing_hole();
// aux button holes
translate([35.25, 101.5, 0]) rotate([270, 0, 0]) aux_control_three_button_cluster();
translate([35.25, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([72.25, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-2, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// neutrix button hole
translate([-frame_center_to_neutrik, (frame_y/2)-neutrik_panel_thickness, 0])
rotate([90, 0, 0]) neutrik_d_mount();
translate([-frame_center_to_neutrik, (frame_y/2)-neutrik_panel_thickness-4, 0])
frame_cutout();
}
}
right_frame();

View File

@@ -0,0 +1,36 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module solo_frame() {
difference() {
frame();
// neutrik mounts for connector, switches
translate([0, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([0, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([-40, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([-40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
translate([40, (frame_y/2)-2.5, 0]) rotate([90, 0, 0]) neutrik_d_mount();
translate([40, (frame_y/2)-neutrik_panel_thickness-4, 0]) frame_cutout();
// aux button holes
translate([-frame_x/2+2.5, 0, 0]) rotate([90, 0, 270])
aux_control_three_button_cluster();
translate([(frame_x/2)-neutrik_panel_thickness-4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
translate([(frame_x/2)-neutrik_panel_thickness-4, -37, 0]) rotate([0, 0, 90]) frame_cutout();
translate([(frame_x/2)-neutrik_panel_thickness-4, 37, 0]) rotate([0, 0, 90]) frame_cutout();
translate([frame_x/2+2.5, 0, 0]) rotate([90, 0, 270])
aux_control_three_button_cluster();
translate([-(frame_x/2)+neutrik_panel_thickness+4, 0, 0]) rotate([0, 0, 90]) frame_cutout();
translate([-(frame_x/2)+neutrik_panel_thickness+4, -37, 0]) rotate([0, 0, 90]) frame_cutout();
translate([-(frame_x/2)+neutrik_panel_thickness+4, 37, 0]) rotate([0, 0, 90]) frame_cutout();
}
}
solo_frame();

View File

@@ -0,0 +1,28 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
module front_or_back_aux_and_neutrik_box_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// aux button holes
translate([-35.25, -101.5, 0]) rotate([90, 0, 0]) aux_control_three_button_cluster();
translate([-35.25, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
translate([-72.25, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
translate([2, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
// neutrix button hole
translate([frame_center_to_neutrik, -(frame_y/2)+neutrik_panel_thickness, 0])
rotate([270, 0, 0]) neutrik_d_mount();
translate([frame_center_to_neutrik, -(frame_y/2)+neutrik_panel_thickness+4, 0])
frame_cutout();
}
}
front_or_back_aux_and_neutrik_box_frame_piece();

View File

@@ -0,0 +1,31 @@
/* The inner top/bottom wall of the frame, for being displayed through a windowed part.
*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
module mount_column_cutout() {
intersection() {
frame_mount_column();
cube([frame_mount_column_width*3/2, frame_mount_column_width*3/2, inner_frame_z*5/8], center=true);
}
}
module front_or_back_inner_wall_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// minus the outer wall
translate([0, -(frame_y-frame_wall)/2, 0]) cube([frame_x, frame_wall, frame_z], center=true);
// minus half of the mounting posts (the other half provided by the outer wall)
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), 0]) rotate([0, 0, 180])
mount_column_cutout();
translate([panel_to_frame_point_x, -(panel_to_frame_point_y), 0]) rotate([0, 0, 270])
mount_column_cutout();
}
}
front_or_back_inner_wall_frame_piece();

View File

@@ -0,0 +1,31 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
use <front-or-back-inner-wall.scad>
module backslashes() {
translate([-60, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([-40, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([-20, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([0, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([20, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([40, -(frame_y-frame_wall)/2, 0]) slash_cutout();
translate([60, -(frame_y-frame_wall)/2, 0]) slash_cutout();
}
module backslashes_windowed_front_or_back_box_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// subtract slashes from the frame wall
backslashes();
// subtract the inner wall area that will be provided by the other piece
front_or_back_inner_wall_frame_piece();
}
}
backslashes_windowed_front_or_back_box_frame_piece();

View File

@@ -0,0 +1,22 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
use <front-or-back-inner-wall.scad>
use <front-or-back-windowed-backslashes.scad>
module forwardslashes_windowed_front_or_back_box_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// subtract slashes from the frame wall
mirror([0, 0, 1]) backslashes();
// subtract the inner wall area that will be provided by the other piece
front_or_back_inner_wall_frame_piece();
}
}
forwardslashes_windowed_front_or_back_box_frame_piece();

View File

@@ -0,0 +1,29 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
use <front-or-back-inner-wall.scad>
module front_stripe() {
cube([frame_x-(frame_mount_column_width*1.75)*2, frame_wall, 6], center=true);
}
module windowed_front_or_back_box_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// subtract frame wall windows
translate([0, -(frame_y-frame_wall)/2, 18]) front_stripe();
translate([0, -(frame_y-frame_wall)/2, 9]) front_stripe();
translate([0, -(frame_y-frame_wall)/2, 0]) front_stripe();
translate([0, -(frame_y-frame_wall)/2, -9]) front_stripe();
translate([0, -(frame_y-frame_wall)/2, -18]) front_stripe();
// subtract the inner wall area that will be provided by the other piece
front_or_back_inner_wall_frame_piece();
}
}
windowed_front_or_back_box_frame_piece();

View File

@@ -0,0 +1,23 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
use <front-or-back-inner-wall.scad>
module windowed_front_or_back_box_frame_piece() {
difference() {
front_or_back_box_frame_piece();
// subtract frame wall window
translate([0, -frame_y/2, 0])
cube([frame_x-frame_mount_column_width*3.5, (frame_wall+panel_support_width)*2,
frame_z-panel_z*3], center=true);
// subtract the inner wall area that will be provided by the other piece
front_or_back_inner_wall_frame_piece();
}
}
windowed_front_or_back_box_frame_piece();

View File

@@ -0,0 +1,30 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/complete/left-frame.scad>
module front_or_back_box_frame_piece() {
piece_width = panel_support_width+frame_wall+frame_mount_column_width;
intersection() {
left_frame();
difference() {
// include the whole bottom wall (including mount columns)
translate([0, -(frame_y/2)+(piece_width/2), 0]) cube([frame_x, piece_width, frame_z], center=true);
// ...minus the frame wall and lip on the left
translate([-frame_x/2+frame_wall/2, 0, 0])
cube([frame_wall, frame_y-frame_wall*2, frame_z], center=true);
linear_extrude(height=frame_z, center=true) polygon([
[-frame_x/2, -frame_y/2], [-frame_x/2+frame_wall, -frame_y/2+frame_wall],
[-frame_x/2, -frame_y/2+frame_wall]
]);
// ...minus a slot for the combining piece to go into
cube([frame_x, frame_y-(panel_support_width+frame_wall)*2, inner_frame_z/3], center=true);
}
}
}
front_or_back_box_frame_piece();

View File

@@ -0,0 +1,35 @@
/* The inner side wall of the frame, for being displayed through a windowed part.
*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <side.scad>
module mount_column_cutout() {
intersection() {
frame_mount_column();
cube([frame_mount_column_width*3/2, frame_mount_column_width*3/2, inner_frame_z*21/24], center=true);
}
}
module side_inner_wall_frame_piece() {
difference() {
side_box_frame_piece();
// minus the outer wall
translate([-(frame_x-frame_wall)/2, 0, 0]) cube([frame_wall, frame_y, frame_z], center=true);
// minus half of the mounting posts (the other half provided by the outer wall)
translate([-panel_to_frame_point_x, panel_to_frame_point_y, inner_frame_z/2]) rotate([0, 0, 90])
mount_column_cutout();
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), -inner_frame_z/2]) rotate([0, 0, 180])
mount_column_cutout();
translate([-panel_to_frame_point_x, panel_to_frame_point_y, -inner_frame_z/2]) rotate([0, 0, 90])
mount_column_cutout();
translate([-panel_to_frame_point_x, -(panel_to_frame_point_y), inner_frame_z/2]) rotate([0, 0, 180])
mount_column_cutout();
}
}
side_inner_wall_frame_piece();

View File

@@ -0,0 +1,29 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <side.scad>
use <side-inner-wall.scad>
module backslashes() {
translate([-(frame_x-frame_wall)/2, -40, 0]) rotate([0, 0, -90]) slash_cutout();
translate([-(frame_x-frame_wall)/2, -20, 0]) rotate([0, 0, -90]) slash_cutout();
translate([-(frame_x-frame_wall)/2, 0, 0]) rotate([0, 0, -90]) slash_cutout();
translate([-(frame_x-frame_wall)/2, 20, 0]) rotate([0, 0, -90]) slash_cutout();
translate([-(frame_x-frame_wall)/2, 40, 0]) rotate([0, 0, -90]) slash_cutout();
}
module backslashes_windowed_side_box_frame_piece() {
difference() {
side_box_frame_piece();
// subtract slashes from the frame wall
backslashes();
// subtract the inner wall area that will be provided by the other piece
side_inner_wall_frame_piece();
}
}
backslashes_windowed_side_box_frame_piece();

View File

@@ -0,0 +1,22 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <side.scad>
use <side-inner-wall.scad>
use <side-windowed-backslashes.scad>
module forwardslashes_windowed_side_box_frame_piece() {
difference() {
side_box_frame_piece();
// subtract slashes from the frame wall
mirror([0, 0, 1]) backslashes();
// subtract the inner wall area that will be provided by the other piece
side_inner_wall_frame_piece();
}
}
forwardslashes_windowed_side_box_frame_piece();

View File

@@ -0,0 +1,29 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <side.scad>
use <side-inner-wall.scad>
module side_stripe() {
cube([frame_wall, frame_y-(frame_mount_column_width*1.75)*2, 6], center=true);
}
module windowed_side_box_frame_piece() {
difference() {
side_box_frame_piece();
// subtract frame wall windows
translate([-(frame_x-frame_wall)/2, 0, 18]) side_stripe();
translate([-(frame_x-frame_wall)/2, 0, 9]) side_stripe();
translate([-(frame_x-frame_wall)/2, 0, 0]) side_stripe();
translate([-(frame_x-frame_wall)/2, 0, -9]) side_stripe();
translate([-(frame_x-frame_wall)/2, 0, -18]) side_stripe();
// subtract the inner wall area that will be provided by the other piece
side_inner_wall_frame_piece();
}
}
windowed_side_box_frame_piece();

View File

@@ -0,0 +1,23 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <side.scad>
use <side-inner-wall.scad>
module windowed_side_box_frame_piece() {
difference() {
side_box_frame_piece();
// subtract frame wall window
translate([-frame_x/2, 0, 0])
cube([(frame_wall+panel_support_width)*2, frame_y-frame_mount_column_width*3.5,
frame_z-panel_z*3], center=true);
// subtract the inner wall area that will be provided by the other piece
side_inner_wall_frame_piece();
}
}
windowed_side_box_frame_piece();

View File

@@ -0,0 +1,23 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back.scad>
module side_box_frame_piece() {
piece_width = panel_support_width+frame_wall+frame_mount_column_width;
difference() {
// side piece is left/right agnostic
frame();
// minus the top and bottom
front_or_back_box_frame_piece();
rotate([180, 0, 0]) front_or_back_box_frame_piece();
// and just chop out the rest of the frame
translate([piece_width, 0, 0]) cube([frame_x, frame_y+1, frame_z+1], center=true);
}
}
side_box_frame_piece();

View File

@@ -0,0 +1,28 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back-clean-for-extended-side.scad>
module front_or_back_aux_and_neutrik_box_frame_piece_for_extended_side() {
difference() {
front_or_back_box_frame_piece_for_extended_side();
// aux button holes
translate([-35.25, -101.5, 0]) rotate([90, 0, 0]) aux_control_three_button_cluster();
translate([-35.25, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
translate([-72.25, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
translate([2, -(frame_y/2)+neutrik_panel_thickness+4, 0]) frame_cutout();
// neutrix button hole
translate([frame_center_to_neutrik, -(frame_y/2)+neutrik_panel_thickness, 0])
rotate([270, 0, 0]) neutrik_d_mount();
translate([frame_center_to_neutrik, -(frame_y/2)+neutrik_panel_thickness+4, 0])
frame_cutout();
}
}
front_or_back_aux_and_neutrik_box_frame_piece_for_extended_side();

View File

@@ -0,0 +1,18 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/pieces/box/front-or-back.scad>
module front_or_back_box_frame_piece_for_extended_side() {
difference() {
front_or_back_box_frame_piece();
// ...minus the frame wall and lip on the left
translate([-frame_x/2+frame_wall/2, 0, 0]) cube([frame_wall, frame_y, frame_z], center=true);
}
}
front_or_back_box_frame_piece_for_extended_side();

View File

@@ -0,0 +1,37 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <front-or-back-clean-for-extended-side.scad>
module clean_front_or_back() {
difference() {
front_or_back_box_frame_piece_for_extended_side();
// chop off the lip we left on the basic piece
translate([-frame_x/2+frame_wall/2, 0, 0]) cube([frame_wall, frame_y, frame_z], center=true);
};
}
module bottom_piece_wall() {
// get a slice of the piece (before the bevel), to use it in extruding
projection(cut=true) rotate([-90, 0, 0]) translate([0, frame_y/2-(frame_wall-frame_bevel_height)*3/2, 0])
clean_front_or_back();
}
module bottom_piece_extension() {
// combine the original with a shrunken piece to "pull" the wall out
hull() {
linear_extrude(height=frame_extension_y) scale([1, 0.5, 1]) bottom_piece_wall();
linear_extrude(height=(frame_wall-frame_bevel_height)) bottom_piece_wall();
}
}
module extended_front_or_back_frame_piece() {
clean_front_or_back();
translate([0, -frame_y/2+frame_wall, 0]) rotate([90, 0, 0]) bottom_piece_extension();
}
extended_front_or_back_frame_piece();

View File

@@ -0,0 +1,38 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <front-or-back.scad>
module side_and_bottom_frame_piece_wall() {
// get a slice of the pieces, to use it in extruding
// this doesn't use the side_frame_piece because of the 45 degree angle geometry
// not creating a clean thing to cut, so we just take the whole wall and use that
projection(cut=true) rotate([0, 90, 0]) translate([frame_x/2-frame_wall-(frame_bevel_height/2), 0, 0])
left_frame();
projection(cut=true) translate([0, -frame_y/2+frame_wall, 0]) rotate([90, 90, 0]) bottom_piece_extension();
}
module side_and_bottom_frame_piece_extension() {
// combine the original with a shrunken piece to "pull" the wall out
hull() {
linear_extrude(height=frame_extension_y) scale([0.5, 0.90, 1]) side_and_bottom_frame_piece_wall();
linear_extrude(height=frame_bevel_height) side_and_bottom_frame_piece_wall();
}
}
module extra_extended_left_or_right_frame_piece() {
difference() {
side_box_frame_piece();
// chop off the old edge which is getting replaced with the extension
translate([-frame_x/2+frame_bevel_height/2, 0, 0]) cube([frame_bevel_height, frame_y, frame_z], center=true);
}
translate([-frame_x/2+frame_bevel_height*2, 0, 0]) rotate([0, -90, 0]) side_and_bottom_frame_piece_extension();
}
extra_extended_left_or_right_frame_piece();

View File

@@ -0,0 +1,37 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <frames/complete/left-frame.scad>
use <frames/pieces/box/side.scad>
use <front-or-back-clean-for-extended-side.scad>
module side_frame_piece_wall() {
// get a slice of the piece, to use it in extruding
// this doesn't use the side_frame_piece because of the 45 degree angle geometry
// not creating a clean thing to cut, so we just take the whole wall and use that
projection(cut=true) rotate([0, 90, 0]) translate([frame_x/2-frame_wall-(frame_bevel_height/2), 0, 0])
left_frame();
}
module side_frame_piece_extension() {
// combine the original with a shrunken piece to "pull" the wall out
hull() {
linear_extrude(height=frame_extension_y) scale([0.5, 0.85, 1]) side_frame_piece_wall();
linear_extrude(height=frame_bevel_height) side_frame_piece_wall();
}
}
module extended_bottom_left_or_right_frame_piece() {
difference() {
side_box_frame_piece();
// chop off the old edge which is getting replaced with the extension
translate([-frame_x/2+frame_bevel_height/2, 0, 0]) cube([frame_bevel_height, frame_y, frame_z], center=true);
}
translate([-frame_x/2+frame_bevel_height*2, 0, 0]) rotate([0, -90, 0]) side_frame_piece_extension();
}
extended_bottom_left_or_right_frame_piece();

View File

@@ -0,0 +1,28 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <box/side.scad>
module interconnect_frame_half_piece() {
translate([frame_x/2-frame_wall, 0, 0]) difference() {
side_box_frame_piece();
rotate([0, 0, 180]) side_chopper();
}
}
module interconnect_frame_piece() {
difference() {
union() {
// slight translate is to make this a 2-manifold in OpenSCAD
translate([-0.01, 0, 0]) interconnect_frame_half_piece();
mirror([1, 0, 0]) interconnect_frame_half_piece();
}
translate([-frame_x/2, 0, 0]) frame_cable_routing_hole();
}
}
interconnect_frame_piece();

View File

@@ -1,33 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module button_24mm_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) button_24mm_hole();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// cut out the normal holes
translate([0, 0, -1]) button_24mm_hole();
}
}
button_24mm_decorative_plate();

View File

@@ -1,38 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate() {
difference() {
// get a 1mm slice of the bigger button cylinders
union() {
translate([-top_plate_x/2, 0, -65]) dir_arc_w_30mm();
translate([top_plate_x/2, 0, -65]) sega_2p_plus_one();
}
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([-top_plate_x/2, 0, -1]) dir_arc_w_30mm();
translate([top_plate_x/2, 0, -1]) sega_2p_plus_one();
}
/* // fill in some space */
/* translate([-6, -6, 0]) cube([23, 23, 1], center=true); */
}
dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();

View File

@@ -1,32 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module dir_arc_plus_w_30mm_decorative_plate() {
difference() {
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) dir_arc_w_30mm();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// cut out the normal holes
translate([0, 0, -1]) dir_arc_w_30mm();
}
}
dir_arc_plus_w_30mm_decorative_plate();

View File

@@ -1,33 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module sega_2p_plus_one_decorative_plate() {
difference() {
decorative_add=10;
// get a 1mm slice of the bigger button cylinders
translate([0, 0, -45]) sega_2p_plus_one();
translate([0, 0, -50]) cube([500, 500, 98], center=true);
translate([0, 0, 50]) cube([500, 500, 98], center=true);
// cut out the normal holes
translate([0, 0, -1]) sega_2p_plus_one();
}
}
sega_2p_plus_one_decorative_plate();

View File

@@ -1,29 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module lsx_nobi_dustwasher() {
difference() {
cylinder(r=jumbo_decorative_radius+5+hole_tolerance, h=2, $fn=50, center=true);
// 5.25 = 5 (diameter of shaft is 10mm) + .25 to let it take an angle
cylinder(r=5.25+hole_tolerance, h=2.1, $fn=50, center=true);
}
}
lsx_nobi_dustwasher();

View File

@@ -1,30 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <misc-neutrik-d-plate.scad>
module neutrik_d_plate_20mm() {
difference() {
neutrik_d_plate();
cylinder(r=10+hole_tolerance, h=5, $fn=50, center=true);
cube([2.2, 22, 5], center=true);
}
}
neutrik_d_plate_20mm();

View File

@@ -1,29 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
use <misc-neutrik-d-plate.scad>
module neutrik_d_plate_24mm() {
difference() {
neutrik_d_plate();
cylinder(r=12+hole_tolerance, h=5, $fn=50, center=true);
}
}
neutrik_d_plate_24mm();

View File

@@ -1,29 +0,0 @@
/* Copyright Brian Stephan 2023
*
* This file is part of the Buildable Stick System.
*
* The Buildable Stick System is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* The Buildable Stick System is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* the Buildable Stick System. If not, see <https://www.gnu.org/licenses/>.
*/
include <components.scad>
module neutrik_d_plate() {
difference() {
cube([30, 35, 2], center=true);
translate([9.5, 12, 0]) neutrik_d_screw_hole();
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
}
}
neutrik_d_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module button_24mm_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) button_24mm_hole();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) button_24mm_hole();
}
}
button_24mm_decorative_plate();

View File

@@ -0,0 +1,21 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <neutrik-d-plate.scad>
module aux_connectors_two_neutrik_cluster_decorative_plate() {
difference() {
hull() {
translate([-50, 0, 0]) neutrik_d_plate();
translate([50, 0, 0]) neutrik_d_plate();
}
translate([(frame_x/2)-frame_center_to_neutrik-frame_wall, 0, 0]) rocker_20mm_mount();
translate([-((frame_x/2)-frame_center_to_neutrik-frame_wall), 0, 0]) neutrik_d_mount();
}
}
aux_connectors_two_neutrik_cluster_decorative_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <neutrik-d-plate.scad>
module aux_control_three_button_cluster_decorative_plate() {
difference() {
hull() {
translate([-44, 0, 0]) neutrik_d_plate();
translate([44, 0, 0]) neutrik_d_plate();
}
translate([0, 0, -10]) aux_control_three_button_cluster();
}
}
aux_control_three_button_cluster_decorative_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module dir_arc_plus_w_24mm_8_button_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) dir_arc_plus_w_24mm_8_button();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) dir_arc_plus_w_24mm_8_button();
}
}
dir_arc_plus_w_24mm_8_button_decorative_plate();

View File

@@ -0,0 +1,26 @@
/*
* SPDX-FileCopyrightText: © 2024 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
decorative_radius_scale = 1.5;
jumbo_decorative_radius_scale = 0;
include <components.scad>
module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates() {
difference() {
// get a 2mm slice of the bigger button cylinders
union() {
translate([-panel_x/2, 0, -25]) hull() dir_arc_w_30mm();
translate([panel_x/2, 0, -25]) hull() sega_2p_plus_one();
}
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([-panel_x/2, 0, -1]) dir_arc_w_30mm();
translate([panel_x/2, 0, -1]) sega_2p_plus_one();
}
}
dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate_of_plates();

View File

@@ -0,0 +1,24 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
union() {
translate([-panel_x/2, 0, -65]) dir_arc_w_30mm();
translate([panel_x/2, 0, -65]) sega_2p_plus_one();
}
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([-panel_x/2, 0, -1]) dir_arc_w_30mm();
translate([panel_x/2, 0, -1]) sega_2p_plus_one();
}
}
dir_arc_plus_w_30mm_and_sega_2p_plus_one_decorative_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module dir_arc_plus_w_30mm_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) dir_arc_w_30mm();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) dir_arc_w_30mm();
}
}
dir_arc_plus_w_30mm_decorative_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module sega_2p_6_button_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) sega_2p_6_button();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) sega_2p_6_button();
}
}
sega_2p_6_button_decorative_plate();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module sega_2p_plus_one_decorative_plate() {
difference() {
// get a 2mm slice of the bigger button cylinders
translate([0, 0, -55]) sega_2p_plus_one();
translate([0, 0, -100]) cube([500, 500, 198], center=true);
translate([0, 0, 100]) cube([500, 500, 198], center=true);
// cut out the normal holes
translate([0, 0, -1]) sega_2p_plus_one();
}
}
sega_2p_plus_one_decorative_plate();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module jlf_dustwasher() {
difference() {
cylinder(r=lever_plate_hole*decorative_radius_scale, h=2, $fn=50, center=true);
// 5.25 = 4.55 (diameter of shaft is 9.10mm) + .25 to let it take an angle
cylinder(r=4.8, h=2.1, $fn=50, center=true);
}
}
jlf_dustwasher();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module lsx_nobi_dustwasher() {
difference() {
cylinder(r=lever_plate_hole*decorative_radius_scale, h=2, $fn=50, center=true);
// 5.25 = 5 (diameter of shaft is 10mm) + .25 to let it take an angle
cylinder(r=5.25+hole_tolerance, h=2.1, $fn=50, center=true);
}
}
lsx_nobi_dustwasher();

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module sanwa_seimitsu_lever_mount() {
difference() {
levermountbase();
levermountholes();
}
}
sanwa_seimitsu_lever_mount();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <neutrik-d-plate.scad>
module neutrik_d_plate_24mm() {
difference() {
neutrik_d_plate();
neutrik_d_mount();
}
}
neutrik_d_plate_24mm();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module neutrik_d_plate() {
difference() {
cube([30, 35, 2], center=true);
translate([9.5, 12, 0]) neutrik_d_screw_hole();
translate([-9.5, -12, 0]) neutrik_d_screw_hole();
}
}
neutrik_d_plate();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <neutrik-d-plate.scad>
module rocker_plate_20mm() {
difference() {
neutrik_d_plate();
rocker_20mm_mount();
}
}
rocker_plate_20mm();

View File

@@ -0,0 +1,15 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <dir_arc-plus-w-30mm-plus-one-panel.scad>
module dir_arc_w_30mm_plus_one_panel_with_mount() {
dir_arc_w_30mm_plus_one_panel();
translate([-15, -40, -(panel_z/2) - 3]) rotate([0, 0, -15]) pcb_mount();
}
dir_arc_w_30mm_plus_one_panel_with_mount();

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module dir_arc_w_30mm_plus_one_panel() {
difference() {
panel();
dir_arc_w_30mm_plus_one();
}
}
dir_arc_w_30mm_plus_one_panel();

View File

@@ -0,0 +1,18 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module lever_and_dir_arc_w_30mm_panel() {
difference() {
panel();
dir_arc_w_30mm();
translate([(-panel_x/2)+55, (panel_y/2)-75, 0]) levermountholes();
translate([(-panel_x/2)+55, (panel_y/2)-75, 0]) levermountcountersinks();
}
}
lever_and_dir_arc_w_30mm_panel();

View File

@@ -0,0 +1,15 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
use <lever-panel.scad>
module lever_panel_with_mount() {
lever_panel();
translate([0, -panel_y/2+25, -(panel_z/2) - 3]) pcb_mount();
}
lever_panel_with_mount();

View File

@@ -0,0 +1,20 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
// combine the lever mount and generic plate, with mounting holes
module lever_panel() {
difference() {
// base plate
translate([0,-20,0]) panel();
// holes to mount the lever
levermountholes();
levermountcountersinks();
}
}
lever_panel();

View File

@@ -0,0 +1,16 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module namco_noir_plus_one_panel() {
difference() {
panel();
noir_plus_one();
}
}
namco_noir_plus_one_panel();

View File

@@ -0,0 +1,17 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
module namco_noir_plus_two_panel() {
difference() {
panel();
noir_plus_one();
translate([32.94-3.47-3.47, -78+7.37+4.49, 0]) noir_button_p1();
}
}
namco_noir_plus_two_panel();

View File

@@ -0,0 +1,9 @@
/*
* SPDX-FileCopyrightText: © 2023 Brian S. Stephan <bss@incorporeal.org>
* SPDX-License-Identifier: GPL-3.0-or-later
*/
include <parameters.scad>
include <components.scad>
panel();

Some files were not shown because too many files have changed in this diff Show More