commit:ca4dd4df03047f212382c35194a54cca7b12829a
author:Chip
committer:Chip
date:Wed Sep 3 22:42:01 2025 -0500
parents:
Initial Release
diff --git a/.gitignore b/.gitignore
line changes: +1/-0
index 0000000..0711a95
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.FCBak

diff --git a/D-sub 23.stl b/D-sub 23.stl
line changes: +0/-0
index 0000000..9f11b97
--- /dev/null
+++ b/D-sub 23.stl

diff --git a/D-sub builder.FCStd b/D-sub builder.FCStd
line changes: +0/-0
index 0000000..8eedd29
--- /dev/null
+++ b/D-sub builder.FCStd

diff --git a/README.md b/README.md
line changes: +43/-0
index 0000000..afd69fb
--- /dev/null
+++ b/README.md
@@ -0,0 +1,43 @@
+# Parametric D-Sub
+
+This is a FreeCad model that creates 3D printable D-sub housings.
+
+<img src="images/9pin.png" height=400>
+<img src="images/15pin.png" height=400>
+<img src="images/5pin.png" height=400>
+
+## Usage
+
+Open the Spreadsheet and adjust values as necessary. The only thing that
+should need to be adjusted is the number of pins, which should be an odd
+number because of how D-sub pinouts work. An even number will just give
+you the next lowest odd number.
+
+You might also want to adjust "Contact Hole" and "Contact Depth"
+depending on your contacts and the tolerances of your 3D printer. The
+housing depth is fixed at 11mm, which is approximately the depth of most
+manufactured housings. The flange-to-face distance is 5.8mm.
+
+Because of how the pins are repeated, the minimum number of pins is 3.
+There is theoretically no maximum. :D
+
+Sometimes changing the number of pins will cause the geometry solver to
+glitch and leave extra space on the right. If this happens, open the
+"D-Sub Outline" sketch (inside "Basic Shape"). Delete the tangent
+constraint on the upper right curve.
+
+<img src="images/tangent-broken.png" height=400>
+
+Then move the outline next to the reference box and reapply the tangent
+constraint between the curve and the vertical line.
+
+<img src="images/tangent-fixed.png" height=400>
+
+Close the sketch, and you should be good to go.
+
+## Print recommendations
+
+The flange is wedge shaped so that it can print without supports. This
+requires that it be printed face-up. This leaves a small amount of
+surface area in contact with the bed, which may need a brim for
+stability with your printer (FWIW it works fine on my Ender 3).

diff --git a/images/15pin.png b/images/15pin.png
line changes: +0/-0
index 0000000..2922b32
--- /dev/null
+++ b/images/15pin.png

diff --git a/images/5pin.png b/images/5pin.png
line changes: +0/-0
index 0000000..30ee32e
--- /dev/null
+++ b/images/5pin.png

diff --git a/images/9pin.png b/images/9pin.png
line changes: +0/-0
index 0000000..675e3e3
--- /dev/null
+++ b/images/9pin.png

diff --git a/images/tangent-broken.png b/images/tangent-broken.png
line changes: +0/-0
index 0000000..0e079ef
--- /dev/null
+++ b/images/tangent-broken.png

diff --git a/images/tangent-fixed.png b/images/tangent-fixed.png
line changes: +0/-0
index 0000000..24044bc
--- /dev/null
+++ b/images/tangent-fixed.png