SwaMiti Surface Development Tool - BOXSTIFF4
Box stiffener with both ends fitted
Visit www.swamiti.com for more

CONTENTS
  BOXSTIFF4.lsp
  README.txt

USE IN AUTOCAD
1. Extract the ZIP and open a test drawing in model space.
2. APPLOAD BOXSTIFF4.lsp.
3. Run BOXSTIFF4. All lengths are millimetres; angles are degrees.
4. Follow the input definitions below. Enter accepts the sample defaults.
5. Pick the drawing point. Use ZOOM, Extents to see the result.
6. One UNDO removes a completed run. Esc cancels an input.
7. Rerun after changing inputs: dimensions are non-associative.

ARRANGEMENT AND DIMENSIONS
A U-section member fitted between two perpendicular box stiffeners. Both end contours follow the same outside reference bend radius.
W, D and L are finished OUTSIDE dimensions. R is the inside forming radius of this member; the outside radius is R + t. The two longitudinal side bends are 90°. The reference contact radius is separate from the member’s own bend radius.
The reference lower outside tangent shares the new web’s outside plane at depth z = 0. At z ≥ Rref the fitted contour follows the reference straight face. Below that height it extends beyond the straight-face datum to follow the outside root bend. Reference members are omitted from the output views.
L is a straight-face datum span. It is not the tip-to-tip member length. Both fitted ends use one shared outside reference radius.

INPUTS
| Symbol | Definition | Sample | Range
 | W | Overall outside width across side walls | 300 mm | W > 2(R + t), with room for reliefs
 | D | Outside member depth above web datum | 120 mm | D > R + t and D > Rref
 | L | Clear span between the two reference STRAIGHT FACES | 800 mm | Positive; end profiles and reliefs must remain separated
 | t | Plate thickness | 6 mm | > 0
 | R | Member inside forming radius | 8 mm | > 0
 | Rref | Reference outside contact radius shared at A and B | 20 mm | > 0 and < D
 | K | Neutral-axis factor for member bends | 0.50 | 0 ≤ K ≤ 1
 | c | Axial clearance at fitted contact | 0 mm | ≥ 0

PLACEMENT
Pick the lower-left corner of the flat blank’s bounding rectangle; this reference need not lie on the cut contour.

CALCULATION METHOD
1Convert outside dimensions to bend geometry
The forming radius and neutral-axis factor determine how much flat material lies inside each bend. K = 0.50 is an initial value; use bend-trial or shop data when available.
Ro = R + t;   Rn = R + Kt
BA = θRn
SB = Ro tan(θ/2)
BD = 2SB − BA
θ is bend rotation in radians. Side bends have θ = π/2, so BAs = 17.2788 mm, SBs = 14 mm and BDs = 10.7212 mm for the sample. End slope is distinct from bend rotation.

2Develop the member across its width
a = W − 2Ro
ds = D − Ro
Wflat = a + 2(BAs + ds)
= W + 2D − 2BDs
Here a is the planar front-web width between tangents, and ds is each planar side depth. For the sample, a = 272 mm, ds = 106 mm and Wflat = 518.5575 mm.

3Derive the fitted end from the outside reference circle
Let r = Rref and z be outside depth above the common web/lower-tangent datum. A contact point must lie on the reference bend circle. Solving that circle for the outward axial extension E gives:
(E − r)² + (z − r)² = r²
E(z) = r − √[z(2r − z)],   0 ≤ z < r
E(z) = 0,   z ≥ r
The fitted coordinate at A is YA(z) = c − E(z). For the sample, the web tip is at −20 mm; at depth 10 mm it is −2.6795 mm; at and above depth 20 mm it reaches the straight-face datum. c shifts the cut axially; it is not a constant gap normal to the curved surface.

4Mirror the contact at end B
YB(z) = L − c + E(z)
H(z) = L − 2c + 2E(z)
Lflat = L + 2Rref − 2c
Both ends use the same r. Their greatest extensions lie along the front web, so the sample web-tip length is 840 mm while the straight-face span remains 800 mm. No end closure bends are added.

5Map the outside contour through each side bend
The neutral bend radius sets flat distance, while the outside radius sets the actual depth of the formed edge. For distance s measured outwards from a web tangent:
z(s) = Ro[1 − cos(s/Rn)],   0 ≤ s ≤ BAs
z(s) = Ro + s − BAs,   s > BAs
Substitute this depth into the applicable cut-plane or contact-circle equation. This produces curved profiles through the bend strips and straight profiles on planar portions. The opposite side is mirrored about the web. The cutting profile is sampled more finely than its displayed setting-out marks.

SAMPLE RESULTS
Blank bounding width: 518.56 mm - Side / web / side
Blank bounding length: 840.00 mm - Includes required end profiles
Planar web width: 272.00 mm - Between side-bend tangents
Side allowance, each: 17.279 mm - 90° neutral-axis arc

ASSUMPTIONS AND LIMITATIONS
- Uniform-thickness plate with planar web/sides and circular bends; W and D are outside dimensions.
- K is between 0 and 1. The default 0.50 must be confirmed against the intended material and tooling.
- W must leave a positive planar web; D must exceed R + t.
- End cuts, reliefs and closure flanges must remain connected and must not overlap.
- D must also exceed Rref to leave contact with the reference straight face.
- The reference lower outside tangent must coincide with the new web’s outside plane.
- Outside-edge contact is controlled; full-thickness flush contact is not guaranteed.
- One identical outside reference radius is used at both ends.
- Springback, cutting kerf, weld shrinkage and bevel preparation.
- Full-thickness cut-face fitting; the developed contour targets the formed outside edge.
- Tool accessibility, bend sequence and weld execution are not simulated.

The LISP is standalone; the SwaMiti logo is embedded. No preview image or helper file is needed.
