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.
Files changed (504) hide show
  1. {COMPAS-2.0.4 → compas-2.1.1}/AUTHORS.md +1 -0
  2. compas-2.1.1/PKG-INFO +132 -0
  3. {COMPAS-2.0.4 → compas-2.1.1}/README.md +12 -12
  4. compas-2.1.1/pyproject.toml +153 -0
  5. compas-2.1.1/requirements-dev.txt +9 -0
  6. {COMPAS-2.0.4 → compas-2.1.1}/requirements.txt +0 -1
  7. compas-2.1.1/setup.cfg +4 -0
  8. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/__init__.py +2 -5
  9. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/_iotools.py +1 -1
  10. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/_os.py +3 -1
  11. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/color.py +14 -8
  12. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/colordict.py +2 -1
  13. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/colormap.py +4 -6
  14. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/coercion.py +3 -3
  15. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/data.py +5 -6
  16. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/encoders.py +5 -7
  17. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/json.py +4 -4
  18. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/schema.py +3 -2
  19. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/validators.py +5 -5
  20. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/assembly.py +2 -1
  21. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/part.py +6 -6
  22. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/cell_network/cell_network.py +11 -23
  23. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/duality.py +2 -3
  24. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/graph.py +19 -21
  25. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/join.py +10 -16
  26. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/split.py +1 -1
  27. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/planarity.py +3 -5
  28. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/smoothing.py +1 -1
  29. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/conway.py +3 -9
  30. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/duality.py +4 -4
  31. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/mesh.py +56 -76
  32. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/collapse.py +1 -1
  33. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/insert.py +1 -1
  34. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/merge.py +2 -2
  35. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/split.py +2 -2
  36. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/substitute.py +1 -1
  37. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/swap.py +1 -1
  38. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/weld.py +3 -4
  39. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/remesh.py +3 -3
  40. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/slice.py +1 -1
  41. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/smoothing.py +1 -1
  42. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/subdivision.py +10 -15
  43. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/tree/tree.py +94 -30
  44. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/volmesh/volmesh.py +13 -27
  45. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_cli.py +0 -2
  46. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_pre_38.py +1 -0
  47. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/constants.py +2 -2
  48. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/data_classes.py +4 -9
  49. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/extensions.py +1 -1
  50. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf.py +2 -2
  51. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_children.py +2 -2
  52. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_content.py +1 -3
  53. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_exporter.py +8 -22
  54. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_mesh.py +4 -4
  55. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_node.py +4 -8
  56. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_parser.py +8 -22
  57. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_reader.py +3 -6
  58. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/gltf_scene.py +2 -2
  59. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/helpers.py +2 -2
  60. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/obj.py +5 -7
  61. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/off.py +1 -3
  62. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/ply.py +1 -3
  63. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/stl.py +1 -0
  64. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/_algebra.py +24 -23
  65. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/angles.py +8 -8
  66. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/centroids.py +6 -6
  67. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/distance.py +14 -14
  68. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/normals.py +3 -4
  69. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/predicates_2.py +9 -11
  70. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/predicates_3.py +26 -34
  71. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/quaternions.py +1 -0
  72. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/size.py +5 -7
  73. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/tangent.py +5 -5
  74. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/transformations.py +30 -31
  75. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/transformations_numpy.py +7 -8
  76. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bbox.py +2 -1
  77. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bbox_numpy.py +12 -11
  78. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bestfit.py +3 -3
  79. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/bestfit_numpy.py +1 -1
  80. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/booleans.py +14 -28
  81. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/booleans_shapely.py +2 -1
  82. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/__init__.py +5 -0
  83. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/brep.py +38 -18
  84. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/face.py +0 -1
  85. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/contours.py +1 -1
  86. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/arc.py +20 -22
  87. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/bezier.py +3 -3
  88. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/circle.py +13 -10
  89. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/conic.py +1 -1
  90. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/curve.py +5 -5
  91. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/ellipse.py +13 -9
  92. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/hyperbola.py +12 -9
  93. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/line.py +88 -7
  94. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/nurbs.py +4 -4
  95. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/parabola.py +11 -10
  96. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/polyline.py +11 -10
  97. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/frame.py +76 -18
  98. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/hull.py +3 -3
  99. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/icp_numpy.py +5 -5
  100. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_barycentric.py +2 -2
  101. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_coons.py +2 -3
  102. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/interpolation_tweening.py +3 -3
  103. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/intersection.py +1 -1
  104. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/intersections.py +36 -49
  105. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/kdtree.py +1 -2
  106. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/offset.py +9 -11
  107. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/pca_numpy.py +1 -3
  108. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/plane.py +4 -4
  109. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/point.py +1 -1
  110. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/pointcloud.py +5 -6
  111. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/polygon.py +12 -12
  112. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/polyhedron.py +13 -7
  113. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/projection.py +5 -5
  114. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quadmesh_planarize.py +1 -1
  115. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quadmesh_planarize_none.py +7 -8
  116. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/quaternion.py +92 -21
  117. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/reflection.py +7 -7
  118. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/rotation.py +21 -21
  119. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/scale.py +8 -8
  120. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/box.py +28 -46
  121. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/capsule.py +3 -3
  122. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/cone.py +4 -4
  123. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/cylinder.py +2 -2
  124. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/shape.py +3 -3
  125. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/sphere.py +3 -2
  126. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/torus.py +9 -37
  127. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shear.py +6 -6
  128. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/conical.py +6 -3
  129. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/cylindrical.py +7 -4
  130. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/nurbs.py +5 -5
  131. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/planar.py +3 -2
  132. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/spherical.py +7 -4
  133. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/surface.py +4 -4
  134. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/toroidal.py +7 -8
  135. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/transformation.py +5 -7
  136. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/translation.py +4 -4
  137. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/triangulation_delaunay.py +0 -4
  138. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/triangulation_earclip.py +4 -4
  139. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_curvature.py +4 -3
  140. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_descent_numpy.py +1 -0
  141. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_geodistance.py +1 -10
  142. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_gradient_numpy.py +1 -1
  143. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_isolines.py +1 -1
  144. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_matrices.py +1 -1
  145. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_matrices_numpy.py +3 -3
  146. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_parametrisation.py +1 -1
  147. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_pull_points_numpy.py +1 -3
  148. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_remeshing.py +0 -4
  149. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_samplepoints_numpy.py +9 -9
  150. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_slicing.py +1 -1
  151. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/trimesh_smoothing_numpy.py +1 -1
  152. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/itertools.py +6 -8
  153. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/linalg.py +30 -6
  154. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/matrices.py +3 -4
  155. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/plugins.py +6 -20
  156. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/__init__.py +4 -3
  157. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/dispatcher.py +1 -4
  158. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/errors.py +1 -1
  159. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/proxy.py +10 -12
  160. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/server.py +2 -3
  161. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/default.py +1 -1
  162. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/__init__.py +0 -4
  163. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/assemblyobject.py +1 -1
  164. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/context.py +2 -21
  165. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/colordict.py +5 -0
  166. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/exceptions.py +1 -1
  167. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/geometryobject.py +2 -2
  168. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/graphobject.py +3 -2
  169. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/meshobject.py +3 -2
  170. compas-2.1.1/src/compas/scene/scene.py +144 -0
  171. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/sceneobject.py +106 -55
  172. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/volmeshobject.py +3 -2
  173. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/tolerance.py +164 -24
  174. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/combinatorics.py +3 -2
  175. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/connectivity.py +2 -2
  176. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/orientation.py +10 -7
  177. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/traversal.py +1 -2
  178. compas-2.1.1/src/compas/utilities/__init__.py +25 -0
  179. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/azync.py +5 -3
  180. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/datetime.py +4 -4
  181. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/decorators.py +1 -2
  182. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/remote.py +3 -3
  183. compas-2.1.1/src/compas.egg-info/PKG-INFO +132 -0
  184. {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/SOURCES.txt +8 -29
  185. compas-2.1.1/src/compas.egg-info/requires.txt +18 -0
  186. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/__init__.py +1 -1
  187. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/collections.py +3 -1
  188. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/curves.py +1 -2
  189. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/geometry.py +3 -6
  190. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/meshes.py +2 -2
  191. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/surfaces.py +1 -1
  192. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/transformations.py +1 -1
  193. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/geometry/booleans.py +2 -1
  194. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/install.py +8 -11
  195. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/objects.py +4 -2
  196. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/print_python_path.py +0 -1
  197. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/boxobject.py +2 -3
  198. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/capsuleobject.py +2 -4
  199. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/circleobject.py +2 -2
  200. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/coneobject.py +2 -3
  201. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/curveobject.py +2 -2
  202. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/cylinderobject.py +2 -3
  203. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/frameobject.py +3 -4
  204. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/graphobject.py +4 -7
  205. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/lineobject.py +2 -3
  206. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/meshobject.py +5 -8
  207. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/planeobject.py +5 -6
  208. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/pointcloudobject.py +3 -4
  209. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/pointobject.py +2 -2
  210. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polygonobject.py +2 -3
  211. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polyhedronobject.py +5 -7
  212. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/polylineobject.py +3 -4
  213. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/sceneobject.py +5 -10
  214. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/sphereobject.py +4 -5
  215. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/surfaceobject.py +3 -4
  216. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/torusobject.py +4 -5
  217. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/vectorobject.py +4 -5
  218. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/volmeshobject.py +10 -16
  219. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/utilities/drawing.py +3 -5
  220. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/__init__.py +2 -4
  221. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/boxobject.py +2 -2
  222. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/brepobject.py +1 -1
  223. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/capsuleobject.py +2 -2
  224. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/circleobject.py +2 -2
  225. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/coneobject.py +2 -2
  226. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/curveobject.py +2 -2
  227. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/cylinderobject.py +2 -2
  228. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/ellipseobject.py +2 -2
  229. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/frameobject.py +2 -2
  230. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/graphobject.py +2 -2
  231. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/lineobject.py +2 -2
  232. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/meshobject.py +2 -1
  233. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/planeobject.py +4 -6
  234. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/pointobject.py +2 -2
  235. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polygonobject.py +2 -3
  236. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polyhedronobject.py +2 -3
  237. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/polylineobject.py +2 -2
  238. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/sceneobject.py +1 -1
  239. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/sphereobject.py +2 -2
  240. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/surfaceobject.py +2 -2
  241. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/torusobject.py +2 -2
  242. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/vectorobject.py +2 -2
  243. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/volmeshobject.py +2 -2
  244. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/sets.py +1 -1
  245. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/utilities/drawing.py +7 -25
  246. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/__init__.py +1 -1
  247. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/base.py +1 -1
  248. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/faces.py +3 -3
  249. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/labels.py +5 -7
  250. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/lines.py +5 -5
  251. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/points.py +5 -5
  252. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/breps.py +0 -2
  253. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/curves.py +8 -11
  254. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/exceptions.py +1 -1
  255. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/extrusions.py +2 -3
  256. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/geometry.py +13 -7
  257. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/meshes.py +13 -13
  258. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/shapes.py +12 -15
  259. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/surfaces.py +5 -9
  260. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/__init__.py +5 -0
  261. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/brep.py +86 -36
  262. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/edge.py +8 -9
  263. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/face.py +9 -15
  264. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/loop.py +2 -4
  265. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/vertex.py +1 -1
  266. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/curve.py +6 -7
  267. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/nurbs.py +8 -7
  268. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/nurbs.py +6 -11
  269. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/surface.py +9 -13
  270. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/trimesh_curvature.py +7 -9
  271. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install.py +8 -10
  272. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install_plugin.py +2 -3
  273. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/install_with_pip.py +1 -0
  274. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/layers.py +21 -20
  275. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/objects.py +6 -10
  276. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/print_python_path.py +0 -1
  277. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/boxobject.py +2 -1
  278. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/brepobject.py +3 -2
  279. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/capsuleobject.py +2 -1
  280. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/circleobject.py +2 -1
  281. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/coneobject.py +2 -1
  282. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/curveobject.py +2 -1
  283. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/cylinderobject.py +2 -1
  284. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/ellipseobject.py +2 -2
  285. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/frameobject.py +3 -2
  286. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/graphobject.py +5 -4
  287. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/helpers.py +1 -1
  288. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/lineobject.py +2 -1
  289. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/meshobject.py +21 -14
  290. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/planeobject.py +4 -3
  291. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/pointobject.py +2 -1
  292. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polygonobject.py +3 -2
  293. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polyhedronobject.py +3 -2
  294. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/polylineobject.py +2 -1
  295. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/sceneobject.py +3 -2
  296. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/sphereobject.py +2 -1
  297. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/surfaceobject.py +2 -1
  298. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/torusobject.py +2 -1
  299. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/vectorobject.py +2 -1
  300. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/volmeshobject.py +6 -7
  301. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/ui.py +2 -1
  302. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/uninstall.py +4 -3
  303. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/uninstall_plugin.py +1 -2
  304. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/utilities/constructors.py +3 -3
  305. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/utilities/drawing.py +112 -95
  306. COMPAS-2.0.4/CHANGELOG.md +0 -2781
  307. COMPAS-2.0.4/MANIFEST.in +0 -24
  308. COMPAS-2.0.4/PKG-INFO +0 -99
  309. COMPAS-2.0.4/conftest.py +0 -43
  310. COMPAS-2.0.4/pyproject.toml +0 -26
  311. COMPAS-2.0.4/setup.cfg +0 -20
  312. COMPAS-2.0.4/setup.py +0 -72
  313. COMPAS-2.0.4/src/COMPAS.egg-info/PKG-INFO +0 -99
  314. COMPAS-2.0.4/src/COMPAS.egg-info/requires.txt +0 -11
  315. COMPAS-2.0.4/src/compas/colors/cmcrameri/LICENSE +0 -25
  316. COMPAS-2.0.4/src/compas/scene/scene.py +0 -312
  317. COMPAS-2.0.4/src/compas/utilities/__init__.py +0 -51
  318. COMPAS-2.0.4/src/compas/utilities/maps.py +0 -127
  319. COMPAS-2.0.4/src/compas_ghpython/components/Compas_FromJson/icon.png +0 -0
  320. COMPAS-2.0.4/src/compas_ghpython/components/Compas_FromJson/metadata.json +0 -26
  321. COMPAS-2.0.4/src/compas_ghpython/components/Compas_Info/icon.png +0 -0
  322. COMPAS-2.0.4/src/compas_ghpython/components/Compas_Info/metadata.json +0 -21
  323. COMPAS-2.0.4/src/compas_ghpython/components/Compas_RpcCall/icon.png +0 -0
  324. COMPAS-2.0.4/src/compas_ghpython/components/Compas_RpcCall/metadata.json +0 -46
  325. COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToJson/icon.png +0 -0
  326. COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToJson/metadata.json +0 -35
  327. COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToRhinoGeometry/icon.png +0 -0
  328. COMPAS-2.0.4/src/compas_ghpython/components/Compas_ToRhinoGeometry/metadata.json +0 -25
  329. COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_FromJson.ghuser +0 -0
  330. COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_Info.ghuser +0 -0
  331. COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_RpcCall.ghuser +0 -0
  332. COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_ToJson.ghuser +0 -0
  333. COMPAS-2.0.4/src/compas_ghpython/components/ghuser/Compas_ToRhinoGeometry.ghuser +0 -0
  334. {COMPAS-2.0.4 → compas-2.1.1}/LICENSE +0 -0
  335. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/__main__.py +0 -0
  336. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/__init__.py +0 -0
  337. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/acton.txt +0 -0
  338. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/actonS.txt +0 -0
  339. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bam.txt +0 -0
  340. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamO.txt +0 -0
  341. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamako.txt +0 -0
  342. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bamakoS.txt +0 -0
  343. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlow.txt +0 -0
  344. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowK.txt +0 -0
  345. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowS.txt +0 -0
  346. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/batlowW.txt +0 -0
  347. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/berlin.txt +0 -0
  348. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bilbao.txt +0 -0
  349. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bilbaoS.txt +0 -0
  350. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/broc.txt +0 -0
  351. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/brocO.txt +0 -0
  352. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/buda.txt +0 -0
  353. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/budaS.txt +0 -0
  354. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/bukavu.txt +0 -0
  355. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/cork.txt +0 -0
  356. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/corkO.txt +0 -0
  357. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/davos.txt +0 -0
  358. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/davosS.txt +0 -0
  359. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/devon.txt +0 -0
  360. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/devonS.txt +0 -0
  361. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/fes.txt +0 -0
  362. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/grayC.txt +0 -0
  363. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/grayCS.txt +0 -0
  364. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/hawaii.txt +0 -0
  365. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/hawaiiS.txt +0 -0
  366. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/imola.txt +0 -0
  367. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/imolaS.txt +0 -0
  368. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lajolla.txt +0 -0
  369. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lajollaS.txt +0 -0
  370. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lapaz.txt +0 -0
  371. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lapazS.txt +0 -0
  372. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/lisbon.txt +0 -0
  373. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/nuuk.txt +0 -0
  374. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/nuukS.txt +0 -0
  375. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/oleron.txt +0 -0
  376. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/oslo.txt +0 -0
  377. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/osloS.txt +0 -0
  378. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/roma.txt +0 -0
  379. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/romaO.txt +0 -0
  380. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tofino.txt +0 -0
  381. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tokyo.txt +0 -0
  382. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/tokyoS.txt +0 -0
  383. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/turku.txt +0 -0
  384. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/turkuS.txt +0 -0
  385. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vanimo.txt +0 -0
  386. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vik.txt +0 -0
  387. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/cmcrameri/vikO.txt +0 -0
  388. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/html_colors.py +0 -0
  389. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/colors/mpl_colormap.py +0 -0
  390. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/__init__.py +0 -0
  391. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/conftest.py +0 -0
  392. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/exceptions.py +0 -0
  393. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/boxes.obj +0 -0
  394. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/butt_model.obj +0 -0
  395. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cone.stl +0 -0
  396. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube.off +0 -0
  397. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_ascii.stl +0 -0
  398. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_binary.stl +0 -0
  399. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/cube_binary_2.stl +0 -0
  400. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/doosabin.json +0 -0
  401. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces.obj +0 -0
  402. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces_big.obj +0 -0
  403. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/faces_reversed.obj +0 -0
  404. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/fink.obj +0 -0
  405. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/grid_irregular.obj +0 -0
  406. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/hypar.obj +0 -0
  407. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines.json +0 -0
  408. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines.obj +0 -0
  409. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_big.obj +0 -0
  410. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_bigger.obj +0 -0
  411. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/lines_noleaves.obj +0 -0
  412. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh.obj +0 -0
  413. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh_100_faces.json +0 -0
  414. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/mesh_110_faces.json +0 -0
  415. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/open_edges.obj +0 -0
  416. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/point.json +0 -0
  417. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/quadmesh.obj +0 -0
  418. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/quadmesh_planar.obj +0 -0
  419. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/saddle.obj +0 -0
  420. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/spline.obj +0 -0
  421. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.json +0 -0
  422. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.obj +0 -0
  423. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.off +0 -0
  424. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/data/samples/tubemesh.ply +0 -0
  425. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/__init__.py +0 -0
  426. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/_mutablemapping.py +0 -0
  427. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/__init__.py +0 -0
  428. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/assembly/exceptions.py +0 -0
  429. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/attributes.py +0 -0
  430. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/cell_network/__init__.py +0 -0
  431. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/datastructure.py +0 -0
  432. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/__init__.py +0 -0
  433. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/graph/operations/__init__.py +0 -0
  434. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/__init__.py +0 -0
  435. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/__init__.py +0 -0
  436. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/mesh/operations/extrude.py +0 -0
  437. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/tree/__init__.py +0 -0
  438. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/datastructures/volmesh/__init__.py +0 -0
  439. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/__init__.py +0 -0
  440. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/__init__.py +0 -0
  441. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_cpython.py +0 -0
  442. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/_xml/xml_shared.py +0 -0
  443. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/gltf/__init__.py +0 -0
  444. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/files/xml.py +0 -0
  445. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/__init__.py +0 -0
  446. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/__init__.py +0 -0
  447. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/_core/nurbs.py +0 -0
  448. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/edge.py +0 -0
  449. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/errors.py +0 -0
  450. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/loop.py +0 -0
  451. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/trim.py +0 -0
  452. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/brep/vertex.py +0 -0
  453. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/curves/__init__.py +0 -0
  454. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/geometry.py +0 -0
  455. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/hull_numpy.py +0 -0
  456. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/shapes/__init__.py +0 -0
  457. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/__init__.py +0 -0
  458. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/extrusion.py +0 -0
  459. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/surfaces/revolution.py +0 -0
  460. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/geometry/vector.py +0 -0
  461. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/__main__.py +0 -0
  462. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/__init__.py +0 -0
  463. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/rpc/services/watcher.py +0 -0
  464. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/__init__.py +0 -0
  465. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/attribute.py +0 -0
  466. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/color.py +0 -0
  467. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/scene/descriptors/protocol.py +0 -0
  468. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/topology/__init__.py +0 -0
  469. {COMPAS-2.0.4 → compas-2.1.1}/src/compas/utilities/ssh.py +0 -0
  470. {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/dependency_links.txt +0 -0
  471. {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/entry_points.txt +0 -0
  472. {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/not-zip-safe +0 -0
  473. {COMPAS-2.0.4/src/COMPAS.egg-info → compas-2.1.1/src/compas.egg-info}/top_level.txt +0 -0
  474. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/__init__.py +0 -0
  475. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/breps.py +0 -0
  476. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/conversions/colors.py +0 -0
  477. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/data.py +0 -0
  478. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/geometry/__init__.py +0 -0
  479. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/scene/__init__.py +0 -0
  480. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_blender/utilities/__init__.py +0 -0
  481. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_FromJson/code.py +0 -0
  482. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_Info/code.py +0 -0
  483. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_RpcCall/code.py +0 -0
  484. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_ToJson/code.py +0 -0
  485. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/Compas_ToRhinoGeometry/code.py +0 -0
  486. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/components/__init__.py +0 -0
  487. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/install.py +0 -0
  488. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/scene/__init__.py +0 -0
  489. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/timer.py +0 -0
  490. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/uninstall.py +0 -0
  491. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_ghpython/utilities/__init__.py +0 -0
  492. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conduits/__init__.py +0 -0
  493. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/__init__.py +0 -0
  494. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/docobjects.py +0 -0
  495. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/conversions/transformations.py +0 -0
  496. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/__init__.py +0 -0
  497. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/booleans.py +0 -0
  498. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/builder.py +0 -0
  499. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/brep/trim.py +0 -0
  500. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/curves/__init__.py +0 -0
  501. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/surfaces/__init__.py +0 -0
  502. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/geometry/trimesh_slicing.py +0 -0
  503. {COMPAS-2.0.4 → compas-2.1.1}/src/compas_rhino/scene/__init__.py +0 -0
  504. {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
+ ![build](https://github.com/compas-dev/compas/workflows/build/badge.svg)
69
+ [![GitHub - License](https://img.shields.io/github/license/compas-dev/compas.svg)](https://github.com/compas-dev/compas)
70
+ [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/compas)](https://anaconda.org/conda-forge/compas)
71
+ [![pip downloads](https://img.shields.io/pypi/dm/compas)](https://pypi.python.org/project/COMPAS)
72
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/COMPAS.svg)](https://pypi.python.org/project/COMPAS)
73
+ [![PyPI - Latest Release](https://img.shields.io/pypi/v/COMPAS.svg)](https://pypi.python.org/project/COMPAS)
74
+ [![Conda (channel only)](https://img.shields.io/conda/vn/conda-forge/compas)](https://anaconda.org/conda-forge/compas)
75
+ [![Conda - Platform](https://img.shields.io/conda/pn/conda-forge/compas)](https://anaconda.org/conda-forge/compas)
76
+ [![DOI](https://zenodo.org/badge/104857648.svg)](https://zenodo.org/badge/latestdoi/104857648)
77
+ [![Twitter Follow](https://img.shields.io/twitter/follow/compas_dev?style=social)](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.6) [is available here](https://compas.dev/compas/1.17.6).
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 COMPAS
32
+ conda install compas
33
33
  ```
34
34
 
35
- For other installation options, see <https://compas.dev/compas/latest/installation.html>
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
- * <https://compas.dev/compas/latest/gettingstarted.html>
40
- * <https://compas.dev/compas/latest/tutorial.html>
41
- * <https://compas.dev/compas/latest/api.html>
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: <https://forum.compas-framework.org/>
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.dev/compas/latest/changelog.html).
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"
@@ -0,0 +1,9 @@
1
+ attrs >=17.4
2
+ black >=22.12.0
3
+ bump-my-version
4
+ compas_invocations2
5
+ invoke >=0.14
6
+ ruff
7
+ sphinx_compas2_theme
8
+ twine
9
+ wheel
@@ -3,5 +3,4 @@ jsonschema
3
3
  networkx >= 3.0
4
4
  numpy >= 1.15.4
5
5
  scipy >= 1.1
6
- typing_extensions
7
6
  watchdog; sys_platform != 'emscripten'
compas-2.1.1/setup.cfg ADDED
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -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.0.4"
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('faces.obj'))
175
+ mesh = Mesh.from_obj(compas.get("faces.obj"))
179
176
 
180
177
  """
181
178
  filename = filename.strip("/")
@@ -1,7 +1,7 @@
1
1
  """For the time being, these functions are only for internal use."""
2
2
 
3
- from contextlib import contextmanager
4
3
  import io
4
+ from contextlib import contextmanager
5
5
 
6
6
  try:
7
7
  from urllib.request import urlopen
@@ -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 shellcon, shell
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
- h, l, s = self.hls
910
- r, g, b = colorsys.hls_to_rgb(h, min(1.0, l * factor), s)
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
- h, l, s = self.hls
961
- r, g, b = colorsys.hls_to_rgb(h, max(0.0, l * factor), s)
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
- h, l, s = self.hls
1036
- r, g, b = colorsys.hls_to_rgb(h, l, min(1.0, s * factor))
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
- h, l, s = self.hls
1087
- r, g, b = colorsys.hls_to_rgb(h, l, max(0.0, s * factor))
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
@@ -1,8 +1,9 @@
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 compas.data import Data
6
+
6
7
  from .color import Color
7
8
 
8
9
 
@@ -4,11 +4,11 @@ from __future__ import print_function
4
4
 
5
5
  import os
6
6
 
7
- from compas.utilities import linspace
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('bamako')
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('viridis')
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(['a', 1, (None, ), [2.0, 3.0]])
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(['a', 1, (None, ), [2.0, 3.0]])
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('faces.obj'))
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], 'z', 1)
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('point.json', 'w') as f:
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, 'point.json')
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('point.json', 'r') as f:
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('point.json')
190
+ >>> point = json_load("point.json")
193
191
 
194
192
  """
195
193