qME Modeling Environment
The qME Modeling Environment is queddy's graphical user interface to explore queddy's modeling kernel.
3D Model Preview
The 3D Model Preview panel shows the 3D model from the response of queddy's modeling kernel to the Python code given in the Model Code panel. For navigating around the 3D model the viewing operations pan, rotate, and zoom are supported.
A click or tap on the 3D model selects one halfedge and updates the B-Rep Mesh panel and the code markers in the Model Code panel accordingly. The selected halfedge is shown as a purple edge marker (arrow). Additional yellow and blue edge markers are shown for the halfedges which serve as input parameters for the Euler Operator which generated the selected halfedge, if applicable.
The appearance of the 3D Model Preview panel can be customized in the Options panel.
B-Rep Mesh
The B-Rep Mesh panel shows information about the b-rep mesh of the current 3D model. It provides the sub-panels Vertex, Edge, and Face, each containing a selector for the respective element id and information about the element's properties, topological meta data, and mesh navigation commands:
Vertex
Properties:
- p[0]: x coordinate of the position of the selected vertex
- p[1]: y coordinate of the position of the selected vertex
- p[2]: z coordinate of the position of the selected vertex
- p[3]: w coordinate of the position of the selected vertex
Mesh navigation commands:
- Vertex CCW: navigates to the next edge of the selected vertex in counter-clock-wise direction
- Vertex CW: navigates to the next edge of the selected vertex in clock-wise direction
Edge
Properties:
- s: sharpness value of the selected edge
Topological meta data:
- ne: next edge in the loop of edges
Mesh navigation commands:
- Edge Flip: navigates to the mate of the selected edge
- Clear All: clears the selections of all sub-panels
Face
Properties:
- m: material id of the selected face
Topological meta data:
- bf: baseface of the selected face or ring
- nr: next ring in the chain of rings of the corresponding baseface
Mesh navigation commands:
- Face CCW: navigates to the next edge of the selected face in counter-clock-wise direction
- Face CW: navigates to the next edge of the selected face in clock-wise direction
Note: The three sub-panels always show the information of one halfedge. A selection change in one of the sub-panels could therefore lead to a selection change in the other sub-panels, too.
Model Code
The Model Code panel is the Python code editor for the input for queddy's modeling kernel.
Buttons
The model code can be sent to queddy's modeling kernel by the commands "Preview" or "Download as ...". The response of queddy's modeling kernel is then either shown in the 3D Model Preview panel or saved as a file in a format according to the selection in the dropdown menu next to the "Download as..." button.
The "Reset" command clears the contents of the Model Code panel and the 3D Model Preview panel.
Code markers
A left click on a line number selects in the 3D Model Preview panel the halfedge which has been generated by the Euler Operator in that line of model code. If applicable, also code markers are shown in the same color as other edge markers in the 3D Model Preview panel for the input parameters of the Euler Operator. Additional purple code markers are shown to highlight the locations where the edge, vertex, and face properties of the selected halfedge have been defined.
Breakpoint
A left click on a line number while the "Option" or "Alt" key is pressed sets a breakpoint on that line. The commands "Preview" and "Download as ..." are then only executed up to that line (excluded).
Messages
The Messages panels shows outputs of the log() command and error messages from queddy's modeling kernel.
Options
The Options panel customizes the appearance of the 3D model in the 3D Model Preview panel. Several elements can be hidden or shown and changed in size.
