(workaround) Array is moved
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
(workaround) Array is moved
if the part that is to be duplicated is not at the origin, it shifts
https://www.youtube.com/watch?v=359KvzE4l-4
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.27319 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 67706b1)
Hash: 67706b14df32b91b948952ea2c9350948ba4d4db
Python version: 3.9.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
https://www.youtube.com/watch?v=359KvzE4l-4
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.27319 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 67706b1)
Hash: 67706b14df32b91b948952ea2c9350948ba4d4db
Python version: 3.9.10
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.3
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Sun Feb 06, 2022 5:51 pm, edited 1 time in total.
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Array is moved
probably the error is that the array has a wrong placement
Re: Array is moved
That's normal behaviour. These are new objects with their own placement. It's different from PartDesign features.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Array is moved
thanks for the hint. a test with another array confirms this.
the displacement corresponds to the position of the array to the origin. that could be a clue
Re: Array is moved
That description is not correct as you have already found out I guess: the first path array has a default Placement, therefore it is at the origin.thomas-neemann wrote: ↑Sun Feb 06, 2022 3:03 pm if the part that is to be duplicated is not at the origin, it shifts
Workaround:
- Create a Std_Part.
- Move it to the desired vertex of one of the solids in the 1st path array (with Draft_Move).
- Make sure Std_TreeSyncPlacement is ON.
- Drop the 1st path array in the Std_Part
- Use the Std_Part as the Base for the 2nd path array.
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Array is moved
that sounds good, thanks. I will test and report here. but it is strange that it works with the normal array
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Array is moved
it works. thanks, it's a good workaround, but shouldn't that be changed?
Re: (workaround) Array is moved
Not sure what you mean. What we are seeing here is common in FreeCAD. The Placement Base of an object need not match any of its geometry. Try offsetting a Draft_Wire f.e.
- thomas-neemann
- Veteran
- Posts: 11800
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: (workaround) Array is moved
I find it a bit confusing that it works with the normal array and not with the path array
Re: (workaround) Array is moved
It's not really different from the normal Array, but with PathArray it's the path which determines the position, not the object.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.