Overview

The SDBox TIN/DTM toolset helps you build, inspect, and edit a triangulated surface directly inside your CAD drawing.

A typical workflow is:

Workflow

Compatibility

All commands are designed for AutoCAD-style workflows and are available in supported CAD platforms (AutoCAD 2010-20xx, BricsCAD, GstarCAD, ZWCAD), depending on your SDBox edition.

^ Back to top

Add New Points TTS

Adds extra (missing) survey points to an existing TIN workflow, without changing your original point numbering philosophy.

Use this command when you have already created a TIN/DTM and you need additional points that should participate in the triangulation.

Command: TTS

Typical workflow

  • Run TTS and specify the first new point number.
  • Pick the points to be added (or let the command propose candidates, depending on your setup).
  • Continue with ZDTS / ZTIN to update the triangulation.
TTS dialog / prompt

Calculate Z details

^ Back to top Selecting points for DTM

Example for blue points measured and red points needed

Select Points for DTM ZDTS

Selects the surveyed points that will participate in the DTM (TIN) triangulation.

This is the point set definition step: you decide which point blocks/points are considered by the TIN commands.

Command: ZDTS

Selection

Select points from the drawing. For advanced selection options (filters, block attributes, etc.), see: Object selection with filters.

Notes

  • Once the participating points are defined, you can rebuild or edit the triangulation using ZDTM, ZDTMB or ZTIN.
  • Point elevation may be read from an attribute (if points are blocks) according to your SDBox point standard.
Selecting points for DTM

Selecting DTM points in the drawing

Filters / selection options

Selection options / filters

^ Back to top

Draw Standard Triangles ZDT1

Sets the triangulation mode to draw standard triangles.

When enabled, newly created triangles are drawn as normal triangulation elements (as opposed to exclusion triangles).

Command: ZDT1

Tip

If you need to define triangle zones or exclusions, switch to ZDT2 before selecting points/areas.

^ Back to top

Draw Exclusion Triangles ZDT2

Sets the triangulation mode to create exclusion triangles (holes / forbidden areas).

Use this mode to mark triangles that must not produce contours or surfaces (e.g., buildings, water bodies, voids).

Command: ZDT2

How it is typically used

  • Switch to ZDT2.
  • Select points/areas that define the exclusion.
  • Continue with ZDTMB to rebuild using breaklines if needed.
Exclusion triangle example

Exclusion triangle definition

Exclusion triangles - result

Result after applying exclusion triangles

^ Back to top

Open Boundary Triangles ZDTMA

Creates open-boundary triangles, typically used for edges where the surface must remain open.

This command is used when the triangulation should not be closed around the outside boundary (for example, when you want the surface to fade out naturally or when the boundary is incomplete).

Command: ZDTMA
Open boundary triangles

Open-boundary triangulation example

Command line / options

No max side set for road example

Command line / options

Correct max side set for road example

Open boundary result

Resulting open boundary triangles

Notes

The command works on the point set previously defined with ZDTS. If no point set is defined, run ZDTS first.

^ Back to top

Single Triangle Construction ZTIN

Creates or edits single triangles manually.

Use this command for local corrections when you need to force a specific triangle shape, typically after you detect an undesired triangulation due to sparse points or special terrain conditions.

Command: ZTIN

Workflow

  • Pick near the 1st point of the triangle, then near the 2nd and 3rd.
  • Repeat as needed to patch local areas.
  • Use TTGR (triangle centers) and TTH (shading) to visually validate your edits.
^ Back to top

Rebuild Using Breaklines ZDTMB

Rebuilds the triangulation based on breaklines.

Breaklines are linear constraints (e.g., curbs, ridges, edges of pavement) that force the TIN to respect sharp terrain features.

Command: ZDTMB

Recommended steps

  • Define the participating points with ZDTS.
  • Draw / select breaklines (as polylines) according to your DTM layer standard.
  • Run ZDTMB to rebuild triangles.
Breaklines rebuild - example

Rebuild triangulation using breaklines

Filters / selection options

Selection options / filters

Rebuild result

Result after rebuild

^ Back to top

Closed Area Triangulation ZDTM

Creates triangulation inside a closed boundary (polyline).

Use this command when you want the DTM to be strictly limited inside a specific area (e.g., a project boundary).

Command: ZDTM

Workflow

  • Draw or select a closed polyline that represents the triangulation boundary.
  • Ensure the participating points are defined with ZDTS.
  • Run ZDTM and select the boundary polyline.
Closed area triangulation - boundary

Boundary selection for closed-area triangulation

Closed area triangulation - options

Command options (example)

Closed area triangulation - result

Triangulation result inside boundary

^ Back to top

Find Missing Triangles TTNO

Highlights triangles that should exist but are not currently drawn.

This command is useful during validation: you can step through the drawing and reveal missing triangles, then correct the triangulation using ZTIN or a rebuild command.

Command: TTNO
Missing triangles indication

Example of missing triangles detection

^ Back to top

Show Triangle Centers TTG

Calculates and displays the centers of the currently drawn triangles.

Triangle centers are a quick way to validate that the triangulation is complete and consistent.

Command: TTG
^ Back to top

Refresh Triangle Centers TTGR

Refreshes the triangle centers after edits.

Run this after operations such as deleting, swapping, or rebuilding triangles to ensure the displayed centers match the current state.

Command: TTGR

Note

If a triangle center is missing (or displayed in a different style depending on your setup), it usually indicates that the triangle is not drawn or not updated.

^ Back to top

Shade Triangles TTH

Applies shading to triangles for easier visual inspection of the surface.

Shading is especially helpful to detect spikes, wrong connections, and local inconsistencies.

Command: TTH
Triangle shading example

Shaded triangles for visual inspection

Tip

You can toggle shading on/off during editing with TTHR.

^ Back to top

Remove Triangle Shading TTHR

Removes triangle shading.

Use this to return to a clean wireframe view after inspection.

Command: TTHR
^ Back to top

Send Triangles to Back TTB

Sends the triangle entities behind other drawing objects (Draw Order: Back).

Useful when triangles obstruct other design entities during editing.

Command: TTB
Triangles to back

Triangles displayed behind other entities

^ Back to top

Bring Triangles to Front TTF

Brings triangles in front of other drawing objects (Draw Order: Front).

Use this when you want triangle edges to be clearly visible during inspection.

Command: TTF
Triangles to front

Triangles displayed in front of other entities

^ Back to top

Swap Two Triangles TTR

Swaps two triangles by selecting them, allowing fast local corrections.

This is a practical editing tool when you need to quickly improve temporary contours or the surface appearance without a full rebuild.

Command: TTR

Note

You can Undo during the command if you delete or swap a triangle unintentionally.

^ Back to top

Delete Triangle TTD

Deletes a selected triangle.

Use this for local cleanup when a triangle connection is clearly wrong and should be removed before rebuilding or manually re-triangulating.

Command: TTD
^ Back to top

Toggle Triangle Layers TTV

Toggles the visibility of triangle layers.

If triangle layers are visible they will be turned off; if they are off, they will be turned on.

Command: TTV

Tip

Keep this command handy during inspection and editing for quick visibility control.

^ Back to top

Toggle Point Layers SSV

Toggles the visibility of point layers used for DTM work.

Use this together with TTV to quickly switch between points-only, triangles-only, or combined views.

Command: SSV
^ Back to top

Bulk Delete Triangles ZEEDTM

Deletes triangles in bulk.

Use this when you want to clear a triangulation set (partly or fully) before rebuilding.

Command: ZEEDTM
Filters / selection options

Selection options / filters

^ Back to top

Delete Triangles Inside Polylines ZDTMD

Deletes triangles located inside selected polylines.

This command is commonly used to remove triangles inside areas where no triangulation should exist (e.g., buildings, retaining walls, asphalt, steps).

Command: ZDTMD

Workflow

  • Select one or more closed polylines that define the delete areas.
  • Triangles inside these boundaries are removed.
  • Optionally isolate non-DTM layers before running (e.g., with your standard layer isolation tools) to speed up selection.
^ Back to top

Export Triangles to File ZXTIN

Exports selected triangles to an external file format.

This export can be used by third-party applications for cross-sections and volume computations, or for interoperability workflows.

Command: ZXTIN

Export content

Each triangle is exported as three vertices (A, B, C) with coordinates:

Xa, Ya, Za, Xb, Yb, Zb, Xc, Yc, Zc
Export triangles - main dialog

Drawing example

Tip

Use selection filters to export only the required triangle set (e.g., within a boundary). For selection with filters, see: Object selection with filters.

DTM Ribbon

DTM Ribbon

^ Back to top