Circles detected as elipses...

Discussions about the development of the TechDraw workbench
User avatar
71GA
Posts: 49
Joined: Mon Mar 27, 2017 10:03 pm

Circles detected as elipses...

Postby 71GA » Tue Aug 13, 2019 9:38 pm

Hey, I am trying to dimension this part in TechDraw workbench but with no sucess, because Techdraw keeps on detecting my holes as elipses. There are a couple holes that are angled, but that's only a few... Could anyone advise me on how to dimension this? I have NO clue because it looks like Techdraw has big problems with any part that is angled...

I tried to select the biggest plane on the object and then create a view which ought to be in the direction of the plane normal, but it looks like it is not and therefore circles are detected as elipses...

I am using v0.18 on Debian.

ADDED (after Kunda1 comment):

OS: Debian GNU/Linux 10 (buster)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.
Build type: Release
Python version: 2.7.16rc1
Qt version: 5.11.3
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
Attachments
2019-05-17 -- pisalna miza - pokrov - posevni - veliki.fcstd
(54.33 KiB) Downloaded 11 times
Last edited by 71GA on Wed Aug 14, 2019 5:55 am, edited 2 times in total.
User avatar
Kunda1
Posts: 9743
Joined: Thu Jan 05, 2017 9:03 pm

Re: Circles detected as elipses...

Postby Kunda1 » Wed Aug 14, 2019 3:37 am

Moved to TechDraw subforum.
OP, please always post your full FC info (per the guidelines). Thank you
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
chrisb
Posts: 32082
Joined: Tue Mar 17, 2015 9:14 am

Re: Circles detected as elipses...

Postby chrisb » Wed Aug 14, 2019 6:37 am

You can use addon FCCamera to align the camera before creating the view.
Besides, if you have issues with 0.18, you should try in current 0.19. You can install both in parallel.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
71GA
Posts: 49
Joined: Mon Mar 27, 2017 10:03 pm

Re: Circles detected as elipses...

Postby 71GA » Wed Aug 14, 2019 7:47 am

@chrisb I used the FCCamera and aligned my view to the plane. Well, holes are still seen as elipses. I also tried development version Appimage and it suffers same symptoms. What is next?

Holes were made as a circles in a sketch which i put directly on the plane and then I used Hole function of the part design workbench to create holes.
chrisb
Posts: 32082
Joined: Tue Mar 17, 2015 9:14 am

Re: Circles detected as elipses...

Postby chrisb » Wed Aug 14, 2019 11:34 am

wandererfan will have to judge if this needs fixing. Until then you can add a sketch to your drawing as a workaround.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Circles detected as elipses...

Postby wandererfan » Wed Aug 14, 2019 1:46 pm

71GA wrote:
Tue Aug 13, 2019 9:38 pm
Hey, I am trying to dimension this part in TechDraw workbench but with no sucess, because Techdraw keeps on detecting my holes as elipses.
In the 3D view, the 3 larger holes are perpendicular to the face and the small holes are angled to the face .
4Angled2ThroughHoles.png
4Angled2ThroughHoles.png (6.81 KiB) Viewed 499 times
AngledThroughHole.png
AngledThroughHole.png (12.72 KiB) Viewed 499 times
The 3 larger holes are drawn as circles. The small holes are drawn as ellipses (as they should be in a projection).
TDCirclesAndEllipses.png
TDCirclesAndEllipses.png (11.31 KiB) Viewed 499 times
User avatar
71GA
Posts: 49
Joined: Mon Mar 27, 2017 10:03 pm

Re: Circles detected as elipses...

Postby 71GA » Thu Aug 15, 2019 9:43 am

wandererfan wrote:
Wed Aug 14, 2019 1:46 pm
The 3 larger holes are drawn as circles. The small holes are drawn as ellipses (as they should be in a projection).
I know that. It is intentional. So how can I dimension this?

To reproduce my problem try this... (a) Select the big plane in my model and then (b) go to TechDraw workbench and (c) insert a view. Now this view should have a normal which is exactly opposite from the plane's normal and therefore should render small holes like circles. Well... It doesn't. It renders them as elipses and the worst thing is that center marks aren't drawn and therefore I can't dimension the holes.
chrisb
Posts: 32082
Joined: Tue Mar 17, 2015 9:14 am

Re: Circles detected as elipses...

Postby chrisb » Thu Aug 15, 2019 10:36 am

I have minimized the example, so that the issue can be reproduced with just a single hole of each diameter/orientation
  • The orientation normal to the plane of the big hole is shown in "View". It correctly shows a circle and the tilted holes as ellipses.
  • To align the view according to the small hole
    - I changed the preferences to not restore the view after editing.
    - I entered Sketcher which aligns the view normal to the sketch plane.
    - Closing Sketcher left the view in that very position
    - Added that as View001 to the page
    Expected: small circles. Found: ellipses.
Snip macro screenshot-8f7474.png
Snip macro screenshot-8f7474.png (9.1 KiB) Viewed 449 times
Attachments
pisalna_cb.FCStd
(30.33 KiB) Downloaded 16 times
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.