You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A tool to measure various distances can be very useful. The user selects two points and BrickSim outputs the distance between them. These points can be:
Edges
Triangles
Center of axle holes, studs or other circles
Algorithm to get the point under the mouse probably will be something like:
Get the etree::Node under the mouse using the selection buffer
Cast a ray and check for intersections of LdrTriangles or LdrLines or primitives like studs
Display the currently chosen point so the user sees what he will be clicking.
And angle or area measurement can be useful too. The possibility to restrict the measuring to one or two dimensions would be nice too (for example to measure the X difference between two points without taking Y and Z into account)
The text was updated successfully, but these errors were encountered:
A tool to measure various distances can be very useful. The user selects two points and BrickSim outputs the distance between them. These points can be:
Algorithm to get the point under the mouse probably will be something like:
etree::Node
under the mouse using the selection bufferLdrTriangle
s orLdrLines
or primitives like studsAnd angle or area measurement can be useful too. The possibility to restrict the measuring to one or two dimensions would be nice too (for example to measure the X difference between two points without taking Y and Z into account)
The text was updated successfully, but these errors were encountered: