[bug#2682] -constraints with external geometry disapear after closing/opening the sketch

Post here for help on using FreeCAD's graphical user interface (GUI).
User avatar
nemesis
Posts: 176
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

[bug#2682] -constraints with external geometry disapear after closing/opening the sketch

Postby nemesis » Tue Aug 23, 2016 11:33 am

Hi,
I don't know if it's a bug or a non yet implemented feature, so just in case as I found nothing about this in the forum.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8291 (Git)
Build type: Release
Branch: master
Hash: 94f07c85ee99c9cc94e144245fb97bedd0a38771
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

1st step : use external datum plane in sketch constraints
sketch1.PNG
sketch1.PNG (36.9 KiB) Viewed 712 times


2nd step make a pad :
pad_1.PNG
pad_1.PNG (27.46 KiB) Viewed 712 times


3rd step change datum plane orientation to check the link with the sketch (70 to 75°) it works like a charm:
pad_2.PNG
pad_2.PNG (32.66 KiB) Viewed 712 times


Back in the sketch, all external reference have disapear :

sketch2.PNG
sketch2.PNG (48.92 KiB) Viewed 712 times


link is lost with the datum plane (back to 70°):
pad_3.PNG
pad_3.PNG (28.47 KiB) Viewed 712 times
Last edited by nemesis on Tue Mar 07, 2017 12:24 pm, edited 2 times in total.
User avatar
nemesis
Posts: 176
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby nemesis » Tue Aug 23, 2016 11:33 am

and the test file
Attachments
test (2).FCStd
(14.77 KiB) Downloaded 16 times
User avatar
NormandC
Posts: 12072
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby NormandC » Wed Aug 24, 2016 2:52 am

nemesis, the "Part Design module development" forum specifically dictates:
About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!

Your topic is not about development, it's about bug reporting, this should have been posted in the "Help on using FreeCAD" forum.

Please have a look at the "Bug submission guidelines" pinned at the top of the "Help on using FreeCAD" forum.

The "Bug submission guidelines" forum wrote:If you are unsure, discuss the problem on the forum first. Open a new topic here on the forum, in the help section, and ask if what you found is a bug. Other users will surely be able to help you determining what you should do.
User avatar
r-frank
Posts: 1974
Joined: Thu Jan 24, 2013 6:26 pm
Location: Möckmühl, Germany
Contact:

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby r-frank » Wed Aug 24, 2016 9:18 am

Moved topic to "Help on using FreeCAD"-forum ...
Deutsche FreeCAD Tutorials auf Youtube
My GrabCAD FreeCAD-Projects
FreeCAD lessons for beginners in english

Native german speaker - so apologies for my english, no offense intended :)
User avatar
nemesis
Posts: 176
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby nemesis » Wed Aug 24, 2016 7:37 pm

ok,
I thought that debugging a software was part of the devloppment... as I didn't ask for help
;)
DeepSOIC
Posts: 4497
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby DeepSOIC » Wed Aug 24, 2016 10:24 pm

nemesis wrote:and the test file
I have opened your file, edited sketch -> there are no constraints. None. Zip. Just lines, nothing else.

But I seem to be able to confirm your bug - the links to datum planes seem to go away after closing->reopening a sketch.
DeepSOIC
Posts: 4497
Joined: Fri Aug 29, 2014 12:45 am
Location: Saint-Petersburg, Russia

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby DeepSOIC » Wed Aug 24, 2016 10:32 pm

Trying to debug. External geometry links are lost right while opening the sketch. And it is special to datum planes - links to another sketch survive just fine...
User avatar
nemesis
Posts: 176
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: [bug?] -constraints with external geometry disapear after closing/opening the sketch

Postby nemesis » Thu Aug 25, 2016 8:48 pm

DeepSOIC wrote:I have opened your file, edited sketch -> there are no constraints. None. Zip. Just lines, nothing else.


Yep it looks like they disappear when saving the file.
while opening the file on OS X I also loose all the constraint. only the ones with external geometry where loosed on windows, without closing the file, so I have to check tomorrow on windows.

Deepsoic wrote:it is special to datum planes - links to another sketch survive just fine...

good to know, I guess that's easier to find the bug then.... or maybe not.

Bug report here
User avatar
nemesis
Posts: 176
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

Re: [bug] -constraints with external geometry disapear after closing/opening the sketch

Postby nemesis » Mon Aug 29, 2016 9:24 pm

Also confirmed on OS X version:

OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8293 (Git)
Build type: Release
Branch: (detached from 51e23d8)
Hash: 51e23d854e59ab0a23a9ea9b19e74e5f02753d82
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 7.0.0
User avatar
Kunda1
Posts: 631
Joined: Thu Jan 05, 2017 9:03 pm

Re: [bug] -constraints with external geometry disapear after closing/opening the sketch

Postby Kunda1 » Sun Jan 15, 2017 2:28 am

@nemesis does this bug still exist ?