class 'ValueError'>: Datum - error in Basic Part Design Tutorial
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!
class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Hi,
I am totally new to FreeCAD, and so am following the Basic Part Design Tutorial as a starting point.
When trying to add the Length constraint to the top side in the sketch I get the error :-
class 'ValueError'>: Datum 10.00 mm for the constraint with index 10 is invalid
Similar for any other side.
I'd appreciate help on how to correct this problem - doubtless simple, but I have no clue as to where to look.
I have FreeCAD 0.20, running on Windows 10.
With thanks, Paul.
I am totally new to FreeCAD, and so am following the Basic Part Design Tutorial as a starting point.
When trying to add the Length constraint to the top side in the sketch I get the error :-
class 'ValueError'>: Datum 10.00 mm for the constraint with index 10 is invalid
Similar for any other side.
I'd appreciate help on how to correct this problem - doubtless simple, but I have no clue as to where to look.
I have FreeCAD 0.20, running on Windows 10.
With thanks, Paul.
-
- Veteran
- Posts: 3180
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
I'm not seeing any 10 mm reference in [url]s://wiki.freecadweb.org/Basic_Part_Design_Tutorial[/url], so it's not clear at what stage you are stuck. You should upload the file as far as you have progressed.
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Thanks edwilliams16.
Sorry, the actual length in question is 5mm for the top of the sketch ("Create the sketch", point 6.), but it doesn't matter what I enter, the same error occurs. I am guessing there must be some setup restriction here, but I don't know where to find it!
Thanks, Paul.
Sorry, the actual length in question is 5mm for the top of the sketch ("Create the sketch", point 6.), but it doesn't matter what I enter, the same error occurs. I am guessing there must be some setup restriction here, but I don't know where to find it!
Thanks, Paul.
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Please upload your file where you have added everything up to that point. I guess that you have added some other conflicting constraint or that you have added inadvertently additional geometric elements.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
It doesn't help when the image https://wiki.freecadweb.org/images/7/78 ... rofile.png doesn't match the instructions regarding the constraints (hint: 26mm).
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Which tuto are you looking at? The one I see is correct, Point 5Syres wrote: ↑Mon Jun 27, 2022 8:51 am It doesn't help when the image https://wiki.freecadweb.org/images/7/78 ... rofile.png doesn't match the instructions regarding the constraints (hint: 26mm).
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Yes, I'm looking at the same, it's supposed to be an Equals constraint with only one 26mm dimensional constraint, I would have the instruction changed so it's not an Or situation, remember complete newbies expect everything in a tutorial to look exactly the same as their screen even if we know it doesn't always have to be the case.
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Yes I see, I'll make an addition later....
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Done, I changed the image, and added a note about redundant constraints.
Re: class 'ValueError'>: Datum - error in Basic Part Design Tutorial
Gentlemen,
Many thanks for all your inputs. The tutorial I am using is "wiki.freecad.org/Basic_Part_Design_Tutorial".
I abandoned my first effort to follow it, but now have repeated the "Create a sketch" - points 1 to 7 sequence - successfully.
I suspect that I may have had some redundant constraints first time round, as I repeated some points - not seeing any resulting change.
I suspect that my first drawing was a little too "perfect" with exact horizontal, vertical and a closed polyline finish.
Would such a drawing with needlessly applied constraints cause the problem I saw to occur?
With thanks, Paul.
Many thanks for all your inputs. The tutorial I am using is "wiki.freecad.org/Basic_Part_Design_Tutorial".
I abandoned my first effort to follow it, but now have repeated the "Create a sketch" - points 1 to 7 sequence - successfully.
I suspect that I may have had some redundant constraints first time round, as I repeated some points - not seeing any resulting change.
I suspect that my first drawing was a little too "perfect" with exact horizontal, vertical and a closed polyline finish.
Would such a drawing with needlessly applied constraints cause the problem I saw to occur?
With thanks, Paul.