Ditch
C3D Ditch — trapezoidal grading ditch + buffers
At a glance
| Kind | Subassembly (composed into an assembly) |
| Domain | Road |
| Civil 3D equivalent | Ditch |
| Geometry | 7 points, 5 links, 0 shapes |
| Targets | 1 (surface / offset / elevation targets this subassembly can be linked to) |
Parameters
Defaults are the metric values the palette inserts. Every parameter can be driven by an expression or a target.
| Parameter | Type | Default | Meaning |
|---|---|---|---|
Side | +1 right of the baseline, −1 left | Right (+1) | +1 Right / -1 Left |
DitchWidth | number (metres unless the description says otherwise) | 1 | Bottom width; 0 = V-ditch (m) |
DitchDepth | number (metres unless the description says otherwise) | 1 | Ditch depth (m) |
ForeslopeSlope | cross slope as a ratio (−0.02 = 2 % fall) | 0.25 | Foreslope (rise/run), inserted downwards |
ForeslopeBufferWidth | number (metres unless the description says otherwise) | 1 | Buffer before the foreslope; 0 = omit (m) |
ForeslopeBufferSlope | cross slope as a ratio (−0.02 = 2 % fall) | -0.1667 | Foreslope buffer slope (always down) |
BackslopeSlope | cross slope as a ratio (−0.02 = 2 % fall) | 0.25 | Backslope (rise/run), inserted upwards |
BackslopeBufferWidth | number (metres unless the description says otherwise) | 1 | Buffer after the backslope; 0 = omit (m) |
BackslopeBufferSlope | cross slope as a ratio (−0.02 = 2 % fall) | 0.1667 | Backslope buffer slope (always up) |
IncludeDitch | whole number / mode selector | 0 | 0 cut and fill, 1 cut only, 2 fill only |
Points
Point codes are what feature lines, styles and quantity take-off match on — they are the contract this subassembly publishes.
| Point | Code | Placed | From | Expression |
|---|---|---|---|---|
P1 | — | placed at the attachment point (an absolute offset/elevation) | — | 0 / 0 |
TP | — | offset + elevation delta from the reference point | P1 | Side*(ForeslopeBufferWidth+DitchDepth/ForeslopeSlope) / ForeslopeBufferWidth*ForeslopeBufferSlope-DitchDepth |
P2 | Hinge | offset + elevation delta from the reference point | P1 | Side*ON*ForeslopeBufferWidth / 0-ON*ForeslopeBufferWidth*abs(ForeslopeBufferSlope) |
P3 | Ditch_In | offset + elevation delta from the reference point | P2 | Side*ON*DitchDepth/ForeslopeSlope / 0-ON*DitchDepth |
P4 | Ditch_Out | offset + elevation delta from the reference point | P3 | Side*ON*DitchWidth / 0 |
P5 | Hinge | offset + elevation delta from the reference point | P4 | Side*ON*DitchDepth/BackslopeSlope / ON*DitchDepth |
P6 | — | offset + elevation delta from the reference point | P5 | Side*ON*BackslopeBufferWidth / ON*BackslopeBufferWidth*abs(BackslopeBufferSlope) |
Links
| Link | Code | Between | Role |
|---|---|---|---|
L0 | Top,Datum | P1 → P2 | drawn |
L1 | Top,Slope_Link,Datum | P2 → P3 | drawn |
L2 | Top,Datum,Ditch | P3 → P4 | drawn |
L3 | Top,Slope_Link,Datum | P4 → P5 | drawn |
L4 | Top,Datum | P5 → P6 | drawn |
Generated page. The tables above are read from the built-in catalogue itself (yu3d_stock_dump), so they always match the version of yucad3d you are running.