View Issue Details

IDProjectCategoryView StatusLast Update
0004467SketcherBugpublic2021-02-06 06:48
ReporterTedM Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Target Version0.20 
Summary0004467: Cloning and placing to automatically constrain to old objects creates malformed constraints
DescriptionReferencing this thread.

Creating a circle and connected line and then cloning these and placing the clone to automatically constrain to original objects generates a malformed constraint.

I have reproduced this as far beck as 0.19.21125 which is the earliest 0.19 I have.

I cannot reproduce this on 0.18.4, possibly because the automatic constrain on clone placement doesn't work.
Steps To Reproduce1. Start FreeCAD.
2. Open the report view panel at the bottom of the screen.
3. Create a new document.
4. Go to the Part Design WB.
5. Create a body.
6. Create a sketch on the XY plane.
7. Place a circle, not constrained in location and constrain the radius to 2.5mm.
8. Place a line with one end constrained to the center of the circle and the other end to the right. Add a horizontal constraint and a length constraint of 14mm.
9. Select both objects and then slowly double-click the center of the circle so that everything is still selected and the circle center is last selected.
10. Clone the objects and use the mouse to move the clone reference point onto the right end of the line so that the constrained constraint symbol (a circle on a diagonal cross) shows to make the cloned circle constrained to the old line and click the mouse button.
11. These errors will immediately appear in the report window:
12:03:06 Sketcher constraint number 8 is malformed!
12:03:06 Sketch Sketch has malformed constraints!
12:03:06 Sketcher constraint number 8 is malformed!
12:03:06 Sketcher constraint number 8 is malformed!
12:03:06 Sketch Sketch has malformed constraints!

In 0.18.4, step 10 above still shows the constrained constraint symbol (just a dot in that release) but the cloned line and original circle does not constrain.
Additional InformationThe attached file is the result of the above procedure.
TagsNo tags attached.
FreeCAD InformationOS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22665 (Git)
Build type: Release
Branch: master
Hash: b0d7850406e046f3b7a8cd5da261e7d54df6bd99
Python version: 3.8.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Activities

TedM

2020-10-18 20:46

reporter  

TedM

2020-10-18 20:49

reporter   ~0014910

So, small error in procedure. Step 10 should read:

10. Clone the objects and use the mouse to move the clone reference point onto the right end of the line so that the constrained constraint symbol (a circle on a diagonal cross) shows to make the cloned circle constrained to the old line and release click the mouse button.

openBrain

2020-10-21 15:50

developer   ~0014919

@TedM : I fixed the typo in the original text according your note ;)

yorik

2022-03-03 13:55

administrator   ~0016949

This ticket has been migrated to GitHub as issue 6116.

Issue History

Date Modified Username Field Change
2020-10-18 20:46 TedM New Issue
2020-10-18 20:46 TedM File Added: malformed constraints created.FCStd
2020-10-18 20:49 TedM Note Added: 0014910
2020-10-21 15:49 openBrain Status new => acknowledged
2020-10-21 15:49 openBrain Description Updated
2020-10-21 15:49 openBrain Steps to Reproduce Updated
2020-10-21 15:49 openBrain FreeCAD Information OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.22665 (Git) Build type: Release Branch: master Hash: b0d7850406e046f3b7a8cd5da261e7d54df6bd99 Python version: 3.8.6 Qt version: 5.12.9 Coin version: 4.0.0 OCC vers... => OS: Windows 10 (10.0) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.22665 (Git) Build type: Release Branch: master Hash: b0d7850406e046f3b7a8cd5da261e7d54df6bd99 Python version: 3.8.6 Qt version: 5.12.9 Coin version: 4.0.0...
2020-10-21 15:50 openBrain Note Added: 0014919
2021-02-06 06:48 abdullah Target Version => 0.20