Compas-cem

Latest version: v0.8.0

Safety actively analyzes 681812 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.8.0

----------

**Added**

- Added `PolylineConstraint` component to grasshopper plugin.
- Implemented `constraints.PolylineConstraint`.
- Added `EdgeDirectionConstraint` component to grasshopper plugin.
- Implemented `constraints.EdgeDirectionConstraint`.
- Added `Diagram.edge_plane` to query the projection plane of an edge.

**Changed**

**Fixed**

**Deprecated**

**Removed**

0.7.0

----------

**Added**

- Added sequence coloring for nodes to `plotters.TopologyArtist`.
- Automatically compute edge widths from a two-tuple with `plotters.FormArtist`.
- Automatically compute edge widths from a two-tuple with `viewers.DiagramObject`.
- Created `MoveOriginNodes` GH component.
- Implemented `ShiftTrails` GH component.
- Implemented `Topology.number_of_sequences()`
- Enabled `static_equilibrium` calculations up to a `kmax` sequence.
- Implemented `Topology.trails_sequences` mapping.
- Implemented `Topology.trail_sequence` mapping.
- Implemented `Topology.shift_trail` to change the starting sequence of a trail.
- Implemented `Topology.from_dualquadmesh`.
- Created colors for direct and indirect deviation edges.
- An origin node can be parametrized by more than one optimization parameter (position and applied load).
- An edge can be assigned more than one constraint for optimization.
- A node can be assigned more than one constraint for optimization.
- Enabled `NodeLoad` x, y, z components to be used as an optimization parameter.

**Changed**

- Plot reaction forces and applied loads as arrow meshes in `viewers.DiagramObject` instead of lines.
- `Topology.auxiliary_trails()` takes `keys` as parameter to iterate over origin node keys and trails.
- `Topology.trails()` takes `keys` as parameter to iterate over origin node keys and trails.
- `Topology.sequence()` takes `keys` as parameter to iterate over origin node keys and trails.
- `Topology.sequences()` outputs tuples with the nodes in every sequence instead of a range to `klast`.
- Set explicit use of `compas_cem.ghpython` artist in `FormArtist`.
- Set explicit use of `compas_cem.ghpython` artists in `TopologyArtist`.

**Fixed**

- Prevent `NaN` in next position calculation in `equilibrium_state_numpy`.

**Deprecated**

**Removed**

0.6.1

----------

**Added**

**Changed**

**Fixed**

- Fixed mising `kappa` argument in `optimization.solve_proxy`

**Deprecated**

**Removed**

0.6.0

----------

**Added**

- `ConstrainedFormFinding` GH component outputs optimized `TopologyDiagram`.
- `compas_cem.plotters.TopologyArtist` has node size and edge width default parameters.
- `compas_cem.plotters.FormArtist` has node size and edge width default parameters.
- Added support for gradient computation via finite differences.
- Added support for the `VAR` optimization algorithm from NLOpt.
- Added gradient convergence treshold `kappa` to the signature of `Optimizer.solve`.
- Added `kappa` as input to the `ConstrainedFormFinding` GH component.
- Implemented `Diagram.is_edge_supported`

**Changed**

- Changed GH components folder prefix from CEM to CompasCem.
- Renamed `compas_cem.optimization.Optimizer.solve_nlopt` to `solve`.
- Refactored `compas_cem.optimization.Parameter`.
- Refactored calculation of trail edge length via plane intersection in `static_equilibrium`.
- Refactored calculation of trail edge length via plane intersection in `static_equilibrium_numpy`.

**Fixed**

- Fixed bug in `compas_cem.equilibrium.equilibrium_state` where `residual` calculation was undefined when `tmax=1`.

**Deprecated**

- Deprecated `Optimizer.solve_nlopt` and `.solve_nlopt_proxy`.


**Removed**

0.5.0

----------

**Added**

- Implemented `compas_cem.plotters.Plotter`.
- Implemented `compas_cem.viewers.Viewer`.
- Implemented `compas_cem.viewers.DiagramObject`.
- Implemented `compas_cem.viewers.TopologyDiagramObject`.
- Implemented `compas_cem.viewers.FormDiagramObject`.
- Created `compas_cem.viewers`.

**Changed**

**Fixed**

**Deprecated**

**Removed**

0.4.1

----------

**Added**

- Implemented `ProxyServer` GH component to accelerate optimization time in Rhino.
- Added `compas_cem.diagrams.Diagram.__str__()`.

**Changed**

- Changed `ConstrainedFormFinding` GH component to check for existing `ProxyServer`.
- Changed `nlopt_status` flags for better interpretability in ghpython.

**Fixed**

- Fixed bug in `compas_cem.ghpython.artists` registration.
- Fixed bug in serialization and target computation in `optimization.constraints.VectorConstraint`.
- Fixed bug in `Plane` creation caused by old version of `compas_rhino.RhinoPlane.from_geometry`.

**Deprecated**

**Removed**

- Removed `compas_cem.loads.NodeLoad.from_rhino_point_and_vector`
- Removed `compas_cem.supports.NodeSupport.from_rhino_point`
- Removed `compas_cem.elements.Edge.from_rhino_line`
- Removed `compas_cem.elements.Node.from_rhino_point`
- Removed `compas_cem.data.GHData`.

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.