ImportLDraw icon indicating copy to clipboard operation
ImportLDraw copied to clipboard

Gaps between freestyle lines in Lego instructions look.

Open ArtiusArt opened this issue 5 years ago • 3 comments

[Hello.]

First of all thanks for your great job and very useful addon. I have an issue with freestyle lines, when i trying to make lego instructions look render. There are gaps in those lines which lay on plane where the stud's cylinder connects with brick plane. And this line looks dashed with random gaps. Maybe there is a way to fix this issue? Or i do something wrong? brick

ArtiusArt avatar May 10 '20 19:05 ArtiusArt

As far as I can tell, this seems to be a problem with all freestyle lines in Blender. I don't know of a solution, but adjusting the camera position by small amounts sometimes helps a little.

TobyLobster avatar May 10 '20 21:05 TobyLobster

Thanks for your reply, I'll give it a try.

ArtiusArt avatar May 11 '20 14:05 ArtiusArt

I think I found the cause for this. LDraw models just have the studs floating as a separate element on top of the brick. This means that where they intersect the top face of the brick isn't quite an edge, meaning that the outlines are hazy at best. To get stronger results, I recommend that you select the studs on the brick and pull them off the surface of the brick by 0.00001 units. Thankfully, if you link the instances of repeated bricks when you import them, this only has to be done for each type of brick instead of every brick.

Hope this helps. It's an irritating fix but perhaps it could also find its way to being integrated into the tool.

Polyducks avatar Aug 02 '20 19:08 Polyducks