[FIXED] Problems with Drawing WB?

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!
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

[FIXED] Problems with Drawing WB?

Postby quick61 » Sun Jan 11, 2015 8:58 pm

OS: Kubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4454 (Git)
Branch: master
Hash: 0a31bebaedf82a376833ef6e0ddcbdb6638a2acf
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17-dev

Drawing

Some views are not being projected for Cylindrical Part.

Steps - Open Drawing Workbench and select template. Select a Cylindrical Part and pick Insert orthographic projection - No projection is produced. After checking ALL boxes, only a few projections are shown, the rest show an error with no message. (see screenshot)

Drawing_Error.png
Drawing_Error.png (153.29 KiB) Viewed 966 times
WormWheel.fcstd
(62.42 KiB) Downloaded 15 times

Mark
Last edited by quick61 on Mon Jan 12, 2015 2:14 am, edited 1 time in total.
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problems with Drawing WB?

Postby NormandC » Sun Jan 11, 2015 9:59 pm

There have been quite a series of topics related to drawing view issues.

I can only find these two for now, but there were a few others:
viewtopic.php?f=3&t=9222
viewtopic.php?f=3&t=8954#p73132 (see top view in the middle)

Honestly the Drawing wb code for projecting views definitely needs an overhaul...
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problems with Drawing WB?

Postby NormandC » Sun Jan 11, 2015 10:02 pm

I have modeled your part with a single PartDesign Revolution of a sketch. Same problem, a front/side/rear view won't show.

Edit: Draft Shape2DView works, but it adds small line segments aligned with the inner hole, but not on the full height of the part. Strange.

Edit 2: here's my FreeCAD info:
OS: Ubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4454 (Git)
Branch: master
Hash: 0a31bebaedf82a376833ef6e0ddcbdb6638a2acf
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.7.1
Attachments
FC_WormWheel_DraftShape2DView.png
FC_WormWheel_DraftShape2DView.png (3.43 KiB) Viewed 953 times
WormWheel_normandc1.fcstd
(34.98 KiB) Downloaded 10 times
Last edited by NormandC on Sun Jan 11, 2015 10:18 pm, edited 1 time in total.
Reason: Added FreeCAD info.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problems with Drawing WB?

Postby NormandC » Sun Jan 11, 2015 10:16 pm

I just found that this is a specific issue with current master.

In v0.14.3705, it works (almost) fine.

(Edit: saving the document from 0.14.3705, then opening in 0.15.4454 and doing a force recompute makes the front and side views fail)

OS: Ubuntu 14.04.1 LTS
Word size: 64-bit
Version: 0.14.3705 (Git)
Branch: FreeCAD-0-14
Hash: f25e6e4716fb63ef3ac618ce9e552761bbc1b4b1
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
SoQt version: 1.6.0a
OCC version: 6.7.1
Attachments
FC_WormWheel_0.14.3705.png
FC_WormWheel_0.14.3705.png (49.33 KiB) Viewed 952 times
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Problems with Drawing WB?

Postby quick61 » Sun Jan 11, 2015 10:21 pm

Thanks Norm, that is just what I am seeing here. 99.999% sure this just happened, as I did a Drawing a couple-3 days ago of a similar part, (just the center section) and it was working fine. That same part fails today in the same manner as this current part. I'll file a ticket on Mantas.

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problems with Drawing WB?

Postby NormandC » Sun Jan 11, 2015 10:28 pm

Once you file a new ticket, maybe we could reopen issue #1898 and link it to it.

This commit may be the culprit: git commit 0a31beb
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Problems with Drawing WB?

Postby quick61 » Sun Jan 11, 2015 10:34 pm

OK, here is the ticket - issue #1912

Mark
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: Problems with Drawing WB?

Postby NormandC » Sun Jan 11, 2015 10:42 pm

Wow, didn't even notice that a plain old cylinder is affected. I thought the toroidal groove was the culprit. :oops:
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: Problems with Drawing WB?

Postby quick61 » Sun Jan 11, 2015 10:47 pm

normandc wrote:Wow, didn't even notice that a plain old cylinder is affected. I thought the toroidal groove was the culprit. :oops:
Yup, looks like anything with a cylindrical OD has problems.
This post made with 0.0% Micro$oft products - GOT LINUX?
User avatar
quick61
Posts: 3793
Joined: Sat Aug 24, 2013 2:49 am
Location: u.S.A.

Re: [FIXED] Problems with Drawing WB?

Postby quick61 » Mon Jan 12, 2015 2:19 am

Thanks wmayer, working great, or at least like it was... Good enough until the old problems get hammered out.
Drawing_NoError_0.15.4465.png
Drawing_NoError_0.15.4465.png (69.75 KiB) Viewed 908 times
OS: Kubuntu 14.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.15.4465 (Git)
Branch: master
Hash: c6fe925dfd4e0232b625c9fb4fa799dd113cfdac
Python version: 2.7.6
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17-dev

Mark
Last edited by quick61 on Mon Jan 12, 2015 3:34 am, edited 1 time in total.
This post made with 0.0% Micro$oft products - GOT LINUX?