Preliminary (alpha) versions of TechDraw_CosmeticEraser and TechDraw_FaceCenterLine are available in master branch.
Test reports are very welcome.
Both are fairly useful additions, thanks!
Not sure how to fix this off the top of my head. Will take a bit of digging.
Plans are to have centerline between two edges and perpendicular centerline between two vertices, so I didn't block selection of those geometries. Probably should put that in until edge/vertex CLs are ready.aapo wrote: ↑Tue Jun 11, 2019 6:51 amFaceCenterLine: Worked great for all the faces I tested. However, I was able to select other objects, like edges or vertices, which caused some errors in report view after trying to make a FaceCenterLine and pressing the OK button (Unhandled unknown exception caught in GUIApplication::notify.) Also, I could not understand what the option "Aligned" should do, I did not find any difference to "Vertical" or "Horizontal" there.
I like this idea. Will see what I can doaapo wrote: ↑Tue Jun 11, 2019 6:51 amFeature request: It would be nice to have numerical offset values for the FaceCenterLine in the config box, i.e. user defined horizontal and vertical offsets in mm for the centerlines, so that the centerline could be moved up, down, left or right as needed by the user.
So I would start with a CL of a Face, then rotate by X* about it's midpoint?
Exactly! That way one could add a centerline, when e.g. a screw hole or some other feature happens to be at 45° to the horizontal axis in a section drawing. It'd make sense to tilt the CenterLine to align to the hole. Thanks for coding!wandererfan wrote: ↑Tue Jun 11, 2019 11:39 amSo I would start with a CL of a Face, then rotate by X* about it's midpoint?
Great suggestions and comments. Thanks for testing.
This is on the TODO list, actually, along with a "centerline" that splits the segment between two points.Stq_Niko wrote: ↑Fri Jun 14, 2019 7:39 pmFor cometic FaceCenterLine, don’t you think it would be easier to select 2 edges and draw the middle line ...
With this method, edges even don’t need to be parallel nor equal lengh
2 parameters could be use to increase or reduce the size of each end of this line.