Fixed #704 (DXF reader: rational splines not supported)#705
Merged
klayoutmatthias merged 3 commits intomasterfrom Jan 21, 2021
Merged
Fixed #704 (DXF reader: rational splines not supported)#705klayoutmatthias merged 3 commits intomasterfrom
klayoutmatthias merged 3 commits intomasterfrom
Conversation
…cy is still maintained.
|
Interesting! Are Splines accessible as a primitive object in python?
Lukas Chrostowski
Professor, Electrical and Computer Engineering
University of British Columbia
Quantum Matter Institute
Member, College of the Royal Society of Canada
http://www.mina.ubc.ca/lukasc
http://siepic.ubc.ca
https://qmi.ubc.ca/about/directory/lukas-chrostowski
… On Jan 20, 2021, at 2:17 PM, Matthias Köfferlein ***@***.***> wrote:
You can view, comment on, or merge this pull request online at:
#705
Commit Summary
Fixed issue #704. TODO: replace algorithm by De Boor, check if accuracy is still maintained.
Switch spline interpolation algorithm to De Boor for better numerical stability.
Updated tests with DXF accuracy test, provide a warning for unsupported SPLINE types.
File Changes
M src/plugins/streamers/dxf/db_plugin/dbDXFReader.cc (208)
M src/plugins/streamers/dxf/db_plugin/dbDXFReader.h (2)
M src/plugins/streamers/dxf/unit_tests/dbDXFReaderTests.cc (28)
Patch Links:
https://github.com/KLayout/klayout/pull/705.patch
https://github.com/KLayout/klayout/pull/705.diff
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Collaborator
Author
|
@lukasc-ubc Excellent idea! And done (awaits merge): #706 :) |
klayoutmatthias
added a commit
that referenced
this pull request
Jan 27, 2021
* Fixed issue #704. TODO: replace algorithm by De Boor, check if accuracy is still maintained. * Switch spline interpolation algorithm to De Boor for better numerical stability. * Updated tests with DXF accuracy test, provide a warning for unsupported SPLINE types.
Collaborator
Author
|
Please create a new issue. This one isn't an issue, but a pull request and it is closed. BTW: rational splines are supported. The problem is the order of records that ezdxf produces. The test file I got for developing that feature has a record sequence of while ezdxf produces: KLayout does not digest this order properly. When I manually change it, the circle looks at it is supposed to. Matthias |
Collaborator
Author
|
Never mind. I created an issue for this: #1173 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

No description provided.