[SOLVED]Sketch Different in in and out of edit mode

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!
Jeanmimi0168
Posts: 15
Joined: Thu Apr 13, 2017 7:03 am

[SOLVED]Sketch Different in in and out of edit mode

Post by Jeanmimi0168 »

Hello,

Sorry, English is not my mother tongue, if you do not catch something, please ask.

Weird behaviour in one sketch (several parts body, no links between bodies apart a spreadsheet sharing parameters).
In edit mode it takes all modifications and they are recorded, out of this mode, it looks always the same, mods are not take into account.

After deleting sketch and re-creating one, tried to achieve same operations:
  • project a point from another sketch (in the same body),
    --> save here, no errors
    create construction line
    Constraint angle of this line with horizontal axis of sketch
    Create a point and symmetrize it to projected point with construction line
    Create 2 concentric arcs and two lines
    here this error appears (did not try to check between save and this step) and sketch do not looks the same in and out of edit mode.
Capture du 2017-04-13 09-19-39.png
Capture du 2017-04-13 09-19-39.png (14.34 KiB) Viewed 1572 times
BTW, made same type of sketch on the other side of my model, worked great, only difference is that I used two projected point, not one and a symmetry constraint.

OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10802 (Git)
Build type: None
Branch: master
Hash: 10ce910c03347a90712327a7cc7be2bcdee13afc
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0

Note: tried to open the file in 0.15, sketch has the same behaviour.

Any hints ? known problem?

Thanks in advance, I'll try to remove confidential stuff inside the file to share it by MP if relevant.
Attachments
pb.png
pb.png (15.25 KiB) Viewed 1572 times
Last edited by Jeanmimi0168 on Sun Apr 23, 2017 7:37 pm, edited 3 times in total.
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Sketch Different in in and out of edit mode

Post by bejant »

Hi Jeanmimi0168 and welcome here! To me it looks like you'll have to post your FreeCAD .fcstd file (or else post another FreeCAD file that shows the same behavior, but without any confidential content).
jmaustpc
Veteran
Posts: 11207
Joined: Tue Jul 26, 2011 6:28 am
Location: Australia

Re: Sketch Different in in and out of edit mode

Post by jmaustpc »

You could be viewing from a different direction and when entering edit mode your views is rotated to normal to the sketch plane.

Also check the precision value of visualisation in your PartDesign settings.
chrisb
Veteran
Posts: 54293
Joined: Tue Mar 17, 2015 9:14 am

Re: Sketch Different in in and out of edit mode

Post by chrisb »

If you have an error in your model (it is marked in the tree) the 3D view stays in its last state - at least that's how it looks to me. Could this be your problem?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Jeanmimi0168
Posts: 15
Joined: Thu Apr 13, 2017 7:03 am

Re: Sketch Different in in and out of edit mode

Post by Jeanmimi0168 »

jmaustpc wrote:You could be viewing from a different direction and when entering edit mode your views is rotated to normal to the sketch plane.
No, in edit mode dimensions are correct (inside model if I show it), and out of edit mode sketch is out of the model...
Jeanmimi0168
Posts: 15
Joined: Thu Apr 13, 2017 7:03 am

Re: Sketch Different in in and out of edit mode

Post by Jeanmimi0168 »

chrisb wrote:If you have an error in your model (it is marked in the tree) the 3D view stays in its last state - at least that's how it looks to me. Could this be your problem?
Yes, I know, is this the case for the sketches too?

Just tried to drag out the end of my construction line out of the closed sketch and now it went back to normal...

Unable to reproduce now.

Thanks all for your time/help!
Jeanmimi0168
Posts: 15
Joined: Thu Apr 13, 2017 7:03 am

Re: [BACK]Sketch Different in in and out of edit mode

Post by Jeanmimi0168 »

Hello all!

Back with this problem.

Attached the file, What is wrong with sketch001?
It doesn't show error at opening, but it is not the same in 3D view and edit mode and after dragging something in edit mode, it shows an error.

Any hints on what I'm doing wrong?

TIA
Attachments
test.fcstd
(7.27 KiB) Downloaded 22 times
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [BACK]Sketch Different in in and out of edit mode

Post by NormandC »

Hello,
Jeanmimi0168 wrote:What is wrong with sketch001?
For one thing, you are not constraining the arcs and line properly.

For a proper tangent condition, you need to only create a tangent constraint between the end points of the arcs and lines, like in this video which I'm linking here for the third time since yesterday :?

phpBB [video]


Also, what's the purpose of that lone point at upper right?
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [BACK]Sketch Different in in and out of edit mode

Post by NormandC »

NormandC wrote:Also, what's the purpose of that lone point at upper right?
This point causes the error because of issue #3009 which was recently introduced by the B-spline knots code. abdullah has already proposed a fix, it should be merged to the master branch in the next day or so, or maybe later since this is the Easter weekend.

Hopefully the next freecad-daily update will have the fix.
Jeanmimi0168
Posts: 15
Joined: Thu Apr 13, 2017 7:03 am

Re: [BACK]Sketch Different in in and out of edit mode

Post by Jeanmimi0168 »

NormandC wrote:Hello,
Jeanmimi0168 wrote:What is wrong with sketch001?
For one thing, you are not constraining the arcs and line properly.

For a proper tangent condition, you need to only create a tangent constraint between the end points of the arcs and lines, like in this video which I'm linking here for the third time since yesterday :?
Ok, thanks, I'll do that, could that be the reason of the error?
NormandC wrote:
Also, what's the purpose of that lone point at upper right?
It's a reference, I had lots of constraints to origin of the sketch and this point was one of my references.
Last occurrence of this problem, I removed all constraints to origin and did some changes on the topology of the sketch and problem disappeared so I tried that...
Post Reply