How to make 0.125 be smaller than 0.1875

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!
LXC
Posts: 19
Joined: Mon Sep 07, 2020 3:05 pm

How to make 0.125 be smaller than 0.1875

Post by LXC »

Open FreeCAD
Part workbench
Solids toolbar: click Tube button

Set dimensions, in radius, even though diameter makes more sense

Click 'Okay' button

Get error message saying that .125 is larger than .1875

Image

Please advise.

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)
User avatar
Shalmeneser
Veteran
Posts: 9580
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: How to make 0.125 be smaller than 0.1875

Post by Shalmeneser »

Check outer radius expression (blue icon).
chrisb
Veteran
Posts: 54282
Joined: Tue Mar 17, 2015 9:14 am

Re: How to make 0.125 be smaller than 0.1875

Post by chrisb »

LXC wrote: Tue Jan 11, 2022 3:43 pm Please advise.
Which unit system do you use?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
LXC
Posts: 19
Joined: Mon Sep 07, 2020 3:05 pm

Re: How to make 0.125 be smaller than 0.1875

Post by LXC »

Image
chrisb wrote: Tue Jan 11, 2022 6:32 pm
LXC wrote: Tue Jan 11, 2022 3:43 pm Please advise.
Which unit system do you use?
/Steve
Posts: 41
Joined: Wed Nov 11, 2020 9:59 pm
Location: Colo. USA

Re: How to make 0.125 be smaller than 0.1875

Post by /Steve »

I just did this and got the same result you did. then I started looking at what was happening. the default is 5 for outer and 2 for inter try putting in the inter dim first then the outer. I no long got an error that way. even when I did it the other way an got the eroor it did the tube OK it was little so I had to zoom to see it.
Syres
Veteran
Posts: 2902
Joined: Thu Aug 09, 2018 11:14 am

Re: How to make 0.125 be smaller than 0.1875

Post by Syres »

Please upgrade to 0.19.3 using https://github.com/FreeCAD/FreeCAD/releases/tag/0.19.3 , navigate to the bottom of the page for the section Assets (expand the list if not done by your browser) and click on the FreeCAD-0.19.3-WIN-x64-installer-2.exe (note the number 2 after installer, it's important to use the correct one as number 1 has a missing library)


yorik wrote: ping
@Yorik, sorry to trouble you but is there something you or Kurt have to do in order for this Homepage commit https://github.com/FreeCAD/FreeCAD-Home ... 73e0229325 to get propagated to the webserver(s), it's quite important.



I cannot replicate the bug using 0.19.3:

OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +99 (Git)
Build type: Release
Branch: Branch_0.19.3
Hash: 6530e364184ce05ccff39501e175cf2237e6ee4b
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United Kingdom (en_GB)
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: How to make 0.125 be smaller than 0.1875

Post by yorik »

Syres wrote: Thu Jan 13, 2022 9:03 am @Yorik, sorry to trouble you but is there something you or Kurt have to do in order for this Homepage commit https://github.com/FreeCAD/FreeCAD-Home ... 73e0229325 to get propagated to the webserver(s), it's quite important.
Oh thanks for notifying, I had missed that... It's done!
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: How to make 0.125 be smaller than 0.1875

Post by adrianinsaval »

Did you set an expression for the outer radius? I think this is a bug that was recently reported (https://forum.freecadweb.org/viewtopic.php?f=10&t=64050 https://github.com/FreeCAD/FreeCAD/pull ... 1008426985) that an expression without unit is shown with in as a unit in the spinbox. In reality expressions without units are interpreted as FreeCAD's internally used units, in this case mm. Explicitly set your expression as 0.1875 in or don't use an expression at all in that field to get the correct result.
openBrain wrote:
wmayer wrote:
inviting to discuss
User avatar
Shalmeneser
Veteran
Posts: 9580
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: How to make 0.125 be smaller than 0.1875

Post by Shalmeneser »

File ?
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: How to make 0.125 be smaller than 0.1875

Post by adrianinsaval »

Shalmeneser wrote: Thu Jan 13, 2022 2:05 pmFile ?
feature can't be created due to the error so it's not possible to have a file with the issue. I forgot to mention but I was able to reproduce the bug here:

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.26761 (Git)
Build type: Release
Python version: 3.8.12
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: Spanish/Paraguay (es_PY)
To reproduce:
-change units to inches
-click Create Tube
-set a expression for outer radius to 0.1875 (no unit), this is incorrectly displayed as 0.1875 in but it's actually 0.1875 mm so the error "Inner radius must be smaller than outer radius" is shown
the underlying bug is not in Part Tube, in the thread I linked this was observed in sketcher.
Post Reply