compas
compas copied to clipboard
Core packages of the COMPAS framework.
Since `mesh_flatness` is not available in compas.geometry: `ImportError: cannot import name 'mesh_flatness' from 'compas.datastructures'`
Rhino Python3 compatibility ### What type of change is this? Robot scene objects were not working in the Python3 version of Rhino8 Python3 does not have access to the System...
### What type of change is this? - [ ] Bug fix in a **backwards-compatible** manner. - [ ] New feature in a **backwards-compatible** manner. - [ ] Breaking change:...
**Describe the bug** Robot visualization not possible with Python3 in Rhino8 **To Reproduce** Steps to reproduce the behavior: ``` from compas_robots.ghpython.scene import RobotModelObject Load URDF from ROS robot = ros_client.load_robot(...
Getting a runtime error when trying to draw a text label in Rhino with Grasshopper. Can be reproduced by running the following code in a GHPython component: ```python from compas_rhino.utilities...
In SceneObject __init__, changing the `item` to be a `kwarg`. This will be very helpful in handling complicated multi-inheritance situations, in places like `Viewer`, where this is becoming very tricky.
`python -m compas_rhino.install` adds the COMPAS packages to `~/.rhinocode/py27-rh8/Lib/site-packages` instead of `\AppData\Roaming\McNeel\Rhinoceros\8.0\scripts`. Grasshopper components cannot then import the modules. there is a workaround which is to include ``` pt =...
- Fixed `Surface` pluggable `from_plane` so that it's possible to create a planar surface in Rhino. - Added `from_native` in `native_surface` in `Surface` and `RhinoSurface` to align better with the...
```python from compas.geometry import Box from compas.geometry import Scale box = Box.from_width_height_depth(1, 1, 1) print(box) box.transform(Scale.from_factors([2, 2, 2])) print(box) box.scale(2) print(box) from compas.geometry import Sphere sphere = Sphere(1) print(sphere) sphere.transform(Scale.from_factors([2,...
This PR is a refactored version of #1350 ... ### What type of change is this? - [ ] Bug fix in a **backwards-compatible** manner. - [ ] New feature...