On the problem of stuck top view in TechDraw of ladder loading

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Post Reply
zyh
Posts: 3
Joined: Wed Aug 17, 2022 7:33 am

On the problem of stuck top view in TechDraw of ladder loading

Post by zyh »

1660805983779.png
1660805983779.png (125.03 KiB) Viewed 515 times
1660806193641.png
1660806193641.png (117.6 KiB) Viewed 515 times
Ladder.py
(515 Bytes) Downloaded 14 times
chrisb
Veteran
Posts: 53923
Joined: Tue Mar 17, 2015 9:14 am

Re: On the problem of stuck top view in TechDraw of ladder loading

Post by chrisb »

Your information is a bit thin. First you should reproduce this in current 0.21 and add the FreeCAD infos.
Then you should give a detailed description how to reproduce.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
user1234
Veteran
Posts: 3338
Joined: Mon Jul 11, 2016 5:08 pm

Re: On the problem of stuck top view in TechDraw of ladder loading

Post by user1234 »

It works, but it takes a while (2min). Reason: the ladder spokes are a little bit slanted. The OCCT kernel does not like slightly slanted views. I am not a macro expert, but i am pretty sure, that you use the base vector wrong.

1.png
1.png (79.37 KiB) Viewed 454 times

2.png
2.png (32.29 KiB) Viewed 454 times

Greetings
user1234
domad
Veteran
Posts: 2053
Joined: Mon Jun 22, 2020 12:16 pm

Re: On the problem of stuck top view in TechDraw of ladder loading

Post by domad »

Greetings to the Community!
No problem found, except that of excessive time in loading and creating views in TechDraw (the reason may be the one mentioned by @ user1234, but what if the scale was really like this?)
Here are the results of my experimentation, specifying that the option "Detect faces" has been disabled in the TechDraw preferences, and a new scale identical to "Shape" has also been modeled to make comparisons:
- Top view creation time of "Shape" -> 5 ': 30 ";
- Top view creation time of "Body" -> 25 ";
- File loading time "TechDraw_ladder_loading_Shape_and_Body.FCStd" containing "Shape" and "Body" and the TechDraw page with the two Top views (Shape and Body) -> 18 ': 45 ";
- File loading time "TechDraw_ladder_loading_no_Shape.FCStd" containing only "Body" and the TechDraw page with only Top view (Body) -> 3 ': 25 ".
Attached are the files mentioned above.

Code: Select all

Old computer:
- i7-1.6
- HD solid state
- 8 GB ram
- 1GB video card
---

Code: Select all

OS: Linux Mint 20.3 (X-Cinnamon / cinnamon)
Word size of FreeCAD: 64-bit
Version: 0.21.30089 (Git) AppImage
Build type: Release
Branch: master
Hash: 335196a468fcf069f365dcbb24279a8295cc4683
Python 3.10.5, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.2
Local: Local
Attachments
TechDraw_ladder_loading_Shape_and_Body.FCStd
(489.96 KiB) Downloaded 11 times
TechDraw_ladder_loading_no_Shape.FCStd
(360.28 KiB) Downloaded 10 times
View creation time.png
View creation time.png (116.03 KiB) Viewed 433 times
Post Reply