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

DXF reader stalls #330

Closed
klayoutmatthias opened this issue Aug 20, 2019 · 0 comments

Comments

@klayoutmatthias
Copy link
Collaborator

commented Aug 20, 2019

The DXF reader stalls when the knot intervals are negative to 0 for spline interpolation.

The reason is a incorrect negative step distance which leads to an infinite loop.

This is the wrong formula:

  //  dbDXFReader.cc: 916++
  double dt = 0.5 * (tn + t0);

The formula should be "tn - t0".

klayoutmatthias added a commit that referenced this issue Aug 20, 2019
klayoutmatthias added a commit that referenced this issue Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.