svgexport: can't get rid of clipping
svgexport: can't get rid of clipping
hi everybody,
could you please try and help me with some problem i have with exporting a dwg file to svg?
i'm trying to do it with dwgdirect 2.06 (x86 gcc 4.1) on ubuntu v8.04.1.
i've got a number of dwg files which i'd like to export to svg. not as a whole, but only a small set of layers.
i've written a small wrapper program around svgexport (more specifically, the svgexportcommand class). the exported drawing looks good if i don't touch the frozen-state of any layer, so most of them are shown. but with some of them turned off by using setisfrozen(true), i see some strange clipping: either at the bottom of the drawing, or at the left, some small part of the picture is chopped off.
i have fiddled a little with the output width and height (parameters that are passed to odgslayouthelper:

nsize(0,w,h,0) before doing odgslayouthelper::update(0)), but that only seems to have an effect on which edge, left or bottom, the clipping is applied to.
i don't have any experience with dwg and am only using dwgdirect for a few days, so please forgive me if i'm being dumb.
does any of you have some pointers as to what i should have a look at or what i might be doing wrong?
thanks a lot
----daniel
perhaps you can reproduce the behaviour in our samples, inserting some modifications.
then you may post your modifications and the dwg file on the forum, so that it would be possible to look at the probem.
vladimir