"crossSection".
Implementation
Plot Parameters
Short Form Section Names
Withindev-environment/solver, the short form names for sections can be found in the file dsection_properties_v1.py. These names are used within the cross-section remote widget for the type parameter.
Section Shape Names Reference
Section Shape Names Reference
General Starting Tips and Pointers for Creating Diagrams
Diagrams can be created just from the diagram widget, specifically usinglines and dimensions to outline the shape using the cross-section.
Basic Lines and Dimensions
Notice that units have to be added to prevent any errors. The
points section outlines the line which can be colored and have line weights. The dimensions allows a dimensioning line to go along a certain length based on the values added in the x1, x2, y1, and y2 arguments.Using Iteration for Complex Diagrams
Iteration is often required for creating diagrams. Take a look at the code for the story cross-sections below from timberShearWallASD:Working with Remote Widgets
Cross-section diagrams are commonly used with remote widgets that generate section property data:Best Practices
- Units: Always include units in coordinate specifications to prevent errors
- Organization: Group related lines and dimensions logically
- Color Coding: Use consistent colors for different materials or components
- Labels: Provide clear labels for dimensions and important features
- Iteration: Use the
iterate()function for repetitive elements rather than manual arrays