[bug#2682] -constraints with external geometry disapear after closing/opening the 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!
User avatar
nemesis
Posts: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

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

Post by nemesis »

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 3092 times
2nd step make a pad :
pad_1.PNG
pad_1.PNG (27.46 KiB) Viewed 3092 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 3092 times
Back in the sketch, all external reference have disapear :
sketch2.PNG
sketch2.PNG (48.92 KiB) Viewed 3092 times
link is lost with the datum plane (back to 70°):
pad_3.PNG
pad_3.PNG (28.47 KiB) Viewed 3092 times
Last edited by nemesis on Tue Mar 07, 2017 12:24 pm, edited 2 times in total.
User avatar
nemesis
Posts: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

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

Post by nemesis »

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

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

Post by NormandC »

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.

[quote="The "Bug submission guidelines" forum"]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.[/quote]
User avatar
r-frank
Veteran
Posts: 2180
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

Post by r-frank »

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: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

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

Post by nemesis »

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

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

Post by DeepSOIC »

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.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

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

Post by DeepSOIC »

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: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

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

Post by nemesis »

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: 372
Joined: Tue Mar 25, 2014 11:24 pm
Location: France, Lyon

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

Post by nemesis »

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
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

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

Post by Kunda1 »

@nemesis does this bug still exist ?
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Post Reply