(WORKAROUND) Unexpected behavior of polar array on not top workplane?

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

(WORKAROUND) Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

is there a possibility (possibly a workaround) to create a polar array on an inclined plane?

https://www.youtube.com/watch?v=9x_EFGiaqF0

phpBB [video]


test.FCStd
(8.39 KiB) Downloaded 76 times


OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.26202 (Git) AppImage
Build type: Release
Branch: master
Hash: ca6d49d080dea0abc23d954743eca7c46f33469b
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Attachments
1.png
1.png (36.38 KiB) Viewed 3456 times
Last edited by thomas-neemann on Tue May 23, 2023 4:36 am, edited 3 times in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

I've found a way, tomorrow I will create a video about it
2.png
2.png (71.85 KiB) Viewed 3403 times
test2.FCStd
(10.56 KiB) Downloaded 72 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

here is a possibility, if someone has a faster or easier way feel free to post here


https://www.youtube.com/watch?v=z97c7zUBTok


phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by Roy_043 »

Strange workaround. Why not create the array on the global XY pane, create a Std_Part, put the array in the Part and then transform the Part? If Std_TreeSyncPlacement is switched on you can then drag the array out of the Part if you wish.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

Roy_043 wrote: Wed Nov 03, 2021 12:28 pm Strange workaround. ...
yes it is usually better, it is only an example for e.g. this case. I would like to create a polar array on the connection that is inclined in the room.

1.png
1.png (75.94 KiB) Viewed 3281 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by Roy_043 »

It depends on where you are starting from. But exporting to STP does not make sense IMO.

If you start from two co-planar circles randomly positioned in 3D space, where one represents the center of the array and the other the item to be arrayed, I would use this workaround:
  1. Create a Std_Part.
  2. Right-click in the Property editor and switch on "Show all".
  3. Right-click the Placement field of the Part, choose "Expression...".
  4. Reference the placement of the "Center" circle: <<Center>>.Placement
  5. Make sure Std_TreeSyncPlacement is switched on.
  6. Drag the "ToBeArrayed" circle into the Part.
  7. De-activate the Part.
  8. Select the "ToBeArrayed" circle and create a Draft_PolarArray at the global origin.
  9. Switch off Std_TreeSyncPlacement.
  10. Drag the array into the Part.
  11. Switch on Std_TreeSyncPlacement.
  12. Drag the array out of the Part.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

Roy_043 wrote: Wed Nov 03, 2021 1:38 pm
that sounds good. i work with a translator, that makes it a little difficult. is it very time-consuming if you shoot a video of it?


edit


I think I did everything as described, but it doesn't work for me. have you tested it or is it a theoretical suggestion?
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by Roy_043 »

thomas-neemann wrote: Wed Nov 03, 2021 1:44 pm have you tested it
Yes of course!
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by thomas-neemann »

Roy_043 wrote: Wed Nov 03, 2021 3:02 pm
I tried again and shot a video of it. the centering does not fit, what am I doing wrong?

https://www.youtube.com/watch?v=b4Kd-E-2EZM

phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Roy_043
Veteran
Posts: 8455
Joined: Thu Dec 27, 2018 12:28 pm

Re: [solved] Unexpected behavior of polar array on not top workplane?

Post by Roy_043 »

thomas-neemann wrote: Wed Nov 03, 2021 8:17 pm what am I doing wrong?
Roy_043 wrote: Wed Nov 03, 2021 1:38 pm create a Draft_PolarArray at the global origin.
Post Reply