compas
compas copied to clipboard
Core packages of the COMPAS framework.
Due to added/changing rules in version [23.1.0](https://black.readthedocs.io/en/stable/change_log.html#id1) which break the build the version is now pinned to 22.12.0. See https://github.com/compas-dev/compas/pull/1116. This is a reminder as @gonzalocasas pointed we should aim...
_Originally posted by @brgcode in https://github.com/compas-dev/compas/pull/1111#discussion_r1081776686_ The `__all__` attribute in some `__init__.py` files should be populated with items explicitly rather than with iteration on `dir()`. For example here: https://github.com/compas-dev/compas/blob/b03002c9e55237405d1f4f8119edff13b42afc20/src/compas/geometry/primitives/__init__.py#L20
**Describe the bug** The BRep.from_extrusion() function does not produce the expected brep object as indicated by the area and volume measurements. **To Reproduce** Steps to reproduce the behavior: 1. Context:...
**Describe the bug** Compas fails to produce a Nurbs curve from points. ``` Traceback (most recent call last): File "c:\Users\sh_st\Code_local\ibs\ibs_core\nurbs_curve_test.py", line 12, in test_nurbs_curve() File "c:\Users\sh_st\Code_local\ibs\ibs_core\nurbs_curve_test.py", line 9, in test_nurbs_curve...
**Describe the bug** The DEM Viewer throws an error when loading an assembly with null forces, with both CRA solvers. ``` Traceback (most recent call last): File "d:\10_DEV\CompasWorkshop\mcneel22\RandomWall\02_collectRHgeometry.py", line 88,...
**Describe the bug** If [Rhino-stubs](https://pypi.org/project/Rhino-stubs/) are installed on the cpython environment, compas will incorrectly assume that it is inside Rhino (`compas.RHINO == True`) To reproduce: * Install Rhino-stubs in an...
# Feature Request As a developer building software for the solar industry, I want polygon-polygon intersections so that I can develop code in compas instead of other geometric libraries. ##...
### What type of change is this? - [ ] Bug fix in a **backwards-compatible** manner. - [ ] New feature in a **backwards-compatible** manner. - [ ] Breaking change:...
According to @chenkasirer there are some discussion about remove all `print` in core library, instead use `__str__` for this type of functionalities. https://github.com/BlockResearchGroup/compas_model/pull/31#discussion_r1519911684 I made this change for `Tree`, let...
**Case 1**: In the documentation: https://compas.dev/compas/latest/userguide/basics.geometry.points_and_vectors.html We have:  The different resulting types of `+` and `-` for `Point` looks quite strange to me at the beginning... It is understandable...