realthunder wrote: ↑Thu Aug 22, 2019 11:11 am
Yes, it's already in the upstream.
I did test it with the 0.19_pre appimage and noticed that no solids are listed. Is it possible to add solids as well? A simple test-case is creating a cube and a sphere in Part-wb and applying 'Boolean Fragmenst'. After that there exists a third solid-domain between the cube and the sphere which is the target to select.
Thanks in advance,
BR,
HoWil
Attachments
Screenshot from 2019-08-23 13-36-31.png (268.22 KiB) Viewed 1745 times
HoWil wrote: ↑Fri Aug 23, 2019 11:37 am
I did test it with the 0.19_pre appimage and noticed that no solids are listed. Is it possible to add solids as well? A simple test-case is creating a cube and a sphere in Part-wb and applying 'Boolean Fragmenst'. After that there exists a third solid-domain between the cube and the sphere which is the target to select.
That's a very useful feature that is lacking in the current selection framework. I actually thought about this in the past too. Not easy to add. Let me think about it.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
I have updated the code for this macro and it is working in 0.18.4, but when I am in FEM it will not let me select the inner object. I have been trying to follow the tutorial
and I am stuck on selecting the second object for the second mesh region.
The report view gives me
Traceback (most recent call last):
File "C:\Users\tthomas\AppData\Local\FreeCAD 0.18\Mod\Fem\femguiobjects\FemSelectionWidgets.py", line 496, in addSelection
self.parseSelectionFunction(self.added_obj)
File "C:\Users\tthomas\AppData\Local\FreeCAD 0.18\Mod\Fem\femguiobjects\FemSelectionWidgets.py", line 411, in selectionParser
elt = selection[0].Shape.getElement(selection[1])
<class 'SystemError'>: <built-in method getElement of Part.CompSolid object at 0x000001CACF71DD58> returned NULL without setting an error
I am not quite sure what to do at this point and any help would be appriciated
Does anybody have (positive) experience with installing the tool under Windows? I put it in a directory .../Src/Mod/SelectionTool but don't know how to get FC to recognise it. It doesn't show up in menu item Edit > Preference > Display as I automatically got under Ubuntu
OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.19409 (Git)
Build type: Release
Branch: master
Hash: 94280f15cafbabb4af601d78e435f021b261c3d0
Python version: 3.6.8
Qt version: 5.12.1
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/Denmark (en_DK)
HarryvL wrote: ↑Thu Feb 13, 2020 12:15 pm
Does anybody have (positive) experience with installing the tool under Windows? I put it in a directory .../Src/Mod/SelectionTool but don't know how to get FC to recognise it.
Under Windows, Macros and Workbenches are normally located in:
C:\Users\<$YOUR_USER_NAME>\AppData\Roaming\FreeCAD
HarryvL wrote: ↑Thu Feb 13, 2020 12:15 pm
Does anybody have (positive) experience with installing the tool under Windows? I put it in a directory .../Src/Mod/SelectionTool but don't know how to get FC to recognise it. It doesn't show up in menu item Edit > Preference > Display as I automatically got under Ubuntu
It worked for me on Windows with FC 0.18.4. I didn't put it in …/src/Mod, nor did I put it in the Macro directory.
I added it to...AppData\Local\FreeCAD 0.18\Mod\SelectionTools. After restarting FC it showed up in my preferences.
The only issue I am having now is the one mentioned above where it will not let me select internal objects in the FEM workbench such as to assign a material