-------------------------------------------------------------------------------
DTM - Digital Terrain Model - creates 3D faces TIN model from given 3D points
( originally by Daniele Piazza, enhanced by Arkance Systems - www.cadstudio.cz )
-------------------------------------------------------------------------------
(CZ: esk popis viz ne)

The DTM utility (command) automatically creates an irregular triangular
network (3DFACEs) from a given selection set of 3D objects.

Usage and commands:
Load the DTM utility (e.g. with the APPLOAD command) into your AutoCAD session
(drawing) containing objects in 3D coordinates (block references/inserts,
points, circles, shapes, texts, lines, or any other entities).

Just type the "DTM" command and select the source 3D objects. DTM will load
the selected entities and generates a set of 3DFACEs (in the current layer).
The optimization process can take up to several minutes.

Make sure your scene is near the global world origin (0,0) - otherwise the
optimization arithmetics may not be precise (overlapping faces).

You can load 3D points from a TXT or XLS file into your AutoCAD session with
utilities listed in CAD tips on www.cadforum.cz (see e.g. XLS2Curve).

The "DTMVOL" command computes the volume of your terrain model using the
given reference plane, including the volume above and below this plane. Set
the reference plane elevation according to the lowest point in your model.

The "DTMFLOW" command generated the flow-line on the surface of the model - 
it creates a watershed line (3D polyline) starting in the given point and 
going down to the lowest point on the model or going up to the highest point
on the model (or both). Pick the starting point in the plan view. Set the
step (precision) of the flowline.

The "DTMZ" command displays estimated elevations (Z-coordinates) of X-Y
points (plan) picked in the area of the previously generated DTM model.
If a block DTMpoint (with 1 attribute; sample included) is defined in the
drawing, it will be inserted as an elevation label.

The "DTMRND" command generates a set of random 3D points in the selected area.
The points form a terrain with a ridge and valley.

The auxiliar "DTMPPT" command extracts (creates) 3D points from vertices of
polylines (LWPOLYLINES, 3DPOLYLINES) - e.g. from (elevated) contour lines.
Another option for using points from polylines for DTM is using the MEASURE
command.

The auxiliar command "DTMMESH" (since DTM V1.3) requires AutoCAD 2010 (or
higher). It converts the selected DTM-3DFaces to a single "3D Mesh" object.
3DMesh can be further processed with AutoCAD mesh commands - e.g. smoothed
by MESHSMOOTHMORE. Other DTM commands no longer work on 3D meshes!

The command DTMBORDER (since DTM V1.4) draws a 3D polyline along the outer
border (outline) of the selected 3DFACEs of the DTM model.

This DTM utility uses simplified optimization methods which may yield invalid
results in some situations. The maximum reasonable number of processed points
is about 2.000. Contours (isolines) are not generated.
For professional digital terrain models use e.g. AutoCAD Civil 3D.

---

Notes:
If you have Express Tools loaded, DTM will display progressbar during triangle
optimization.

You can set the fuzzy factor for optimization with the DTMfuzzy LISP variable
- for too small or too large models:
(setq DTMfuzzy 0.01)

You can skip the points on zero plane (Z=0) with the DTMskip0 LISP variable:
(setq DTMskip0 T)

*** MORE INFO ON: www.cadstudio.cz/dtm


 License: DTM is a free utility originally written
 by Daniele Piazza, enhanced by Arkance Systems. Keep
 this documentation with the main VLX LISP file.
 A limited support is provided for this program in
 the discussion forum at www.cadforum.cz.

--------------------------------------------------------------------
Contact:
Arkance Systems CZ s.r.o.
Libalova 1, 149 00 Praha, Czech Republic
info.cz@arkance-systems.com  www.arkance-systems.cz  www.cadforum.cz



----------------------------------------------------------------------------------------
DTM - Digitln model ternu - z 3D bod vytv trojhelnkov model 3DFACE
( pvodn autor: Daniele Piazza, rozeno firmou Arkance Systems - arkance-systems.cz )
----------------------------------------------------------------------------------------

Aplikace (pkaz) DTM automaticky generuje nepravidelnou trojhelnkovou s
3D ploch (3DFACE) ze zadan vbrov mnoiny 3D objekt.

Pouit a pkazy:
Natte aplikaci DTM (nap. pkazem APLTI) do vaeho sezen AutoCADu
(vkresu) obsahujcho objekty v 3D souadnicch (reference blok, body,
krunice, tvary, texty, linie, i dal entity).

Zadejte pkaz "DTM" a vyberte zdrojov 3D objekty. DTM nate vybran entity
a vygeneruje sadu 3D ploch (v aktuln hladin). Vpoet optimalizace me
trvat i nkolik minut.

Ujistte se, e vae scna je blzko globlnho potku (0,0) - jinak mohou
bt aritmetick vpoty optimalizace nepesn (pekrvajc se plochy). Nap.
body v JTSK souadnicch tedy nejprve pesute ble k potku.

3D body z TXT nebo XLS soubor mete do AutoCADu nast pomoc utilit popsanch
v CAD tipech na webu www.cadforum.cz (viz nap. XLS2Curve).

Pkaz "DTMVOL" spote kubaturu vytvoenho modelu ternu vi dan srovnvac
rovin, vetn objemu nad rovinou a pod rovinou. Vku roviny volte dle
nejniho bodu modelu.

Pkaz "DTMFLOW" vygeneruje vodote povrchu modelu - ze zadanho bodu
vytvo proudnici (3D kivku) klesajc do nejniho bodu na modelu nebo
stoupajc do nejvyho bodu na modelu (pop. ob). Bod zadvejte v pdorysu.
Urete krok (pesnost) generovan linie.

Pkaz "DTMZ" zobrazuje odhadovan vky (Z-souadnice) bod X-Y (pdorysnch)
ukzanch v oblasti pedem vygenerovanho modelu ternu. Pokud existuje blok
DTMpoint s jednm atributem, bude vloen jako popiska vky.

Pkaz "DTMRND" vygeneruje sadu nhodnch 3D bod ve vybran oblasti. Body
tvo tern s hebenem a dolm.

Pomocn pkaz "DTMPPT" extrahuje (vytv) 3D body z vrchol kivek (polyar,
LWPOLYLINE, 3DPOLYLINE) - tedy napklad z vrstevnic (s vkou). Tyto body pak
mete vyut pro vpoet modelu. Dal monost vyuit bod z kivek pro DTM
je pkaz DLM (_MEASURE).

Pomocn pkaz "DTMMESH" (od verze DTM V1.3) vyaduje AutoCAD 2010 (nebo
vy). Pevd vybran 3D plochy DMT na samostatn objekt "3D S".
Objekt 3DMesh pak lze dle zpracovvat 3D pkazy AutoCADu - nap. jej vyhladit
pomoc VYHLS͍VCE. Ostatn pkazy DTM s objektem 3Ds ji nepracuj!

Pkaz DTMBORDER (od verze DTM V1.4) vytvo 3D kivku podl vnj hranice
(obrysu) vybranch 3DPLOCH modelu ternu.


Tato DTM utilita vyuv zjednoduen metody optimalizace, kter mohou
v nkterch ppadech podvat nesprvn vsledky. Maximln rozumn poet
zpracovvanch bod je ze cca 2.000 bod. Nejsou generovny vrstevnice (izory)
modelu. Vy funkce nabz aplikace CADstudio GEOsurf.
Pro profesionln modelovn ternu prosm pouijte aplikaci AutoCAD Civil 3D.

---

Poznmky:
Mte-li naten Express Tools, DTM zobraz indikan progressbar informujc o
prbhu optimalizace trojhelnk.

Pomoc LISP promnn DTMfuzzy mete nastavit faktor pesnosti optimalizace (nap.
pro terny s velmi malmi nebo velkmi rozmry:
(setq DTMfuzzy 0.01)

Pomoc LISP promnn DTMskip0 mete peskakovat body lec v nulov rovin (Z=0):
(setq DTMskip0 T)

*** DAL INFORMACE NA: www.cadstudio.cz/apps/dtm


 Licence: DTM je bezplatn utilita, kterou pvodn vytvoil
 Daniele Piazza, doplnn firmou Arkance Systems. Tuto
 dokumentaci distribuujte spolu s hlavnm VLX programem.
 K tomuto freeware programu je poskytovna omezen podpora
 prostednictvm diskusnho fra na www.cadforum.cz


Zkaznci firmy Arkance Systems maj pstup k destkm dalch utilit pro AutoCAD,
Map, Inventor, Revit a dal produkty firmy Autodesk. Kontaktujte Arkance Systems.

--------------------------------------------------------------------
Kontakt:
Arkance Systems CZ s.r.o.
Lbalova 1, 149 00 Praha 4, esk republika
info.cz@arkance-systems.com  www.arkance-systems.cz  www.cadforum.cz
