Crash when trying to edit sketch
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
It bugs me too, although I do wonder what my problem is...
Thanks for the very clear drawing.
Thanks for the very clear drawing.
Re: Crash when trying to edit sketch
Hi,
This is a model showing what I had in mind when I said you could advantageously break down your sketch into smaller steps. It assumes that your intent was to pad your original sketch to some defined thickness.
I was able to recreate this model from scratch in less than 10 minutes. I am sure that it took you much more time than that to create and constrain your sketch, with all the construction geometry to define the placement of the circles.
Don't hesitate to ask questions.
Hope this helps,
Norm
This is a model showing what I had in mind when I said you could advantageously break down your sketch into smaller steps. It assumes that your intent was to pad your original sketch to some defined thickness.
I was able to recreate this model from scratch in less than 10 minutes. I am sure that it took you much more time than that to create and constrain your sketch, with all the construction geometry to define the placement of the circles.
Don't hesitate to ask questions.
Hope this helps,
Norm
- Attachments
-
- wedge_design_alternate_normandc1.fcstd
- (39.79 KiB) Downloaded 33 times
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
Thanks NormandC, I appreciate that.
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
I recreated the sketch using your excellent drawing, only to experience the exact same issue.
Does anyone know what might be causing this? Very infuriating.
Does anyone know what might be causing this? Very infuriating.
Re: Crash when trying to edit sketch
It's impossible to say without more information that would be provided by a backtrace. See Debugging
What about other files? Is it specifically this sketch? Why did you not have a look at the file I posted? As I already wrote your method is inefficient.
What about other files? Is it specifically this sketch? Why did you not have a look at the file I posted? As I already wrote your method is inefficient.
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
Other files appear to work fine. However I suspect this issue will occur on newly created sketches as it has already happened twice.
I was creating the sketch in such an inefficient way in order to export it as a .dwg file, but I have taken a look at your (better) method, and will try to export a .dwg from that.
I may try to compile a debugging build of FreeCAD later.
I was creating the sketch in such an inefficient way in order to export it as a .dwg file, but I have taken a look at your (better) method, and will try to export a .dwg from that.
I may try to compile a debugging build of FreeCAD later.
Re: Crash when trying to edit sketch
@ shiny_pepe » Sat Mar 18, 2017 11:17 am
What "editing" did you try to do?
I had no problem modifying, augmenting or pad/Export_to_(dot_STL) your Sketch.
I'm using:
+++
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
+++
Regards.
What "editing" did you try to do?
I had no problem modifying, augmenting or pad/Export_to_(dot_STL) your Sketch.
I'm using:
+++
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6706 (Git)
Build type: Release
Branch: releases/FreeCAD-0-16
Hash: f86a4e411ff7848dea98d7242f43b7774bee8fa0
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
+++
Regards.
-
- Posts: 9
- Joined: Sat Mar 18, 2017 4:12 pm
Re: Crash when trying to edit sketch
I simply click 'edit sketch' and the program crashes.
Re: Crash when trying to edit sketch
Maybe a bit late... I got the same crash one day. Tested versions: 0.17 and 0.18, build from source. Open FreeCAD, create sketch, draw rect, set size constrain (NB!), close editor, edit again - crash... But no problem with 0.16 from ppa:freecad-legacy...shiny_pepe wrote: ↑Sat Mar 18, 2017 4:17 pm When attempting to edit the only sketch in a file, FreeCAD crashes
By chance, I opened python console before (NB!) editing... and no crash! Tested 2..3 times - ok. Then I tried to edit without console - no crash... I don't known, what is the real reason of crashes. I can't reproduce a crash today.
Btw, FreeCAD saves files inside ~/.config and ~/.local too, not only ~/.FreeCAD
Re: Crash when trying to edit sketch
Do not bump a thread that is 3 years old that describes a crash because the code has changed a lot in that time. In the last 3 years more than 8 thousand commits have been made to the source code, both minor and very major. It's basically impossible to tell if what you experience is the same problem that was described in the old thread.
It's better to start your own thread describing your own steps to reproduce the problem. Maybe you could link this thread for reference, but otherwise, you shouldn't comment on a several years old thread. You should try the 0.19 development version as well, maybe the problem is gone entirely.
Always add the important information to your posts if you need help. Also see Tutorials and Video tutorials.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.