I probably should add here that this is experimental territory
, I'm sure that if you open large files they will probably get trashed. This is best used on new simple models that are very basic, something created just to watch the faces get remapped. I would say this is for pro users only
OK! I made some real progress. Here is a macro for us to use and test. It only works on 0.19 and above. You can create models by sketching on faces and if you go back and modify an early sketch you can fix the model
. This will allow us to fix topo errors.
It works like this: Create models by sketching on faces and once your finished run this macro or have it running already and click on "update properties", this will create new or update the additional copy of the sketch placement base. Then later when we need it, the macro will try to remap any misplaced sketches to the addition placement copy info. That's about the extent of the concept but the macro has some smarts and it does searching automatically, you just need to click on each sketch
one at a time from the first created to the last. The base sketch is excluded because we want to leave it alone. This is really fun to use. With the manual face +- buttons to can move/map the sketch to every available face, and you can click fast, once you find a good home for the sketch then click "recompute to map it there. The sketch object is highlighted and the lines are enlarged so you can better see location.
The "Seek" button is a toggle On/Off and enables you to remap tree selections automatically and it also sets transparency so you can see inside the solid. "Face +" will move the sketch to the next face, "Face -" will move the sketch to the previous face. Recompute is obvious and Restore will reset the highlighted sketches and the transparency. The tan box is there to give some feedback during usage.
How to use it: Create a model and update properties. Once you have created an error, lets say in a sketch then close the sketch, cick on Seek to turn ON and the model will turn to see-thru. Now you have to start at the lowest sketch other than the base sketch (normally sketch001), we don't want to remap the base sketch. Click on the sketch in the tree. You will see the model sketch get correctly placed or you need to do it manually. If the macro can't find a face that is correct then it will show some text in the tan box. If the face can't be mapped automatically then you will need to do it manually with the Face +- buttons. Once you place the sketch on the correct pad then click recompute. Once finished with the last sketch in the tree, click on restore. If you want, you can map every sketch manually just to see how it works, just highlight the sketch in the tree and apply Face + or face -. Once the model is fixed then you want to click on "update properties" to update all the sketch placements.
This really works! I have messed up many sketches and fixed them in just seconds. There's list of additional things to add to make it more friendly and the code is messy but that's all I had time for. Let me know what you think....
Let me know if the buttons don't look right for a mac.
I also included a model if you want to use it. It can help you see what is going on as sketches are thrown about.