COMPAS 2.0.4__tar.gz → 2.1.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {COMPAS-2.0.4 → compas-2.1.1}/AUTHORS.md +1 -0
- compas-2.1.1/PKG-INFO +132 -0
- {COMPAS-2.0.4 → compas-2.1.1}/README.md +12 -12
- compas-2.1.1/pyproject.toml +153 -0
- compas-2.1.1/requirements-dev.txt +9 -0
- {COMPAS-2.0.4 → compas-2.1.1}/requirements.txt +0 -1
- compas-2.1.1/setup.cfg +4 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/__init__.py +2 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/_iotools.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/_os.py +3 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/color.py +14 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/colordict.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/colormap.py +4 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/coercion.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/data.py +5 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/encoders.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/json.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/schema.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/validators.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/assembly.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/part.py +6 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/cell_network/cell_network.py +11 -23
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/duality.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/graph.py +19 -21
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/join.py +10 -16
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/split.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/planarity.py +3 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/smoothing.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/conway.py +3 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/duality.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/mesh.py +56 -76
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/collapse.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/insert.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/merge.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/split.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/substitute.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/swap.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/weld.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/remesh.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/slice.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/smoothing.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/subdivision.py +10 -15
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/tree/tree.py +94 -30
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/volmesh/volmesh.py +13 -27
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_cli.py +0 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_pre_38.py +1 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/constants.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/data_classes.py +4 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/extensions.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_children.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_content.py +1 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_exporter.py +8 -22
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_mesh.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_node.py +4 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_parser.py +8 -22
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_reader.py +3 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_scene.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/helpers.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/obj.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/off.py +1 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/ply.py +1 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/stl.py +1 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/_algebra.py +24 -23
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/angles.py +8 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/centroids.py +6 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/distance.py +14 -14
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/normals.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/predicates_2.py +9 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/predicates_3.py +26 -34
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/quaternions.py +1 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/size.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/tangent.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/transformations.py +30 -31
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/transformations_numpy.py +7 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bbox.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bbox_numpy.py +12 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bestfit.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bestfit_numpy.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/booleans.py +14 -28
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/booleans_shapely.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/__init__.py +5 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/brep.py +38 -18
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/face.py +0 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/contours.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/arc.py +20 -22
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/bezier.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/circle.py +13 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/conic.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/curve.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/ellipse.py +13 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/hyperbola.py +12 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/line.py +88 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/nurbs.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/parabola.py +11 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/polyline.py +11 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/frame.py +76 -18
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/hull.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/icp_numpy.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_barycentric.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_coons.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_tweening.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/intersection.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/intersections.py +36 -49
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/kdtree.py +1 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/offset.py +9 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/pca_numpy.py +1 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/plane.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/point.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/pointcloud.py +5 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/polygon.py +12 -12
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/polyhedron.py +13 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/projection.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quadmesh_planarize.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quadmesh_planarize_none.py +7 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quaternion.py +92 -21
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/reflection.py +7 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/rotation.py +21 -21
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/scale.py +8 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/box.py +28 -46
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/capsule.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/cone.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/cylinder.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/shape.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/sphere.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/torus.py +9 -37
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shear.py +6 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/conical.py +6 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/cylindrical.py +7 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/nurbs.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/planar.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/spherical.py +7 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/surface.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/toroidal.py +7 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/transformation.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/translation.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/triangulation_delaunay.py +0 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/triangulation_earclip.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_curvature.py +4 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_descent_numpy.py +1 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_geodistance.py +1 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_gradient_numpy.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_isolines.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_matrices.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_matrices_numpy.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_parametrisation.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_pull_points_numpy.py +1 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_remeshing.py +0 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_samplepoints_numpy.py +9 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_slicing.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_smoothing_numpy.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/itertools.py +6 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/linalg.py +30 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/matrices.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/plugins.py +6 -20
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/__init__.py +4 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/dispatcher.py +1 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/errors.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/proxy.py +10 -12
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/server.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/default.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/__init__.py +0 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/assemblyobject.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/context.py +2 -21
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/colordict.py +5 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/exceptions.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/geometryobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/graphobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/meshobject.py +3 -2
- compas-2.1.1/src/compas/scene/scene.py +144 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/sceneobject.py +106 -55
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/volmeshobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/tolerance.py +164 -24
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/combinatorics.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/connectivity.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/orientation.py +10 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/traversal.py +1 -2
- compas-2.1.1/src/compas/utilities/__init__.py +25 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/azync.py +5 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/datetime.py +4 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/decorators.py +1 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/remote.py +3 -3
- compas-2.1.1/src/compas.egg-info/PKG-INFO +132 -0
- {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/SOURCES.txt +8 -29
- compas-2.1.1/src/compas.egg-info/requires.txt +18 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/__init__.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/collections.py +3 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/curves.py +1 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/geometry.py +3 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/meshes.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/surfaces.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/transformations.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/geometry/booleans.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/install.py +8 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/objects.py +4 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/print_python_path.py +0 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/boxobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/capsuleobject.py +2 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/circleobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/coneobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/curveobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/cylinderobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/frameobject.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/graphobject.py +4 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/lineobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/meshobject.py +5 -8
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/planeobject.py +5 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/pointcloudobject.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/pointobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polygonobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polyhedronobject.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polylineobject.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/sceneobject.py +5 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/sphereobject.py +4 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/surfaceobject.py +3 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/torusobject.py +4 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/vectorobject.py +4 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/volmeshobject.py +10 -16
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/utilities/drawing.py +3 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/__init__.py +2 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/boxobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/brepobject.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/capsuleobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/circleobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/coneobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/curveobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/cylinderobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/ellipseobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/frameobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/graphobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/lineobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/meshobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/planeobject.py +4 -6
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/pointobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polygonobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polyhedronobject.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polylineobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/sceneobject.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/sphereobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/surfaceobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/torusobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/vectorobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/volmeshobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/sets.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/utilities/drawing.py +7 -25
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/__init__.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/base.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/faces.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/labels.py +5 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/lines.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/points.py +5 -5
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/breps.py +0 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/curves.py +8 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/exceptions.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/extrusions.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/geometry.py +13 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/meshes.py +13 -13
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/shapes.py +12 -15
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/surfaces.py +5 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/__init__.py +5 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/brep.py +86 -36
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/edge.py +8 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/face.py +9 -15
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/loop.py +2 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/vertex.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/curve.py +6 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/nurbs.py +8 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/nurbs.py +6 -11
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/surface.py +9 -13
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/trimesh_curvature.py +7 -9
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install.py +8 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install_plugin.py +2 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install_with_pip.py +1 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/layers.py +21 -20
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/objects.py +6 -10
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/print_python_path.py +0 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/boxobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/brepobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/capsuleobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/circleobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/coneobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/curveobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/cylinderobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/ellipseobject.py +2 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/frameobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/graphobject.py +5 -4
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/helpers.py +1 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/lineobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/meshobject.py +21 -14
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/planeobject.py +4 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/pointobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polygonobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polyhedronobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polylineobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/sceneobject.py +3 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/sphereobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/surfaceobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/torusobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/vectorobject.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/volmeshobject.py +6 -7
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/ui.py +2 -1
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/uninstall.py +4 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/uninstall_plugin.py +1 -2
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/utilities/constructors.py +3 -3
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/utilities/drawing.py +112 -95
- COMPAS-2.0.4/CHANGELOG.md +0 -2781
- COMPAS-2.0.4/MANIFEST.in +0 -24
- COMPAS-2.0.4/PKG-INFO +0 -99
- COMPAS-2.0.4/conftest.py +0 -43
- COMPAS-2.0.4/pyproject.toml +0 -26
- COMPAS-2.0.4/setup.cfg +0 -20
- COMPAS-2.0.4/setup.py +0 -72
- COMPAS-2.0.4/src/COMPAS.egg-info/PKG-INFO +0 -99
- COMPAS-2.0.4/src/COMPAS.egg-info/requires.txt +0 -11
- COMPAS-2.0.4/src/compas/colors/cmcrameri/LICENSE +0 -25
- COMPAS-2.0.4/src/compas/scene/scene.py +0 -312
- COMPAS-2.0.4/src/compas/utilities/__init__.py +0 -51
- COMPAS-2.0.4/src/compas/utilities/maps.py +0 -127
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_FromJson/icon.png +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_FromJson/metadata.json +0 -26
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_Info/icon.png +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_Info/metadata.json +0 -21
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_RpcCall/icon.png +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_RpcCall/metadata.json +0 -46
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToJson/icon.png +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToJson/metadata.json +0 -35
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToRhinoGeometry/icon.png +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToRhinoGeometry/metadata.json +0 -25
- COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_FromJson.ghuser +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_Info.ghuser +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_RpcCall.ghuser +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_ToJson.ghuser +0 -0
- COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_ToRhinoGeometry.ghuser +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/LICENSE +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/__main__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/acton.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/actonS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bam.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamO.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamako.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamakoS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlow.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowK.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowW.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/berlin.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bilbao.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bilbaoS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/broc.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/brocO.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/buda.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/budaS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bukavu.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/cork.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/corkO.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/davos.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/davosS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/devon.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/devonS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/fes.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/grayC.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/grayCS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/hawaii.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/hawaiiS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/imola.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/imolaS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lajolla.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lajollaS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lapaz.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lapazS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lisbon.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/nuuk.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/nuukS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/oleron.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/oslo.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/osloS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/roma.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/romaO.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tofino.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tokyo.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tokyoS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/turku.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/turkuS.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vanimo.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vik.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vikO.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/html_colors.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/mpl_colormap.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/conftest.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/exceptions.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/boxes.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/butt_model.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cone.stl +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube.off +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_ascii.stl +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_binary.stl +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_binary_2.stl +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/doosabin.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces_big.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces_reversed.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/fink.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/grid_irregular.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/hypar.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_big.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_bigger.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_noleaves.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh_100_faces.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh_110_faces.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/open_edges.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/point.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/quadmesh.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/quadmesh_planar.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/saddle.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/spline.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.json +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.obj +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.off +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.ply +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/_mutablemapping.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/exceptions.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/attributes.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/cell_network/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/datastructure.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/extrude.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/tree/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/volmesh/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_cpython.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_shared.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/xml.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/nurbs.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/edge.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/errors.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/loop.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/trim.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/vertex.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/geometry.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/hull_numpy.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/extrusion.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/revolution.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/vector.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/__main__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/watcher.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/attribute.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/color.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/protocol.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/ssh.py +0 -0
- {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/dependency_links.txt +0 -0
- {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/entry_points.txt +0 -0
- {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/not-zip-safe +0 -0
- {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/top_level.txt +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/breps.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/colors.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/data.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/geometry/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/utilities/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_FromJson/code.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_Info/code.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_RpcCall/code.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_ToJson/code.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/install.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/timer.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/uninstall.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/utilities/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/docobjects.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/transformations.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/booleans.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/builder.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/trim.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/trimesh_slicing.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/__init__.py +0 -0
- {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/utilities/__init__.py +0 -0
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
- Nizar Taha <<taha@arch.ethz.ch>> [@nizartaha](https://github.com/nizartaha)
|
|
35
35
|
- Gene Ting-Chun Kao <<kao@arch.ethz.ch>> [@GeneKao](https://github.com/GeneKao)
|
|
36
36
|
- Chen Kasirer <<kasirer@arch.ethz.ch>> [@chenkasirer](https://github.com/chenkasirer)
|
|
37
|
+
- Aleksandra Apolinarska <<apolinarska@arch.ethz.ch>> [@funkchaser](https://github.com/funkchaser)
|
|
37
38
|
- Nickolas Maslarinos <<maslarinosnickolas@gmail.com>> [@nmaslarinos](https://github.com/nmaslarinos)
|
|
38
39
|
- Katerina Toumpektsi <<e.toumpeksti@gmail.com>> [@katarametin](https://github.com/katarametin)
|
|
39
40
|
- Joelle Baehr-Bruyere <<joelle.baehr-bruyere@epfl.ch>> [@baehrjo](https://github.com/baehrjo)
|
compas-2.1.1/PKG-INFO
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: compas
|
|
3
|
+
Version: 2.1.1
|
|
4
|
+
Summary: The main COMPAS framework library.
|
|
5
|
+
Author-email: tom van mele <tom.v.mele@gmail.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2017-2023 COMPAS Association
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://compas-dev.github.io/compas
|
|
29
|
+
Project-URL: Documentation, https://compas-dev.github.io/compas
|
|
30
|
+
Project-URL: Repository, https://github.com/compas-dev/compas.git
|
|
31
|
+
Project-URL: Changelog, https://github.com/compas-dev/compas/blob/main/CHANGELOG.md
|
|
32
|
+
Project-URL: Issues, https://github.com/compas-dev/compas/issues
|
|
33
|
+
Project-URL: Forum, https://forum.compas-framework.org/
|
|
34
|
+
Keywords: architecture,engineering,fabrication,construction
|
|
35
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
36
|
+
Classifier: Topic :: Scientific/Engineering
|
|
37
|
+
Classifier: Operating System :: Unix
|
|
38
|
+
Classifier: Operating System :: POSIX
|
|
39
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
40
|
+
Classifier: Programming Language :: Python
|
|
41
|
+
Classifier: Programming Language :: Python :: 3
|
|
42
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
43
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
44
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
45
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
46
|
+
Requires-Python: >=3.9
|
|
47
|
+
Description-Content-Type: text/markdown
|
|
48
|
+
License-File: LICENSE
|
|
49
|
+
License-File: AUTHORS.md
|
|
50
|
+
Requires-Dist: jsonschema
|
|
51
|
+
Requires-Dist: networkx>=3.0
|
|
52
|
+
Requires-Dist: numpy>=1.15.4
|
|
53
|
+
Requires-Dist: scipy>=1.1
|
|
54
|
+
Requires-Dist: watchdog; sys_platform != "emscripten"
|
|
55
|
+
Provides-Extra: dev
|
|
56
|
+
Requires-Dist: attrs>=17.4; extra == "dev"
|
|
57
|
+
Requires-Dist: black>=22.12.0; extra == "dev"
|
|
58
|
+
Requires-Dist: bump-my-version; extra == "dev"
|
|
59
|
+
Requires-Dist: compas_invocations2; extra == "dev"
|
|
60
|
+
Requires-Dist: invoke>=0.14; extra == "dev"
|
|
61
|
+
Requires-Dist: ruff; extra == "dev"
|
|
62
|
+
Requires-Dist: sphinx_compas2_theme; extra == "dev"
|
|
63
|
+
Requires-Dist: twine; extra == "dev"
|
|
64
|
+
Requires-Dist: wheel; extra == "dev"
|
|
65
|
+
|
|
66
|
+
# The COMPAS framework
|
|
67
|
+
|
|
68
|
+

|
|
69
|
+
[](https://github.com/compas-dev/compas)
|
|
70
|
+
[](https://anaconda.org/conda-forge/compas)
|
|
71
|
+
[](https://pypi.python.org/project/COMPAS)
|
|
72
|
+
[](https://pypi.python.org/project/COMPAS)
|
|
73
|
+
[](https://pypi.python.org/project/COMPAS)
|
|
74
|
+
[](https://anaconda.org/conda-forge/compas)
|
|
75
|
+
[](https://anaconda.org/conda-forge/compas)
|
|
76
|
+
[](https://zenodo.org/badge/latestdoi/104857648)
|
|
77
|
+
[](https://twitter.com/compas_dev)
|
|
78
|
+
|
|
79
|
+
The **COMPAS** framework is an open-source, Python-based framework for computational research and collaboration in architecture, engineering, digital fabrication and construction.
|
|
80
|
+
|
|
81
|
+
The framework consists of a general-purpose core library, written in pure Python, and a growing collection of extensions that provide easy access to peer-reviewed research, state-of-the-art external libraries such as CGAL, libigl and Triangle, and tools with specialized functionality for AEFC applications such as Abaqus, ANSYS, SOFISTIK, ROS, etc.
|
|
82
|
+
|
|
83
|
+
COMPAS has dedicated packages for working with Rhino, Grasshopper, and Blender, but it can be used in any environment that supports Python scripting. It is available on PyPI and conda-forge and can be easily installed using popular package managers on multiple platforms.
|
|
84
|
+
|
|
85
|
+
## COMPAS 2.0!
|
|
86
|
+
|
|
87
|
+
We are working on a new major release of the framework, COMPAS 2.0!
|
|
88
|
+
Therefore, be aware that the current version of the repository already contains some changes that are incompatible with the version 1 releases.
|
|
89
|
+
The documentation of the latest stable version (COMPAS 1.17.9) [is available here](https://compas.dev/compas/1.17.9).
|
|
90
|
+
|
|
91
|
+
## Installation
|
|
92
|
+
|
|
93
|
+
The recommended way to install **COMPAS** is to use [Anaconda/conda](https://conda.io/docs/):
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
conda config --add channels conda-forge
|
|
97
|
+
conda install compas
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
For other installation options, [see the user guide](https://compas.dev/compas/latest/userguide/installation.html)
|
|
101
|
+
|
|
102
|
+
## First Steps
|
|
103
|
+
|
|
104
|
+
* [First steps](https://compas.dev/compas/latest/userguide/firststeps.html)
|
|
105
|
+
* [Tutorials: geometry basics](https://compas.dev/compas/latest/userguide/basics.geometry.html)
|
|
106
|
+
* [Tutorials: datastructures](https://compas.dev/compas/latest/userguide/basics.datastructures.html)
|
|
107
|
+
* [API Reference](https://compas.dev/compas/latest/api/index.html)
|
|
108
|
+
|
|
109
|
+
## Questions and feedback
|
|
110
|
+
|
|
111
|
+
The **COMPAS** framework has a [forum for questions and discussions](https://forum.compas-framework.org/).
|
|
112
|
+
|
|
113
|
+
## Issue tracker
|
|
114
|
+
|
|
115
|
+
If you find a bug, please help us solve it by [filing a report](https://github.com/compas-dev/compas/issues).
|
|
116
|
+
|
|
117
|
+
## Contributing
|
|
118
|
+
|
|
119
|
+
If you want to contribute, check out the [contribution guidelines](https://compas.dev/compas/latest/devguide/index.html).
|
|
120
|
+
|
|
121
|
+
## Changelog
|
|
122
|
+
|
|
123
|
+
See changes between releases on the [changelog](https://github.com/compas-dev/compas/blob/main/CHANGELOG.md).
|
|
124
|
+
|
|
125
|
+
## License
|
|
126
|
+
|
|
127
|
+
The main library of **COMPAS** is [released under the MIT license](https://compas.dev/compas/latest/userguide/license.html).
|
|
128
|
+
|
|
129
|
+
## Credits
|
|
130
|
+
|
|
131
|
+
COMPAS is developed by a small team of core developers (`compas-dev`) and with the support of contributers from the open source community.
|
|
132
|
+
See the [list of authors](https://github.com/compas-dev/compas/blob/main/AUTHORS.md) for a complete overview...
|
|
@@ -21,7 +21,7 @@ COMPAS has dedicated packages for working with Rhino, Grasshopper, and Blender,
|
|
|
21
21
|
|
|
22
22
|
We are working on a new major release of the framework, COMPAS 2.0!
|
|
23
23
|
Therefore, be aware that the current version of the repository already contains some changes that are incompatible with the version 1 releases.
|
|
24
|
-
The documentation of the latest stable version (COMPAS 1.17.
|
|
24
|
+
The documentation of the latest stable version (COMPAS 1.17.9) [is available here](https://compas.dev/compas/1.17.9).
|
|
25
25
|
|
|
26
26
|
## Installation
|
|
27
27
|
|
|
@@ -29,21 +29,21 @@ The recommended way to install **COMPAS** is to use [Anaconda/conda](https://con
|
|
|
29
29
|
|
|
30
30
|
```bash
|
|
31
31
|
conda config --add channels conda-forge
|
|
32
|
-
conda install
|
|
32
|
+
conda install compas
|
|
33
33
|
```
|
|
34
34
|
|
|
35
|
-
For other installation options, see
|
|
35
|
+
For other installation options, [see the user guide](https://compas.dev/compas/latest/userguide/installation.html)
|
|
36
36
|
|
|
37
37
|
## First Steps
|
|
38
38
|
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
39
|
+
* [First steps](https://compas.dev/compas/latest/userguide/firststeps.html)
|
|
40
|
+
* [Tutorials: geometry basics](https://compas.dev/compas/latest/userguide/basics.geometry.html)
|
|
41
|
+
* [Tutorials: datastructures](https://compas.dev/compas/latest/userguide/basics.datastructures.html)
|
|
42
|
+
* [API Reference](https://compas.dev/compas/latest/api/index.html)
|
|
42
43
|
|
|
43
44
|
## Questions and feedback
|
|
44
45
|
|
|
45
|
-
The **COMPAS** framework has a forum
|
|
46
|
-
for questions and discussions.
|
|
46
|
+
The **COMPAS** framework has a [forum for questions and discussions](https://forum.compas-framework.org/).
|
|
47
47
|
|
|
48
48
|
## Issue tracker
|
|
49
49
|
|
|
@@ -51,17 +51,17 @@ If you find a bug, please help us solve it by [filing a report](https://github.c
|
|
|
51
51
|
|
|
52
52
|
## Contributing
|
|
53
53
|
|
|
54
|
-
If you want to contribute, check out the [contribution guidelines](https://compas.dev/compas/latest/devguide.html).
|
|
54
|
+
If you want to contribute, check out the [contribution guidelines](https://compas.dev/compas/latest/devguide/index.html).
|
|
55
55
|
|
|
56
56
|
## Changelog
|
|
57
57
|
|
|
58
|
-
See changes between releases on the [changelog](https://compas
|
|
58
|
+
See changes between releases on the [changelog](https://github.com/compas-dev/compas/blob/main/CHANGELOG.md).
|
|
59
59
|
|
|
60
60
|
## License
|
|
61
61
|
|
|
62
|
-
The main library of **COMPAS** is [released under the MIT license](https://compas.dev/compas/latest/license.html).
|
|
62
|
+
The main library of **COMPAS** is [released under the MIT license](https://compas.dev/compas/latest/userguide/license.html).
|
|
63
63
|
|
|
64
64
|
## Credits
|
|
65
65
|
|
|
66
66
|
COMPAS is developed by a small team of core developers (`compas-dev`) and with the support of contributers from the open source community.
|
|
67
|
-
See the [list of authors](AUTHORS.md) for a complete overview...
|
|
67
|
+
See the [list of authors](https://github.com/compas-dev/compas/blob/main/AUTHORS.md) for a complete overview...
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=66.0"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
# ============================================================================
|
|
6
|
+
# project info
|
|
7
|
+
# ============================================================================
|
|
8
|
+
|
|
9
|
+
[project]
|
|
10
|
+
name = "compas"
|
|
11
|
+
description = "The main COMPAS framework library."
|
|
12
|
+
keywords = ["architecture", "engineering", "fabrication", "construction"]
|
|
13
|
+
authors = [{ name = "tom van mele", email = "tom.v.mele@gmail.com" }]
|
|
14
|
+
license = { file = "LICENSE" }
|
|
15
|
+
readme = "README.md"
|
|
16
|
+
requires-python = ">=3.9"
|
|
17
|
+
dynamic = ['dependencies', 'optional-dependencies', 'version']
|
|
18
|
+
classifiers = [
|
|
19
|
+
"Development Status :: 5 - Production/Stable",
|
|
20
|
+
"Topic :: Scientific/Engineering",
|
|
21
|
+
"Operating System :: Unix",
|
|
22
|
+
"Operating System :: POSIX",
|
|
23
|
+
"Operating System :: Microsoft :: Windows",
|
|
24
|
+
"Programming Language :: Python",
|
|
25
|
+
"Programming Language :: Python :: 3",
|
|
26
|
+
"Programming Language :: Python :: 3.9",
|
|
27
|
+
"Programming Language :: Python :: 3.10",
|
|
28
|
+
"Programming Language :: Python :: 3.11",
|
|
29
|
+
"Programming Language :: Python :: 3.12",
|
|
30
|
+
]
|
|
31
|
+
|
|
32
|
+
[project.urls]
|
|
33
|
+
Homepage = "https://compas-dev.github.io/compas"
|
|
34
|
+
Documentation = "https://compas-dev.github.io/compas"
|
|
35
|
+
Repository = "https://github.com/compas-dev/compas.git"
|
|
36
|
+
Changelog = "https://github.com/compas-dev/compas/blob/main/CHANGELOG.md"
|
|
37
|
+
Issues = "https://github.com/compas-dev/compas/issues"
|
|
38
|
+
Forum = "https://forum.compas-framework.org/"
|
|
39
|
+
|
|
40
|
+
[project.scripts]
|
|
41
|
+
compas_rpc = "compas.rpc.__main__:main"
|
|
42
|
+
|
|
43
|
+
# ============================================================================
|
|
44
|
+
# setuptools config
|
|
45
|
+
# ============================================================================
|
|
46
|
+
|
|
47
|
+
[tool.setuptools]
|
|
48
|
+
package-dir = { "" = "src" }
|
|
49
|
+
include-package-data = true
|
|
50
|
+
zip-safe = false
|
|
51
|
+
|
|
52
|
+
[tool.setuptools.dynamic]
|
|
53
|
+
version = { attr = "compas.__version__" }
|
|
54
|
+
dependencies = { file = "requirements.txt" }
|
|
55
|
+
optional-dependencies = { dev = { file = "requirements-dev.txt" } }
|
|
56
|
+
|
|
57
|
+
[tool.setuptools.packages.find]
|
|
58
|
+
where = ["src"]
|
|
59
|
+
|
|
60
|
+
[tool.setuptools.package-data]
|
|
61
|
+
"compas.colors.cmcrameri" = ["*.txt"]
|
|
62
|
+
"compas.data.samples" = ["*.obj", "*.stl", "*.off", "*.ply", "*.json"]
|
|
63
|
+
|
|
64
|
+
# ============================================================================
|
|
65
|
+
# replace pytest.ini
|
|
66
|
+
# ============================================================================
|
|
67
|
+
|
|
68
|
+
[tool.pytest.ini_options]
|
|
69
|
+
minversion = "6.0"
|
|
70
|
+
testpaths = ["tests", "src/compas"]
|
|
71
|
+
python_files = ["test_*.py", "*_test.py", "test.py"]
|
|
72
|
+
addopts = ["-ra", "--strict-markers", "--doctest-glob=*.rst", "--tb=short"]
|
|
73
|
+
doctest_optionflags = [
|
|
74
|
+
"NORMALIZE_WHITESPACE",
|
|
75
|
+
"IGNORE_EXCEPTION_DETAIL",
|
|
76
|
+
"ALLOW_UNICODE",
|
|
77
|
+
"ALLOW_BYTES",
|
|
78
|
+
"NUMBER",
|
|
79
|
+
]
|
|
80
|
+
|
|
81
|
+
# ============================================================================
|
|
82
|
+
# replace bumpversion.cfg
|
|
83
|
+
# ============================================================================
|
|
84
|
+
|
|
85
|
+
[tool.bumpversion]
|
|
86
|
+
current_version = "2.1.1"
|
|
87
|
+
message = "Bump version to {new_version}"
|
|
88
|
+
commit = true
|
|
89
|
+
tag = true
|
|
90
|
+
|
|
91
|
+
[[tool.bumpversion.files]]
|
|
92
|
+
filename = "src/compas/__init__.py"
|
|
93
|
+
search = "{current_version}"
|
|
94
|
+
replace = "{new_version}"
|
|
95
|
+
|
|
96
|
+
[[tool.bumpversion.files]]
|
|
97
|
+
filename = "src/compas_blender/__init__.py"
|
|
98
|
+
search = "{current_version}"
|
|
99
|
+
replace = "{new_version}"
|
|
100
|
+
|
|
101
|
+
[[tool.bumpversion.files]]
|
|
102
|
+
filename = "src/compas_ghpython/__init__.py"
|
|
103
|
+
search = "{current_version}"
|
|
104
|
+
replace = "{new_version}"
|
|
105
|
+
|
|
106
|
+
[[tool.bumpversion.files]]
|
|
107
|
+
filename = "src/compas_rhino/__init__.py"
|
|
108
|
+
search = "{current_version}"
|
|
109
|
+
replace = "{new_version}"
|
|
110
|
+
|
|
111
|
+
[[tool.bumpversion.files]]
|
|
112
|
+
filename = "CHANGELOG.md"
|
|
113
|
+
search = "Unreleased"
|
|
114
|
+
replace = "[{new_version}] {now:%Y-%m-%d}"
|
|
115
|
+
|
|
116
|
+
# ============================================================================
|
|
117
|
+
# replace setup.cfg
|
|
118
|
+
# ============================================================================
|
|
119
|
+
|
|
120
|
+
[tool.black]
|
|
121
|
+
line-length = 179
|
|
122
|
+
|
|
123
|
+
[tool.ruff]
|
|
124
|
+
line-length = 179
|
|
125
|
+
indent-width = 4
|
|
126
|
+
target-version = "py39"
|
|
127
|
+
|
|
128
|
+
[tool.ruff.lint]
|
|
129
|
+
select = ["E", "F", "I"]
|
|
130
|
+
|
|
131
|
+
[tool.ruff.lint.per-file-ignores]
|
|
132
|
+
"__init__.py" = ["I001"]
|
|
133
|
+
"tests/*" = ["I001"]
|
|
134
|
+
"tasks.py" = ["I001"]
|
|
135
|
+
|
|
136
|
+
[tool.ruff.lint.isort]
|
|
137
|
+
force-single-line = true
|
|
138
|
+
known-first-party = [
|
|
139
|
+
"compas",
|
|
140
|
+
"compas_blender",
|
|
141
|
+
"compas_ghpython",
|
|
142
|
+
"compas_rhino",
|
|
143
|
+
]
|
|
144
|
+
|
|
145
|
+
[tool.ruff.lint.pydocstyle]
|
|
146
|
+
convention = "numpy"
|
|
147
|
+
|
|
148
|
+
[tool.ruff.lint.pycodestyle]
|
|
149
|
+
max-doc-length = 179
|
|
150
|
+
|
|
151
|
+
[tool.ruff.format]
|
|
152
|
+
docstring-code-format = true
|
|
153
|
+
docstring-code-line-length = "dynamic"
|
compas-2.1.1/setup.cfg
ADDED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import print_function
|
|
2
2
|
|
|
3
3
|
import os
|
|
4
|
-
from distutils.version import LooseVersion
|
|
5
4
|
|
|
6
5
|
import compas._os
|
|
7
6
|
from compas._os import (
|
|
@@ -21,10 +20,8 @@ __author__ = "Tom Van Mele and many others (see AUTHORS.md)"
|
|
|
21
20
|
__copyright__ = "Copyright 2014-2022 - ETH Zurich, Copyright 2023 - COMPAS Association"
|
|
22
21
|
__license__ = "MIT License"
|
|
23
22
|
__email__ = "tom.v.mele@gmail.com"
|
|
24
|
-
__version__ = "2.
|
|
23
|
+
__version__ = "2.1.1"
|
|
25
24
|
|
|
26
|
-
version = LooseVersion(compas.__version__)
|
|
27
|
-
versionstring = version.vstring.split("-")[0]
|
|
28
25
|
|
|
29
26
|
HERE = compas._os.realpath(os.path.dirname(__file__))
|
|
30
27
|
"""str: Path to the location of the compas package."""
|
|
@@ -175,7 +172,7 @@ def get(filename):
|
|
|
175
172
|
import compas
|
|
176
173
|
from compas.datastructures import Mesh
|
|
177
174
|
|
|
178
|
-
mesh = Mesh.from_obj(compas.get(
|
|
175
|
+
mesh = Mesh.from_obj(compas.get("faces.obj"))
|
|
179
176
|
|
|
180
177
|
"""
|
|
181
178
|
filename = filename.strip("/")
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
These are internal functions of the framework.
|
|
4
4
|
Not intended to be used outside compas* packages.
|
|
5
5
|
"""
|
|
6
|
+
|
|
6
7
|
import os
|
|
7
8
|
import platform
|
|
8
9
|
import re
|
|
@@ -677,7 +678,8 @@ def _get_win_folder_from_registry(csidl_name):
|
|
|
677
678
|
|
|
678
679
|
|
|
679
680
|
def _get_win_folder_with_pywin32(csidl_name):
|
|
680
|
-
from win32com.shell import
|
|
681
|
+
from win32com.shell import shell
|
|
682
|
+
from win32com.shell import shellcon
|
|
681
683
|
|
|
682
684
|
dir = shell.SHGetFolderPath(0, getattr(shellcon, csidl_name), 0, 0)
|
|
683
685
|
# Try to make this a unicode path because SHGetFolderPath does
|
|
@@ -90,6 +90,8 @@ class Color(Data):
|
|
|
90
90
|
The perceived freedom of whiteness.
|
|
91
91
|
is_light : bool
|
|
92
92
|
If True, the color is considered light.
|
|
93
|
+
contrast : :class:`compas.colors.Color`
|
|
94
|
+
The contrasting color to the current color.
|
|
93
95
|
|
|
94
96
|
Examples
|
|
95
97
|
--------
|
|
@@ -311,6 +313,10 @@ class Color(Data):
|
|
|
311
313
|
minval = min(self.r, self.g, self.b)
|
|
312
314
|
return (maxval - minval) / maxval
|
|
313
315
|
|
|
316
|
+
@property
|
|
317
|
+
def contrast(self):
|
|
318
|
+
return self.darkened(25) if self.is_light else self.lightened(50)
|
|
319
|
+
|
|
314
320
|
# --------------------------------------------------------------------------
|
|
315
321
|
# Constructors
|
|
316
322
|
# --------------------------------------------------------------------------
|
|
@@ -906,8 +912,8 @@ class Color(Data):
|
|
|
906
912
|
|
|
907
913
|
factor = 1.0 + factor / 100
|
|
908
914
|
|
|
909
|
-
|
|
910
|
-
r, g, b = colorsys.hls_to_rgb(
|
|
915
|
+
hue, luminance, saturation = self.hls
|
|
916
|
+
r, g, b = colorsys.hls_to_rgb(hue, min(1.0, luminance * factor), saturation)
|
|
911
917
|
self.r = r
|
|
912
918
|
self.g = g
|
|
913
919
|
self.b = b
|
|
@@ -957,8 +963,8 @@ class Color(Data):
|
|
|
957
963
|
|
|
958
964
|
factor = 1.0 - factor / 100
|
|
959
965
|
|
|
960
|
-
|
|
961
|
-
r, g, b = colorsys.hls_to_rgb(
|
|
966
|
+
hue, luminance, saturation = self.hls
|
|
967
|
+
r, g, b = colorsys.hls_to_rgb(hue, max(0.0, luminance * factor), saturation)
|
|
962
968
|
self.r = r
|
|
963
969
|
self.g = g
|
|
964
970
|
self.b = b
|
|
@@ -1032,8 +1038,8 @@ class Color(Data):
|
|
|
1032
1038
|
|
|
1033
1039
|
factor = 1.0 + factor / 100
|
|
1034
1040
|
|
|
1035
|
-
|
|
1036
|
-
r, g, b = colorsys.hls_to_rgb(
|
|
1041
|
+
hue, luminance, saturation = self.hls
|
|
1042
|
+
r, g, b = colorsys.hls_to_rgb(hue, luminance, min(1.0, saturation * factor))
|
|
1037
1043
|
self.r = r
|
|
1038
1044
|
self.g = g
|
|
1039
1045
|
self.b = b
|
|
@@ -1083,8 +1089,8 @@ class Color(Data):
|
|
|
1083
1089
|
|
|
1084
1090
|
factor = 1.0 - factor / 100
|
|
1085
1091
|
|
|
1086
|
-
|
|
1087
|
-
r, g, b = colorsys.hls_to_rgb(
|
|
1092
|
+
hue, luminance, saturation = self.hls
|
|
1093
|
+
r, g, b = colorsys.hls_to_rgb(hue, luminance, max(0.0, saturation * factor))
|
|
1088
1094
|
self.r = r
|
|
1089
1095
|
self.g = g
|
|
1090
1096
|
self.b = b
|
|
@@ -4,11 +4,11 @@ from __future__ import print_function
|
|
|
4
4
|
|
|
5
5
|
import os
|
|
6
6
|
|
|
7
|
-
from compas.
|
|
7
|
+
from compas.itertools import linspace
|
|
8
8
|
|
|
9
9
|
from .color import Color
|
|
10
|
-
from .mpl_colormap import _magma_data
|
|
11
10
|
from .mpl_colormap import _inferno_data
|
|
11
|
+
from .mpl_colormap import _magma_data
|
|
12
12
|
from .mpl_colormap import _plasma_data
|
|
13
13
|
from .mpl_colormap import _viridis_data
|
|
14
14
|
|
|
@@ -42,16 +42,14 @@ class ColorMap(object):
|
|
|
42
42
|
Examples
|
|
43
43
|
--------
|
|
44
44
|
>>> import random
|
|
45
|
-
>>> cmap = ColorMap.from_palette(
|
|
45
|
+
>>> cmap = ColorMap.from_palette("bamako")
|
|
46
46
|
>>> for i in range(100):
|
|
47
47
|
... color = cmap(random.random())
|
|
48
|
-
...
|
|
49
48
|
|
|
50
|
-
>>> cmap = ColorMap.from_mpl(
|
|
49
|
+
>>> cmap = ColorMap.from_mpl("viridis")
|
|
51
50
|
>>> n = 100
|
|
52
51
|
>>> for i in range(n):
|
|
53
52
|
... color = cmap(i, minval=0, maxval=n - 1)
|
|
54
|
-
...
|
|
55
53
|
|
|
56
54
|
See Also
|
|
57
55
|
--------
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from __future__ import print_function
|
|
2
1
|
from __future__ import absolute_import
|
|
3
2
|
from __future__ import division
|
|
3
|
+
from __future__ import print_function
|
|
4
4
|
|
|
5
5
|
from .validators import is_item_iterable
|
|
6
6
|
|
|
@@ -22,7 +22,7 @@ def coerce_sequence_of_tuple(sequence):
|
|
|
22
22
|
|
|
23
23
|
Examples
|
|
24
24
|
--------
|
|
25
|
-
>>> items = coerce_sequence_of_tuple([
|
|
25
|
+
>>> items = coerce_sequence_of_tuple(["a", 1, (None,), [2.0, 3.0]])
|
|
26
26
|
>>> is_sequence_of_tuple(items)
|
|
27
27
|
True
|
|
28
28
|
|
|
@@ -55,7 +55,7 @@ def coerce_sequence_of_list(sequence):
|
|
|
55
55
|
|
|
56
56
|
Examples
|
|
57
57
|
--------
|
|
58
|
-
>>> items = coerce_sequence_of_list([
|
|
58
|
+
>>> items = coerce_sequence_of_list(["a", 1, (None,), [2.0, 3.0]])
|
|
59
59
|
>>> is_sequence_of_list(items)
|
|
60
60
|
True
|
|
61
61
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from __future__ import print_function
|
|
2
1
|
from __future__ import absolute_import
|
|
3
2
|
from __future__ import division
|
|
3
|
+
from __future__ import print_function
|
|
4
4
|
|
|
5
5
|
try:
|
|
6
6
|
from typing import TypeVar # noqa: F401
|
|
@@ -10,13 +10,12 @@ except ImportError:
|
|
|
10
10
|
pass
|
|
11
11
|
|
|
12
12
|
import hashlib
|
|
13
|
-
from uuid import uuid4
|
|
14
|
-
from uuid import UUID
|
|
15
13
|
from copy import deepcopy
|
|
14
|
+
from uuid import UUID
|
|
15
|
+
from uuid import uuid4
|
|
16
16
|
|
|
17
17
|
import compas
|
|
18
18
|
|
|
19
|
-
|
|
20
19
|
# ==============================================================================
|
|
21
20
|
# If you ever feel tempted to use ABCMeta in your code: don't, just DON'T.
|
|
22
21
|
# Assigning __metaclass__ = ABCMeta to a class causes a severe memory leak/performance
|
|
@@ -303,10 +302,10 @@ class Data(object):
|
|
|
303
302
|
Examples
|
|
304
303
|
--------
|
|
305
304
|
>>> from compas.datastructures import Mesh
|
|
306
|
-
>>> mesh = Mesh.from_obj(compas.get(
|
|
305
|
+
>>> mesh = Mesh.from_obj(compas.get("faces.obj"))
|
|
307
306
|
>>> v1 = mesh.sha256()
|
|
308
307
|
>>> v2 = mesh.sha256()
|
|
309
|
-
>>> mesh.vertex_attribute(mesh.vertex_sample(1)[0],
|
|
308
|
+
>>> mesh.vertex_attribute(mesh.vertex_sample(1)[0], "z", 1)
|
|
310
309
|
>>> v3 = mesh.sha256()
|
|
311
310
|
>>> v1 == v2
|
|
312
311
|
True
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from __future__ import print_function
|
|
2
1
|
from __future__ import absolute_import
|
|
3
2
|
from __future__ import division
|
|
3
|
+
from __future__ import print_function
|
|
4
4
|
|
|
5
5
|
try:
|
|
6
6
|
from typing import Type # noqa: F401
|
|
@@ -87,16 +87,15 @@ class DataEncoder(json.JSONEncoder):
|
|
|
87
87
|
>>> from compas.data import DataEncoder
|
|
88
88
|
>>> from compas.geometry import Point
|
|
89
89
|
>>> point = Point(0, 0, 0)
|
|
90
|
-
>>> with open(
|
|
90
|
+
>>> with open("point.json", "w") as f:
|
|
91
91
|
... json.dump(point, f, cls=DataEncoder)
|
|
92
|
-
...
|
|
93
92
|
|
|
94
93
|
Implicit use case.
|
|
95
94
|
|
|
96
95
|
>>> from compas.data import json_dump
|
|
97
96
|
>>> from compas.geometry import Point
|
|
98
97
|
>>> point = Point(0, 0, 0)
|
|
99
|
-
>>> json_dump(point,
|
|
98
|
+
>>> json_dump(point, "point.json")
|
|
100
99
|
|
|
101
100
|
"""
|
|
102
101
|
|
|
@@ -182,14 +181,13 @@ class DataDecoder(json.JSONDecoder):
|
|
|
182
181
|
|
|
183
182
|
>>> import json
|
|
184
183
|
>>> from compas.data import DataDecoder
|
|
185
|
-
>>> with open(
|
|
184
|
+
>>> with open("point.json", "r") as f:
|
|
186
185
|
... point = json.load(f, cls=DataDecoder)
|
|
187
|
-
...
|
|
188
186
|
|
|
189
187
|
Implicit use case.
|
|
190
188
|
|
|
191
189
|
>>> from compas.data import json_load
|
|
192
|
-
>>> point = json_load(
|
|
190
|
+
>>> point = json_load("point.json")
|
|
193
191
|
|
|
194
192
|
"""
|
|
195
193
|
|