[Solved] problems with DetailView

Discussions about the development of the TechDraw workbench
bgma1961
Posts: 22
Joined: Mon Apr 02, 2018 9:19 am

[Solved] problems with DetailView

Postby bgma1961 » Mon Jul 16, 2018 11:07 pm

Hello ,

I have had some problems with TechDraw / DetailView
It appears that DetailView does not take into account the settings and choices made in "Insert multiple linked views of drawable object (s)".

Detail should show the two holes and Detail 2 shows the wrong side
ERR3_2.FCStd
(13.27 KiB) Downloaded 25 times
Select TechDraw WB

Insert new page using Template : A4_Portrait_blank.svg
Select BODY

Insert multiple linked views of drawable object(s)
Press 1 [UP]
Press 1 [Spinn CCW]
Press [OK]

Select Front
Insert Detail View #1
AnchorPoint X : -10,00
AnchorPoint Y : 45,00

<Combo View>
Detail : Bnd_Box is void (but must be executed)
ERR3.png
ERR3.png (125.12 KiB) Viewed 922 times
<Phyton Console>
FreeCAD.getDocument("ERR3").getObject("Detail").AnchorPoint = (-10.00, 45.00, 0.00)

<ReportView>
DrawViewDetail - detail area contains no geometry

Select Front
Insert Detail View #2
AnchorPoint X : 33,00

<Phyton Console>
FreeCAD.getDocument("ERR3").getObject("Detail001").Reference = "2"
FreeCAD.getDocument("ERR3").getObject("Detail001").Label = "Detail 2"
FreeCAD.getDocument("ERR3").getObject("Detail001").AnchorPoint = (33.00, 0.00, 0.00)
FreeCAD.getDocument("ERR3").getObject("Detail001").Radius = 30.00
App.ActiveDocument.recompute()


# ---------------------------------------------------------------------------------
# OS: Windows 7
# Word size of OS: 64-bit
# Word size of FreeCAD: 64-bit
# Version: 0.18.14061 (Git)
# Build type: Release
# Branch: master
# Hash: c4fc02cbcfff975712e977dc08f859fba71ba0ad
# Python version: 2.7.14
# Qt version: 4.8.7
# Coin version: 4.0.0a
# OCC version: 7.2.0
# Locale: Swedish/Sweden (sv_SE)
# ---------------------------------------------------------------------------------
Last edited by bgma1961 on Sat Oct 06, 2018 9:37 am, edited 1 time in total.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: problems with DetailView

Postby wandererfan » Tue Jul 17, 2018 5:26 pm

bgma1961 wrote:
Mon Jul 16, 2018 11:07 pm
It appears that DetailView does not take into account the settings and choices made in "Insert multiple linked views of drawable object (s)".
It does not. I'll look into it. Thanks for finding this problem.
User avatar
wandererfan
Posts: 4078
Joined: Tue Nov 06, 2012 5:42 pm

Re: problems with DetailView

Postby wandererfan » Mon Jul 23, 2018 5:39 pm

This should be fixed by git commit d48d014eb9.
bgma1961
Posts: 22
Joined: Mon Apr 02, 2018 9:19 am

Re: problems with DetailView

Postby bgma1961 » Mon Jul 23, 2018 6:40 pm

wandererfan wrote:
Mon Jul 23, 2018 5:39 pm
This should be fixed by git commit d48d014eb9.
Hi,
The problem remains, looks the same as before.
I have tried to remove page and then recreate it.

---------------------------------------------------------------
OS: Windows 7
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.14111 (Git)
Build type: Release
Branch: master
Hash: 548f63fd0eb554bb0fe5b23c1970de5fe05e3001
Python version: 2.7.14
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.2.0
Locale: Swedish/Sweden (sv_SE)
---------------------------------------------------------------
GeneFC
Posts: 1654
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: problems with DetailView

Postby GeneFC » Mon Jul 23, 2018 7:40 pm

That commit was merged at version 0.18.14121.

Patience.

Gene
bgma1961
Posts: 22
Joined: Mon Apr 02, 2018 9:19 am

Re: problems with DetailView

Postby bgma1961 » Tue Jul 24, 2018 8:01 pm

Now it works, Good work!
Thanks!
cron