OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24291 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: 7b5e18a0759de778b74d3a5c17eba9cb815035ac
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/New Zealand (en_NZ)
I have an assembly (Assembly4) which I am trying to cross-section. I execute the macro and get
I am confused. I can see the assembly on the 3D View. What does the error dialog mean by 'no visible solid objects'?
Learning to use the cross-section macro
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Learning to use the cross-section macro
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Learning to use the cross-section macro
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Learning to use the cross-section macro
I wouldn't know what to do with the code. I installed it with add-on manager assuming that it would be up to date. Where would I get the new version installed?
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Learning to use the cross-section macro
Hi
no other code
mario
edit the macro already installed delete the code and paste this code , save and run
no other code
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Learning to use the cross-section macro
Hmmm!
Did that but now I don't even get the dialog.
I replaced the code as you said and if I 'Execute' the macro nothing happens at all. If I DLC on the macro the 3D View goes blank and I have to restart FC.
Before you ask, I restarted FC and I have rebooted my PC. No difference!
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Learning to use the cross-section macro
Hi
I don't know you tray the two macro available
maybe the problem is the macro is used with one assembly
tray the domad method Sezione Dinamica
or contact the author
sorry
mario
I don't know you tray the two macro available
maybe the problem is the macro is used with one assembly
tray the domad method Sezione Dinamica
or contact the author
sorry
mario
Maybe you need a special feature, go into Macros_recipes and Code_snippets, Topological_data_scripting.
My macros on Gist.github here complete macros Wiki and forum.
My macros on Gist.github here complete macros Wiki and forum.
Re: Learning to use the cross-section macro
For reference, it appears the version of the macro currently in Addon manager does not produce valid solids with FC 0.20 and OCCT 7.6.
I noted this in this thread:
https://forum.freecadweb.org/viewtopic. ... 77#p562177
I noted this in this thread:
https://forum.freecadweb.org/viewtopic. ... 77#p562177
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Learning to use the cross-section macro
That would certainly explain why I get no result when I use the version of the macro currently in Addon manager.
This will always be a problem with a program which is constantly developing in an Open Source environment - coordination. Someone changes something to make an improvement or an advance and that change adversely affects some apparently unrelated functionality.
I guess we mortals will have to wait on the good devices of the Author and hope that a new version will appear.
Will there be some general notification when that happens?
"It is much harder to simplify than to complicate."
Joseph Kimble
Joseph Kimble
Re: Learning to use the cross-section macro
If you check the other thread, the model is good, you just have to explode the compound it creates. Then the result is valid. Thanks @TheMarkster for pointing out the details.Vagulus wrote: ↑Sun Jan 16, 2022 9:00 pmThat would certainly explain why I get no result when I use the version of the macro currently in Addon manager.
This will always be a problem with a program which is constantly developing in an Open Source environment - coordination. Someone changes something to make an improvement or an advance and that change adversely affects some apparently unrelated functionality.
I guess we mortals will have to wait on the good devices of the Author and hope that a new version will appear.
Will there be some general notification when that happens?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."