Hatch fill not working

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

Hatch fill not working

masterenol
Hello everyone,

I cannot get a figure to solid fill with the hatch tool. When I try to use Solid Fill, nothing happens even though the preview window shows what I want. When I attempt the Solid Fill, the Command Line states, "Total hatch area =          0"

The Pattern fill does not work either. Nothing shows on the preview window. When I attempt a brick pattern, for example, the Command Line states, "Hatch Error: Invalid contour found!"

Installing LibreCad from source for the 2.0 series(development version) does not seem to solve my hatching problems.

Please help. Any help will be very appreciated.
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

dxli
Please upload a test case dxf to show the problem
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

masterenol
Is a 'test case file' a special type of file?

Here is a dxf file I made just recently in which I cannot use the hatch tool:

http://expirebox.com/download/5f2cc15715f4137d4d1e15a11f1fabbb.html
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

LordOfBikes
Administrator
The test file is obviously OK.
I could create hatch and solid fill with LibreCAD 2.0.7-45-g00c66c0 on both, the circle and the square.

But the tool seems to be broken, in latest version 2.0.7-335-g3e7b56e hatch and solid fill doesn't work anymore.

We have to bisect this to locate the buggy commit.

Thus, it's not your fault. If you can build from source, you may checkout an older commit, e.g. 00c66c0 or wait for removal of this bug.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

dxli
pushed a fix to master:

https://github.com/LibreCAD/LibreCAD/commit/51ecc46647b332ccee95007ee99292406a5dd7ec

Please test nightly builds after this commit.
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

LordOfBikes
Administrator
Solid flll works with latest commit, but hatch patterns are still broken.
The patterns are there in the drop down box, but I have no preview and no hatch is created.
The command widget message says hatch area is greater than 0.

I've narrowed it down to commit f5503862dbfcc6f61ac320b6d87dc0c8634148ae as first bad commit, the same when solid fill stops working.

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

dxli
I will review this commit again.
LordOfBikes wrote
Solid flll works with latest commit, but hatch patterns are still broken.
The patterns are there in the drop down box, but I have no preview and no hatch is created.
The command widget message says hatch area is greater than 0.

I've narrowed it down to commit f5503862dbfcc6f61ac320b6d87dc0c8634148ae as first bad commit, the same when solid fill stops working.

Armin
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

dxli
7bb339f25a48e28854eae25b1f766ec429f3a141
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

dxli
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

LordOfBikes
Administrator
Yes, that was it, it works for me now.

Thanks,

Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution
Reply | Threaded
Open this post in threaded view
|

Re: Hatch fill not working

masterenol
Cool! I can solid fill shapes now! Was this due to a recent update? Thanks for the help!

Now I just gotta experiment with my custom shapes so I can solid fill those too.