[Solved] Polar pattern where certain instances are left out

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!
Alexanderw22
Posts: 3
Joined: Tue Nov 05, 2019 4:24 pm

[Solved] Polar pattern where certain instances are left out

Post by Alexanderw22 »

Hello everyone,

I am quite new to FreeCAD and I have been stuck on the following problem for a couple days now.
I would like to use a polar pattern of ridges in which certain ridge instances are left out. In the place where 3 instances are left out create a bigger pocket with a larger diameter. To better illustrate my questions see the pictures below. I would like to achieve a combination of the two.
Problem is that in the first file I use the Draft -> Array tool to create a polar array of 48 of the body created in Part design. Then I use the Part -> Compound Filter to filter out specific items using index numbers of the array. Then I use Part -> boolean fragments (which takes a long time to calculate ~10min) and then another Compound Filter on top of this. The problem is that all these operations are created outside the body which limits the ability to edit the body (to add the 6 bigger pockets). Also the Part -> boolean fragments part is very inefficient.
In the second file everything is done in the Part Design section with two polar patterns for the larger and smaller ridges. This operation is far more elegant however I was unable to limited the instances of the polar pattern in part design :(
Screenshot 2019-11-05 at 17.18.54.png
Screenshot 2019-11-05 at 17.18.54.png (267.6 KiB) Viewed 1197 times
Screenshot 2019-11-05 at 17.18.02.png
Screenshot 2019-11-05 at 17.18.02.png (375.43 KiB) Viewed 1197 times
Last edited by Alexanderw22 on Thu Nov 07, 2019 9:03 pm, edited 1 time in total.
User avatar
Vincent B
Veteran
Posts: 4739
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Polar pattern where certain instances are left out

Post by Vincent B »

Share your file then we will get a glance.
chrisb
Veteran
Posts: 54286
Joined: Tue Mar 17, 2015 9:14 am

Re: Polar pattern where certain instances are left out

Post by chrisb »

From what I have read here, Lattice workbench could be of help with this task.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Polar pattern where certain instances are left out

Post by kisolre »

Try multitransform with two pollar patterns - first the oner near each other then 5 at 360 deg.
Alexanderw22
Posts: 3
Joined: Tue Nov 05, 2019 4:24 pm

Re: Polar pattern where certain instances are left out

Post by Alexanderw22 »

I have read about the lattice toolset on another post. Up to now I was not yet able to understand how that toolset works.

Here is a link to both files mentioned in my first post:
(They were too large to upload to the forum directly)

Thanks for taking a look! :)
Last edited by Alexanderw22 on Thu Nov 07, 2019 9:02 pm, edited 1 time in total.
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Polar pattern where certain instances are left out

Post by DeepSOIC »

Alexanderw22 wrote: Wed Nov 06, 2019 12:08 am Up to now I was not yet able to understand how that toolset works.
That's not unexpected, you are not alone.

A quick how-to:
0. make sure the body is activated.
1. create a polar array of placements (paperplanes) with all (unfiltered) occurrences
2. filter unnecessary occurrences with ArrayFilter tool (it is like CompoundFilter, but for arrays of placements)
3. apply Lattice PartDesign pattern to the features you use to cut one ridge
done.

alternative:
0. make sure the body is activated.
1. create a polar array of placements (paperplanes) one set of ridges (edit SpanEnd property, you can also quickly make such an array by making a sketch with an arc first, and creating the array when the arc is preselected)
2. create another polar array with however many groups of ridges you need
3. combine the arrays using "Populate with copies: build array" tool
3. apply Lattice PartDesign pattern to the features you use to cut one ridge
done
User avatar
DeepSOIC
Veteran
Posts: 7896
Joined: Fri Aug 29, 2014 12:45 am
Location: used to be Saint-Petersburg, Russia

Re: Polar pattern where certain instances are left out

Post by DeepSOIC »

Here's an example file for the "alternative" approach
Attachments
lattice2-polar-bunches.FCStd
(71.49 KiB) Downloaded 35 times
freedman
Veteran
Posts: 3472
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Polar pattern where certain instances are left out

Post by freedman »

Typically in an additive workflow you would fill in the slots you don't want and then do something different. Using a copy of the original sketch you can pad/fill the groves with the original shape. You can do singles by placing a datum plane at angle or do many in an array fill.
Alexanderw22
Posts: 3
Joined: Tue Nov 05, 2019 4:24 pm

Re: Polar pattern where certain instances are left out

Post by Alexanderw22 »

This rundown, (quote below) together with the attached file with the second method did the trick for me. Seeing a lattice pattern that works and being able to edit it and see what effects it has on the output helped me a lot!
A quick how-to:
0. make sure the body is activated.
1. create a polar array of placements (paperplanes) with all (unfiltered) occurrences
2. filter unnecessary occurrences with ArrayFilter tool (it is like CompoundFilter, but for arrays of placements)
3. apply Lattice PartDesign pattern to the features you use to cut one ridge
done.
Thanks guys!
User avatar
Vincent B
Veteran
Posts: 4739
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: [Solved] Polar pattern where certain instances are left out

Post by Vincent B »

hi,
I've got an error with LatticePattern. The Y positions seems not working.
Where my mistake? An other question: why not use a Binder to use it as a lattice?
thx
Attachments
lattice_error.FCStd
(79.12 KiB) Downloaded 20 times
Post Reply