Questions about array holes, please help

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!
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Questions about array holes, please help

Post by xsuper9988 »

Because projects usually have a lot of combined array holes
The point is that I need to have these holes all controlled by variables
When my first block is finished
But there is no way to copy to other blocks
I mean "LinearPattern", "PolarPattern", "MultiTransform"...etc
There is no way like "body objects", "sketches"...etc can be copied directly
And these can continue to refer to the original "spreadsheet" after copying
It wastes a lot of time to do it all over again

I would like to ask if there is any other method that can be used?

For example, is there a way to draw these variable-controlled numbers of "array holes" within a "sketch"?
Attachments
ArrayHoleSample.FCStd
(45.05 KiB) Downloaded 19 times
SamplePIC.png
SamplePIC.png (153.21 KiB) Viewed 930 times
Q01.png
Q01.png (144.67 KiB) Viewed 930 times
Q02.png
Q02.png (119.13 KiB) Viewed 930 times
COPY.png
COPY.png (137.08 KiB) Viewed 930 times
User avatar
Shalmeneser
Veteran
Posts: 9474
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Questions about array holes, please help

Post by Shalmeneser »

* A sketch cannot change its number of line
* Only a (Linear/Polar) pattern can change numbers of action

(File : bad idea with boolean intersection)
(btw, use just LinearPattern)
Attachments
ArrayHoleSample_SHALM.FCStd
(55.75 KiB) Downloaded 13 times
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Questions about array holes, please help

Post by xsuper9988 »

Shalmeneser wrote: Thu May 19, 2022 9:52 am * A sketch cannot change its number of line
* Only a (Linear/Polar) pattern can change numbers of action

(File : bad idea with boolean intersection)
(btw, use just LinearPattern)
From your reply I just discovered the boolean logic of "Common"
This method can be done successfully
Although the result was not what I expected
But this method is very interesting
thank you very much for your reply

Hope someone can suggest more ways
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Questions about array holes, please help

Post by realthunder »

By 'copy', do you mean to have an instance that has some variation of some parameters from the original design? Are you looking for something like configuration table kind of thing? Just read through the posts and see if this is what you want.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Questions about array holes, please help

Post by xsuper9988 »

realthunder wrote: Fri May 20, 2022 1:30 am By 'copy', do you mean to have an instance that has some variation of some parameters from the original design? Are you looking for something like configuration table kind of thing? Just read through the posts and see if this is what you want.
Sorry I may not have been detailed enough

Additional details

Usually "MultiTransform" will contain "LinearPattern", "PolarPattern"...etc
Then the parameters in "LinearPattern" also use "spreadsheet" ("Q02.png")
"MultiTransform" and "MultiTransform1" in "Q01.png" are the same
But "MultiTransform" cannot be copied directly to "MultiTransform1"
To generate "MultiTransform1" need to re-create one by one
This is very inefficient and takes a lot of time
In the example "MultiTransform" has only one Pattern (LinearPattern)
It takes more time when there is more than one pattern

Shalmeneser wrote: Thu May 19, 2022 9:52 am * A sketch cannot change its number of line
* Only a (Linear/Polar) pattern can change numbers of action
Because Shalmeneser said "Sketch" cannot variably increase the number of circles

Seems like only create function "MultiTransform can directly copy and paste"
Like "Sketch", "Object Body" copy and paste
After copying it is still controlled by "spreadsheet"
I don't know if it will be difficult to implement this function
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Questions about array holes, please help

Post by drmacro »

I might consider the Draft Point array for such a thing or Lattice2 workbench with single custom placements.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8862
Joined: Sun Mar 02, 2014 4:35 pm

Re: Questions about array holes, please help

Post by drmacro »

I might consider the Draft Point array for such a thing or Lattice2 workbench with single custom placements.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Questions about array holes, please help

Post by xsuper9988 »

drmacro wrote: Fri May 20, 2022 10:19 am I might consider the Draft Point array for such a thing or Lattice2 workbench with single custom placements.
Could you please provide me a simple example on "Array Holes"?
Similar results in "ArrayHoleSample.FCStd"
thank you very much
User avatar
papyblaise
Veteran
Posts: 7864
Joined: Thu Jun 13, 2019 4:28 pm
Location: France

Re: Questions about array holes, please help

Post by papyblaise »

you have to do the ArrayHole from Pocket
Attachments
ArrayHole.FCStd
(24.63 KiB) Downloaded 10 times
ArrayHole.JPG
ArrayHole.JPG (34.72 KiB) Viewed 659 times
User avatar
xsuper9988
Posts: 223
Joined: Sat Oct 24, 2020 4:20 am

Re: Questions about array holes, please help

Post by xsuper9988 »

papyblaise wrote: Fri May 20, 2022 11:43 am you have to do the ArrayHole from Pocket
Isn't that the example I uploaded?
Your example still looks the same
And most importantly, "MultiTransform" cannot be copied and pasted to "MultiTransform1"
Post Reply