Center of a Rectangle
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!
-
- Posts: 67
- Joined: Mon Nov 24, 2014 7:54 pm
Center of a Rectangle
Is there a way to constrain the center of a rectangle (or other symmetrical non-arc/circle)?
Re: Center of a Rectangle
Are you asking about PartDesign/sketcher?demackison wrote:Is there a way to constrain the center of a rectangle (or other symmetrical non-arc/circle)?
If so, use symmetry constraint with two diagonally opposed vertices.
-
- Posts: 67
- Joined: Mon Nov 24, 2014 7:54 pm
Re: Center of a Rectangle
Yes.jmaustpc wrote: Are you asking about PartDesign/sketcher?
I looked at http://www.freecadweb.org/wiki/index.ph ... _Symmetric and I don't see how to let the program know which of the three points is the center.jmaustpc wrote:If so, use symmetry constraint with two diagonally opposed vertices.
Re: Center of a Rectangle
The third selected point will be considered the center.
From the command page you linked:
From the command page you linked:
The documentation wrote:Alternatively it can constrain two points to be symmetric with respect to a third one.
Re: Center of a Rectangle
if you put the mouse pointer over the toll it pops up a tool tip that tells you how to use the tool, as with the other tools. Are your tool tips not working?
Re: Center of a Rectangle
I just remembered I recorded a quick video a year ago. Starting at 1:40 I'm adding a symmetric constraint between diagonally opposed filleted corners of a rectangle and the origin point.
http://youtu.be/w2HGxWmMr-A
http://youtu.be/w2HGxWmMr-A
Re: Center of a Rectangle
While reading this post i tried some constraints on rectangles and I found some strange behavior.
In the attached file, select first the two most left vertices, then the lower line of the right most rectangle(or one of its vertices). After selecting symmetry constraint on these selections all geometry bunches up in a vertical line.
Could this be a bug?
OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4199 (Git)
Branch: master
Hash: 3904d0a8ee63b67979e9e71e61e423cfe331926a
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 3.1.3
OCC version: 6.7.1
In the attached file, select first the two most left vertices, then the lower line of the right most rectangle(or one of its vertices). After selecting symmetry constraint on these selections all geometry bunches up in a vertical line.
Could this be a bug?
OS: "Arch Linux"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4199 (Git)
Branch: master
Hash: 3904d0a8ee63b67979e9e71e61e423cfe331926a
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 3.1.3
OCC version: 6.7.1
- Attachments
-
- centerconstr.fcstd
- (3.12 KiB) Downloaded 75 times
Need help? Feel free to ask, but please read the guidelines first
Re: Center of a Rectangle
I can't reproduce on the current latest release on Windows. The symmetric constraint gets added as expected.
OS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
I will test on the Daily Build tonight.
OS: Windows 7
Word size: 64-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.7.6
Qt version: 4.8.5
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.6.0
I will test on the Daily Build tonight.
Re: Center of a Rectangle
Works as expected for me using:
OS: Ubuntu 14.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4236 (Git)
Branch: master
Hash: f5a4e680681f30bb9396f1968ec3f9f82d175837
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
OS: Ubuntu 14.04.1 LTS
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.15.4236 (Git)
Branch: master
Hash: f5a4e680681f30bb9396f1968ec3f9f82d175837
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Re: Center of a Rectangle
Could you please post a file with the final constraint applied so i can test.
Need help? Feel free to ask, but please read the guidelines first