[FR] Multi Transformation both directions

About the development of the Part Design module/workbench. PLEASE DO NOT POST HELP REQUESTS HERE!
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
C4e
Posts: 324
Joined: Thu Jan 20, 2022 9:31 pm

[FR] Multi Transformation both directions

Post by C4e »

Hello

I want to ask for adding a both direction checkbox in Linear Pattern in Multi Transformation.
chrisb
Veteran
Posts: 54280
Joined: Tue Mar 17, 2015 9:14 am

Re: [FR] Multi Transformation both directions

Post by chrisb »

Only in MultiTransform or for LinearPattern in general?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
jnxd
Posts: 952
Joined: Mon Mar 30, 2015 2:30 pm
Contact:

Re: [FR] Multi Transformation both directions

Post by jnxd »

With the feature freeze in effect it won't get into 0.20 right now. If I understand it correctly it also looks like a good "low hanging fruit" problem. Could you add this as an issue on github?
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [FR] Multi Transformation both directions

Post by user1234 »

I sounds at first as a good idea, but is it really?

Both directions --> symmetric or not symmetric
if symmetric and the occurrences can not dived to 2 --> wont work
if symmetric --> mirror will always work and is the same work and already implement
if not symmetric --> use second linear pattern (is the same work as it would be in one task feature, and you do not need all field twice in the task feature, which only clutters the task feature)

Greetings
user1234

edit:
By the way, it is common in all CADs which i used, that a linner pattern works only from one side (corner).
C4e
Posts: 324
Joined: Thu Jan 20, 2022 9:31 pm

Re: [FR] Multi Transformation both directions

Post by C4e »

user1234 wrote: Sat Mar 26, 2022 5:20 pm I sounds at first as a good idea, but is it really?
I think so. Maybe a 'add a mirror to' checkbox could be an idea instead of adding a second transformation manually.
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [FR] Multi Transformation both directions

Post by user1234 »

C4e wrote: Sat Mar 26, 2022 5:32 pm Maybe a 'add a mirror to' checkbox could be an idea instead of adding a second transformation manually.
When you have an occurrences 4, then you get 7 patterns? This is misleading. When you mirror it, it takes literately 5 seconds and have an entry (feature) in the tree, which makes the whole thing clearly, that there is a mirror and where is the mirror.

Greetings
user1234
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: [FR] Multi Transformation both directions

Post by adrianinsaval »

I tend to agree with user1234 here, there's existing features for this and this is probably not often done so not worth cluttering IMO.
chrisb
Veteran
Posts: 54280
Joined: Tue Mar 17, 2015 9:14 am

Re: [FR] Multi Transformation both directions

Post by chrisb »

user1234 wrote: Sat Mar 26, 2022 5:45 pm When you have an occurrences 4, then you get 7 patterns?
That would of course be nonsense
if symmetric and the occurrences can not dived to 2 --> wont work
I don't see this implication.

Such a symmetric linear pattern should of course not do any mirroring. "Reverse direction" doesn't do this either. I would rate the following behaviour as sensible, which follows the idea of a symmetric pad (which could also be done by using a mirror).

Let's start with this model. The base plate is horizontally centered. The pad is formed as a half circle to see its orientation.
SnipScreenshot-7a5de6.png
SnipScreenshot-7a5de6.png (3.48 KiB) Viewed 1832 times
This is what we can already do.
- 5 occurrences (forward):
SnipScreenshot-3e0889.png
SnipScreenshot-3e0889.png (8.6 KiB) Viewed 1832 times
- 5 occurrences reversed (same length):
SnipScreenshot-0b2f37.png
SnipScreenshot-0b2f37.png (8.61 KiB) Viewed 1832 times
And this is how it would be symmetric. Same number of occurrences, same length. It seems rather natural to me and works with odd and even numbers of occurrences:
SnipScreenshot-8db879.png
SnipScreenshot-8db879.png (8.95 KiB) Viewed 1828 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
user1234
Veteran
Posts: 3512
Joined: Mon Jul 11, 2016 5:08 pm

Re: [FR] Multi Transformation both directions

Post by user1234 »

chrisb wrote: Sat Mar 26, 2022 11:26 pm
user1234 wrote: Sat Mar 26, 2022 5:45 pm

When you have an occurrences 4, then you get 7 patterns?


That would of course be nonsense


if symmetric and the occurrences can not dived to 2 --> wont work

I don't see this implication.


Sorry i mean, if symmetric and the occurrences can not dived to 2 --> wont work, when if the number occurrences is practice in the model. For example when the occurrences is 4 and it is mirrored and practiced in the model, the origin feature is between two patterns and the real occurrences is 5.

0.png
0.png (103.53 KiB) Viewed 1783 times



It will only work, when the occurrences can not divide to 2.

1.png
1.png (103.04 KiB) Viewed 1783 times

linear_pattern_unmirrored.FCStd
(14.56 KiB) Downloaded 64 times

Greetings
user1234
chrisb
Veteran
Posts: 54280
Joined: Tue Mar 17, 2015 9:14 am

Re: [FR] Multi Transformation both directions

Post by chrisb »

The meaning of a symmetric linear pattern would be like an offset of the participating features of half the length of th pattern. So an even number would indeed be as indicated on your image, including the peculiarity, that the original would vanish.

If that is not possible, I could live very well with the restriction to an odd number of occurrences for a symmetric linear pattern.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Post Reply