Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any way to fill color in more than four vertexes or less than four vertexes polyline area? #63

Closed
dazhenhan opened this issue Aug 19, 2016 · 5 comments

Comments

@dazhenhan
Copy link

I am using DxfSolid to fill color for a polyline entity, I saw it supports just four vertexes.
If a polyline entity has three or five(or much more) vertexes, the DxfSolid setting will be invalid.
Can you show me some examples of how to fill a polyline with custom color in right way?

Thank you!

@brettfo
Copy link
Member

brettfo commented Aug 19, 2016

Admittedly I'm not very familiar with the SOLID entity type (represented by DxfSolid in this code base) but according to the official AutoCAD spec here (page 152) (PDF warning), SOLID entities have exactly 4 vertices and you'd have to use a polyline for less/more.

@dazhenhan
Copy link
Author

Thank you for your response.. It seems I have to find another way to fullfill my needs, the spec may be helpful :]

@dazhenhan dazhenhan reopened this Aug 20, 2016
@dazhenhan
Copy link
Author

Sorry for the reopen operate.

Is there have a plan to support for Dxf HATCH(page 98) and Dxf Boundary Path Data(page 101)
?, I found these two parts are very useful to resolve problems like my needs.

@brettfo
Copy link
Member

brettfo commented Aug 22, 2016

I do eventually want to support HATCH entity types as part of #24 (and the corresponding boundary path and pattern data), but it's a complex enough entity that I don't see myself getting around to it any time soon.

@dazhenhan
Copy link
Author

Get it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants