View Issue Details

IDProjectCategoryView StatusLast Update
0004796TechDrawBugpublic2022-01-28 13:42
Reportersighfromnz Assigned Tochennes  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
PlatformWindowsOSWindowsOS Version10
Product Version0.20 
Fixed in Version0.19 
Summary0004796: Error in DOCUMENT_TYPE field in TechDraw Ax_Landscape_ISO7200_Pep templates
DescriptionThe "Document type:" field in the title block cannot be changed away from "Mechanical assembly drawing". This appears to be to an error in the template.

This is in templates:
  • A0_Landscape_ISO7200_Pep
  • A1_Landscape_ISO7200_Pep
  • A2_Landscape_ISO7200_Pep
  • A4_Landscape_ISO7200_Pep

But not in:
  • A3_Landscape_ISO7200_Pep

Also as a minor design issue: Isn't "Mechanical assembly drawing" a bit to specific for a template?
Steps To Reproduce1. Open FreeCAD 0.20 (latest development version)
2. Go to the TechDraw workbench
3. Click on the "Insert Page using Template" folder button.

4. Select any of:

 A0_Landscape_ISO7200_Pep
 A1_Landscape_ISO7200_Pep
 A2_Landscape_ISO7200_Pep
 A4_Landscape_ISO7200_Pep

5. When the chart is in "frames mode" click on the green square next to the "Document type:" field in the title block. As a default it reads "Mechanical assembly drawing".

6. Edit the DOCUMENT_TYPE field with any text values. Click [OK]

7. You will notice that any text that you entered didn't replace "Mechanical assembly drawing", rather it just appends it to the end of this text.
TagsNo tags attached.
FreeCAD InformationOS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.26155 (Git)
Build type: Release
Branch: master
Hash: 0926a4148bcff11249fd4f56bc30256102ffe105
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United States (en_US)

Activities

sighfromnz

2021-12-03 22:01

reporter   ~0016058

Last edited: 2021-12-03 22:34

After grepping t6hrough the source this also shows up in:

  • A4_Landscape_ISO7200_Pep.svg

wandererfan

2022-01-25 20:24

manager   ~0016311

These are user contributed templates. There are other versions of these templates available.

You can modify the template and store it in an accessible location.

bensay

2022-01-28 11:24

reporter   ~0016320

Fixed with https://github.com/FreeCAD/FreeCAD/pull/4474

Kunda1

2022-01-28 13:42

administrator   ~0016321

Solved by chennes
https://github.com/FreeCAD/FreeCAD/pull/4474

Modify all of the TechDraw ISO7200_Pep templates so that the DOCUMENT_TYPE area is fully editable, allowing the user to overwrite the default contents entirely instead of just adding to it. Bug reported by mattbaker.digital in https://forum.freecadweb.org/viewtopic.php?f=3&t=55652

chennes

Issue History

Date Modified Username Field Change
2021-12-03 21:45 sighfromnz New Issue
2021-12-03 22:01 sighfromnz Note Added: 0016058
2021-12-03 22:34 sighfromnz Note Edited: 0016058
2022-01-25 20:24 wandererfan Assigned To => wandererfan
2022-01-25 20:24 wandererfan Status new => feedback
2022-01-25 20:24 wandererfan Note Added: 0016311
2022-01-28 11:24 bensay Note Added: 0016320
2022-01-28 13:42 Kunda1 Assigned To wandererfan => chennes
2022-01-28 13:42 Kunda1 Status feedback => closed
2022-01-28 13:42 Kunda1 Resolution open => fixed
2022-01-28 13:42 Kunda1 Fixed in Version => 0.19
2022-01-28 13:42 Kunda1 Note Added: 0016321