Arch Section + Tech Draw / ArchView - Bug

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Arch Section + Tech Draw / ArchView - Bug

Post by paullee »

Hi, I am trying to do drawing with architectural model.

There seems to be a few bugs (one being the ArchDoor opening direction result in error reported earlier).

Now, I try to draw a bathtub with 2 rectangle. I find if i input in the fillet box in a Draft Rectangle a figure, Arch Section + TechDraw / ArchView return an error. Also Part Compound objects are not shown in this way.

See file attached -
- 1 rectangle on the left + an ArchSection + 1 TechDraw Arch View - OK
- 1 rectangle on the right (w/ fillet) + an ArchSection001 + 1 TechDraw ArchView001 - - - ERROR returned and nothing shown.
- Part Compound (of the rectangle w/o problem) show nothing in TechDraw (though no error report)

Thanks.

Screenshot from 2017-08-15 03-36-37.png
Screenshot from 2017-08-15 03-36-37.png (174.57 KiB) Viewed 2595 times
Screenshot from 2017-08-15 03-36-28.png
Screenshot from 2017-08-15 03-36-28.png (199.19 KiB) Viewed 2595 times
Screenshot from 2017-08-15 03-50-29.png
Screenshot from 2017-08-15 03-50-29.png (219.66 KiB) Viewed 2595 times
Screenshot from 2017-08-15 03-50-54.png
Screenshot from 2017-08-15 03-50-54.png (229.08 KiB) Viewed 2595 times

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11784 (Git)
Build type: Unknown
Branch: master
Hash: d5b554d2b6d6e780c9ead67153888f7fe5e140be
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
Attachments
Test _ Arch Section _ Tech Draw _ ArchView _ bug 01.fcstd
(11.02 KiB) Downloaded 54 times
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Arch Section + Tech Draw / ArchView - Bug

Post by regis »

paullee wrote: Mon Aug 14, 2017 7:55 pm Hi, I am trying to do drawing with architectural model.

There seems to be a few bugs (one being the ArchDoor opening direction result in error reported earlier).

Now, I try to draw a bathtub with 2 rectangle. I find if i input in the fillet box in a Draft Rectangle a figure, Arch Section + TechDraw / ArchView return an error. Also Part Compound objects are not shown in this way.

See file attached -
- 1 rectangle on the left + an ArchSection + 1 TechDraw Arch View - OK
- 1 rectangle on the right (w/ fillet) + an ArchSection001 + 1 TechDraw ArchView001 - - - ERROR returned and nothing shown.
- Part Compound (of the rectangle w/o problem) show nothing in TechDraw (though no error report)
yes good call and catch, I have come accross this problem a few months back, techdraw doesn't like arcs at this point, so door with arc, not good, fillet arc, not good, any form of arc will render a poor and compromised result of some sort. as for the compound i'm new to it. interesting behaviour.
User avatar
yorik
Founder
Posts: 13659
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Arch Section + Tech Draw / ArchView - Bug

Post by yorik »

Ok I *might* have found a fix for the infamous techdraw arch/draft arcs bug... It might have created other bugs, though. Needs testing! git commit aa8221641
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Arch Section + Tech Draw / ArchView - Bug

Post by paullee »

yorik wrote: Wed Aug 16, 2017 8:53 pm Ok I *might* have found a fix for the infamous techdraw arch/draft arcs bug... It might have created other bugs, though. Needs testing! git commit aa8221641
Thanks!

Tested with Fedora Przemof Repo / Version: 0.17.11827 (Git).

Seems not ready yet - either commit not yet in the Fedora Przemof Repo / or fix not working?

Screenshot from 2017-08-20 07-16-29.png
Screenshot from 2017-08-20 07-16-29.png (148.58 KiB) Viewed 2486 times

Red Exclamation + Error in Report View

Screenshot from 2017-08-20 07-16-56.png
Screenshot from 2017-08-20 07-16-56.png (197.6 KiB) Viewed 2486 times
Thanks again.

OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11827 (Git)
Build type: Unknown
Branch: master
Hash: ca4488f4387f761df47322038585b23cb5a1bd73
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
Attachments
Test _ Arch Section _ Tech Draw _ ArchView _ bug 02.fcstd
(9.41 KiB) Downloaded 55 times
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Arch Section + Tech Draw / ArchView - Bug

Post by paullee »

I learn Regis mentioned he test with an simple arc and it works.
https://forum.freecadweb.org/viewtopic. ... 6&start=50

But I failed to produce consistent results, strange:-

1. In Test _ Arch Section _ Tech Draw _ ArchView _ bug 03.fcstd, I failed to produce anything w/ arc that works!
2. In another architectural model, only a Sketch Arc w/ lines segment added works (only a simple Draft Arc or a Sketch Arc do not works!?)


(Special note for Test _ Arch Section _ Tech Draw _ ArchView _ bug 03.fcst
- In the file, there are a number of Arch Section planes.
- All Arch Section Planes, except the latest one, all point to the Rectangle (so no error signal)....because...
- Any existing Arch Section which failed on Recompute / calculation will Prevent the whole file from Recompute
- So I need to point the few numbers of Arch Section planes to the Rectangle that only works, BEFORE I added new Arch Section to test new geometry)

Test in a new file -
- Any Arc in the test files do not works !?
Screenshot from 2017-08-24 11-11-56.png
Screenshot from 2017-08-24 11-11-56.png (208.6 KiB) Viewed 2432 times
This is test in architectural model file -
- (Only) a Sketch Arc w/ Line Segment works!
[a simple Draft Arc / Sketch Arc do not works!]
[a Sketch Arc, added w/ a line segment - represent a door view - works!!!???]
- The 2 doors on the left hand side are (clone of) Sketch Arch w/ a Line Segment
- The door on the right hand side is Door in 90 degree Arc (Inv) direction - only Inv direction door works in TechDraw so far
- I have testest a Sketch w/ only an Arc (i.e. w/o the line segment) does not work!?
Screenshot from 2017-08-24 11-35-35.png
Screenshot from 2017-08-24 11-35-35.png (219.75 KiB) Viewed 2432 times
Screenshot from 2017-08-24 11-36-17.png
Screenshot from 2017-08-24 11-36-17.png (203.74 KiB) Viewed 2432 times
Screenshot from 2017-08-24 11-37-39.png
Screenshot from 2017-08-24 11-37-39.png (221.32 KiB) Viewed 2432 times
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11907 (Git)
Build type: Unknown
Branch: master
Hash: 5996ebcf61e518bb0124a6e95ebb03543907a7b5
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
Attachments
Test _ Arch Section _ Tech Draw _ ArchView _ bug 03.fcstd
(16.83 KiB) Downloaded 59 times
User avatar
regis
Posts: 725
Joined: Sun Jul 12, 2015 8:17 am
Contact:

Re: Arch Section + Tech Draw / ArchView - Bug

Post by regis »

let me know what you think?
maybe something to do with the update, i know everytime there is a new fix, it takes some days to update on my system, not sure how it works in the background but that's what i've experienced.
but i can't tell

OS: Linux Mint 18.2 Sonya
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11904 (Git)
Build type: None
Branch: master
Hash: 88e2b6de9a256896de2069fe1b55c66296b75ee1
Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Locale: English/Canada (en_CA)
Last edited by regis on Sat Dec 08, 2018 11:04 pm, edited 1 time in total.
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Arch Section + Tech Draw / ArchView - Bug

Post by paullee »

regis wrote: Thu Aug 24, 2017 1:13 pm let me know what you think?
maybe something to do with the update, i know everytime there is a new fix, it takes some days to update on my system, not sure how it works in the background but that's what i've experienced.
but i can't tell

Word size of FreeCAD: 64-bit
Version: 0.17.11904 (Git)

Python version: 2.7.12
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.1.0
Thanks for the detailed test! I find I had the 'same' git version 0.17.11904 as you do!!!!? Though on Fedora by Przemof.

And I am updating to 11909 now :) - freecad.x86_64 1:0.17_pre-11909 przemof-FreeCAD


But I am not as lucky as you do, I have another test on git 11909 also and those objects still fails to works - the OS or other packages matters?
I don't know why I have ...
- OCC version: 6.8.0.oce-0.17 vs you have 7.1.0. - this matters?
- Coin version: 3.1.3 vs yours Coin version: 4.0.0a.

Anybody have an idea if I can / need to update the above 2 packages 'independently' or what needs to be done?

Thanks again for any hints!

[Other note: As i find, a DraftView/ArchView failed prevent further recompute by FC. Now, I find it prevent the Save File command be execute also!!!!! The * in the Tab tell me saving is not done!!! I need to cross out all the tabs, then FC ask if I want to save or not to save the file!?]

[I really do not have idea how the commit change number Yorik indicated related to the Git number e.g. in Przemof's repo. That's why I am forcing dnf to clean its cache and force it to find update so that I have the Repo's updates whenever there is.]

Screenshot from 2017-08-25 08-35-08.png
Screenshot from 2017-08-25 08-35-08.png (195.87 KiB) Viewed 2376 times
Screenshot from 2017-08-25 08-35-19.png
Screenshot from 2017-08-25 08-35-19.png (204.17 KiB) Viewed 2376 times
OS: Linux
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.11909 (Git)
Build type: Unknown
Branch: master
Hash: 249d130051d1afdad6fbf4d6bf23eeecd2b5444b
Python version: 2.7.13
Qt version: 4.8.7
Coin version: 3.1.3
OCC version: 6.8.0.oce-0.17
Locale: English/UnitedStates (en_US)
Attachments
Test _ Arch Section _ Tech Draw _ ArchView _ bug 04.fcstd
(28.33 KiB) Downloaded 52 times
paullee
Veteran
Posts: 5118
Joined: Wed May 04, 2016 3:58 pm

Re: Arch Section + Tech Draw / ArchView - Bug

Post by paullee »

Thanks for Regis test above, and Triplus hint to use AppImage for FC0.17_pre which included OCC7.1.0. i have posted test results for other 2 recent 'bugs' I reported separately.

Seem combination of FC0.17_pre + OCC7.1.0 in AppImage has 'solved' most problem- those that FC0.17_pre + OCE6.8.0 on Fedora 25 have.


Similarly, the problems reported here are 'solved'.

As I share my thought in this thread https://forum.freecadweb.org/viewtopic. ... 19#p188219, I think it would be better if some well-known repository if not Fedora itself (if afterall OCC7.1.0 or otherwise is the 'cure') would better build the OCC7.1.0 update for Fedora 25 (and other versions) so that all users have consistent result. Even more ideal if FC 0.17_pre could accommodate OCE6.8.0 to enable a consistent be generated.

Hope it helps.


phpBB [video]
Post Reply