[Solved] Changing Sketch offset causes Revolve to Disappear

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!
PAS_Drafter
Posts: 338
Joined: Mon Aug 02, 2021 6:29 am
Location: California, USA

[Solved] Changing Sketch offset causes Revolve to Disappear

Post by PAS_Drafter »

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)


I can't figure out what is going on here. I'm trying to draw up a clevis using Pipe and Revolve. I've gotten it to look pretty good for the most part, but I am running into some weird behavior when I try to do the second Revolve.

I create my second Sketch and put in these measurements (particularly the 1.005in offset from center).

Offset1005.PNG
Offset1005.PNG (14.12 KiB) Viewed 1264 times

I then apply the Revolve command to that sketch. The tool shows that the sketch is revolving around the wrong axis

WrongAxis.PNG
WrongAxis.PNG (95.5 KiB) Viewed 1264 times

No big deal here, so I change it to the horizontal axis. However, when I do that, the Revolve disappears

Gone.PNG
Gone.PNG (87.92 KiB) Viewed 1264 times

I messed around for an hour trying to find a solution and one of the things I noticed that when I created a new sketch and hadn't put in the Constraints, it showed the part revolving properly. However, once I got everything constrained the way I wanted and I left the Sketcher, The Revolve was now gone. I played around with things a little and out of curiosity I changed the Offset to 1.004in

Offset1004.PNG
Offset1004.PNG (15.11 KiB) Viewed 1264 times

Not a huge change, but low and behold, when I exited Sketcher, my Revolve was now there.

ClevThere.PNG
ClevThere.PNG (97.26 KiB) Viewed 1264 times

I can change that offset back to 1.005in and it disappears again.

Any idea why this is happening?
Last edited by PAS_Drafter on Fri Jan 28, 2022 8:57 pm, edited 1 time in total.
PAS_Drafter
Posts: 338
Joined: Mon Aug 02, 2021 6:29 am
Location: California, USA

Re: Changing Sketch offset causes Revolve to Disappear

Post by PAS_Drafter »

Here is the file I was working with. For some reason it wouldn't let me attach it to the original post.
Attachments
Clevis_Shackle.FCStd
(156.27 KiB) Downloaded 31 times
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: Changing Sketch offset causes Revolve to Disappear

Post by Syres »

PAS_Drafter wrote: Fri Jan 28, 2022 4:10 am For some reason it wouldn't let me attach it to the original post.
Because you had already attached five images which are still files as far as the forum software is concerned.
PAS_Drafter
Posts: 338
Joined: Mon Aug 02, 2021 6:29 am
Location: California, USA

Re: Changing Sketch offset causes Revolve to Disappear

Post by PAS_Drafter »

Syres wrote: Fri Jan 28, 2022 6:02 am
PAS_Drafter wrote: Fri Jan 28, 2022 4:10 am For some reason it wouldn't let me attach it to the original post.
Because you had already attached five images which are still files as far as the forum software is concerned.
I didn't know there was a limit to the total number of files attached. Good to know. Thanks
chrisb
Veteran
Posts: 54144
Joined: Tue Mar 17, 2015 9:14 am

Re: Changing Sketch offset causes Revolve to Disappear

Post by chrisb »

I don't have a FreeCADable computer currently. Vague guesses are, that you may have double lines in your sketch or that some element have length or radius 0.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Syres
Veteran
Posts: 2898
Joined: Thu Aug 09, 2018 11:14 am

Re: Changing Sketch offset causes Revolve to Disappear

Post by Syres »

I think you may have come across a bug which also resides in 0.20 current master but this is still to be definitely confirmed. In the meantime have a look at the way I'd model it even without knowing about the possible bug in the attached file. Mirrors and Patterns are your friend in the main.

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)
Attachments
Clevis_Shackle_Syres_019.FCStd
(220.29 KiB) Downloaded 18 times
chrisb
Veteran
Posts: 54144
Joined: Tue Mar 17, 2015 9:14 am

Re: Changing Sketch offset causes Revolve to Disappear

Post by chrisb »

Things are here even worse: On a full recompute the first revolve disappears as well.

OS: macOS 10.16
Word size of FreeCAD: 64-bit
Version: 0.20.27078 (Git)
Build type: Release
Python version: 3.9.9
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: C/Default (C)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
chrisb
Veteran
Posts: 54144
Joined: Tue Mar 17, 2015 9:14 am

Re: Changing Sketch offset causes Revolve to Disappear

Post by chrisb »

It is a coplanar issue: make the width of the halfmoons a tiny bit wider and both revolves succeed:
Attachments
Clevis_Shackle_cb.FCStd
(198.42 KiB) Downloaded 16 times
SnipScreenshot-e2e7e2.png
SnipScreenshot-e2e7e2.png (35.28 KiB) Viewed 1036 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Shalmeneser
Veteran
Posts: 9545
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Changing Sketch offset causes Revolve to Disappear

Post by Shalmeneser »

chrisb wrote: Fri Jan 28, 2022 9:29 am It is a coplanar issue: make the width of the halfmoons a tiny bit wider and both revolves succeed:
+1

You should :
* symmetry the revolution
* pocket at the last moment (symmetry through all)
Last edited by Shalmeneser on Fri Jan 28, 2022 7:28 pm, edited 1 time in total.
PAS_Drafter
Posts: 338
Joined: Mon Aug 02, 2021 6:29 am
Location: California, USA

Re: Changing Sketch offset causes Revolve to Disappear

Post by PAS_Drafter »

Shalmeneser wrote: Fri Jan 28, 2022 9:48 am
chrisb wrote: Fri Jan 28, 2022 9:29 am It is a coplanar issue: make the width of the halfmoons a tiny bit wider and both revolves succeed:
+1

You should :
* symmetry the revolution
* pocket at the last moment (symmetry trough all)
Yep, I had tried both of those suggestions as possible options while I was trying to get this to work and stuff just kept disappearing so I kept looking for ways to make it work in harder ways. ;) It was driving me nuts as I couldn't figure out why it was behaving that way when I thought I was doing it properly. Since I'm just a novice at this, I always assume it is something I am doing wrong.

Thanks for the suggestions.
Post Reply