Skip to content

Docs: DXF export of a non-circular ellipse is listed as a native ELLIPSE - #7420

Merged
bflatastic merged 3 commits into
storytold:mainfrom
dotCooCoo:fix/dxf-ellipse-doc-line
Nov 14, 2026
Merged

bflatastic merged 3 commits into
storytold:mainfrom
dotCooCoo:fix/dxf-ellipse-doc-line

Conversation

@dotCooCoo

Copy link
Copy Markdown
Contributor

What and why

The DXF SPLINE line in docs/target-app-parity.md said that a non-circular ellipse keeps the existing fallback. Since #4841, crates/cad/src/scene.rs writes a closed four-cubic ellipse, or a circle scaled out of proportion, as a native ELLIPSE in R13 and later, and only R12 keeps the fallback. An ellipse whose minor-to-major ratio is below 1e-6 is still written as a polyline or spline. The line now says so, as docs/gaps.md already does since #6801. No code changed.

How it was tested

The new text was checked against elliptical in crates/cad/src/scene.rs and the tests ellipses_and_unevenly_scaled_circles_are_native_ellipses and closed_four_cubic_shapes_that_are_not_writable_ellipses_stay_splines in crates/cad/src/tests.rs.

One commit on main at 1e4e3534f:

  • git diff --check: no whitespace errors.
  • cargo xtask ci runs in this pull request's CI.

Checklist

  • cargo xtask ci passes (fmt, clippy, tests, assets, brands, layers, wasm).
  • No panics in shipped code: no unwrap(), expect(), panic!, unreachable!, todo! or
    unimplemented! outside tests, and no unchecked indexing on data from files, parameters or
    messages. Errors are returned as Result and shown to the user
    (why and how).
  • Clean-room: nothing copied from Adobe products or GPL/AGPL code (AGENTS.md).
  • Every new asset has a row in ASSETS.md.

The DXF SPLINE line in docs/target-app-parity.md said a non-circular
ellipse keeps the existing fallback. crates/cad/src/scene.rs writes a
closed four-cubic ellipse, or a circle scaled out of proportion, as a
native ELLIPSE in R13 and later, unless its minor-to-major ratio is
below 1e-6, and only R12 keeps the fallback. The line now says so.
@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 15 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 10 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 124e3cc and 6d8412c.

Files selected for processing: 1

  • docs/target-app-parity.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@bflatastic
bflatastic merged commit 9aa3280 into storytold:main Nov 14, 2026
6 checks passed
@bflatastic

Copy link
Copy Markdown
Member

Merged, thanks @dotCooCoo! It passed its CI checks.

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

Successfully merging this pull request may close these issues.

2 participants