[SOLVED] Cannot add a dimension by selecting an edge

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!
Post Reply
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

[SOLVED] Cannot add a dimension by selecting an edge

Post by Giulio Buccini »

I was trying to add the dimension of a simple cube. If I select two vertex of the cube then the dimension tool works perfectly, but if I select an edge I get always the same measurement: 1.00 mm :(
I tried also with a cube "padded up" by using a sketch on the XY plane... same result :(

There is something I'm doing wrong? :oops:

How to reproduce the error:

1. start freeCAD
2. go to the Part workbench
3. click the cube icon and a standard 10x10x10 mm cube will be created
4. switch to the Draft workbench
5. select a vertical face of the cube
6. align the workplane to the face
7. click on the "Dimension" button
8. In the Combo view on the left click the "edge" button
9. select the edge
10. move the mouse and drag the dimension lines vertically along the Z axis
11. click to show the dimension at the mouse location
12. the dimension's start/end points will be always 1mm away from the XYZ origin

System info:

OS: Ubuntu 16.04.1 LTS
Word size of FreeCAD: 64-bit
Version: 0.17.7744 (Git)
Build type: Unknown
Branch: occt7
Hash: fee4ade78217a581a6ea17011e39364e5ff7732f
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0
Attachments
FreeCAD_016.jpg
FreeCAD_016.jpg (230.11 KiB) Viewed 1761 times
FreeCAD_015.jpg
FreeCAD_015.jpg (216.22 KiB) Viewed 1761 times
Last edited by Giulio Buccini on Sun Aug 28, 2016 5:53 pm, edited 1 time in total.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Cannot add a dimension by selecting an edge

Post by NormandC »

Giulio Buccini wrote:There is something I'm doing wrong? :oops:
For one thing, you should check that your problem exists in master. You have compiled an old, maybe obsolete branch (occt7). Maybe your problems come from there, who knows.

In other words, it is useless to post about bugs if you are not using a FreeCAD version compiled from master.

Why don't you install the freecad-daily package and test if you have the same problems (including your other topic about missing Draft snap icons).
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: Cannot add a dimension by selecting an edge

Post by Giulio Buccini »

Sorry, I was not aware that I have not to post problems/errors for earlier versions.
I will try to update my version and I will be back.

Should I remove the currently installed version to avoid conflicts?
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Cannot add a dimension by selecting an edge

Post by NormandC »

Well, reading your FreeCAD info I was under the impression that you had compiled FreeCAD yourself. But from your other topic, I realized that you installed FreeCAD from a test of the new Snap packaging system. From the Ubuntu Software Centre! :?

So you are not at fault! I think it was a mistake to leave this package in the software centre, because as I said, it was a test based on a development snapshot made months ago.
Giulio Buccini wrote:Should I remove the currently installed version to avoid conflicts?
I have not switched my main PC to Ubuntu 16.04 yet so I have not tested snap packages, but to be on the safe side, yes I recommend you uninstall it.
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Cannot add a dimension by selecting an edge

Post by NormandC »

I just checked, and the 0.17 development version based on the master branch (freecad-daily package) does have this bug.

In 0.16.6703, the bug is different: the "Edge" button does not appear to work: after clicking on an edge and dragging, the dimension briefly appears, but when clicking in the 3D view to place the dimension, it selects a new point instead.

But hitting the "E" key like suggested by the tooltip, instead of clicking on the Edge button, works as expected.
Giulio Buccini
Posts: 541
Joined: Fri Aug 26, 2016 9:07 pm
Location: Munich - Gemany

Re: [SOLVED] Cannot add a dimension by selecting an edge

Post by Giulio Buccini »

I've installed the stable release and the bug has gone away! ;)

My system info now:

OS: Ubuntu 16.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6703 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 2ce5c8d2e3020d05005ed71f710e09e9aa561f40
Python version: 2.7.11+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
User avatar
NormandC
Veteran
Posts: 18587
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [SOLVED] Cannot add a dimension by selecting an edge

Post by NormandC »

Great! :)
Post Reply