Dimensioning of a Revolve

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!
gsandy
Posts: 138
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Dimensioning of a Revolve

Postby gsandy » Mon Sep 09, 2019 7:37 pm

Is there any way of adding a drawing page that shows dimensions of a revolve?
In the attached I can add a page and dimensions of the simple cube but not the revolve.

OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16131 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 3129ae4296e40ed20e7b3d460b86e6969acbe1c3
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/NewZealand (en_NZ)
Attachments
Temp.FCStd
(49.54 KiB) Downloaded 14 times
vocx
Posts: 1668
Joined: Thu Oct 18, 2018 9:18 pm

Re: Dimensioning of a Revolve

Postby vocx » Mon Sep 09, 2019 10:09 pm

gsandy wrote:
Mon Sep 09, 2019 7:37 pm
Is there any way of adding a drawing page ...
Do not use the Drawing Workbench because it is obsolete. Use the TechDraw Workbench.
gsandy
Posts: 138
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Postby gsandy » Mon Sep 09, 2019 10:18 pm

Thanks vocx, I didn't know it was obsolete.

Tried the TechDraw WB and same thing happened, the cube was OK but the "Bullet" would not work!
wandererfan
Posts: 3076
Joined: Tue Nov 06, 2012 5:42 pm

Re: Dimensioning of a Revolve

Postby wandererfan » Tue Sep 10, 2019 12:53 am

gsandy wrote:
Mon Sep 09, 2019 7:37 pm
Is there any way of adding a drawing page that shows dimensions of a revolve?
I'm going to guess that this is an OCC problem. The parallel and perspective HLR/Projection algos don't fail, but they don't return any edges either. The Coarse algo (polygon approximation) produces a reasonable result, but of course that is useless for dimensioning.
Temp_noDraw_TD_Coarse.png
Temp_noDraw_TD_Coarse.png (25.1 KiB) Viewed 208 times
We'll have to check the shape brep with the OCC DRAW program.
Attachments
Temp_noDraw_TD.brep
(191.6 KiB) Downloaded 5 times
gsandy
Posts: 138
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Postby gsandy » Tue Sep 10, 2019 1:21 am

Thanks for looking into this Wandererfan.
chrisb
Posts: 18934
Joined: Tue Mar 17, 2015 9:14 am

Re: Dimensioning of a Revolve

Postby chrisb » Tue Sep 10, 2019 2:40 am

That's rather surprising, because I get a reasonable result - despite showing an error GO::projectShape - OCC error - - while projecting shape.
Snip macro screenshot-ff80d9.png
Snip macro screenshot-ff80d9.png (22.72 KiB) Viewed 200 times
OS: macOS High Sierra (10.13)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.18095 (Git)
Build type: Release
Branch: master
Hash: 27cb54009b57c1938f7ff97026c8b35c1688233f
Python version: 3.7.3
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Germany (en_DE)
gsandy
Posts: 138
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Postby gsandy » Tue Sep 10, 2019 3:37 am

Chrisb did you use "The Coarse algo (polygon approximation)" to get what you got? And how do you do that?

I replaced the B Spline with an Arc and got a page that I could dimension!
freedman
Posts: 992
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Dimensioning of a Revolve

Postby freedman » Tue Sep 10, 2019 5:28 am

When dimensioning a revolve that was created with an arc; Sometimes in the drawing the sketch side will dimension as an arc and the revolved side can show as a b-spline and I can't get a dimension on it. It's obvious to me that OCC probably recognizes the arc on one side but the revolved side has no hard geometry lines so it just defaults to a b-spline.
Last edited by freedman on Tue Sep 10, 2019 2:31 pm, edited 1 time in total.
gsandy
Posts: 138
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Postby gsandy » Tue Sep 10, 2019 5:32 am

Great tip Freedman, hadn't come across that yet but no doubt I would have as my drawing progressed.
wandererfan
Posts: 3076
Joined: Tue Nov 06, 2012 5:42 pm

Re: Dimensioning of a Revolve

Postby wandererfan » Tue Sep 10, 2019 12:09 pm

gsandy wrote:
Tue Sep 10, 2019 3:37 am
Chrisb did you use "The Coarse algo (polygon approximation)" to get what you got? And how do you do that?
The first entry in the HLR Parameters section of the PropertyEditor data tab for the View.