SwaMiti Surface Development Tool - TURRETDEV1
Cylinder with one square end and one inclined end
Visit www.swamiti.com for more

CONTENTS
  TURRETDEV1.lsp
  README.txt

USE IN AUTOCAD
1. Extract the ZIP and open a test drawing in model space.
2. APPLOAD TURRETDEV1.lsp.
3. Run TURRETDEV1. 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 circular cylindrical shell with its axis inclined from vertical, one end square to the axis and the other cut by a horizontal plane.
The angle α is measured between the cylinder axis and vertical. The square end is perpendicular to the axis. After unwrapping, that square edge is placed at the bottom and the upper edge varies smoothly.
Axial length is not the seam length. L is measured from the square-end plane to the horizontal plane at the cylinder axis.

INPUTS
| Symbol | Definition | Sample | Range
 | ID | Internal cylinder diameter | 2,000 mm | > 0
 | t | Uniform wall thickness normal to shell | 12 mm | > 0
 | L | Axial distance between the end planes at the axis | 1,800 mm | Greater than the height amplitude below
 | α | Cylinder axis inclination FROM VERTICAL | 30° | 0° ≤ α < 90°

PLACEMENT
Pick the bottom-left seam point.

CALCULATION METHOD
1Use the mean diameter
The nominal mean surface lies halfway through a uniform cylindrical wall. Adding half the wall thickness on each side of the inside diameter gives:
Dm = ID + t = 2,012 mm
Rm = Dm/2 = 1,006 mm

2Unwrap one mean circumference
C = πDm = 6,320.8844 mm
p = C/18 = 351.1602 mm
The 18 equal-width intervals represent 20° steps around the mean circle. They do not divide the upper cutting curve into equal arc lengths.

3Obtain the varying generator height
In a frame aligned with the cylinder axis, take u as radial distance towards the lowest cut point. The cut plane is z = L − u tan α. On the mean circle, u = Rm cos θ. Substitution gives:
A = Rm tan α = 580.8144 mm
h(θ) = L − A cos θ

4Set out the stations and seam
θi = i × 20°
xi = iC/18
hi = L − A cos θi,   i = 0…18
Lower points are (xi, 0); upper points are (xi, hi). Stations 0 and 18 form the shortest seam; station 9 has the longest generator. At station 3, h = 1,800 − 580.8144 cos 60° = 1,509.5928 mm.

5Close the cutting outline
h(x) = L − A cos(2πx/C)
hmin = L − A;   hmax = L + A
Two straight seam edges join the curve to the square lower edge. The LISP samples the upper curve densely, with all 19 dimension stations included and an interpolation-error bound of 0.01 mm. This numerical bound is not a fabrication tolerance. If α = 0°, A = 0 and the development is rectangular.

SAMPLE RESULTS
Developed width: 6,320.88 mm - One mean circumference
Division pitch: 351.16 mm - 18 equal intervals
Shortest generator: 1,219.19 mm - At the seam
Longest generator: 2,380.81 mm - At station 9

ASSUMPTIONS AND LIMITATIONS
- True circular cylinder, constant ID and uniform wall thickness.
- All dimensions positive; each tilt is at least 0° and less than 90°.
- L must exceed the height amplitude A or V; otherwise the cutting edges touch or cross.
- The mathematical mean surface uses ID + t.
- The seam lies at the shortest generator; 18 intervals are equal in circumferential distance.
- Weld gaps, overlap, trimming margins and cutting kerf.
- Rolling stretch, springback and material-specific forming compensation.
- Full-thickness cut-face bevels and fit corrections for adjoining components.

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