That's not what one might expect from 180° polar pattern...
the slice is 360°/8 so 4 slices on 180° should be half a circle
OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13509 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 0258808ccb6ba3bd5ea9312f79cd023f1a8671b7
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Italian/Italy (it_IT)
Polar pattern bug for angles < 360°
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
-
- Posts: 7
- Joined: Tue Jun 20, 2017 8:56 am
Re: Polar pattern bug for angles < 360°
Mithrandil,
this is the classical poles & space problem, you only need 3 angles of 45 to pack the 4 slices in 180, so your angle should be 135degrees.
Cheers
this is the classical poles & space problem, you only need 3 angles of 45 to pack the 4 slices in 180, so your angle should be 135degrees.
Cheers
Re: Polar pattern bug for angles < 360°
I ould like it that (even only a option to choose) i can set the spacing (in this case 45 degrees) and the number of instances.
Most of the time faster and more easy...
Most of the time faster and more easy...
- DeepSOIC
- Veteran
- Posts: 7896
- Joined: Fri Aug 29, 2014 12:45 am
- Location: used to be Saint-Petersburg, Russia
Re: Polar pattern bug for angles < 360°
In Lattice2 addon, it is possible. Use 'StepN' generator mode. But Lattice2 can't be used in PartDesign, yet. At least, directly... It may be possible via PD Boolean, I'm not sure.
-
- Posts: 7
- Joined: Tue Jun 20, 2017 8:56 am
Re: Polar pattern bug for angles < 360°
Sure,
I found the same way of doing it,
but it seems kind of a workaround to me.
BTW you don't need 135°C to fit 4 slices of 45°, you need 135° to fit 3 more slices (so you should set the counter to +3...),
Otherwise you should also set 360°-45°=315° to fit the whole 8 slices circle, but what is set by default is 360°, not 315°...
Can you get my point?
Re: Polar pattern bug for angles < 360°
You can also do it using a polar pattern angle formula like:
Sketch.Constraints.a * (PolarPattern.Occurrences - 1)
Where "a" is the slice angle name, then changing the number of occurrences does compute the right angle directly.
Cheers
Sketch.Constraints.a * (PolarPattern.Occurrences - 1)
Where "a" is the slice angle name, then changing the number of occurrences does compute the right angle directly.
Cheers
-
- Posts: 7
- Joined: Tue Jun 20, 2017 8:56 am
Re: Polar pattern bug for angles < 360°
Does this also make sense to you? (notice 1 ° of difference)
It totally doesn't!
Your solutions are workarounds, which are surely useful temporary solutions, but this is a bug which needs to be fixed.
It totally doesn't!
Your solutions are workarounds, which are surely useful temporary solutions, but this is a bug which needs to be fixed.
- Attachments
-
- PP-BUG3.JPG (33.92 KiB) Viewed 683 times
-
- PP-BUG2.JPG (35.61 KiB) Viewed 683 times
Re: Polar pattern bug for angles < 360°
The 360° case is treated specially as a shortcut for "distribute the number of occurences over a whole circle".
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar pattern bug for angles < 360°
Your point is wrong.
In your first example, it is exactly what a 180-degree pattern should do. There is no bug there. It's not complicated: take your pie piece, and rotate it 180 degrees on the Z axis either using Part Placement or Draft Rotate. It will end up in the same exact position as the last occurrence in the polar pattern.
...And this is yet another topic that was wrongfully posted in the Part Design module development forum. Which description in the forum index indicates:
Tell me, where exactly are we discussing development here?About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
You're wondering if it's a bug, OK; then please read the Bug submission guidelines topic:
Moderators, part of your job is to move topics to the relevant forums when needed. When I was an admin, I was doing it all the time.2. If you are unsure, discuss the problem on the forum first. Open a new topic here on the forum, in the help section, and ask if what you found is a bug. Other users will surely be able to help you determining what you should do.