Complex Sections

Discussions about the development of the TechDraw workbench
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Complex Sections

Post by wandererfan »

FBXL5 wrote: Sat Nov 12, 2022 11:53 pm If we have section line marks on complex sections they should also be found on simple sections. I have tried to aktivate them toggling the Section Line Marks property, but it neither aktivates mars for simple sections nor deactivates the marks of complex section.
Marks should be available on simple sections after git commit 26d7fe14e1

When you are toggling the marks, are you doing it on the base view or the section view? The setting in the BaseView is the one you need to change.
Attachments
marksSimpleSection.png
marksSimpleSection.png (28.66 KiB) Viewed 1036 times
User avatar
FBXL5
Posts: 980
Joined: Sat Aug 03, 2019 8:45 pm

Re: Complex Sections

Post by FBXL5 »

wandererfan wrote: Wed Nov 16, 2022 2:12 pm The setting in the BaseView is the one you need to change.
Confirmed. I changed the property of the section view before. Hiding the marks in the BaseView of a complex section works as expected.
I'm waiting for the next weekly to check the simple sections.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: Complex Sections

Post by NewJoker »

I tried creating aligned section but it failed. Am I doing something wrong ?

Aligned.FCStd
(59.8 KiB) Downloaded 11 times

Code: Select all

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.31097 (Git)
Build type: Release
Branch: master
Hash: ccf074008774f1bdfed8fec09ed60e2c0fe77cae
Python 3.10.8, Qt 5.15.4, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: Polish/Poland (pl_PL)
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: Complex Sections

Post by aapo »

NewJoker wrote: Fri Nov 25, 2022 2:19 pm I tried creating aligned section but it failed. Am I doing something wrong ?
Yes. You're supposed to select the View and the Sketch and press ComplexSection button; you have selected the Body "PolarPattern" and the Sketch, which doesn't work.

EDIT: Wait, that isn't it. But doing the ComplexSection works fine for me, what did you actually select when making it?

Aligned-Fixed.png
Aligned-Fixed.png (56.15 KiB) Viewed 854 times
Attachments
Aligned-Fixed.FCStd
(61.51 KiB) Downloaded 14 times
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: Complex Sections

Post by NewJoker »

aapo wrote: Fri Nov 25, 2022 3:34 pm Yes. You're supposed to select the View and the Sketch and press ComplexSection button; you have selected the Body "PolarPattern" and the Sketch, which doesn't work.
That's what I do - I select the sketch and the view but the latter is replaced with polar pattern after enabling the complex section tool. Perhaps it's just how it works (replaces view with corresponding 3D geometry) and the problem lies somewhere else.
aapo
Posts: 615
Joined: Mon Oct 29, 2018 6:41 pm

Re: Complex Sections

Post by aapo »

NewJoker wrote: Fri Nov 25, 2022 3:41 pm That's what I do - I select the sketch and the view but the latter is replaced with polar pattern after enabling the complex section tool. Perhaps it's just how it works (replaces view with corresponding 3D geometry) and the problem lies somewhere else.
Yes, there's definitely something fishy going on here. The above file "Aligned-Fixed.FCStd" I just uploaded doesn't load correctly for me. It seems that the Aligned Section in your example sometimes works, and sometimes doesn't, and it doesn't seem to be really deterministic. :shock:

In addition, I get plenty of

Code: Select all

18:07:08  Unhandled unknown exception caught in GUIApplication::notify.


in the report window when recalculating these Complex Sections. Definitely something to have a look at, thanks.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Complex Sections

Post by wandererfan »

aapo wrote: Fri Nov 25, 2022 4:15 pm ...it doesn't seem to be really deterministic.
Same here. Works one time, doesn't work another time. I wonder if it is threading related?
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Complex Sections

Post by wandererfan »

On the advanced tab, there is an option for "Report progress". This generates messages as each threaded step is started and completed. That might give a clue.
User avatar
NewJoker
Veteran
Posts: 3018
Joined: Sun Oct 11, 2020 7:49 pm

Re: Complex Sections

Post by NewJoker »

wandererfan wrote: Fri Nov 25, 2022 5:26 pm On the advanced tab, there is an option for "Report progress". This generates messages as each threaded step is started and completed. That might give a clue.
Here's what I got from this:

Code: Select all

Svg Hatch File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/Patterns/simple.svg is not readable
Pat Hatch File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/PAT/FCPAT.pat is not readable
Line Group File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
Line Group File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
Line Group File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
Line Group File: E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64/data/Mod/TechDraw/LineGroup/LineGroup.csv is not readable
ComplexSection has finished making section cut
Unhandled unknown exception caught in GUIApplication::notify.
User avatar
wandererfan
Veteran
Posts: 6268
Joined: Tue Nov 06, 2012 5:42 pm
Contact:

Re: Complex Sections

Post by wandererfan »

NewJoker wrote: Fri Nov 25, 2022 6:15 pm E:/FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64
27809 can't be the revision number, can it? That would put the build in Feb 2022, well before ComplexSection was added.

I haven't been able to recreate a fail with Aligned.FCStd since the first try. I've used local builds and "FreeCAD_weekly-builds-31097-2022-11-26-conda-Linux-x86_64-py310.AppImage".

I don't get the "is not readable" messages either. I thought those were fixed a long time ago.

Can this be a Windows only thing? I hope not, as I upgraded VirtualBox and now my Windows VM won't run FC. :(
Post Reply