compas icon indicating copy to clipboard operation
compas copied to clipboard

Core packages of the COMPAS framework.

Results 156 compas issues
Sort by recently updated
recently updated
newest added

Adding `HashTree` to compare changes on data structrues. For example: ```python from compas.datastructures import HashTree print("\nCOMPARE DICTS:") tree1 = HashTree.from_dict({"a": {"b": 1, "c": 3}, "d": [1, 2, 3], "e": 2})...

**Describe the bug** for Vector peration `*`, like: ```python >>> u = Vector(1.000, 1.000, 0.000) >>> u * 2 Vector(2.000, 2.000, 0.000) ``` if we do: `Vector * float`: It...

for the tree node there are two options 1. keep the attributes dict in the data dict and convert the node explicitly to/from data 2. don't include the attributes dict...

https://github.com/compas-dev/compas/blob/05ef043486f19f22568dc798ed5881e80e10fd9c/src/compas/geometry/_core/predicates_3.py#L100 For example, if the number of points are four, it doesn't work. To duplicate: ```python from compas.geometry import is_coplanar points = [ [0.2829517225424449, -4.839003403981526, 1.0982209046681721], [0.28995636105537415, -4.846865971883138, 1.1013225714365642], [0.2851504385471344,...

**Describe the bug** In the documentation of the example code. The result after running the method is False (latest compas2 from github.) This method: https://github.com/compas-dev/compas/blob/main/src/compas/geometry/plane.py#L354 I think, instead of this:...

bug

I think the `line.closest_point` method gives bad results for finding the closest parameter on a line. Example: Given a line: `Line(Point(x=-6.0, y=0.0, z=0.0), Point(x=7.5, y=0.0, z=0.0))` And a point:` Point(x=-5.0,...

**Describe the bug** If I run a python script with `import compas`, rhino will freeze and crash. If I type `from compas.` in the python editor, rhino will freeze and...

There are some valid inputs that cause `oriented_bounding_box_numpy` to throw an `numpy.linalg.LinAlgError` **To Reproduce** ```python import numpy as np from compas.geometry import oriented_bounding_box_numpy oriented_bounding_box_numpy(np.array([ [198.71435547, -18.45817566, 61.03982544], [198.78266907, -18.38731384, 62.90990448],...

bug

# Feature Request As a user, I want the terminal logging to be more informational for easier debugging and tracing. such output, and many others, are hard to trace the...

I added new predicates in `predicates_2` for both point/polygon(XY) and polygon/polygon(XY): `polygon_to_polygon_relationship_xy`, `point_to_polygon_relationship_xy`, `is_intersection_polygon_polygon_xy` Full documentation provided in the methods comments. There are on purpose overlaps in what the methods...