I guess they had to do that because there really is no reliable way to know the width of the pocket feature. But they do it in a full circle. Hmmm.Am I right, then in thinking the degrees is to the start of the final occurrence rather than after it
Polar Pattern count missmatch
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!
Re: Polar Pattern count missmatch
So we have to remember to add one extra unless it's a full circle. I'm not very good at remembering stuff like that but I also don't see any other way to do it.
Re: Polar Pattern count missmatch
For the angle of the polar pattern you can use Expressions, i.e in your case you enter Revolution.Angle.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar Pattern count missmatch
Here is an even better expression, which uses the number of occurrences and respects the angle:
which is the same as
Code: Select all
Revolution.Angle * (Occurrences-1) / Occurrences
Code: Select all
Revolution.Angle * (1 - 1 / Occurrences)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar Pattern count missmatch
When fiddling around because I had the feeling that it contained too much I found something interesting in Sketch002:
When I delete the selected construction line at the right bottom the sketch is shown in white instead of green and the solver tells me
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13976 (Git)
Build type: Release
Branch: (HEAD detached at fae0de5)
Hash: fae0de58581694157a97d567c151bdce75d387dc
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
When I delete the selected construction line at the right bottom the sketch is shown in white instead of green and the solver tells me
is this interesting for you?abdullah wrote:abdullah
OS: Mac OS X
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.13976 (Git)
Build type: Release
Branch: (HEAD detached at fae0de5)
Hash: fae0de58581694157a97d567c151bdce75d387dc
Python version: 2.7.15
Qt version: 5.11.0
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: German/Germany (de_DE)
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar Pattern count missmatch
In case it helps, I have minimized the "unsolved" producing model:
- Attachments
-
- Gear_cb.FCStd
- (3.42 KiB) Downloaded 18 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar Pattern count missmatch
Can you post how these are to be used in the GUI.Postby chrisb » Sun Jul 22, 2018 12:17 am
Here is an even better expression, which uses the number of occurrences and respects the angle:
Code: Select all
Revolution.Angle * (Occurrences-1) / Occurrences
which is the same as
Code: Select all
Revolution.Angle * (1 - 1 / Occurrences)
Thanks
-
- Veteran
- Posts: 5508
- Joined: Thu Apr 05, 2018 1:53 am
Re: Polar Pattern count missmatch
Ah, now I see. 360° is treated specially. I was wondering about that. Angle would be from start of first element to start of last element, thus we can expect the same results for 12 elements in a full circle with either 360° or 360 * 11/12 (330°).chrisb wrote: ↑Sun Jul 22, 2018 6:45 am The misunderstanding might be the following:
The angle defines where the last occurrence starts, not where it ends. The case 360° might lead to confusion, because it is treated special by guessing that you in fact want to have the occurrences distributed evenly around the whole circle.
Note also how 360.0° is treated differently from 360.01° (with draft array)
Re: Polar Pattern count missmatch
Sure it is!
I do not have much time ATM. I have played with the reduced sketch and the behaviour does not seem right. Could you create a ticket with it so that it does not get lost? I might not be available until Mid-October...
I do not have much time ATM. I have played with the reduced sketch and the behaviour does not seem right. Could you create a ticket with it so that it does not get lost? I might not be available until Mid-October...
Re: Polar Pattern count missmatch
Voluntary; I will do so in the next days, I have the feeling that I could even simplify it further and I might have created a ticket.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Polar Pattern count missmatch
I added a reference to this topic in issue #3589
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.