Entity entries in Outline View #122

Open
opened 2025-10-07 06:13:26 +00:00 by glen · 2 comments
Owner

We need to decide what information will be displayed in production in the default Outline view of each geometric Element.

Right now, for debugging, the Outline view is dominated by the Element's representation vector. In production, this information should be removed, because engine details shouldn't be surfaced in the user interface.

The ID of the element should of course be displayed, but there is presumably space for one or more pieces of additional information on an Element line. Some non-mutually-exclusive possibilities include:

  • The sort of geometric entity the element is (Point / Sphere / Plane / Line / Segment / Circle / …).

  • A swatch of the element's color.

  • Whether the element is selected (currently communicated by highlighting).

  • The element's visibility status (normal / ghost / hidden).

  • The method of definition of the entity. (Right now we just have one way to create a point and one way to make a sphere, but ultimately we will be able to make midpoints, drop perpendiculars, etc. Although these are in some sense just shortcuts for creating entities with constraints, it will likely still be salient to the user to think of point C as the midpoint of AB.)

  • A small number of (presumably selectable) privileged Regulators, like:

    • Cartesian or polar coordinates for a Point
    • Length for a Segment
    • Direction and/or point of closest approach to origin of a Line
    • Area of a Polygon
    • Normal and/or distance from origin for a Plane
    • Radius and/or direction to center and/or distance from origin for a Sphere

    It's hard to know exactly what Regulators to allow for a given entity. Perhaps any Regulator that depends only on the one Element should be allowed among the "primary" Regulators that appear by default on the line for that Element in the outline, with the other Regulators available in some sort of dropdown like we have at the moment.

We need to decide what information will be displayed in production in the default Outline view of each geometric Element. Right now, for debugging, the Outline view is dominated by the Element's representation vector. In production, this information should be removed, because engine details shouldn't be surfaced in the user interface. The ID of the element should of course be displayed, but there is presumably space for one or more pieces of additional information on an Element line. Some non-mutually-exclusive possibilities include: - The sort of geometric entity the element is (Point / Sphere / Plane / Line / Segment / Circle / …). - A swatch of the element's color. - Whether the element is selected (currently communicated by highlighting). - The element's visibility status (normal / ghost / hidden). - The method of definition of the entity. (Right now we just have one way to create a point and one way to make a sphere, but ultimately we will be able to make midpoints, drop perpendiculars, etc. Although these are in some sense just shortcuts for creating entities with constraints, it will likely still be salient to the user to think of point C as the midpoint of AB.) - A small number of (presumably selectable) privileged Regulators, like: - Cartesian or polar coordinates for a Point - Length for a Segment - Direction and/or point of closest approach to origin of a Line - Area of a Polygon - Normal and/or distance from origin for a Plane - Radius and/or direction to center and/or distance from origin for a Sphere It's hard to know exactly what Regulators to allow for a given entity. Perhaps any Regulator that depends only on the one Element should be allowed among the "primary" Regulators that appear by default on the line for that Element in the outline, with the other Regulators available in some sort of dropdown like we have at the moment.
glen added the
design
label 2025-10-07 06:13:26 +00:00
Member

I've edited this a bit, saving the original in case you want to compare and revert any of the changes.

I've edited this a bit, saving the original in case you want to compare and revert any of the changes.
Author
Owner

@Vectornaut wrote in #122 (comment):

I've edited this a bit, saving the original in case you want to compare and revert any of the changes.

Nope all looks good. Of course we may think of other things when we get to this.

@Vectornaut wrote in https://code.studioinfinity.org/StudioInfinity/dyna3/issues/122#issuecomment-3294: > I've edited this a bit, saving the original in case you want to compare and revert any of the changes. Nope all looks good. Of course we may think of other things when we get to this.
Sign in to join this conversation.
No description provided.