(Solved) Octagon Fail

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
Sam
Posts: 177
Joined: Sun Mar 20, 2016 6:19 pm

(Solved) Octagon Fail

Post by Sam »

Code: Select all

OS: Ubuntu 16.04.3 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11779 (Git)
Build type: None
Branch: master
Hash: 7c87549e4ba992cf324c59986908a22ccb5fcf4c
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/UnitedKingdom (en_GB)
Start FreeCAD
New document
Part Design WB
New sketch on XY plane
(Auto constraints on)
Create Octagon
Centre on origin
Radius on horizontal axis; x > 0 y = 0

The octagon is created with zero size. Trying to set the radius of the circumscribing circle is not allowed; conflicting constraints.

Thoughts?
Last edited by Sam on Thu Dec 07, 2017 9:21 pm, edited 1 time in total.
User avatar
bejant
Veteran
Posts: 6075
Joined: Thu Jul 11, 2013 3:06 pm

Re: Octagon Fail

Post by bejant »

Sam wrote: Mon Aug 14, 2017 11:23 pmThoughts?
To Constrain the radius of the blue construction circle that is created after you make the octagon:
Select the blue circle,
Click the Radius Constraint:
Image
and follow the prompts...
Sam
Posts: 177
Joined: Sun Mar 20, 2016 6:19 pm

Re: Octagon Fail

Post by Sam »

I mustn't have been clear. I have worked around the issue. No worries. I am reporting unexpected behaviour.

Creating the octagon in the specific way I described caused an octagon of zero size. Therefore the construction circle is not visible. Finding and editing the constraint via the constraints dialog in the tasks tab fails due to conflicting constraints.
wmayer
Founder
Posts: 20319
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Octagon Fail

Post by wmayer »

From a mathematical point of view it's not a bug because the sketch fulfills all constraints. However, from a user point of view one of course doesn't want to have a circle with a radius of 0.

In the past we had a similar issue #0000909 where when creating a circle in origin and the rim point on an axis then the tangency constraint forced the circle to degenerate to a point.

So, I think we should also implement a workaround to avoid to degenerate the circle.

Feel free to open a bug report.
Sam
Posts: 177
Joined: Sun Mar 20, 2016 6:19 pm

Re: Octagon Fail

Post by Sam »

wmayer wrote: Tue Aug 15, 2017 7:57 am Feel free to open a bug report.
I just played about some more, and it seems to only happen when the suggested constraints are point on object, and horizontal.

Issue issue #3160 created. But, balls: It's duplicate of issue #3154.

Sorry for the noise.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Octagon Fail

Post by Kunda1 »

closed issue #3160 in a favor of issue #3154
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
abdullah
Veteran
Posts: 4935
Joined: Sun May 04, 2014 3:16 pm
Contact:

Re: Octagon Fail

Post by abdullah »

User avatar
meme2704
Veteran
Posts: 2926
Joined: Sat Apr 01, 2017 2:47 pm
Location: Vosges

Re: Octagon Fail

Post by meme2704 »

Do not panic, this is not the work of the wicked weevil, it also happens in V0.16, it combines the constraints of the center with those of the starting point of the circle or the poligon
Solution: with the capture window grabbed this common point, and gives 1 radius
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Octagon Fail

Post by Kunda1 »

Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Sam
Posts: 177
Joined: Sun Mar 20, 2016 6:19 pm

Re: (Solved) Octagon Fail

Post by Sam »

Thread title updated
Post Reply