feature request, move surface of object to XY-plane
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
Be nice to others! Read the FreeCAD code of conduct!
feature request, move surface of object to XY-plane
I model things and want to 3d print them. Every part has to be moved to the XY plane to be in the correct place in the slicer. So I am requesting this feature. That I can just click on a face and move it to the XY-plane. Put the center of the object on the z axis if it is possible.
Re: feature request, move surface of object to XY-plane
I'm pretty sure someone proficient in Python could make a macro for that.
Re: feature request, move surface of object to XY-plane
Actually, somebody (openBrain) already did!
[Macro] Straighten objects
How to use:
Note: if you are working with a PartDesign Body, you first need to set its "Display Mode Body" property in the View tab from "Through" to "Tip", or it won't work as expected.
[Macro] Straighten objects
How to use:
- Select a face on the solid(s) to move to the XY plane; optionally select an edge as well
- Launch the macro
- Bam! You're done.
Note: if you are working with a PartDesign Body, you first need to set its "Display Mode Body" property in the View tab from "Through" to "Tip", or it won't work as expected.
Re: feature request, move surface of object to XY-plane
thank you!NormandC wrote: ↑Sun Apr 21, 2019 4:09 am Actually, somebody (openBrain) already did!
[Macro] Straighten objects
How to use:
- Select a face on the solid(s) to move to the XY plane; optionally select an edge as well
- Launch the macro
- Bam! You're done.
Note: if you are working with a PartDesign Body, you first need to set its "Display Mode Body" property in the View tab from "Through" to "Tip", or it won't work as expected.
Re: feature request, move surface of object to XY-plane
Just a precision. The extra edge if used, it will be set parallel to X axis.
[/quote]
Note: if you are working with a PartDesign Body, you first need to set its "Display Mode Body" property in the View tab from "Through" to "Tip", or it won't work as expected.
[/quote]
@NormandC, do you have an example where the Display Mode Body set to Through leads to issues. The macro normally correctly manages this case. I did some basic testing and got no bug, thus I'll be interested if you have a demo file that fails.