Techdraw fails to show any image with "custom" scale over 1:1

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
NYScott
Posts: 25
Joined: Fri Jan 15, 2021 8:36 pm

Techdraw fails to show any image with "custom" scale over 1:1

Post by NYScott »

I use a "custom" scale for all my drawings so this issue shocked me because it's never seen this before.

The image is fine if I use "Custom" and 1:1 or anything smaller like 0.5:1 but any magnified view like 2:1 fails to show anything (other than the view name). There's as well no blue circular "update" pending. No, I haven't downloaded v0.20-2 (doing it now) but I've used the custom scale on this version before without issue...

I also tried changing the page default scale as well as in a projection group and in the "data" window. I also tried v0.19 and whatever is happening also occurs with the older version where it previously had no issue.

I did search first but the similar topics I found the user failed to select the "custom" scale. Any ideas?

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United States (en_US)
Installed mods:
* 3D_Printing_Tools
* CADExchanger
* CurvedShapes 1.0.4
* Curves 0.6.5
* fasteners 0.4.50
* fcgear
* FEM_FrontISTR 0.1.0
* lattice2 1.0.0
* sheetmetal 0.2.60
* ThreadProfile 1.84.0

Thanks,
Scott
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by Shalmeneser »

You can modify the scale inside the ComboView > Data (=1.14).
The Projection Group window provide a fractionnal custom scale ( 8 and 7 -> 8/7=1.14). But only integers here.

Code: Select all

OS: Windows 10 Version 1809
Word size of FreeCAD: 64-bit
Version: 0.21.30922 (Git)
Build type: Release
Branch: master
Hash: 8ec1279ea8ee32a36fae683b42b5cfc5821734b5
Python 3.10.6, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: French/France (fr_FR)
Installed mods: 
  * fasteners 0.4.55
  * fcgear 1.0.0
  * Manipulator 1.5.0
  * sheetmetal 0.2.61
Attachments
TechDraw_Scale_SHALM.FCStd
(16.62 KiB) Downloaded 29 times
Capture d’écran 2023-03-19 230052.jpg
Capture d’écran 2023-03-19 230052.jpg (25.92 KiB) Viewed 1077 times
NYScott
Posts: 25
Joined: Fri Jan 15, 2021 8:36 pm

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by NYScott »

Shalmeneser,
It's not that I don't know how. I've used the trick which you showed in the past to get fractions. I was only trying to test something other than 1:1 to see if it was only an issue with magnified views. For the version 0.20 I identified above fractional wasn't an issue.

The issue I'm having is FreeCAD fails to show any image in the view if I change to any magnified view... such as 2:1.

I did just install the latest version and not only am I having issues with magnified views now the "front view" only seems to have issues with smaller views. Here are a couple of captures:
FreeCADTechDrawScaleIssue.JPG
FreeCADTechDrawScaleIssue.JPG (58.3 KiB) Viewed 1057 times
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods:
* 3D_Printing_Tools
* CADExchanger
* CurvedShapes 1.0.4
* Curves 0.6.5
* fasteners 0.4.50
* fcgear
* FEM_FrontISTR 0.1.0
* lattice2 1.0.0
* sheetmetal 0.2.60
* ThreadProfile 1.84.0
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by Shalmeneser »

File ?
Can you keep your version info between Code tags ?

1st post -> 0.5 : 1 ??
0.5 is not an integer.
NYScott
Posts: 25
Joined: Fri Jan 15, 2021 8:36 pm

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by NYScott »

Yes. My apologies.

edit: Regarding the 0.5:1 it was just an example. If I go to the view scale which you pictured it is possible to change to less than 1:1 by directly placing a number like 0.9... That does work in that view but again nothing shown for anything over 1:1... such as 2:1.

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.2.29603 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 930dd9a76203a3260b1e6256c70c1c3cad8c5cb8
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United States (en_US)
Installed mods: 
  * 3D_Printing_Tools
  * CADExchanger
  * CurvedShapes 1.0.4
  * Curves 0.6.5
  * fasteners 0.4.50
  * fcgear
  * FEM_FrontISTR 0.1.0
  * lattice2 1.0.0
  * sheetmetal 0.2.60
  * ThreadProfile 1.84.0
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by wandererfan »

NYScott wrote: Sun Mar 19, 2023 10:37 pm
Can you share your file? Either I'm not following directions or ???
NoEnlargement.png
NoEnlargement.png (51.6 KiB) Viewed 958 times
NYScott
Posts: 25
Joined: Fri Jan 15, 2021 8:36 pm

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by NYScott »

Hi Wandererfan,
That file had other geometry in it so I thought I would quickly create a file with only a sample geometry; simple tube from a sketch. That worked at 2:1. I then copied the "adapter" into the new file. The same adapter I had issues with. Again that has an issue. So whatever it is it must have something to do with that geometry.

I'm attaching the file as you requested.
FreeCADAdapterScaleIssue 19MR2023.FCStd
(23.25 KiB) Downloaded 31 times
Thank you,
Scott
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by Shalmeneser »

:idea: :idea: Last sketch : suppress 11-line then coincidence constraint.
This over-numerous line is causing problem. :!:

Next time,
* provide a problematic file
* try yourself with an other file to know if the problem is with FC or this file.
NYScott
Posts: 25
Joined: Fri Jan 15, 2021 8:36 pm

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by NYScott »

Hi Shalmeneser,
Points well taken. I've done similar operations so many times and FreeCAD was showing the image for 1:1 and smaller scale. The sketcher was reporting fully constrained and the revolve had no issues creating a solid.

How did you figure out that there was a redundant line? I have no idea how it happened unless I had a "guide line" (blue "construction line") and I accidentally made it part of the active geometry. Only when you pointed out line 11 was redundant could I notice it. I guess it was just your experience.

BTW: I started using the blue "construction lines" more because I found that if I applied a radius to a sketch, within sketcher, there were a lot of added things to constrain so the construction lines gave me the basic geometry to set-up the primary constraints. In doing so I then avoided constraints disappearing as a geometry point was "removed" within the operation of adding a radius. I did find however that it sometimes makes finding a missing constraint more difficult. I know the trick of clicking on the "degrees of freedom" but those clues seem to be more difficult to find when I have the construction lines.

Thank you very much,
Scott
User avatar
Shalmeneser
Veteran
Posts: 9475
Joined: Wed Dec 23, 2020 12:04 am
Location: Fr

Re: Techdraw fails to show any image with "custom" scale over 1:1

Post by Shalmeneser »

Part_CheckGeometry shows where is the problem.
Then you check each line inside the sketch.

It's weird that you can downscale but not upscale.
Post Reply