Against each borehole, I have a script placing depth markers at 10m intervals, I now want to label these, with labels hugging the borehole but generally rotated so that they can all be seen from one viewpoint, i.e:
I have done this by assigning a universal ‘display vector’ then rotating each borehole vector 90 degrees toward the display vector and using these two perpendicular vectors to construct my planes at each point.
This is despite having what seems like fairly uniform and well constrained planes? Noting when constructing planes we cannot define the Z axis, as that is defined by the right hand rule, from the X and Y (which are perpendicular) - so I cant figure how these differ, or what do do for a fix!
I have uploaded the GH file - but not the spreadsheet that it pulls its data from (it appears to be not allowed on the site?) - hopefully the screenshots make sense!
I changed the text alignment, and it doesnt seem to make a difference. If i bake the Text, its fine (justified by Rhino) - its only when i explode that text, or bake exploded curves that it doesn’t work.
I spent a bit more time yesterday, and strangely enough, the text does not seem to follow the plane at all?
I.e. Here is a shot with the text upside down, Y axis is up, X axis is to the right:
If i rotate the planes around their X axis (so make Y axis down) I would have expected it to make the text the right way around - but somehow it doesnt seem to work:
I should also note, while i am using a C# script here written by @qythium (thanks again), the same problem occurs if i use the standard 3D text tag, and then explode that.
Hopefully someone can shine some light on this - otherwise I can use a work around which would be to bake the curves, then rotate them 180 degrees around the local planes X axis.