Skip to content

Fix parametricCurve helix approximation - #2094

Open
ASP-SuperExplorer wants to merge 2 commits into
CadQuery:masterfrom
ASP-SuperExplorer:fix-parametric-curve-helix-2084
Open

Fix parametricCurve helix approximation#2094
ASP-SuperExplorer wants to merge 2 commits into
CadQuery:masterfrom
ASP-SuperExplorer:fix-parametric-curve-helix-2084

Conversation

@ASP-SuperExplorer

Copy link
Copy Markdown

Fixes #2084.\n\nThis changes the default smoothing for Workplane.parametricCurve to None. The previous default variational smoothing could severely distort integer-turn periodic-looking curves such as a 4-turn helix.\n\nA regression test covers a unit-radius helix with stop=4 and verifies the sampled radius remains near 1.\n\nTested locally:\n\n\npython -m pytest tests/test_cadquery.py::TestCadQuery::testParametricCurve tests/test_cadquery.py::TestCadQuery::testParametricCurveHelixIntegerTurns -q\n

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.

parametricCurve produces wrong result with high stop value

1 participant