Email us

Este artículo está en inglés. Ver el sitio en español

Cet article est en anglais. Voir le site en français

Dieser Artikel ist auf Englisch. Website auf Deutsch ansehen

Este artigo está em inglês. Ver o site em português

本文为英文。 查看中文网站

URDF models for enclosure digital twins: what to send

Send the enclosure as a URDF tree of two links and one joint: a rigid cabinet link plus a door link on a hinge axis. A 600 x 500 x 200 mm box with a full-front door sweeps an 810 mm envelope from the rear wall at 90° open, so plan 610 mm of clear depth in front of the face.

NEMA4 Enclosure engineering team · Published November 13, 2026 · 7 min read

Short answer: build the enclosure twin as a URDF tree of two links and one joint. The cabinet is one rigid link, the door is the second, and one rotating joint sits on the hinge axis. A welded box is not a robot chain, and every extra joint is another position you can get wrong. URDF hands you three facts to build with. The file is XML with one root link at the base of a tree. Every joint ties exactly one parent link to one child, and each joint moves on a single axis drawn from six degrees of freedom: three translations and three rotations. The worked example below sizes the door swing of a 600 x 500 x 200 mm (23.6 x 19.7 x 7.9 in) wall-mount box. At 90° open the envelope reaches 810 mm (31.9 in) from the rear wall.

URDF, translated into enclosure parts

URDF — Unified Robot Description Format — is an XML file with the .urdf extension, describing a mechanism as rigid bodies joined by joints. The structure is a tree: one root link, and every other link attached through exactly one joint that names its parent and its child. That is the whole grammar. A control panel maps onto it with almost nothing left over:

Enclosure part Model treatment
Welded body, walls, back plate, feet, mounting flange One cabinet link, the root
Door on hinges One door link and one rotating joint on the hinge axis
HMI on a tilt bracket One more link and one more rotating joint
Gland plate, cutouts, DIN rail, terminal rails Geometry features of the cabinet link
Loose items shipped inside the box Left out of the twin

The cabinet link is the root and the door hangs from it. A tilt bracket hangs from the door when it rides on the door, and from the cabinet when it stands on its own post. That parent choice is the entire kinematic model; the motion follows from it. For the 3D model itself, 3D enclosure models for panel layout lists what to request so the drawing supports the twin.

Every link carries two geometry descriptions. The visual one is what a reviewer sees; the collision one is what the twin measures clearances with. Both draw from the same sources: a standard shape — box, sphere or cylinder — or a 3D mesh referencing CAD files.

Split the fidelity between them. In the example, the cabinet's collision solid is a bare 600 x 500 x 200 mm box and the door's is its 600 x 500 x 2 mm slab. Simple solids stand proud of the real folds and flanges, so they err on the safe side, and they check fast. Spend the detail in the visual mesh instead: cutouts, louvers, latch, hinge barrels.

Convert the drawing once, up front. URDF measures in metres and radians, so the cabinet enters the model as 0.600 x 0.500 x 0.200 m and every origin follows the same conversion. Solid geometry checks for generated enclosure CAD covers the audit that keeps drawing and model identical.

Where the joints go, and where they stop

A door earns exactly one joint: single-axis rotation, parent the cabinet, child the door, axis vertical through the hinge barrel. Set the limits at the door's mechanical stop — 110° in the example, which is 110 x π / 180 = 1.92 rad. An uncapped door joint sweeps straight through the wall behind it, and the twin then reports a clash you would otherwise find only after the steel is cut.

Choosing an enclosure door hinge needs the same two inputs the joint needs: where the axis sits and what the door weighs.

An HMI bolted flat to the door rides on the door link and costs nothing extra. A panel on a tilt bracket earns a second joint under the same rules; mounting an operator panel in a cabinet door covers the hardware side. Everything else stays still: bolted gland plates, a removable back plate and mounted rails belong to the cabinet link, joined with zero motion if your tool insists on a joint. Skip the urge to model each wall as its own link — a box has no movement axes, so a chain of links only adds origins, limits and ways to be wrong.

Door swing in a 600 x 500 x 200 mm wall-mount twin

The inputs. The cabinet is 600 mm wide x 500 mm high x 200 mm deep (23.6 x 19.7 x 7.9 in), 304 stainless, wall-mount, a Type 4X design. The rating is the manufacturer's own: rated NEMA 4X / IP66 by the manufacturer, not UL listed. The catalog builds any customer-set size like this from one piece. The door is a full-front 600 x 500 mm plate, 2 mm thick, stopping at 110°. The hinge axis sits 20 mm inboard of the left outer wall, with the barrel centre 30 mm in front of the front face. Treat the door thickness, the two hinge offsets and the stop angle as example drawing values. Those four numbers are what you replace from your own drawing.

The rule. The sweep radius is the distance from the hinge axis to the door's far vertical edge. At 90° open the tip points straight out from the face, so the envelope from the rear wall is the axis standoff plus the radius.

The arithmetic.

  • Sweep radius: 600 − 20 = 580 mm (22.8 in)
  • Axis standoff from the rear wall: 200 + 30 = 230 mm
  • Tip reach at 90° open: 230 + 580 = 810 mm (31.9 in) from the rear wall
  • Clear depth beyond the door face: 810 − 200 = 610 mm (24.0 in)
  • Joint limit at the stop: 110 x π / 180 = 1.92 rad
  • Closed-door slab in the joint frame: from −20 mm to +580 mm across the width, and the span check 580 + 20 = 600 mm confirms the door width

The result. The twin's door sweeps an 810 mm envelope from the wall behind the box, of which 610 mm stands clear of the door face.

The decisions.

  • 610 mm or more of clear depth in front of the face: a full 90° service opening fits, so cap the joint at 1.92 rad and the swing is settled.
  • Less than 610 mm: cap the joint lower. A bay with 300 mm in front of the face allows arcsin((300 − 30) / 580) = arcsin(0.466) = 27.7°, so set the limit near 27° and lay the cell out around a door that opens part way.
  • Moving the hinge axis 10 mm outward adds 10 mm to the radius. Box depth changes the total envelope but never the radius itself.

Checks that prove the twin matches the box

  • Swing test. Command the door joint to its limit and measure tip to rear wall: 810 mm in the example. Compare it with the hand calculation; a mismatch means an origin or a unit is wrong, not the physics.
  • Link count. Two links and one joint for a plain door box, three and two with a tilt bracket. More than that needs a reason on the drawing.
  • Solid audit. The collision boxes read exactly 600 x 500 x 200 mm and 600 x 500 x 2 mm. Readings like 0.6 and "roughly half a metre" mean the unit conversion slipped somewhere.
  • Parentage. The cabinet is the root link and the door is its child. A twin where the box moves when the door opens has them reversed.

The twin tests geometry and motion: clearance, swing, layout fit. It tests nothing about sealing, corrosion or the type rating; those settle on the built box, in the manufacturer's tests.

What to send so the twin and the order agree

Order the enclosure from the same numbers the model uses. Set the material first: 304 stainless for indoor washdown, food and beverage and most outdoor sites; 316L for salt air, brine and chlorides. Then set width, height, depth and every cutout in the enclosure builder. The approval drawing we send back is the dimension source the URDF should be built from. Delivery is 10 business days from your approval of the drawing, on orders from one piece up. Starting from a board model instead of a drawing, from a board 3D model to a custom enclosure follows the same path, and what to send for a custom quote without CAD covers the no-CAD case.

Ask that the approval drawing call out the four numbers the joint needs. Those are hinge side, axis offset from the wall (20 mm in the example), barrel standoff from the face (30 mm) and stop angle (110°). The cutout drawing checklist on custom stainless enclosures and factory cutouts covers the openings. How to size an electrical enclosure covers the size itself, and custom enclosures lists the materials and manufacturer-rated types on offer.

Keep the rating out of the model file. The twin carries geometry and motion; the rating lives on the built box and its marking.

Catalog dimensions to compare

Compare these catalog dimensions with your component layout. Open each enclosure for its rating, material and usable space, then check those specifications against your application.

EnclosureMaterialOutside H x W x D / displayRating
12 × 10 × 6 in304 stainless12 x 10 x 6 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
20 × 16 × 8 in304 stainless20 x 16 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed
24 × 20 × 8 in304 stainless24 x 20 x 8 inRated NEMA 4X / IP66 by the manufacturer; not UL listed

Questions

Does an enclosure twin need kinematics, or is a static mesh enough?

A static mesh proves fit; only a joint proves swing. Skip the kinematics when the door faces an open bay with metres of clearance, and add it the moment the twin has to prove a maintenance position. In the worked example the joint starts earning its keep when the clear depth in front of the face drops below 610 mm, because that is where the capped 27.7° opening and the layout argument begin.

How do I model a cabinet with two doors?

Three links, two joints. Each leaf gets its own rotating joint parented to the cabinet link, never chained leaf to leaf. Each 600 mm leaf hinged 20 mm inboard sweeps its own 580 mm envelope, and the two envelopes overlap in front of the face. That overlap is the useful output: the twin shows the leaves clashing mid-swing before the hinges are ordered, so stagger the stop angles if both doors open in service.

Do cutouts and HMI windows belong in the model?

In the visual mesh, yes; in the collision solid, almost always no. The twin checks clearance with the outer 600 x 500 x 200 mm box and the 2 mm door slab, and a 300 x 200 mm operator window sits inside both. Put a cutout into collision geometry only when something passes through it in the simulated scene, such as a cable bundle or a pendant arm reaching the door.

Can I scale one URDF model to cover several enclosure sizes?

Rebuild each size from its own drawing. Scaling a mesh moves every feature with it: a 20 mm hinge offset becomes 24 mm on a model stretched 1.2 times, while the real hinge hardware still sits at 20 mm, so the sweep radius the scaled model implies is wrong. Per size the joint arithmetic is one subtraction for the radius and one addition for the envelope, so a rebuild costs a couple of minutes.

Does the digital twin change the enclosure's rating?

A URDF file cannot change a rating. The example box is rated by the manufacturer to NEMA 250 and IEC 60529 — NEMA 4X / IP66, not UL listed — and the twin has no say in it: the model proves the door clears the aisle, and the hose-down rating is settled on the built enclosure. Keep the marking on the box and the geometry in the model.

Checklist before you order

Specify it once, built to your drawing

  • Environment and NEMA type: Type 1, Type 3R, Type 4, Type 4X, Type 6P, Type 12, Type 13 (manufacturer ratings, not UL listed)
  • Material: 304 stainless steel, 316L stainless steel, Powder-coated carbon steel, Aluminum, Polycarbonate, Fiberglass (FRP)
  • Size: inside or outside height, width and depth, with the depth your deepest component needs
  • Cutouts, glands and windows, dimensioned from one datum on each face
  • Mounting and access: wall, pole or stand, hinge side, mounting panel
  • Quantity: from one piece

Delivered in 10 business days, anywhere in the world. Counted from your order; for custom work, from your approval of the drawing.

Build it from 12 × 10 × 6 inRequest a custom quote

NEMA 4X enclosures: sizes for this job

Keep reading

More on specifying and ordering

All articles

Buying guides

The guides behind this answer

All guides