Re: [Therion] Showing qestion mark texts broken?
Hi Benedikt, Adding a continuation ? should be a standard use of a TH2 file, check in: points/All Symbols/Possible continuation/Type [continuation]. This should produce a ?, even without the code to produce the text as well. If it's not producing a ? then there's something going wrong before. I've never tried adding continuation text, but I assume you're adding the text to the options box (much like producing a label). Options: -text "water too cold to continue" -code A If you're not adding this to the options then this is what is causing your problems. If it doesn't solve your problems, then we were having fun defining new rocks and Debris a couple of months ago. To insert these new icons, there were a few steps to go through. The test example is on Wookey's website, so I can't take credit for that, but it does just reduce the problem of defining new symbols to a simple file, so is a good example for you to look at and work out. http://wookware.org/surveys/therion/index.html In the Config file Wookey and Andrew defined the symbol in the layout. "Symbol-assign area debris TEST" Then Initiated the Symbol within the Metapost wrapping "initsymbol ("a_debris_TEST") and then defined the symbol. At present I think you may have only defined the symbol. So i'd advise also trying to define your continuation as def p_continuation_TEST(expr pos,theta,sc,al) = Then above assigning the symbol symbol-assign point continuation TEST and then within your metapost wrapper initsymbol ("p_continuation_TEST") By doing this, you should be able to turn on and off your "test" point continuation by # the symbol-assign line. as Wookey and Andrew did below for the AUT and SKBB blocks. Do I make any sense? ---layout from wookeys Debris and rock layout local scale 1 100 symbol-set NZSS symbol-hide group cave-centreline #copy blocksAUT #copy blocksSKBB symbol-assign area debris TEST symbol-assign area blocks TEST #symbol-assign area blocks AUT #symbol-assign area blocks SKBB code metapost initsymbol ("a_debris_TEST"); initsymbol ("a_blocks_TEST"); def a_blocks_TEST (expr p) = T:=identity; symbol_distance:=1.6; scale_factor:= 0.8; pickup PenC; path q, qq; q = bbox p; pair outside; outside:= ulcorner q + up; picture tmp_pic; uu := max(u, (xpart urcorner q - xpart llcorner q)/100, (ypart urcorner q - ypart llcorner q)/100); tmp_pic := image( for i = xpart llcorner q step symbol_distance*uu until xpart urcorner q: for j = ypart llcorner q step symbol_distance*uu until ypart urcorner q: qq := punked (((-.5uu,-.5uu)--(.5uu,-.5uu)--(1.05uu,0.05uu)--(.5uu,.5uu)--(-.5uu,.5uu)--cycle) randomized (uu/2)) scaled (uniformdeviate(0.7)+scale_factor ) rotated uniformdeviate(360) shifted ((i,j) randomized 0.75uu); if xpart (p intersectiontimes qq) < 0: if pointinside((i,j),p,outside): thclean qq; thdraw qq; fi; else: qq:= qq scaled (uniformdeviate(.2)+.5 ) if xpart (p intersectiontimes qq) < 0: if pointinside((i,j),p,outside): thclean qq; thdraw qq; fi; fi; fi; endfor; endfor; ); clip tmp_pic to p; drawoptions(); draw tmp_pic; enddef; def a_debris_TEST (expr p) = T:=identity; pickup PenC; path q, qq; q = bbox p; picture tmp_pic; tmp_pic := image( for i = xpart llcorner q step u until xpart urcorner q: for j = ypart llcorner q step u until ypart urcorner q: qq := punked (((-.2u,-.2u)--(.2u,-.2u)--(.2u,.2u)--(-.2u,.2u)--cycle) randomized (u/2)) rotated uniformdeviate(360) shifted ((i,j) randomized u); if xpart (p intersectiontimes qq) < 0: thclean qq; thdraw qq; fi; endfor; endfor; ); clip tmp_pic to p; draw tmp_pic; enddef; endcode endlayout Regards, Alastair Gott. alastairg...@hotmail.com, M: 07931779380. From: Therion on behalf of Benedikt Hallinger via Therion Sent: 22 December 2018 11:12 To: List for Therion users Cc: Benedikt Hallinger Subject: [Therion] Showing qestion mark texts broken? Hi, i try to add a layout for showing the question mark texts. For this i tried the additions from the websites: a) https://nam01.safelinks.protection.outlook.com/?url=https%3A%2F%2Ftherion.speleo.sk%2Fsamples.doc%2F60.htmldata=02%7C01%7C%7C0ca209370ddc495c109308d667ffbce5%7C84df9e7fe9f640afb435%7C1%7C0%7C636810745412347133sdata=WEN25vHGKS75bd2iOmYY8N3phCECVrGVoznqMnrqC20%3Dreserved=0 b)
Re: [Therion] Add Coordinate data back at last level of Survey Hierarchy?
Hi Everyone, It's solved, I found a way of commenting out enough of the information at a higher level in Survex to allow Therion to take a .3d file with the right amount of information that it can cope with. This means that the UTM30N data was running through Survex (for MarniosaOld) and this was the same cs that I was using for the Silvestre Data. I'm sure I could use the Calibrate function, just as a case in point if you would like me to run it again with the limited .3d dataset to prove its use? thanks for all the help, as a reward I've got a lovely KML file. https://drive.google.com/open?id=1xIOHqp5ypJOUda_AZzf-ypYqArseJsAZ=sharing I'll need to tidy up the survey, as the KML is not coming out correctly. we've got a few things to solve when we return next year. but it adds to the fun. Regards, Alastair Gott. alastairg...@hotmail.com, M: 07931779380, From: Therion on behalf of Wookey via Therion Sent: 14 November 2018 22:59 To: Andrew Atkinson via Therion Cc: Wookey Subject: Re: [Therion] Add Coordinate data back at last level of Survey Hierarchy? On 2018-11-14 20:36 +, Olly Betts via Therion wrote: > On Wed, Nov 14, 2018 at 07:07:50PM +, Andrew Atkinson via Therion wrote: > > I've not had time to play with this, since Alistair showed me the problem > > on the weekend. The bit that I cannot get my head round is when 3d are > > imported with a coordinate system, if a th centreline then connects 2 parts > > of the survey from the 3d or an entrance coordinate is specified for the > > 3d, how does this change, or can it change the coordinates of the data from > > the 3d as the stations from this already has coordinates with little > > information about the connections [I hope that makes sense] > > Survex .3d files record the coordinate system the data is in, if one was > specified. This was added in Survex 1.2.14 (released 2014-07-05). Right, and that is metadata saying, effectively, 'the numbers in this file should be considered to be in a co-ordinate system starting at X,Y on the planet, oriented this way'. > But looking at the therion source code, it appears therion never makes > use of this information. I suspect therion just hasn't been updated for > Survex gaining coordinate system support. > > You can specify the coordinate system as an option to therion's import > command, so for now I guess that's what you have to do. Right, but (if I understand this correctly), that option does not change the numbers in the file. They must be valid for the cordinate system given in the import command. This info effectively says where the origin for the co-ordinates in the file are to be interpreted-as (and stuff about axis angles). So let's say that your survex data was processed in 'local' co-ordinates so it just starts from 0,0 in arbitrary 'nowhere' co-ordinates. What Alistair wants to do is read that in, but use it with therion data that is in real-world co-ordinates (UTM30N). The question is, can that be offset by some arbitrary number on reading-in so that it appears in the right place in the UTM30 co-ordinate system? Is a rotation needed too? Adding a rune to the line saying 'this is already in UTM30' will not have the desired effect, because data in UTM30 doesn't necessarily start from 0,0, and even if it did, his survey presumably needs to be at some other co-ord withint that space. The import -calibrate x y z X Y Z command looks like it should do the right thing, so long as the axes are aligned, by shifting from x y z to X Y Z. Wookey -- Principal hats: Linaro, Debian, Wookware, ARM https://nam01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwookware.org%2Fdata=02%7C01%7C%7C670640a1c1ed4a4e7bcd08d64a84fa34%7C84df9e7fe9f640afb435%7C1%7C0%7C636778332323125751sdata=nhNLhLsOQtUspK5BJMEYGjHCEXwPTIHWFA60VHl4L3Q%3Dreserved=0 ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
[Therion] Add Coordinate data back at last level of Survey Hierarchy?
HI, I was trying to join a file [with Centreline driven by .3d data (.3d)] to another file [with centreline driven by my electronic surveying data (Elec)]. The .3d file seems to come with it's own coordinate system, so we needed to remove(#) the entrance coordinates, from the Elec data. I have joined these two surveys in a .th file and successfully got an output. There are two entrances to the system. So my question is, can I add back coordinate data for one (or more) Entrance(s) at the last level of the survey hierarchy? or will the mismatch between .3d and Elec prevent me from doing this? Regards, Alastair Gott. alastairg...@hotmail.com, M: 07931779380, ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion
[Therion] ***UNCHECKED*** Quick fix exporting from therion to SVG
Hi everyone, Not an ideal situation, but is there a quick way of exporting from therion to SVG or a similar file format. There is a legacy survey that we have found a new extension/entrance to, I have drawn the new cave in therion, but the rest is in a drawing package. We're looking at quickly adding the therion file to the existing drawing. If there's no solution, then it's not too bad, I'll be with a load of therion boffins in a week and a half. And will probably be able to do it properly. Regards, Alastair Gott. alastairg...@hotmail.com, M: 07931779380, A: 8 Earlston Avenue, Denton, Manchester M34 2LF. ___ Therion mailing list Therion@speleo.sk https://mailman.speleo.sk/listinfo/therion