line shows on closed sketch and not on opened sketch

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!
kresop
Posts: 5
Joined: Fri Jul 01, 2022 8:27 am

line shows on closed sketch and not on opened sketch

Post by kresop »

I have a little vertical line showing up when the sketch is closed but when I open it it dissapears.

when sketch is closed:
closed_sketch.png
closed_sketch.png (6.26 KiB) Viewed 539 times
when sketch is opened:
opened_sketch.png
opened_sketch.png (17.84 KiB) Viewed 539 times
When I opened sketch I clicked on every element in the list and that line is not there but when I close the sketch it shows up.


I have one more example on the same sketch.

closed sketch:
closed_sketch_2.png
closed_sketch_2.png (6.38 KiB) Viewed 537 times
when sketch is opened:
closed_sketch_2.png
closed_sketch_2.png (7.86 KiB) Viewed 537 times
chrisb
Veteran
Posts: 53945
Joined: Tue Mar 17, 2015 9:14 am

Re: line shows on closed sketch and not on opened sketch

Post by chrisb »

Hi and welcome to the forum!

Please upload your file.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Bance
Veteran
Posts: 4191
Joined: Wed Feb 11, 2015 3:00 pm
Location: London

Re: line shows on closed sketch and not on opened sketch

Post by Bance »

Most likely, they are in other sketches, but on different planes.....
kresop
Posts: 5
Joined: Fri Jul 01, 2022 8:27 am

Re: line shows on closed sketch and not on opened sketch

Post by kresop »

Here is the file
Attachments
al-profile.FCStd
(11.33 KiB) Downloaded 14 times
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: line shows on closed sketch and not on opened sketch

Post by thomas-neemann »

kresop wrote: Mon Jul 04, 2022 6:41 am
it seems to have to do with the contrains. if you delete it, the line disappears
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
papyblaise
Veteran
Posts: 7877
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: line shows on closed sketch and not on opened sketch

Post by papyblaise »

clear all constraints and half of the profile
reconstruct the geometric constraints, a Pad and a symmetry
Attachments
profil.FCStd
(29.31 KiB) Downloaded 6 times
profil.JPG
profil.JPG (27.07 KiB) Viewed 379 times
openBrain
Veteran
Posts: 9034
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: line shows on closed sketch and not on opened sketch

Post by openBrain »

kresop wrote: Mon Jul 04, 2022 6:41 am Here is the file
The sketch is broken. Solver can't solve it. You should solve this issue first as errors in sketches (in features in general) stops display updating.
User avatar
Willem
Veteran
Posts: 1852
Joined: Fri Aug 12, 2016 3:27 pm
Location: Lisse, The Netherlands

Re: line shows on closed sketch and not on opened sketch

Post by Willem »

Found it!!
Constraint79 is a horizontal constraint between the left lower circle and the line on the X-axis. Delete this and the error is gone.
kresop
Posts: 5
Joined: Fri Jul 01, 2022 8:27 am

Re: line shows on closed sketch and not on opened sketch

Post by kresop »

Willem wrote: Mon Jul 04, 2022 7:38 am Found it!!
Constraint79 is a horizontal constraint between the left lower circle and the line on the X-axis. Delete this and the error is gone.

AMAZING !!!

Thank you!
kresop
Posts: 5
Joined: Fri Jul 01, 2022 8:27 am

Re: line shows on closed sketch and not on opened sketch

Post by kresop »

papyblaise wrote: Mon Jul 04, 2022 7:23 am clear all constraints and half of the profile
reconstruct the geometric constraints, a Pad and a symmetry
Thank you! It is a good solution although Willems is more specific.
Post Reply