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] Zero is not a valid datum for the constraint with index 1 when constraining a circle with circular external geometry #928

Closed
2 tasks done
kevenwyld opened this issue Jan 7, 2024 · 0 comments

Comments

@kevenwyld
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Version

0.21 (Development)

Full version info

OS: Ubuntu Core 20 (sway/sway)
Word size of FreeCAD: 64-bit
Version: 2024.104.0.38929 (Git) Snap 124
Build type: Release
Branch: tag: 20240104stable
Hash: 975453f6aa33093edbcc835760d7a65123059b98
Python 3.8.10, Qt 5.15.7, Coin 4.0.1, Vtk 7.1.1, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * Assembly3 0.12.0
  * Curves 0.6.15
  * fasteners 0.4.71

Subproject(s) affected?

Sketcher

Problem description

Screenshot of the problem is below. Steps to reproduce:

  1. Create sketch
  2. draw circle and constrain it's diameter
  3. close sketch
  4. create another new sketch
  5. use the sketcher external geometry tool to select the circle from the previous sketch
  6. draw another circle larger than the first one
  7. attempt to create a distance constraint between the two circles with This tool

This works in upstream freecad.

Screenshot_2024-01-07_15-55-00

Here is a video illustrating the issue:

Video_2024-01-07_16-09-33.mp4

Error log is as follows

15:54:39  Sketcher constraint number 2 is malformed!
15:54:39  Sketcher::setUpSketch()-T:0
15:54:39  The Sketch has malformed constraints!
15:54:39  Sketcher constraint number 2 is malformed!
15:54:39  Sketcher::setUpSketch()-T:0
15:54:39  Sketcher constraint number 2 is malformed!
15:54:39  Sketcher::setUpSketch()-T:0.001
15:54:39  Sketcher constraint number 2 is malformed!
15:54:39  Sketcher::setUpSketch()-T:0
15:54:42  Sketcher constraint number 2 is malformed!
15:54:42  Sketcher::setUpSketch()-T:0
15:54:42  The Sketch has malformed constraints!
15:54:42  App.getDocument('Unnamed').getObject('Sketch001').setDatum(1,App.Units.Quantity('20.000000 mm'))

Anything else?

Thanks!

Code of Conduct

  • I agree to follow this project's Code of Conduct
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

No branches or pull requests

1 participant