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!
User avatar
wandererfan
Veteran
Posts: 6320
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Dimensioning of a Revolve

Post by wandererfan »

chrisb wrote: 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.
That is strange. In freecad-daily I get complete silence and no shape. In v0.18.3 I get a message(different message) and no shape.

The message you're getting would normally mean that the HLR/Projection process has failed inside OCC, so I wouldn't have expected any results at all.
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Dimensioning of a Revolve

Post by chrisb »

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?
I didn't do anything special, I removed the stuff with the errors and the other bodies, created a page and put it on there. Coarse view is false.
I attach the model in case it is helppful for you.
Attachments
Temp_cb.FCStd
(28.32 KiB) Downloaded 17 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Veteran
Posts: 6320
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Dimensioning of a Revolve

Post by wandererfan »

chrisb wrote: Tue Sep 10, 2019 2:33 pm I attach the model in case it is helppful for you.
Same result for me with your file - no messages and no view. No idea why osx would behave differently vs mint or win.

Still pretty sure it is an OCC issue. HLR fails in DRAWEXE.

Code: Select all

wandererfan@huxley ~ $ occDraw.sh
OCCT DRAWEXE v7.3.0
Hint: use "pload ALL" command to load standard commands
Draw[1]> Draw[2]> pload ALL
1
Draw[3]> restore testShape.brep
testShape
Draw[4]> vinit
Driver1/Viewer1/View1
Draw[5]> vfront
Draw[6]> vdisplay testShape
Draw[7]> vfit
Draw[8]> vhlrtype algo
Draw[9]> vhlr on
Error: AIS_Shape::Compute() HLR Algorithm has failed ()

Draw[10]> 
gsandy
Posts: 292
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Post by gsandy »

Got that thanks.
gsandy
Posts: 292
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Post by gsandy »

Just looked at chrisb's file and in page view both views did not show and had error in Combo View!
chrisb
Veteran
Posts: 54201
Joined: Tue Mar 17, 2015 9:14 am

Re: Dimensioning of a Revolve

Post by chrisb »

If there is anything I can do - except fixing all OCC errors - such as further testing, let me know.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
gsandy
Posts: 292
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Post by gsandy »

Thanks chrisb.

The bullet shape is the central hub of a propeller and has 3 helical blades attached. The blades were filleted where they joined the hub.
I could not create a dimension page in TechDraw! But when I removed the fillets, I could. I then put the fillets back in and the page remained in tack. I think I had an error in one of the fillets!
A new page with a new filleted model worked OK.
User avatar
wandererfan
Veteran
Posts: 6320
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Dimensioning of a Revolve

Post by wandererfan »

user1234
Veteran
Posts: 3506
Joined: Mon Jul 11, 2016 5:08 pm

Re: Dimensioning of a Revolve

Post by user1234 »

@wandererfan
now it is issue #5985

When i inspected the first file in this thread, i found, that the splines are malformed. The tangent knots are coincident with the endpoints, so the curvature goes to the infinity. This is also the reason why no curvature combs is visible.

When this is corrected, then it works. The only issue here is, that the geometry check does not show an error of the 3D shape.

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32867 (Git)
Build type: Release
Branch: master
Hash: 89ebbfebcd2574aa59c72795add4c9aa793a4212
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.7.1
Locale: English/United States (en_US)
Installed mods: 
  * QuickMeasure 2022.10.28
  * Assembly4 0.12.6
  * CurvedShapes 1.0.4
  * Curves 0.6.8

So, it is a user error, in my opinion it can be closed.

Greetings
user1234


edit: have forgotten the screenshot
2023-04-16_02-21.png
2023-04-16_02-21.png (37.34 KiB) Viewed 453 times
gsandy
Posts: 292
Joined: Sun Jan 27, 2019 7:07 pm
Location: Auckland New Zealand

Re: Dimensioning of a Revolve

Post by gsandy »

Thanks user1234
Post Reply