Hi
make request :
Plane mirror:
Plane XY
Plane XZ
Plane YZ
Plane on selected face
volunter ?
mario
Mirror with any plane (part wb)
Forum rules
and Helpful information
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!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Mirror with any plane (part wb)
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Mirror with any plane (part wb)
Indeed. As a further improvement, you can use :
For base : '<<MirrorPlane>>.Base.Placement' -- as stated by chrisb
For normal : '<<MirrorAxis>>.Shape.Curve.Direction'
EDIT : attach improved file
- Attachments
-
- multisection _OB.fcstd
- (591.74 KiB) Downloaded 22 times
Re: Mirror with any plane (part wb)
Thanks!
For those not knowing how to set an expression for a compound property:
- Right click in the property panel, select "Show all"
- Right click on the property name (not the value) and select "Expression ..."
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Mirror with any plane (part wb)
... Or click in the field and then click the f(x) button.
Re: Mirror with any plane (part wb)
Or simply
- select Part object to mirror (cube in your example)
- select Part:plane
- hit
from Lattice2 WB ... Done!
Full parametric mirror object is created.
- select Part object to mirror (cube in your example)
- select Part:plane
- hit
from Lattice2 WB ... Done!
Full parametric mirror object is created.
-
- Veteran
- Posts: 3179
- Joined: Thu Sep 24, 2020 10:31 pm
- Location: Hawaii
- Contact:
Re: Mirror with any plane (part wb)
For others wondering just how this all worked, <<MirrorAxis>> is a construction line created to provide the normal direction to <<MirrorPlane>> attached to the object to be mirrored. Expressions were then used to locate the mirror plane for the mirroring operation.
Re: Mirror with any plane (part wb)
You are right. I was still thinking of Placement, which doesn't have this button.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Mirror with any plane (part wb)
draft mirror like this.
- Attachments
-
- mirror.FCStd
- (45.36 KiB) Downloaded 14 times
-
- DraftMirror.FCStd
- (48.01 KiB) Downloaded 17 times