Rotate a profile perpendicular to an edge

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
Post Reply
m.cavallerin
Posts: 115
Joined: Wed May 30, 2018 6:59 pm

Rotate a profile perpendicular to an edge

Post by m.cavallerin »

Hi,

how can I rotate the square pipe profile perpendicular to the highlighted green edge?

Thx
Michele
Screenshot from 2020-02-16 05-41-25.png
Screenshot from 2020-02-16 05-41-25.png (11.04 KiB) Viewed 547 times
Attachments
skeleton.FCStd
(12.93 KiB) Downloaded 38 times
kisolre
Veteran
Posts: 4166
Joined: Wed Nov 21, 2018 1:13 pm

Re: Rotate a profile perpendicular to an edge

Post by kisolre »

You can use sketch attachment:
.
Map mode.JPG
Map mode.JPG (60.54 KiB) Viewed 530 times
.
Or use some extra geometry and expressions to calculate the angle. What do you want to achieve?
mario52
Veteran
Posts: 4701
Joined: Wed May 16, 2012 2:13 pm

Re: Rotate a profile perpendicular to an edge

Post by mario52 »

hi

with Macro_Perpendicular_To_Wire Image
select
1: the path
2: the square run the macro

Image


mario
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.
freedman
Veteran
Posts: 3478
Joined: Thu Mar 22, 2018 3:02 am
Location: Washington State, USA

Re: Rotate a profile perpendicular to an edge

Post by freedman »

You can also create a datum plane (Normal) to the edge and map the sketch to the plane. For best usage, create sketches in Part design.
Attachments
move11.JPG
move11.JPG (27.15 KiB) Viewed 475 times
Post Reply