Referencing an Object in relation to another
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Referencing an Object in relation to another
To move the door you should change the attachment of the underlying sketch.
Look at the first image in this contribution by @paullee:
https://forum.freecadweb.org/viewtopic. ... 60#p338087
In this case the Attachment offset Z value must be changed. This is because the door sketch is attached to a plane that is perpendicular to the wall sketch line.
Look at the first image in this contribution by @paullee:
https://forum.freecadweb.org/viewtopic. ... 60#p338087
In this case the Attachment offset Z value must be changed. This is because the door sketch is attached to a plane that is perpendicular to the wall sketch line.
Re: Referencing an Object in relation to another
Oupsss I got it... Sorry, to not have seen the answer.
However, not easy to understand which Alignment to choose, and the axis to manage to get the final expected position..
Once is "X", (for Door) another one is "Y" (for Window)
Also, sometimes, the wall are not updated (Here below I just have modified the length [of the center] of the wall from 5 m to 6 m)
To fix the issue, I had to modify a feature of the wall : width from 20 cm to 15 cm, then back to 20 cm..
CONCLUSION
I would say it is an "acceptable" workaround but still bugged, and the requested feature should be native to Arch & BIM.
However, not easy to understand which Alignment to choose, and the axis to manage to get the final expected position..
Once is "X", (for Door) another one is "Y" (for Window)
Also, sometimes, the wall are not updated (Here below I just have modified the length [of the center] of the wall from 5 m to 6 m)
To fix the issue, I had to modify a feature of the wall : width from 20 cm to 15 cm, then back to 20 cm..
CONCLUSION
I would say it is an "acceptable" workaround but still bugged, and the requested feature should be native to Arch & BIM.
Last edited by ckl6767 on Mon Oct 07, 2019 1:51 pm, edited 1 time in total.
Re: Referencing an Object in relation to another
You should be able to use the same alignment for all windows and doors.
Sometime you have to force a recompute: Select the the document node, right click and select "Mark to recompute" and click the Std Refresh button.
Sometime you have to force a recompute: Select the the document node, right click and select "Mark to recompute" and click the Std Refresh button.
- Attachments
-
- home3.FCStd
- (42.37 KiB) Downloaded 54 times
Re: Referencing an Object in relation to another
Thanks for the trick !Roy_043 wrote: ↑Mon Oct 07, 2019 1:50 pm Sometime you have to force a recompute: Select the the document node, right click and select "Mark to recompute" and click the Std Refresh button.
Re: Referencing an Object in relation to another
Yes, pretty difficult to understand - I spend another hour to read MapMode / Attachment Mode again
Re: Referencing an Object in relation to another
Hello all,
Now working on: Version: 0.19.18831 (Git)
Finally I decided to use the following trick to position a window.
Using the OXY mapping of the "window sketch" to a "construction sketch" linked to the Wall Unfortunately I'm facing an issue.
Certainly due to "the internal freecad problem of topological naming"
Before to add the last window After adding the last window However, the approach seems interesting:
Using a "construction sketch" to setup the position of the windows.
The issue is clearly identified.
Before to add the last window "Face Number = 18" , after, "Face number = 22" !
Have you any idea how I could fix this issue in a smart way
Thanks in advance
Now working on: Version: 0.19.18831 (Git)
Finally I decided to use the following trick to position a window.
Using the OXY mapping of the "window sketch" to a "construction sketch" linked to the Wall Unfortunately I'm facing an issue.
Certainly due to "the internal freecad problem of topological naming"
Before to add the last window After adding the last window However, the approach seems interesting:
Using a "construction sketch" to setup the position of the windows.
The issue is clearly identified.
Before to add the last window "Face Number = 18" , after, "Face number = 22" !
Have you any idea how I could fix this issue in a smart way
Thanks in advance
- Attachments
-
- home.FCStd
- (113.22 KiB) Downloaded 36 times
Re: Referencing an Object in relation to another
Try to map the construction sketches to the base sketch of the wall. Assuming that sketch is unlikely to change, that would be a better option.
Re: Referencing an Object in relation to another
Done.
Thanks to some pillars mapped to the base sketch, I could setup the "construction sketch"
And all is working well.
Thanks for your help
Thanks to some pillars mapped to the base sketch, I could setup the "construction sketch"
And all is working well.
Thanks for your help
- Attachments
-
- home.FCStd
- (141.47 KiB) Downloaded 32 times
Re: Referencing an Object in relation to another
Just a lttle question.
To create a pillar I use the "NormalToEdge" method, as shown in Video.
I could observe that according to the line,
Orientation of the line
Is there a way to choose the side where we want to create the pillar?
I still have 2 pillars to position and I can not put them in the right place.
(Of course I could manage with these already pillars, but here it's really a question of understanding) thank you in advance
To create a pillar I use the "NormalToEdge" method, as shown in Video.
I could observe that according to the line,
- Once the pillar is created on the right , and for another line
- it is created on the left .
Orientation of the line
Is there a way to choose the side where we want to create the pillar?
I still have 2 pillars to position and I can not put them in the right place.
(Of course I could manage with these already pillars, but here it's really a question of understanding) thank you in advance
- Attachments
-
- home.FCStd
- (318.95 KiB) Downloaded 34 times
Re: Referencing an Object in relation to another
You are right: for NormalToEdge the direction of the edge is taken into account. The lines in the main Sketch are not all CW or CCW.
You can try using ThreePointsNormal instead.
You can try using ThreePointsNormal instead.