View Issue Details

IDProjectCategoryView StatusLast Update
0003792FreeCADBugpublic2019-01-29 18:22
ReporterJuzujka Assigned To 
PrioritynormalSeverityblockReproducibilityhave not tried
Status closedResolutionno change required 
PlatformLinuxOSUbuntuOS Version18.04.1 LTS
Product Version0.17 
Summary0003792: part disappears after adding sketch
DescriptionI wanted to make a sketch inside part.
Steps To Reproduce1. add sketch
2. move to part (SFP_module_sealed_connector_medium)
     part in tree, but invisible
3. I move some bodies outside part, body appears
TagsSketch
FreeCAD Information

Activities

Juzujka

2019-01-25 06:56

reporter  

error_part_disappears.FCStd (3,776,501 bytes)

Juzujka

2019-01-25 09:07

reporter   ~0012506

other steps to reproduce

1) I have project with parts inside parts.
2) choose Sketcher.
3) New Sketch.
4) In the Tree view move sketch from root to part in part.
5) Try to edit Sketch
6) CRUSH

wmayer

2019-01-25 17:11

administrator   ~0012508

Your project has a cyclic dependency and thus is broken. The part container SFP_module_sealed_connector_medium (internal name is Part009) has a dependency to itself.

Run the Python snippet below to see if this fixes it.

grp=App.ActiveDocument.Part009.Group
grp.remove(grp[26])
App.ActiveDocument.Part009.Group=grp

Kunda1

2019-01-25 17:26

administrator   ~0012513

@Juzujka please follow our guidelines (big yellow banner at the top of the page). We ask not to post only 0.18dev tickets and also to verify if the issue is in fact a bug by first confirming in the forums.

Marking this ticket as 'Feedback'

Juzujka

2019-01-28 07:21

reporter   ~0012537

Last edited: 2019-01-28 07:22

Thank you, wmayer. The part appears.
Can you tell me, how have you find it?
How to find cyclic dependencies in a FreeCAD project?
(and do not make it).
I do not see in Python console messages about dependencies.
>>> import FreeCAD
>>> FreeCAD.open(u"... /error_part_disappears.FCStd")
>>> App.setActiveDocument("error_part_disappears")
>>> App.ActiveDocument=App.getDocument("error_part_disappears")
>>> Gui.ActiveDocument=Gui.getDocument("error_part_disappears")
and nothing more.

Juzujka

2019-01-28 16:28

reporter   ~0012545

I have found

Tools->Dependency graph

This tool helps!

Kunda1

2019-01-29 18:22

administrator   ~0012555

No change required
Closing ticket

Issue History

Date Modified Username Field Change
2019-01-25 06:56 Juzujka New Issue
2019-01-25 06:56 Juzujka Tag Attached: Sketch
2019-01-25 06:56 Juzujka File Added: Screenshot from 2019-01-25 09-43-11.png
2019-01-25 06:56 Juzujka File Added: error_part_disappears.FCStd
2019-01-25 09:07 Juzujka Note Added: 0012506
2019-01-25 17:11 wmayer Note Added: 0012508
2019-01-25 17:26 Kunda1 Status new => feedback
2019-01-25 17:26 Kunda1 Note Added: 0012513
2019-01-28 07:21 Juzujka Note Added: 0012537
2019-01-28 07:21 Juzujka Status feedback => new
2019-01-28 07:22 Juzujka Note Edited: 0012537
2019-01-28 16:28 Juzujka Note Added: 0012545
2019-01-29 18:22 Kunda1 Status new => closed
2019-01-29 18:22 Kunda1 Resolution open => no change required
2019-01-29 18:22 Kunda1 Note Added: 0012555