[Therion] Scaling issues with .3d files

Philip Schuchardt ohc at vt.edu
Wed Mar 15 02:19:36 CET 2006


I am trying to import a survex .3d file into therion. Currently, I am just 
trying to get all survey point into a pdf file.  Anyway, I get a weird error 
about scaling. Does anyone know how to fix this? 

--------- thconfig ---------
input layout.th
source main.th

export map -layout plan -output Alva_Blankenship_Cave.pdf

---------- layout.th --------
layout plan
  scale 1 200
  units imperial
  legend on
  color map-fg altitude
  transparency on
    
  #PDF DOCUMENTION
  doc-author "Philip Schuchardt"
  code tex-map
    \cavename={Alva Blankenship Cave}
    \comment{Cartography By: Philip Balister and Philip Schuchardt  \copyright 
2006 VPI Cave Club}
  endcode
  
  code metapost
    def l_wall_bedrock_AMER (expr P) =
      T:=identity;
      pickup PenA;
      thdraw P;
    enddef;  
    
    def p_gradient_AMER (expr pos,theta,sc,al) =
        U:=(.15u, .4u);
        T:=identity aligned al rotated theta scaled sc shifted pos;
        pickup PenC;
                
        #Left Hand side
        thdraw (-.3u, -.2u) -- (-.7u, .1u);
        thdraw (-.2u, -.1u) -- (-.4u, .6u);
        
        #Centerline
        thdraw (0u, 0u) -- (0u, .9u);
        
        #Right side
        thdraw (.3u, -.2u) -- (.7u, .1u);
        thdraw (.2u, -.1u) -- (.4u, .6u);
        
    enddef;
    
  initsymbol ("p_gradient_AMER");
  initsymbol ("l_wall_bedrock_AMER");
  endcode
  
  symbol-assign line wall:bedrock AMER
  symbol-assign point gradient AMER
  
endlayout

--------- main.th ---------
survey "EG3"
import EG3.3d
endsurvey "EG3"

--------------------- Compile------------------------
therion 0.3.10
initialization file: /etc/therion.ini
reading ... done
configuration file: thconfig
reading ... done
reading source files ... done
preprocessing database ... done
scanning centreline tree ... done
searching for centerline loops ... done
calculating station coordinates ... done
processing survey data ... 
####################### cavern log file ########################
 1> Survex 1.0.38
 2> Copyright (C) 1990-2005 Olly Betts
 3> 
 4> Survey contains 772 survey stations, joined by 0 legs.
 5> There are 0 loops.
 6> Survey has 772 connected components.
 7> Total length of survey legs =    0.00m (   0.00m adjusted)
 8> Total plan length of survey legs =    0.00m
 9> Total vertical length of survey legs =    0.00m
10> Vertical range = 42949672.68m (from 20 at 42949672.68m to 21 at 0.00m)
11> North-South range = 42949672.86m (from 495 at 42949672.86m to 21 at 0.00m)
12> East-West range = 42949672.91m (from 15 at 42949672.91m to 21 at 0.00m)
13>  772 0-nodes.
14> 
######################### transcription ########################
 4> 772 : eg3.ah38 at EG3
 6> 772 : eg3.ah38 at EG3
10> 20 : eg3.a2 at EG3 -- 21 : eg3.a1 at EG3
11> 495 : eg3.a40 at EG3 -- 21 : eg3.a1 at EG3
12> 15 : eg3.a8 at EG3 -- 21 : eg3.a1 at EG3
13> 772 : eg3.ah38 at EG3
#################### end of cavern log file ####################
done
calculating basic statistics ... done
processing extended elevation ... done
processing references ... done
selecting export objects ... done
processing projection plan ... done
writing Alva_Blankenship_Cave.pdf ...
therion: error -- scale too large -- maximal scale for this configuration is 
1 : 928886



More information about the Therion mailing list