(SOLVED) How can i set the placement to 0 0 0?

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

(SOLVED) How can i set the placement to 0 0 0?

Post by thomas-neemann »

How can you take over the placement position in facebinder?

Bildschirmfoto_2023-01-25_10-44-52.png
Bildschirmfoto_2023-01-25_10-44-52.png (33.48 KiB) Viewed 881 times
Bildschirmfoto_2023-01-25_10-45-16.png
Bildschirmfoto_2023-01-25_10-45-16.png (27.43 KiB) Viewed 881 times
1044tn.FCStd
(5.32 KiB) Downloaded 24 times

Code: Select all

OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20.2)
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: German/Germany (de_DE)
Last edited by thomas-neemann on Wed Jan 25, 2023 1:31 pm, edited 4 times in total.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: How can you take over the placement position in facebinder?

Post by chrisb »

What do you mean by "to take over"? By expressions? See Placement for that.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: How can you take over the placement position in facebinder?

Post by thomas-neemann »

chrisb wrote: Wed Jan 25, 2023 10:31 am What do you mean by "to take over"? By expressions? See Placement for that.
like e.g. with clone, there it is taken over automatically
Bildschirmfoto_2023-01-25_11-43-43.png
Bildschirmfoto_2023-01-25_11-43-43.png (38.01 KiB) Viewed 856 times
1044tn2.FCStd
(5.22 KiB) Downloaded 26 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: How can you take over the placement position in facebinder?

Post by chrisb »

The FaceBinder is a new object, which is in general not directly related to the placement of an arbitrary face. There is no reason why it should behave differently when attached to an object which itself happens to be a face. Like most other objects it gets its own new Placement.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: How can you take over the placement position in facebinder?

Post by thomas-neemann »

chrisb wrote: Wed Jan 25, 2023 11:03 am ...
when i extrude it, move to origin and export as step, it's jumped on import, so i'd like to know how to take over it.


edit

the extrusion also creates a 0 0 0 placement again.

the exact question is: how do you transfer the actual placement (global coordinate system) to an object?
Gruß Dipl.-Ing. (FH) Thomas Neemann

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

Re: How do you transfer the actual placement (global coordinate system) to an object??

Post by Roy_043 »

A Draft_Facebinder can reference faces from multiple objects. Using the Placement from one of them would not make sense.

'Actual Placement' is a human concept that does not exist in FreeCAD. But you should know the standard workaround by now: nest in a Std_Part. Or, alternatively, use Part_RefineShape. There are also some macros related to this.
chrisb
Veteran
Posts: 53920
Joined: Tue Mar 17, 2015 9:14 am

Re: How can you take over the placement position in facebinder?

Post by chrisb »

thomas-neemann wrote: Wed Jan 25, 2023 11:09 am how about moving the face to origin?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
thomas-neemann
Veteran
Posts: 11801
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: How do you transfer the actual placement (global coordinate system) to an object??

Post by thomas-neemann »

Roy_043 wrote: Wed Jan 25, 2023 1:18 pm ....use Part_RefineShape. ....
thank you very much, that is the solution. if I use this function before the step export, it no longer jumps. Marvelous

Greetings Thomas


edit

it also works with part compound, which should be more stable
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
Post Reply