Hi
V5
Aligned dim fails to put a dimension centre to centre on these ‘markers’ when placed in perspective view.
If I do so in ortho view the dim does not travel from marker to marker.
Bott left to middle right I hope is 54 inches measured on site on the front face. for example but I am unable to get a dimension with arrows and number to sit between the two.
They have been plotted from site measurements in a side view and now I want to see what they measure as on the front face of the object.
Aligned are for ortho views, what dims are there for angled work in 3D space ?
Hi,
Thats v bad news for me, as :-
Thats a lot of separate C plane creations, is there no way to do this any other way as I am trying to place these markers in 3D space given the constraints of the dims to a certain marker from its nearest neighbours, and from each of those to others and the buttress has varying twisting faces and Cplanes want planar faces, i.e 4 markers are not planar, so Cplanes is not really fitting here, I need to click between two markers and get a dimension to appear, a tail chase is resulting, but having to try and work out the orientation of Cplanes as well, and I always end up with them never restoring back to what I had been using, me and Cplanes dont seem to get on well.
Surely Rhino must know the distance in 3D space between two points and create a dimension with such ?
Steve
You don’t even need to draw a line. Set x axis to the points with 1 click to start the command and the 2 clicks to set the axis. No line to delete or clutter your model.
The question is not if “Rhino knows” the distance, but how you want the measurement to be made.
I think you want a setting that moves the cplane automatically to align one axis to the shortest distance between the points you want to measure. This might be a useful option but I think for now you can achieve the result fairly quickly with the tools that are already there.
Getting comfortable with cplanes is a fundamental prerequisite to using Rhino effectively. Otherwise I think you will struggle unnecessarily.
Thanks to @BrianM and @abrahamwechter - I didn’t know you could set the cplane like this and have the dimension “stick” after changing it back. But as @John_Brock says, dimensions should be in the drawing planes. If you place this dimension in the perspective view the you’ll see it in the other views and there would be nothing there to indicate that it is inclined, so it would be misleading. If you must have it, then I’d recommend adding a warning to the value:
I made this script a while back, maybe it’s useful for you:
#! python3
def mark_distance():
"""
script written by Gijs de Zwart
draws a line with arrows and dot annotation with the distance between the
two picked points
"""
import Rhino
import rhinoscriptsyntax as rs
import scriptcontext as sc
result = rs.GetLine(0,message1 = "pick two points")
if not result:
return
else:
pt1, pt2 = result
if not pt1 or not pt2:
return
line = Rhino.Geometry.Line(pt1, pt2)
length = round(line.Length,3)
mid = (pt1+pt2)/2
rs.EnableRedraw(False)
newline = sc.doc.Objects.AddLine(line)
rs.CurveArrows(newline,3)
obj = sc.doc.Objects.Find(newline)
obj.Attributes.DisplayOrder=1
obj.CommitChanges()
dot = rs.AddTextDot(str(length),mid)
obj = sc.doc.Objects.Find(dot)
obj.Attributes.DisplayOrder=2
obj.CommitChanges()
groupname = rs.AddGroup("dim-3d : "+str(length))
rs.AddObjectsToGroup([newline, dot],groupname)
rs.EnableRedraw(True)
sc.doc.Views.Redraw()
if __name__ == "__main__":
mark_distance()