ictdesigntools.parts.plugs¶
Detailed connector plugs: a side view and a mating-face view of each plug in
data/plugs.toml, as engine components, for drawings where the detail earns its place
(assembly drawings, spec sheets, close-ups). Panels and elevations keep the light footprints of
cabling.connectors.
The face view shows what the plug carries: its ferrule or ferrules, an MT ferrule's fiber
positions numbered from 1 (on the left with the key up, looking at the face, as TIA-568 counts
them), its guide pins (pinned) or holes (unpinned), and an RJ45's eight contacts. Ferrule and
contact sizes and pitches are from the cited sources; the plug bodies are proportions for
drawing (each row lists them under schematic).
Housings take the TIA-568 connector colours by tone: smf-upc blue, smf-apc green,
mmf (OM1, OM2) beige, mmf-om3 and mmf-om4 aqua, mmf-om5 lime, copper clear
grey; tone_for picks one from a NetBox cable type and a polish.
>>> plug("mpo").ferrule_w_mm, plug("mpo").fiber_pitch_mm
(6.4, 0.25)
>>> fiber_positions(8) # an MPO-8 uses the outer four of each side of twelve
[1, 2, 3, 4, 9, 10, 11, 12]
plugs
cached
¶
The plugs in data/plugs.toml, by slug.
Source code in src/ictdesigntools/parts/plugs.py
tone_for ¶
The TIA-568 housing colour key for a NetBox cable type and a polish.
Source code in src/ictdesigntools/parts/plugs.py
fiber_positions ¶
Which of an MT ferrule's places carry fibers: all of them, except an MPO-8, which uses the outer four of each side of a twelve-fiber row (IEEE 802.3 parallel optics).
Source code in src/ictdesigntools/parts/plugs.py
plug_side
cached
¶
A plug from the side, mating face at x = 0 pointing left (-x), the boot to the right, ending at x = body_mm + boot_mm where the drawing's cable joins it; its centre line on y = 0. The cable is not part of the plug, so it can be drawn to any length or curve.
Source code in src/ictdesigntools/parts/plugs.py
plug_face
cached
¶
plug_face(
slug: str,
positions: int = 0,
pins: str = "",
tone: str = "",
numbers: bool = True,
) -> Component
A plug's mating face, centred, as a person sees it looking into the plug with the key up: the housing in its colour with the opening shaded, white zirconia ferrules with the fiber's cladding and core, an MT ferrule's dark face with its fibers as light points (unused places as faint rings, 1 and the last numbered), steel guide pins or dark guide holes, the key on top, an RJ45's gold contacts in their slots with the tab underneath, or an F connector's hex nut, dielectric and centre conductor.
Source code in src/ictdesigntools/parts/plugs.py
216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 | |
catalogue ¶
catalogue() -> object
Every plug from the side and from its face, with its tone, for review.