You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to hatch a shape that has another enclosed shape, in some cases the fill is incorrect. It seems that some sharp edges make a difference, but not 100% sure.
Attached is an example DXF, where the areas are letters of a particular font converted to curves (by doing Explode).
Original drawing:
Select all curves of one letter at a time and do a solid hatch. Here is what I get:
optimizeContours() isn't evolved enough yet to cope with selected, non-closing entities. (a workaround is to split the hatch-areas into individual non-intersecting ones.) ravas, could you please assign me (-assuming that's the way to do it) and i try beef it up
@FelixNotTheCat you're welcome to work on this, but assigning is prohibited to team members.
So I assigned myself to give you the chance to work on it.
The recommend way is to fork LibreCAD and work on your own fork. Then we can discuss solutions there and finally create a pull request that we can merge your solution.
If you hit any issues, don't hesitate to ask here. Thanks for your contribution.
@lordofbikes many thanks Armin -simply don't want to step on others' toes, or do redundant work. Pls see today's LibreCAD/ commit (i.e. rs_hatch.cpp and rs_entitycontainer.cpp). It's far from a complete (hatch) solution but addresses issues such as highlighted by kostic2000; your/LC team's critiscm/comments/feedback etc is much appreciated.
When trying to hatch a shape that has another enclosed shape, in some cases the fill is incorrect. It seems that some sharp edges make a difference, but not 100% sure.
Attached is an example DXF, where the areas are letters of a particular font converted to curves (by doing Explode).
Original drawing:
Select all curves of one letter at a time and do a solid hatch. Here is what I get:
And here what I expected to get:
Source DXF supplied in the zip
hatch_issue.zip
The text was updated successfully, but these errors were encountered: