connecting CCX results to the result pipeline system
Moderator: bernd
Forum rules
and Helpful information for the FEM forum
and Helpful information for the FEM forum
connecting CCX results to the result pipeline system
Up to now a major annoyance was that our default solver CalculiX was not connected to the results pipeline system. As consequence important features like section cuts, measuring result values at certain mesh nodes etc. could only hardly be used because
* one had to create manually a results pipeline on the results object
* then one had to setup the needed filters, functions and colors
* on changing a constraint and/or re-run of the solver, thew whole filter setup was lost and one had to recreate it again -> very frustrating
Now it is connected in a way that should suit most users:
case A: fresh analysis
- a results pipeline object is created. It can be used or not.
- the CCX results dialog works as always. If the pipeline is visible when the dialog was opened, it will be hidden for the time the dialog is open.
case B: existing results
- the existing pipeline will get the data of the solver re-run. So you can just change a constraint, re-run the solver and see directly the different results in the filter of your choice.
- if the mesh object was visible on starting the solver, it will stay visible. So if you decided not to use the pipeline and made it invisible, this setting is kept.
To test this with the next weekly build, here is a simple test case of a cantilever:
https://github.com/FreeCAD/FreeCAD/file ... ceload.zip
Run the analysis, then change the constraint to e.g. 10 N and re-run the solver.
* one had to create manually a results pipeline on the results object
* then one had to setup the needed filters, functions and colors
* on changing a constraint and/or re-run of the solver, thew whole filter setup was lost and one had to recreate it again -> very frustrating
Now it is connected in a way that should suit most users:
case A: fresh analysis
- a results pipeline object is created. It can be used or not.
- the CCX results dialog works as always. If the pipeline is visible when the dialog was opened, it will be hidden for the time the dialog is open.
case B: existing results
- the existing pipeline will get the data of the solver re-run. So you can just change a constraint, re-run the solver and see directly the different results in the filter of your choice.
- if the mesh object was visible on starting the solver, it will stay visible. So if you decided not to use the pipeline and made it invisible, this setting is kept.
To test this with the next weekly build, here is a simple test case of a cantilever:
https://github.com/FreeCAD/FreeCAD/file ... ceload.zip
Run the analysis, then change the constraint to e.g. 10 N and re-run the solver.
Re: connecting CCX results to the result pipeline system
If you think the creation of the pipeline could be an issue, I can add an option to the preferences that disables the creation.
I implemented no option yet because in my opinion having a pipeline does not harm, one can just hide it if one does not need it and one maybe wants to use it later.
I implemented no option yet because in my opinion having a pipeline does not harm, one can just hide it if one does not need it and one maybe wants to use it later.
Re: connecting CCX results to the result pipeline system
Great, those were probably the biggest inconveniences. Many users were confused by the fact that the default result display doesn’t include a legend and they have to add the result pipeline manually to see the legend. And it was annoying that you had to delete the results before rerunning the analysis.
Re: connecting CCX results to the result pipeline system
Would you post a link to the commit?
Re: connecting CCX results to the result pipeline system
Would be perfect if there is one.
Re: connecting CCX results to the result pipeline system
git commit de95a22eae2b8c
Re: connecting CCX results to the result pipeline system
What do you mean? Could you test this, is it fine for you?
I always post the PR because there is additional info (in this case a test file) and often also discussions.
Concerning the feature, the pipeline connection does not yet fork for frequency analyses. I must first implement that every result mode get its own pipeline.
Re: connecting CCX results to the result pipeline system
Code: Select all
OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.21.0.31917 (Git)
Build type: Release
Branch: master
Hash: 4639283b459f9ff9093e289908cc003db8745b82
Python 3.10.9, Qt 5.15.6, Coin 4.0.0, Vtk 9.1.0, OCC 7.6.3
Locale: English/Belgium (en_BE)
Installed mods:
* 3DfindIT 1.2.0
* Assembly3 0.11.4
* boltsfc 2022.11.5
* fcgear 1.0.0
* Manipulator 1.4.9
* QuickMeasure 2022.10.28
* sheetmetal 0.2.60
If I add a "post pipeline from result" it still doesn't seem to be updated if I change a constraint and i do a recalculation. Should there automatically be a "post pipeline from result" object if I start a new analysis? Should the pipeline object be under an object in the tree (CCX_results?)?
Could someone give a step by step explanation to get the pipeline to update automatically when changing a constraint?
Re: connecting CCX results to the result pipeline system
@din743 It’s not included in that build. This commit’s number is 31944 while your build’s number is 31917 so it’s older.