Part Revolve parametric axis link

Info about new community or project announcements, implemented features, classes, modules or APIs. Might get technical!
PLEASE DO NOT POST HELP REQUESTS OR OTHER DISCUSSIONS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Part Revolve parametric axis link

Post by DeepSOIC »

Since 0.17.8172, Part Revolve can use arbitrary line or edge from the model as revolution axis, and establish parametric link to it.

The edge can be a line, or a circle/arc. If arc of circle, and angle of Revolve is set to zero, the angle span of the arc is used.

Also, symmetric option was added (functions like PartDesign's Symmetric to plane).

Image
Enjoy ;)
ezzieyguywuf
Posts: 656
Joined: Tue May 19, 2015 1:11 am

Re: Part Revolve parametric axis link

Post by ezzieyguywuf »

Nicely done!
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: Part Revolve parametric axis link

Post by f3nix »

Thanks DeepSOIC! :)

I wanted to give it a try but it seems that the layout of the task panel is broken for me.

The spinboxes are too small. I'm using KDE.
revolve_task_panel.png
revolve_task_panel.png (24.21 KiB) Viewed 2514 times
OS: Debian GNU/Linux unstable (sid)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8318 (Git)
Build type: Debug
Branch: master
Hash: ff2ccdd64852c0c6b2066ed439e2b2a3d53d842b
Python version: 2.7.12+
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

Cheers,
Mateusz
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part Revolve parametric axis link

Post by DeepSOIC »

f3nix wrote:that the layout of the task panel is broken for me.
Oh, how was I supposed to know....
That Qt designer... I hate it.
Can you fix it, pleease? :roll: That probably applies to reworked Part Extrude dialog that is now stuck in pull requests...
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: Part Revolve parametric axis link

Post by triplus »

And after so much time invested in all the Tasks sidebar related things! ;)
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: Part Revolve parametric axis link

Post by f3nix »

Hi.
I've attached a patch that fixes it for me. Hopefully it does not break anything on other platforms. Please give it a try.

Thanks again for these new tools! :)

Cheers,
Mateusz

---
Some screenshots.
Revolve
Before
revolve_task_panel.png
revolve_task_panel.png (24.21 KiB) Viewed 2429 times
After
revolve_task_panel_fixed.png
revolve_task_panel_fixed.png (28.39 KiB) Viewed 2429 times
Extrude
Before
extrude_task_panel.png
extrude_task_panel.png (30.38 KiB) Viewed 2429 times
After
extrude_task_panel_fixed.png
extrude_task_panel_fixed.png (32.59 KiB) Viewed 2429 times
Attachments
layout_fix.patch.bz2
(2.17 KiB) Downloaded 70 times
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part Revolve parametric axis link

Post by DeepSOIC »

Thanks f3nix, the layout is still all right on Windows 10.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Part Revolve parametric axis link

Post by DeepSOIC »

f3nix wrote:I've attached a patch that fixes it for me.
I created a pull-request for it. https://github.com/FreeCAD/FreeCAD/pull/271
I hope you don't mind that the commit bears my authorship. At least I mentioned you ;)
User avatar
f3nix
Posts: 346
Joined: Sat May 30, 2015 11:58 am

Re: Part Revolve parametric axis link

Post by f3nix »

DeepSOIC wrote:
f3nix wrote:I've attached a patch that fixes it for me.
I created a pull-request for it. https://github.com/FreeCAD/FreeCAD/pull/271
I hope you don't mind that the commit bears my authorship. At least I mentioned you ;)
Great! :) No. I do not mind.

Thanks again for your work! :)

Cheers,
Mateusz
Post Reply