Files
nixos/gpd-win-4.md
2025-02-23 16:00:33 +01:00

58 lines
3.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
I want a wall-mounted docking solution for my GPD Win 4, designed in OpenSCAD 2021.1. Here are the requirements and clarifications:
Orientation & Fit
The GPD Win 4 should be inserted upside down (top facing down), with the screen facing the wall.
It slides in from the top and is guided by side rails.
There should be a small clearance so the GPD Win 4 can be easily inserted/removed without excessive friction.
Front Rail (Lip)
Side Rails:
The dock should have two side rails that run from top to bottom, guiding the GPD Win 4.
The front is open for airflow.
However, there should be a small lip (front rail) on each side, running from top to bottom and connected to the side rails. This lip prevents the GPD Win 4 from falling out forward.
Back Plate / Wall Mount
The dock has a solid back plate that mounts to the wall with two countersunk screws.
The default spacing and size of these screws can be parameterized (e.g., an M4 or M3 countersunk hole).
The back plate thickness should be sufficient for strength (e.g., 34 mm).
No special side or back vents are needed.
Cable Brackets
At the bottom, back, inside the dock, there are two brackets, one for a 90° USB-C cable (standard USB-C power) and one for a 90° Oculink flat cable.
The back plate should be open where these two brackets are, so the cables can exit the dock.
Each bracket should have:
An opening on the side facing the wall, to allow the cable to pass behind (i.e., into or through the wall).
A hole for an M3 screw that presses against the cable from the side to lock it in place.
Enough space to seat a 90° connector so it points upwards to plug into the GPD Win 4.
Parametric Design
The design should be fully parameterized in OpenSCAD, including (but not limited to) the following parameters:
device_width, device_thickness, device_length (for the GPD Win 4)
clearance_x, clearance_y, clearance_z (how much extra space around the device)
wall_plate_thickness
rail_thickness
front_rail_lip_width or front_rail_lip_thickness
wall_mount_screw_hole_diameter, wall_mount_screw_spacing (for countersunk screws)
bracket_inner_width_usbC, bracket_inner_height_usbC (for the USB-C connector dimensions)
bracket_inner_width_oculink, bracket_inner_height_oculink (for the Oculink connector dimensions)
m3_side_screw_hole_diameter (the hole that lets an M3 screw clamp the cable from the side)
Any other geometry parameters (openings for cables, bracket thickness, etc.)
Defaults
Please choose default dimensions that accurately reflect:
Approximate GPD Win 4 size (if not exact, then close estimates).
Standard 90° USB-C and 90° Oculink connector sizes.
Typical M3 screws for cable clamps.
Countersunk holes for M3 or M4 wall screws (whichever you prefer).
Version
This must render successfully in OpenSCAD 2021.1.
Summary
The final output should be an OpenSCAD file that, when the parameters are set to their defaults, produces the described wall-mounted docking station for the GPD Win 4 with side rails, minimal front lip, bracket cutouts for cables, and properly sized holes for screws.
If any additional measurements or details are needed, please ask.