(WORKAROUND) Speed by techdraw
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
- thomas-neemann
- Veteran
- Posts: 11921
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
(WORKAROUND) Speed by techdraw
@uwestoehr asked me to open this thread with cc to @wandererfan
the problem is described here:
https://forum.freecadweb.org/viewtopic. ... 90#p606795
the building is included here
https://github.com/chopinregis/Elementa ... nta-Monroy
the problem is described here:
https://forum.freecadweb.org/viewtopic. ... 90#p606795
the building is included here
https://github.com/chopinregis/Elementa ... nta-Monroy
Last edited by thomas-neemann on Sat Jul 02, 2022 4:43 am, edited 1 time in total.
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Speed by techdraw
The file has errors when I open it, anyways I don't think TechDraw_ActiveView is a comparable equivalent to Draft_Shape2DView, it should be compared with TechDraw_View instead
Re: Speed by techdraw
Can you pleasereport the bug the normal way:
- what file have you used?
- what is your FreeCAD version?
- what did you do, step by step and at what step occurred what problem?
(Linking a repository with a 5year old FreeCAD file is not super helpful.)
- thomas-neemann
- Veteran
- Posts: 11921
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Speed by techdraw
I will create a video with a fresh file
Code: Select all
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods:
* InventorLoader 1.3.0
* Curves 0.5.0
- adrianinsaval
- Veteran
- Posts: 5551
- Joined: Thu Apr 05, 2018 5:15 pm
Re: Speed by techdraw
consider using Macro Recompute Profiler if possible for your tests and compare using TechDraw_View not TechDraw_ActiveView as the second is not really equivalent to Draft_Shape2DView
- wandererfan
- Veteran
- Posts: 6321
- Joined: Tue Nov 06, 2012 5:42 pm
- Contact:
Re: Speed by techdraw
I'm not sure I understand the issue.
Draft.Shape2View uses the same OCC functions as TechDraw.NewView. If you run both, you run those functions twice, so I can't see that being faster.
If the issue is that TechDraw.ActiveView is too slow, then that could be. I don't use that function as it never seems to quite reflect the 3d window which is what it is supposed to do. Just running a test now with the building file and it seems to be stuck in a loop.
- thomas-neemann
- Veteran
- Posts: 11921
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Speed by techdraw
Unfortunately I did not find a large current fcstd building file. I have this
https://grabcad.com/library/single-storey-house-3d-1
step file used, the age should not play a role. i couldn't find any method with techdraw that is fast. in the video it lasted over 20 minutes.
workaround: the pdf print method took 10 seconds. if dimensions are required, you can create them with arch-draft in the 3d window (non-parametric)
https://www.youtube.com/watch?v=LU9Tg5UAf-s
Code: Select all
OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git) AppImage
Build type: Release
Branch: (HEAD detached at 0.20)
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.9.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods:
* InventorLoader 1.3.0
* Curves 0.5.0
Re: Speed by techdraw
I cannot download the STEP file because I have no account to that website.thomas-neemann wrote: ↑Sat Jul 02, 2022 4:42 am Unfortunately I did not find a large current fcstd building file. I have this
https://grabcad.com/library/single-storey-house-3d-1
However, can you please report it the normal way:
- create a FreeCAD example file using FreeCAD 0.20. If it is too large for the forum, feel free to open an issue in GitHub and attach the file there zipped.
- write here what you did and what happened. This is an English forum (you have German menus and sound in your video) and we need a FreeCAD file.
- thomas-neemann
- Veteran
- Posts: 11921
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
- thomas-neemann
- Veteran
- Posts: 11921
- Joined: Wed Jan 22, 2020 6:03 pm
- Location: Osnabrück DE 🇩🇪
- Contact:
Re: Speed by techdraw
here is a file that i recently created myself in freecad. there are also step and stl imports included, which I think is normal. It took 33 minutes to get here.
Saving was quick as always, I canceled opening it, and he'll probably do it again right away.
the stl content is missing in the techdraw. they are on the pdf.
here is the download link for the file
https://drive.google.com/file/d/19oOyBo ... sp=sharing