[A2plus] Highlight the selected constraint

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

[A2plus] Highlight the selected constraint

Post by kemes »

I'm really hoping for the feature where after defining a constraint(s) you could go and click a certain constraint in the tree and the elements involved in the constraint would be highlighted in the 3D view. Currently unless you rename the defined constraints its quite a handful to find the right ones in a large assembly.

Is this something that would interest anyone else?
User avatar
uwestoehr
Veteran
Posts: 4961
Joined: Sun Jan 27, 2019 3:21 am
Location: Germany
Contact:

Re: [A2plus] Highlight the selected constraint

Post by uwestoehr »

dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: [A2plus] Highlight the selected constraint

Post by dan-miel »

kemes wrote: Sun Mar 06, 2022 8:59 pm I'm really hoping for the feature where after defining a constraint(s) you could go and click a certain constraint in the tree and the elements involved in the constraint would be highlighted in the 3D view.
You can also try this add-on, called A2PlusMore, and see if it does what you want. It is a copy if A2Plus that used to allow the selections of constraints similar to SolidWorks but that does not work since A2plus had a major new version. However the 'View Constraints" button still works on my machine. The button looks like a Lantern.
https://forum.freecadweb.org/viewtopic. ... start=1820
It is the message dated July 04, 2021
Dan
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [A2plus] Highlight the selected constraint

Post by kemes »

uwestoehr wrote: Sun Mar 06, 2022 9:51 pm But there is already a way: https://wiki.freecadweb.org/A2plus_Work ... t_Handling
How? I could not find the info in the wiki.
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [A2plus] Highlight the selected constraint

Post by kemes »

dan-miel wrote: Sun Mar 06, 2022 11:08 pm You can also try this add-on, called A2PlusMore, and see if it does what you want. It is a copy if A2Plus that used to allow the selections of constraints similar to SolidWorks but that does not work since A2plus had a major new version. However the 'View Constraints" button still works on my machine. The button looks like a Lantern.
https://forum.freecadweb.org/viewtopic. ... start=1820
It is the message dated July 04, 2021
Dan
Hi Dan! Thanks for this tip. I'll have to try this. Maybe the functionality behind the lantern button could be implemented into the current A2plus?
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: [A2plus] Highlight the selected constraint

Post by dan-miel »

kemes wrote: Mon Mar 07, 2022 6:59 am Hi Dan! Thanks for this tip. I'll have to try this. Maybe the functionality behind the lantern button could be implemented into the current A2plus?
If the program works for you try putting the icon on a custom toolbar, that way you don't need to switch between A2Plus and A2plusmore to find the constraints.
Dan
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [A2plus] Highlight the selected constraint

Post by kemes »

dan-miel wrote: Mon Mar 07, 2022 3:13 pm If the program works for you try putting the icon on a custom toolbar, that way you don't need to switch between A2Plus and A2plusmore to find the constraints.
Dan
Unfortunatley it did not work with 19.3. Thanks anyway.
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: [A2plus] Highlight the selected constraint

Post by dan-miel »

kemes wrote: Tue Mar 08, 2022 8:56 pm Unfortunatley it did not work with 19.3. Thanks anyway.
Why did it not work? Did it start or give an error message?
You can send a private message if you would like.
Dan

OS: Windows 10 Version 2009
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24267 +99 (Git)
Build type: Release
Branch: Branch_0.19.3
Hash: 6530e364184ce05ccff39501e175cf2237e6ee4b
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.3
Locale: English/United States (en_US)
dan-miel
Posts: 391
Joined: Thu Sep 13, 2018 12:29 am
Location: Spokane WA. USA

Re: [A2plus] Highlight the selected constraint

Post by dan-miel »

dan-miel wrote: Tue Mar 08, 2022 9:19 pm Why did it not work?
Here is a 30 second video of what it should look like.
https://youtu.be/UPA0rGkEEBY
User avatar
kemes
Posts: 63
Joined: Wed Mar 02, 2022 8:05 am

Re: [A2plus] Highlight the selected constraint

Post by kemes »

dan-miel wrote: Tue Mar 08, 2022 10:17 pm
dan-miel wrote: Tue Mar 08, 2022 9:19 pm Why did it not work?
Here is a 30 second video of what it should look like.
https://youtu.be/UPA0rGkEEBY
For some reason on the first try it did not react to any click (probably an user error) --> I assumed that it's not compatible with 19.3. I gave it a second try and it did work. Thank you dan-miel! This is a big help when working with large assemblies.

If the A2+More -addon is not being developed any more would be interesting to see that this functionality, the Constraint Viewer, would be implemented in the main A2+ -project. I might be able to carry out this myself :geek:
Post Reply