Unusable Helix Projections

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!
ulrich1a
Posts: 1958
Joined: Sun Jul 07, 2013 12:08 pm

Re: Unusable Helix Projections

Postby ulrich1a » Thu Jan 29, 2015 10:00 pm

shoogen wrote: ulrich1a wrote:Your picture from the last post is a Draft-Projection or a Drawing-Projection?

Drawing
So there is a solution for the disturbed curves. Glad to here!

I compared a Drawing projection from
OS: Debian GNU/Linux 8.0 (jessie)
Word size: 64-bit
Version: 0.15.3779 (Git)
Branch: master
Hash: 4b8f262157ad843897cca695d0492fd281eb41bd
Python version: 2.7.7
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1

with

OS: Windows XP (Wine)
Word size: 32-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.5.1

The projection with OCC 6.5.1 has not the much visible hidden lines, where as the projection with OCC6.7.1 looks like yours except that it has also the disturbed lines.
Was there a change in the api for the projection function between those OCC releases?

Ulrich
User avatar
shoogen
Posts: 2823
Joined: Thu Dec 01, 2011 5:24 pm

Re: Unusable Helix Projections

Postby shoogen » Sun Feb 01, 2015 10:51 am

ulrich1a wrote:The projection with OCC 6.5.1 has not the much visible hidden lines, where as the projection with OCC6.7.1 looks like yours except that it has also the disturbed lines.
Was there a change in the api for the projection function between those OCC releases?
I don't think so. But surely there are now lines visible which should not be there. In my understanding the visible outline should not contain intersecting edges. I reported this as http://tracker.dev.opencascade.org/view.php?id=25776
User avatar
Kunda1
Posts: 8392
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unusable Helix Projections

Postby Kunda1 » Fri Mar 24, 2017 2:56 pm

ulrich1a wrote:
shoogen wrote: ulrich1a wrote:Your picture from the last post is a Draft-Projection or a Drawing-Projection?

Drawing
So there is a solution for the disturbed curves. Glad to here!

I compared a Drawing projection from
OS: Debian GNU/Linux 8.0 (jessie)
Word size: 64-bit
Version: 0.15.3779 (Git)
Branch: master
Hash: 4b8f262157ad843897cca695d0492fd281eb41bd
Python version: 2.7.7
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1

with

OS: Windows XP (Wine)
Word size: 32-bit
Version: 0.14.3700 (Git)
Branch: releases/FreeCAD-0-14
Hash: 32f5aae0a64333ec8d5d160dbc46e690510c8fe1
Python version: 2.6.2
Qt version: 4.5.2
Coin version: 3.1.0
SoQt version: 1.4.1
OCC version: 6.5.1

The projection with OCC 6.5.1 has not the much visible hidden lines, where as the projection with OCC6.7.1 looks like yours except that it has also the disturbed lines.
Was there a change in the api for the projection function between those OCC releases?

Ulrich
Ulrich, can you see if issues are still reproducible with OCC7.1 ? (even though @shoogen's upstream ticket hasn't seen any progress)
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Unusable Helix Projections

Postby NormandC » Sat Mar 25, 2017 5:34 am

With OCC 6.8.0, marginal improvement:
FC_ulrich1a_helix_projection_01.png
FC_ulrich1a_helix_projection_01.png (13.97 KiB) Viewed 1284 times
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.16.6707 (Git)
Build type: None
Branch: releases/FreeCAD-0-16
Hash: 5465bc47c95db45e0be85dc0e2872419efadce0f
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17

More improvement in OCC 7.1.0 / Drawing wb, still not perfect
FC_ulrich1a_helix_projection_02.png
FC_ulrich1a_helix_projection_02.png (19.59 KiB) Viewed 1284 times
Actual regression in OCC 7.1.0 / TechDraw workbench :?
FC_ulrich1a_helix_projection_03.png
FC_ulrich1a_helix_projection_03.png (24.2 KiB) Viewed 1284 times
OS: Ubuntu 16.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.10611 (Git)
Build type: None
Branch: master
Hash: 44a9ecd25f27ec3efe52c9de9c95ef2b3e19dd17
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
User avatar
Kunda1
Posts: 8392
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unusable Helix Projections

Postby Kunda1 » Sat Mar 25, 2017 12:09 pm

Thanks NormandC, I've notated issue #1937. Is there anyone that can bump the upstream ticket shoogen created?
http://tracker.dev.opencascade.org/view.php?id=25776
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Unusable Helix Projections

Postby NormandC » Sat Mar 25, 2017 4:45 pm

What's really odd is that I don't get as nearly garbled projections with a newly built swept helix, compared to ulrich1a's original model.

See https://forum.freecadweb.org/viewtopic. ... 59#p167159
User avatar
Kunda1
Posts: 8392
Joined: Thu Jan 05, 2017 9:03 pm

Re: Unusable Helix Projections

Postby Kunda1 » Fri May 12, 2017 12:55 pm

wandererfan wrote:ping
FYI you were mentioned in https://freecadweb.org/tracker/view.php?id=1937#c8706
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: Unusable Helix Projections

Postby wandererfan » Tue May 30, 2017 4:43 pm

ulrich1a wrote:
Wed Jan 28, 2015 10:06 am
The top projection is only a simple line instead of the expected ring. The lower projection has not all hidden lines correctly removed.
Should be improved by git commit 052704eb.

Still an issue with the ID of the top view, I think.
Attachments
TechDrawHelix.png
TechDrawHelix.png (6.99 KiB) Viewed 1105 times
DrawingHelix.png
DrawingHelix.png (9.55 KiB) Viewed 1105 times