Sketcher allows Point on B-Spline but creates malformed constraint

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
reox
Posts: 759
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Sketcher allows Point on B-Spline but creates malformed constraint

Postby reox » Tue Mar 24, 2020 11:53 am

If I try to manually create point on line constraint using a point and a b-spline curve, I get this error message:
screenshot-20200324_12491585050554.png
screenshot-20200324_12491585050554.png (7.33 KiB) Viewed 101 times
So far so good.

However, if I create a line and add the endpoint to the B-Spline, the constraint is still created but the log gives:

Code: Select all

Sketcher constraint number 18 is malformed!
I think the automatic constraint creation should not allow point on line constraints, if the line is a bspline.
Is this somewhere already reported?

Code: Select all

OS: Debian GNU/Linux bullseye/sid (i3/i3)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.20196 (Git) AppImage
Build type: Release
Branch: master
Hash: 92d005b26f5a5c45c21d7d5f447e1a8114ef0558
Python version: 3.8.2
Qt version: 5.12.5
Coin version: 4.0.0
OCC version: 7.4.0
Locale: German/Austria (de_AT)
chrisb
Posts: 22330
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher allows Point on B-Spline but creates malformed constraint

Postby chrisb » Tue Mar 24, 2020 2:01 pm

reox wrote:
Tue Mar 24, 2020 11:53 am
Is this somewhere already reported?
I don't think so. I guess we all had hoped it would come soon.
reox
Posts: 759
Joined: Sat Aug 13, 2016 10:06 am
Contact:

Re: Sketcher allows Point on B-Spline but creates malformed constraint

Postby reox » Tue Mar 24, 2020 5:58 pm

chrisb wrote:
Tue Mar 24, 2020 2:01 pm
reox wrote:
Tue Mar 24, 2020 11:53 am
Is this somewhere already reported?
I don't think so. I guess we all had hoped it would come soon.
you mean the feature or the bugreport? :lol:
chrisb
Posts: 22330
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketcher allows Point on B-Spline but creates malformed constraint

Postby chrisb » Tue Mar 24, 2020 6:51 pm

reox wrote:
Tue Mar 24, 2020 5:58 pm
you mean the feature or the bugreport?
:lol:

Please create the latter - or implement the previous :mrgreen: .