compas_tno.utilities
Symmetry
|
Apply a radial symmetry based on a center points. |
|
Apply a symmetry based on a series of axis of symmetry. |
|
Find the axis of symmetry in rectangular patterns. |
|
Build a symmetry matrix such as Asym * q = 0, with Asym shape (m - k; m) |
|
Build a symmetry matrix Esym (m, k) such as q = Esym * qsym. |
|
Build a symmetry matrix Evsym (n, k) such as z = Evsym * zb. |
|
Build a symmetry matrix to the supports. |
Constraints
|
Check if the envelope constraints are respected and return a |
|
Returns a measure of the distance among the TN and the target surface. |
|
Constraint for smoothing the form diagram in a rectangular boundary. |
|
Assign cracks on a form diagram to the nodes desired |
|
Apply rollers to the rectangular boundaries of the pattern. |
|
Helper to set the |
|
Helper to constraints on rollers. |
Loads
|
Apply selfweight to the nodes of the form diagram based on the shape |
|
Apply selfweight to the nodes considering a different Form Diagram to locate loads. |
|
Modify the applied loads considering a load multiplier. |
|
Modify the applied loads considering a fill. |
|
Apply selfweight to the nodes of the form diagram based on the shape from proxy |
|
Lump the selfweight in the nodes of the thrust network based on their current position. |
Envelopes
|
Apply an envelope (intrados and extrados) to the FormDiagram based on the input shape. |
|
Apply an envelope to the FormDiagram in the plan (x, y) by a given distance. |
|
Apply an envelope to the FormDiagram considering a given distance applied to a base form diagram. |
|
Apply bounds on the magnitude of the edges'force densities. |
|
Project a mesh to the middle surface of the shape. |
|
Modify the Shape data to account for an springing angle. |
|
Apply an envelope (intrados and extrados) to the FormDiagram based on the input shape data |
|
Apply bounds on the magnitude of the allowed increase in thickness of the upper-bound (tub), lower-bound (tlb), and of the reaction vector (tub_reacmax). |
|
Apply bounds on the magnitude of the allowed increase in thickness of the upper-bound (tub), lower-bound (tlb), and of the reaction vector (tub_reacmax). |
Interpolation
|
|
|
Get the height of the extrados in the point. |
|
Get the height of the extrados in a list of points. |
|
Get the height of the fill in the point. |
|
Get the height of the intrados in the point. |
|
Get the height of the intrados in a list of points. |
|
Get the height of the target/middle surface in the point. |
|
Construct a Delaunay triangulation of set of vertices. |
|
Construct a Delaunay triangulation of set of vertices. |
Create a mesh based on a given topology and the heights based in a pointcloud. |
|
Create a mesh based on a given topology and the heights based in a base mesh (usually denser). |
Stiffness
Compute the length of each edge based on the projection of the pattern onto the middle surface. |
|
|
Compute the stiffness of each edge based on the initial lengths, constant area and Young Modulus E. |
|
Compute the stiffness divided by length of each edge (constant thoughout the form diagram) based on the Young Modulus E and the Axial stress Ah. |
Blocks
|
|
|
Create the extended dual of the mesh, which is the centroid dual added with the faces in the boundary. |
Form Modifications
|
Split lines accorting to their intersection |
|
Add direct load paths from a chosen node to the chosen supports |
|
Modify the form diagram applying a parabolic displacement profile to the nodes |
|
Modify the form diagram to coincide the lower corner of its bounding box with the corners provided. |
|
Fix the corners of a mesh (FormDiagram) |
|
Fix the boudnaries along a mesh (FormDiagram) |
|
Apply a parabolic sliding to the nodes towards +x direction. |
|
Remove 2 valent nodes from a mesh or form diagram |
|
Set parabolic vault heights. |
|
Create the displacement map based on a paraboloid sliding the structural pattern. |
|
Create the displacement map based on a paraboloid sliding the structural pattern. |
|
Create the displacement map for a 1D parabola sliding of the structural pattern. |
|
Move nodes at the boundary slightly inwards or outwards |
|
Move nodes at the boundary slightly inwards or outwards |
|
Shuffle the form diagram reordering the edges. |
Data Analysis
|
Plot a diagram of Thrusts based on the collected data from (n) points. |
|
Plot a diagram of Thrusts based on the collected data on (m) problems each with (n) points. |
|
Plot a diagram of Thrusts to the problem of increasing a load multiplier based on the collected data from (n) points. |
|
Plot a diagram of Thrusts based on the collected data on (m) problems each with (n) points. |
|
Save a CSV file from the routine with several min/max thrust computations |
|
Open a CSV file from the routine with several min/max thrust computations |
|
Interpolate min thickness from sizes and solutions computed |
|
Filter structure with minimum thickness in a folder |
|
Lookup files in a folder |
|
Save pointcloud to a JSON file |