Invalid constraint index: 24
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Invalid constraint index: 24
Hi,
Why do I get this error message when applying an angle of 135° between both lines?
The error messages I get are very cryptic for me. Where can I get explanations for them?
Kind regards
ProApe
Why do I get this error message when applying an angle of 135° between both lines?
The error messages I get are very cryptic for me. Where can I get explanations for them?
Kind regards
ProApe
- Attachments
-
- Invalid constraint index 24.FCStd
- (25.26 KiB) Downloaded 14 times
-
- Invalid constraint index 24.JPG (37.09 KiB) Viewed 1555 times
Re: Invalid constraint index: 24
This needs to be fixed:
Then trim the lines separating those ears from the slot and constrain the sketch properly.
Then trim the lines separating those ears from the slot and constrain the sketch properly.
- Shalmeneser
- Veteran
- Posts: 9475
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Invalid constraint index: 24
Small line cause problem.
- Attachments
-
- Annotation 2022-12-07 104647.jpg (17.02 KiB) Viewed 1534 times
- Shalmeneser
- Veteran
- Posts: 9475
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Invalid constraint index: 24
Beware that bad sketch cannot be padded :
* no T-junction
* clear border with clear inside / outside
Do not try to do everything inside the same sketch : KISS method.
Btw, do not sketch upon face : TNP
* no T-junction
* clear border with clear inside / outside
Do not try to do everything inside the same sketch : KISS method.
Btw, do not sketch upon face : TNP
- Attachments
-
- Invalid constraint index 24_SHALM.FCStd
- (37 KiB) Downloaded 10 times
-
- Annotation 2022-12-07 103910.jpg (17.3 KiB) Viewed 1533 times
Re: Invalid constraint index: 24
Hello,
thank you very much for the quick answers!
@"Shalmeneser": this drawing is indeed from a tutorial, where the drawing is not done on existing surfaces, but always on a new sketch that is placed on the XY-plane. I didn't stick to it now, after I successfully did a tutorial yesterday where drawing was done on existing surfaces, and was of the opinion that in version 0.20 this problem was fixed. Is this not the case?
@"NewJoker": this line that you write has to be fixed, but has nothing to do with the fact that I cannot change the angle?
Sincerely
ProApe
thank you very much for the quick answers!
@"Shalmeneser": this drawing is indeed from a tutorial, where the drawing is not done on existing surfaces, but always on a new sketch that is placed on the XY-plane. I didn't stick to it now, after I successfully did a tutorial yesterday where drawing was done on existing surfaces, and was of the opinion that in version 0.20 this problem was fixed. Is this not the case?
@"NewJoker": this line that you write has to be fixed, but has nothing to do with the fact that I cannot change the angle?
Sincerely
ProApe
- Shalmeneser
- Veteran
- Posts: 9475
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Invalid constraint index: 24
TNP is not fixed atm in 0.21 (and even if it will be fixed, do not sketch upon face).
Re: Invalid constraint index: 24
Sketches should have such invalid lines fixed before applying constraints to ensure their proper functioning.
It seems to be a bit of an exaggeration. Sketching on faces is normal in other CAD software and with TNP almost non-present it shouldn't be so risky to use it. Even now I keep sketching on faces and never encounter TNP. Maybe because I don't make significant modifications to my models and draw rather simple stuff but with a bit of care one can easily avoid issues that can be caused by sketching on faces. Alternative workflows are just too tedious to use on a daily basis.
- Shalmeneser
- Veteran
- Posts: 9475
- Joined: Wed Dec 23, 2020 12:04 am
- Location: Fr
Re: Invalid constraint index: 24
If you want to change the order of some features, you need to works with independent features.
Re: Invalid constraint index: 24
It is not if you expend a whole night modeling and then, suddenly, the model explodes in such a way that it is impossible to repair.
So, in FreeCAD the hardcore approach at modelling is a must if you want a stable model.
Right now, I have a casting model that until now I remade at least a dozen times because of TNP and invalid solid and invalid wires (Open Cascade kernel issues I guess), it is not finished yet but I am seriously considering to make the fillets one by one by sweeping sketches and perhaps resorting to surface modeling, face by face to get those fillets right.
As an example please take a look at the dependency graphic, there are a lot of operations, and not even one references a face or edge. Granted, it is too much trouble, but it is the price to pay for a stable model.
- Attachments
-
- er.png (403.08 KiB) Viewed 1384 times
Last edited by Lonfor on Wed Dec 07, 2022 12:50 pm, edited 2 times in total.
- papyblaise
- Veteran
- Posts: 7872
- Joined: Thu Jun 13, 2019 4:28 pm
- Location: France
Re: Invalid constraint index: 24
parles m'en sur mon chat
- Attachments
-
- index24.JPG (18.65 KiB) Viewed 1401 times