Here is an idea\tool that I believe might help reduce the number of constraint errors when a part needs to be modified in A2plus or at least help find them.
To install:
Unzip the file and trop it in your mod folder usually at “C:\Users\yourname\AppData\Roaming\FreeCAD\Mod” for windows. Restart FreeCAD and hopefully the will be a new workbench called “Updater for A2plus parts”. There are two buttons, a UD for UpDate and CC doe Constraint check. UD updates any parts you have selected. It is not perfect but seems to help.
CC brings up Constraint Checker, which is pictured. Clicking on a constraint name highlights the two mating ends of the constraint. You can change suppression and direction in columns 1 and 2 and update the single constraint in column3. Click 5 and 6 to highlight the feature separately. 8 and 10 to highlight the parts.
To change a face click the feature that is incorrect in columns 5 or 6, Click ‘attach to’ button and select the correct feature in the window.
Upper left side buttons:
1. Transparency toggle. 2. Select a part in the window and “Import from part” put connected constraints in the table. 3. Select constraints in the tree and Import from tree loads those. Update part is same as the UP button.
2. Right side: Find in tree searches tree. 2 Check Assembly tries to find broken constraints, it needs work. Add labels will add labels to a selected part.
3 videos about 20 seconds apiece.
1 Update 4 parts with A2plus. 4 constraint warnings. https://youtu.be/9UwI2EcWbJI
2 Update 4 parts with Constraint Checker. 0 constraint warnings.https://youtu.be/H2oEYROEDIg
3 How to swap a feature on an existing constraint.https://youtu.be/E528gOhjroI
If anyone is interested I'll be glad to share tips on how to use or the concepts behind the programming.
I hope this works for someone.
Dan
Maybe reduce A2plus broken constraints
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Maybe reduce A2plus broken constraints
- Attachments
-
- update_A2parts.zip
- (107.91 KiB) Downloaded 40 times
-
- CC pic 600.jpg (41.7 KiB) Viewed 959 times
-
- Buttons.JPG (8.88 KiB) Viewed 959 times