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

[Problem] Sketcher: endpoint-to-endpoint tangent with the same B-Spline does not work #12653

Open
2 tasks done
AjinkyaDahale opened this issue Feb 28, 2024 · 0 comments
Open
2 tasks done
Labels
Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench

Comments

@AjinkyaDahale
Copy link
Contributor

AjinkyaDahale commented Feb 28, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

To reproduce:

  1. Create a B-spline long enough that the end points are close to each other.
  2. Select both endpoints and apply tangent constraint.

The constraint behaves simply as if it were a coincidence constraint.

Full version info

OS: Manjaro Linux (GNOME/gnome)
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36176 +4 (Git)
Build type: Release
Branch: sketcher-join-curves-2
Hash: a292bb447bc532af8068624791087503ebdba89e
Python 3.11.7, Qt 5.15.12, Coin 4.0.1, Vtk 9.3.0, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * Curves 0.5.12
  * Curves.backup1662220878.4365516 0.4.4
  * ExtremeProDark 2.5.3
  * ProDarkThemePreferencePack 1.0.0
  * ProDarkThemePreferencePack.backup1662220881.5889003 1.0.0

Subproject(s) affected?

Sketcher

Anything else?

The problem is that the same normal is used in constraint solving, since the points are coincident. Further, there is also a "reduction" step in planegcs solver that replaces the variables associated with the points' coordinates with a single variable (since there is an equality constraint), so there is no way of knowing which normal to use even with pointers.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench labels Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench
Projects
None yet
Development

No branches or pull requests

2 participants