[BUG] Crashes after trying to add reference dimension

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
luwol03
Posts: 12
Joined: Sat Jul 02, 2022 8:51 pm

[BUG] Crashes after trying to add reference dimension

Post by luwol03 »

Hello,

I tried to create a reference dimension in this moddle, like seen in the video. However the first time I got no reference dimension and the second time it completely crashed.

Steps to reproduce: see video (https://drive.google.com/file/d/1OJOgcX ... sp=sharing)

version:

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.1.29410 (Git)
Build type: Release
Branch: (HEAD detached at 0.20.1)
Hash: f5d13554ecc7a456fb6e970568ae5c74ba727563
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Locale: C/Default (C)
Installed mods: 
  * A2plus 0.4.56a
  * BIM 2021.12.0
  * kicadStepUpMod 10.13.0
  * Assembly4 0.12.3
Attachments
test.FCStd
(223.02 KiB) Downloaded 43 times
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Crashes after trying to add reference dimension

Post by chrisb »

No problem here. Please retry with curent 0.21.
The video has a horrible resolution, takes time to watch, and not everyone has unlimited bandwidth. For future posts please minimize the file (is it really necessary to have all these things in the tree?) and add a step by step description how to reproduce. This is what I did:
- Edit "Sketch"
- Switch to driven constraints (blue dimensions)
- select vertical distance constraint
- select the origin
- select a point at the right lower corner, I used Vertex3

-> no crash, the driven dimension is added.

Code: Select all

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.21.30430 (Git)
Build type: Release
Branch: master
Hash: 9e1ed4a68ad43309c2b38f7f5efbb1feac4323cb
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: C/Default (C)
Installed mods: 
  * FC_SU
  * DynamicData 2.46.0
  * FeedsAndSpeeds 0.4.0
  * fcgear 1.0.0
  * fasteners 0.4.16
  * sheetmetal 0.2.57
  * ExplodedAssembly
  * Curves 0.5.8
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
luwol03
Posts: 12
Joined: Sat Jul 02, 2022 8:51 pm

Re: [BUG] Crashes after trying to add reference dimension

Post by luwol03 »

Hello chrisb,

sorry for the video. It looks like this is just googledrive. If you download the video, the resolution is very good. And the downloaded file is only 6.2MB large.

How can I get the latest version via brew?

I don't know if it is necessary, I just experienced this bug with all this things in it.
chrisb
Veteran
Posts: 53922
Joined: Tue Mar 17, 2015 9:14 am

Re: [BUG] Crashes after trying to add reference dimension

Post by chrisb »

You find a DMG with the latest version here: https://github.com/FreeCAD/FreeCAD-AppI ... kly-builds.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [BUG] Crashes after trying to add reference dimension

Post by Shalmeneser »

:idea:
Attachments
PicoBox_SHALM.FCStd
(143.95 KiB) Downloaded 43 times
Capture d’écran 2022-11-05 170505.jpg
Capture d’écran 2022-11-05 170505.jpg (67.33 KiB) Viewed 1348 times
luwol03
Posts: 12
Joined: Sat Jul 02, 2022 8:51 pm

Re: [BUG] Crashes after trying to add reference dimension

Post by luwol03 »

Shalmeneser wrote: Sat Nov 05, 2022 4:06 pm:idea:
How do you created this body? And how is this related to this bug?
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: [BUG] Crashes after trying to add reference dimension

Post by Shalmeneser »

luwol03 wrote: Sat Nov 05, 2022 7:40 pm How do you created this body? And how is this related to this bug?
Nothing to do with your problem.
I've created this body from your file (solid), trying to mimic the original object.
Post Reply