How to rotate shape in sketch?

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
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

How to rotate shape in sketch?

Post by PedjaS »

I have copy of shape in Sketch which I want to rotate 180 degrees.

Sketch does not have options for rotation. When i switch to Draft there are such options but all are greyed out.

Is there some other place where I should look for rotation?



OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.4 (GitTag)
Build type: Release
Branch: releases/FreeCAD-0-18
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
chrisb
Veteran
Posts: 54213
Joined: Tue Mar 17, 2015 9:14 am

Re: How to rotate shape in sketch?

Post by chrisb »

You are probably using PartDesign workbench. Sketches have an AttachmentOffset, which describes the position relative to the body's Placement.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
PedjaS
Posts: 147
Joined: Sat Jan 18, 2020 6:35 pm

Re: How to rotate shape in sketch?

Post by PedjaS »

No, I am in Sketches. I do not want to rotate whole sketch but just one shape that is in the sketch.

I managed to use mirror option, however shape fell apart. Basicaly, I had to draw it from scratch.
drmacro
Veteran
Posts: 8984
Joined: Sun Mar 02, 2014 4:35 pm

Re: How to rotate shape in sketch?

Post by drmacro »

The gurus will correct me if I'm uttering nonsense... ;)

I don't think there is a way to select some geometry in sketcher and rotate. (there may be macros or python though)

There are a couple of "drafting" tools that occasionally I note the lack thereof.

Rotation of selected geometry (obviously before constraints are applied or after removing auto constraints like horizontal)

Simple copy & paste (clone, copy, move don't seem to work the way I expect...at least)

split a line into parts (on several occasions I've had a lot of geometry already laid out and then want to change a side to two lines so as to angle the resulting two (or more segments).

Not a problem, just noted while using sketcher... :|

If there ARE ways to do these things...I'm listening! :?:
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Roy_043
Veteran
Posts: 8552
Joined: Thu Dec 27, 2018 12:28 pm

Re: How to rotate shape in sketch?

Post by Roy_043 »

Perhaps a bit cumbersome:
  1. Use Draft_Draft2Sketch to create Draft objects from the sketch.
  2. Draft_Rotate the Draft objects.
  3. Use Draft_Draft2Sketch to create a new sketch from the rotated objects.
  4. Use Sketcher_MergeSketches to merge the original and the new sketch.
User avatar
salp
Posts: 252
Joined: Thu Nov 21, 2013 11:58 pm
Location: Putnam, NY

Re: How to rotate shape in sketch?

Post by salp »

If you can attach the file, you may get more detailed answers.
Post Reply