[Therion] Inkscape import/export plugins

2011-03-08 Thread Footleg
Looks like I have the old version. I'll download the latest, thanks.

In my case where I have two types of lines in my inkscape file (walls and
survey centrelines) it was very useful to be able to export all lines of a
certain thickness as a specified therion line type. Is there a way to mark
all lines in a selection in inkscape so that the plug-in gets the right type
for them?

Another really useful addition would be the option to automatically join
lines which have end nodes at the same coordinates automatically on export.
My drawing in inkscape has lots of very short line segments and it would be
very handy if these could be exported as longer line objects in the th2
file?

Regards,
Footleg

On 8 March 2011 10:36, Thomas Holder  wrote:

> On Mar 8, 2011, at 10:22 AM, Footleg wrote:
>
>> - Regardless of what I name my layers in inkscape, my scraps get names
>> like 'layer1', 'layer2', etc. when I convert to th2 with the layers as
>> scraps option.
>> - If I select the line type to be 'survey' in the plug-in options, the th2
>> file created contains wall lines.
>>
>
> do you have an old version of th2_output.inx and th2_output.py? Sorry for
> the hassle, my new set of plugin files replaces the previously published
> export plugin (available from
> http://therion.speleo.sk/wiki/doku.php?id=inkscape). The new output plugin
> does not have a "Line Type" option anymore in favour of on-canvas
> annotation.
>
>
>  - When working with sketches which have not come from Therion in the first
>> place, you have to be careful what coordinate scale you export your inkscape
>> drawing from. If the coordinates are in the range 0-10 for the entire sketch
>> then it is not possible to zoom in very far in the therion editor to edit
>> the sketch, even if you scale the sketch in therion by setting survey
>> points. If the coordinates are in the range 0-5000 for the entire sketch
>> then things look fine in the sketch editor in therion, but the lox files get
>> created so that when you open them in Loch the scale bars are set to show
>> very large areas (~250km) and the actual cave model is lost somewhere in
>> this massive bounding box. I have found that coordinates in the range 0-500
>> seem to work best. So scale the entire sketch in inkscape in that coordinate
>> range before converting to th2.
>>
>
> I'll have look at that, thanks.
>
>
> Cheers,
>  Thomas
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20110308/234bc0ee/attachment.html>


[Therion] Inkscape import/export plugins

2011-03-08 Thread Thomas Holder
On Mar 8, 2011, at 10:22 AM, Footleg wrote:
> - Regardless of what I name my layers in inkscape, my scraps get  
> names like 'layer1', 'layer2', etc. when I convert to th2 with the  
> layers as scraps option.
> - If I select the line type to be 'survey' in the plug-in options,  
> the th2 file created contains wall lines.

do you have an old version of th2_output.inx and th2_output.py? Sorry  
for the hassle, my new set of plugin files replaces the previously  
published export plugin (available from 
http://therion.speleo.sk/wiki/doku.php?id=inkscape) 
. The new output plugin does not have a "Line Type" option anymore in  
favour of on-canvas annotation.

> - When working with sketches which have not come from Therion in the  
> first place, you have to be careful what coordinate scale you export  
> your inkscape drawing from. If the coordinates are in the range 0-10  
> for the entire sketch then it is not possible to zoom in very far in  
> the therion editor to edit the sketch, even if you scale the sketch  
> in therion by setting survey points. If the coordinates are in the  
> range 0-5000 for the entire sketch then things look fine in the  
> sketch editor in therion, but the lox files get created so that when  
> you open them in Loch the scale bars are set to show very large  
> areas (~250km) and the actual cave model is lost somewhere in this  
> massive bounding box. I have found that coordinates in the range  
> 0-500 seem to work best. So scale the entire sketch in inkscape in  
> that coordinate range before converting to th2.

I'll have look at that, thanks.

Cheers,
   Thomas



[Therion] Inkscape import/export plugins

2011-03-08 Thread Footleg
Thank you for writing this plug-in. I am finding it very useful for
importing survey drawings exported from other drawing programs into Therion.

Some issues I have encountered:
- Regardless of what I name my layers in inkscape, my scraps get names like
'layer1', 'layer2', etc. when I convert to th2 with the layers as scraps
option.
- If I select the line type to be 'survey' in the plug-in options, the th2
file created contains wall lines.
- When working with sketches which have not come from Therion in the first
place, you have to be careful what coordinate scale you export your inkscape
drawing from. If the coordinates are in the range 0-10 for the entire sketch
then it is not possible to zoom in very far in the therion editor to edit
the sketch, even if you scale the sketch in therion by setting survey
points. If the coordinates are in the range 0-5000 for the entire sketch
then things look fine in the sketch editor in therion, but the lox files get
created so that when you open them in Loch the scale bars are set to show
very large areas (~250km) and the actual cave model is lost somewhere in
this massive bounding box. I have found that coordinates in the range 0-500
seem to work best. So scale the entire sketch in inkscape in that coordinate
range before converting to th2.

Footleg

On 7 March 2011 19:58, Thomas Holder  wrote:

> Hi,
>
> I now wrote a short tutorial for the Inkscape import/export plugins on the
> therion wiki:
>
> http://therion.speleo.sk/wiki/doku.php?id=inkscapeplugins
>
> It does not cover general usage of Inkscape, so you should get familiar
> with it befor trying to edit therion th2 files.
>
> marco corvi wrote, On 02/15/11 11:11:
>
>  some feedbacks ...
>> inkscape 0.48.0 r9654 (built yesterday)
>>
>> [1] did not get any layer but the one with the drawing.
>> opened the "layer panel" and it shows only "Layer 1"
>> how does one get to the hidden layers (point types and background
>> images) ?
>>
>
> Layers dialog from "Layer > Layers..." menu.
>
>
>  [2] drawing points as circles works, but then it's like in xtherion:
>> no visual clue about the point type.
>>
>
> but when reloading the saved file, most point will have a visual symbol.
>
>
>  [3] points with orientation (air-draught etc) are displayed correctly
>> when imported. how does one rotate a point ?
>>
>
> click twice (not double click, but with a short pause), then the handles
> change to rotation handles.
>
>
>  [3b] in particular labels can be turned 90 degrees at a time, but this
>> does not affect the orientation in the export
>>
>
> do you mean vertical text? There is no vertical text concept in therion, so
> it cannot be saved to th2 files. If you mean 90° rotation, this should
> indeed be exported!
>
>
>  [4] i loaded a th2 file with two scraps, and i got back a file
>> with one scrap (one layer - one scrap)
>>
>
> Have you selected "All Layers" and checked "Layers as Scraps" on export
> dialog?
>
>
>  [5] "Extensions > Therion > Set..." works
>>
>> [6] a tutorial on the wiki will be great. really, do it!
>>
>
> Cheers,
>  Thomas
>
> ___
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
-- next part --
An HTML attachment was scrubbed...
URL: 
<http://mailman.speleo.sk/pipermail/therion/attachments/20110308/f1821185/attachment.html>