Isometric: Lines on my Boxes

Post questions on how to use or achieve an effect in Inkscape.
Lit
Posts: 3
Joined: Sun Jul 15, 2012 5:01 am

Isometric: Lines on my Boxes

Postby Lit » Sun Jul 15, 2012 5:13 am

Hi I'm really new to Inkscape. I've been learning how to do isometric art, but I have one problem.

When I save what I'm working on, no matter what I do, I have lines appear between the 'squares' of the 3d boxes.

How I create a regular box is with the bezier tool and a lot of snapping.
1. I make the 4 lines for the top box in a diamond shape
2. I make the 4 lines for the two sides that you can see.
3. For each of the 3 boxes I created, I turn off the lines and fill them in.
4. I ctrl +g then ctrl + d to group and then duplicate the box
5. I move the newly duplicated box into a place next to the original to create a 'bigger' box.
6. I've tried numerous things such as grouping the 2 boxes together.

However when I save this there is a line that appears in between the original box and the duplicated box.
I attached an example.

There are so many reasons this could be happening and I have no clue where to start searching.
Some ideas:
Snapping settings do not allow the 2 items to 'mate' or be connected? I highly doubt this.
When I remove the lines on the bezier boxes it isn't filling in where the lines were?

Thanks for any help
Attachments
drawing.svg
(4.36 KiB) Downloaded 145 times

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Isometric: Lines on my Boxes

Postby brynn » Sun Jul 15, 2012 5:59 am

Image
Welcome to InskcapeForum!

I know exactly what you're talking about. It has something to do with how Inkscape creates those crisp, clean, vector lines -- anti-aliasing. So there's no fixing it. The only thing I can think of, would be to use a base object that's the shape of the whole box, and the color of the darkest side. Then add the other 2 parallelograms on top of it. You'll still have to make one of the parallelograms slighly larger. But I don't know any other way to a handle it....well, unless you give the 3 parallelograms a stroke. The stroke would probably cover it up.

Lit
Posts: 3
Joined: Sun Jul 15, 2012 5:01 am

Re: Isometric: Lines on my Boxes

Postby Lit » Sun Jul 15, 2012 6:49 am

I'm using Inkscape 0.48.2 r9819.

I tried enabling the strokes to the same color as the fill but that still wasn't a great solution.

I did a search on 'gap between objects' and druban you did have a post viewtopic.php" onclick="readonly();return false;"uncited">
"For onscreen display, the line between objects that are touching each other, as others have observed, goes away at certain zoom levels. I determined these to be zooms that are multiples of 5, so that one can enter such a magnification in the bottom right hand corner to get accurate onscreen results."


That actually doesn't work for me. At 200% the line is very visible in Inkscape as well at 100% and a few others.

... the workarounds that have been proposed over time involve either overlapping the objects a tiny bit, or putting another object behind them to cover the rendered "gap", neither of which seem very satisfactory. Aligning the objects to the pixel grid, as far as i can tell, does not resolve the problem.


Not sure I want to resort to having to add more objects just to cover a gap between objects. I really was enjoying snapping to grid in isometric, so overlapping seems like quite a bit of extra chore.

"For bitmap export, the result is similarly accurate, i.e. an anomalous line is NOT displayed, at export resolutions that are multiples of 3. This is set in the export bitmap dialog box. Once the bitmap is exported, if one needs a resolution other than the one used for export, there are a variety of image editors that one can use to change the embedded resolution of the bitmap. if one needs a bitmap of a very specific pixel dimension, then of course one has to resize the drawing in Inkscape prior to exporting; this is complicated but alas, necessary.


I originally was saving the file as a png using "Save As" not export. Originally doing this was saving it w/ the line. When I chose to export as a bitmap the line goes away no matter what resolution I use.
It does bring to light that I don't know what the difference between "Save As png" and "Export as Bitmap in png"

However, I think the export as bitmap might end up working. It would appear from searching that most people agree it has to do with the anti-aliasing. Thanks for the help

User avatar
druban
Posts: 1917
Joined: Fri Nov 20, 2009 10:48 pm

Re: Isometric: Lines on my Boxes

Postby druban » Sun Jul 15, 2012 7:35 am

You are not doing anything in correctly. This is a glitch in Inkscape's rendering that does not have a fix at this time, and I am on the most recent Windows build available, so it's not in the future as far as I can see... (14 inches :D )

However I can offer you a very slightly effective solution. The problem is most noticeable between paths that have the same fill. Select these paths and combine them (path menu). The problem should go away, at least for those paths. Sorry i can't offer a better workaround, but at least this method doesn't add anything unwanted to your drawing!
Off topic:
P.S. Have you considered using the :tool_3dbox: tool for your iso drawing? Once you setup the angles in the tool control bar any box you draw will be aligned to that isometric ratio. You can use ctrl-d to duplicate a box and drag the central x to any location, while constraining your movement to the axes with the shift and ctrl keys.
rect4370.png
rect4370.png (69.66 KiB) Viewed 1064 times
Your mind is what you think it is.

Lit
Posts: 3
Joined: Sun Jul 15, 2012 5:01 am

Re: Isometric: Lines on my Boxes

Postby Lit » Sun Jul 15, 2012 8:30 am

Thanks for the replies. I'm trying to figure out the 3d tool now, but I apparently will need to read some literature on it. I also figured out Union works too for getting rid of the gap.

There is an FAQ entry for this, but I was looking for 'lines' and 'gaps', not 'seams'


Return to “Help with using Inkscape”