Skip to topic
|
Skip to bottom
Jump:
TModeling
TModeling Web
TModeling Web Home
Changes
Notify
Index
Search
Webs
BioGeometry
Main
TModeling
TWiki
Edit
Attach
Printable
TModeling.Tin2iso
r1.1 - 17 Jun 2008 - 15:07 - Main.guest
topic end
Start of topic |
Skip to actions
*tin2iso* This program takes a streaming mesh as input and extracts isocontour lines (elevation lines) at user-specified heights and outputs them in a streaming line format. There may be a few untested / unimplemented combinations. ---- Example usage: <pre> >> tin2iso -i ../data/PIE_0015_simp.smb -o ../data/PIE_0015_simp.slb </pre> Extracts 10 contours evenly spaced across the elevation range while killing poorly shaped triangles with edges longer than 500 units. You can look at the results with <pre> >> sl_viewer -i ../data/PIE_0015_simp.slb </pre> Make sure you press _p_ to start loading the lines. <pre> >> tin2iso -i ../data/PIE_0015_simp.smb </pre> If called without any other arguments, it will simply read the entire file and compute and output the number of vertices and triangles and the extent of the bounding box. <pre> >> tin2iso -i ../data/PIE_0015_simp.smb -o ../data/PIE_0015_simp.slb -range 0 30 2 </pre> Same as the first but with contour lines every two units between 0 and 30. <pre> >> tin2iso -i ../data/TO_core_last_cityhall.smb </pre> If called without any other arguments, it will simply read the entire file and compute and output the number of vertices and triangles and the extent of the bounding box. <pre> >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -range 40 170 10 </pre> Creates contour lines every 10 units between 40 and 170. You can look at the results with <pre> >> sl_viewer -i ../data/PIE_0015_simp.slb </pre> Make sure you press _p_ to start loading the lines. <pre> >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -number 50 -kill 1000 </pre> Extracts 50 contours evenly spaced across the elevation range while killing poorly shaped triangles with edges longer than 1000 units. <pre> >> tin2iso -i ../data/TO_core_last_cityhall.smb -o ../data/TO_core_last_cityhall.slb -value 90 -value 120 -value 150 </pre> Extracts contours at elevation 90 and 120 and 150. <pre> >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 0 -o armadillo0.slb -number 50 </pre> Extracts 50 contours evenly spaced across the x-axis (!!!) <pre> >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 1 -o armadillo1.slb -number 50 </pre> Extracts 50 contours evenly spaced across the y-axis (!!!) <pre> >> tin2iso -i ../models/armadillo/armadillo-breadth.smc -xyz 2 -o armadillo2.slb -number 50 </pre> Extracts 50 contours evenly spaced across the z-axis (!!!). You can look at the results with <pre> >> sl_viewer -i armadillo0.slb -i armadillo1.slb -i armadillo2.slb </pre> Press _p_ to start loading the lines and _x_ to change to the next model. For more info: <pre> >> tin2iso -h </pre> --------------- Usage: <pre> tin2iso -i mesh.sma -o isocontour.sla tin2iso -i mesh.smb -value 20.0 -value 40.0 -value 30.0 -value 50.0 -o isocontour.sla tin2iso -i mesh.smb -range 0 300 2 -o isocontour.slb -xyz 1 tin2iso -ismb -number 20 -oslb -kill 100 < mesh.smb > isocontour.slb tin2iso -h </pre> If you find bugs let us know. (isenburg@cs.unc.edu) -- Main.JackSnoeyink - 01 Jun 2008
to top
End of topic
Skip to action links
|
Back to top
Edit
|
Attach image or document
|
Printable version
|
Raw text
|
More topic actions
Revisions: | r1.1
|
Total page history
|
Backlinks
You are here:
TModeling
>
Tin2iso
to top
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback