compas-dev / compas_fab

Robotic fabrication package for the COMPAS Framework.
https://compas.dev/compas_fab/
MIT License
108 stars 32 forks source link

Planning scene viz #365

Closed gonzalocasas closed 1 year ago

gonzalocasas commented 1 year ago

This change (finally) adds supports for all the planning scene elements to be visualized with the default Robot Visualize component of Grasshopper. This means both attached and non-attached collision meshes will be retrieved and shown and there's no need to pass them to the component explicitly anymore.

Here's a quick screenshot showing the component in action with both an ACM and a CM:

image image

It also changes the behavior of the Attach tool component that was (needlessly) adding the tool meshes to the planning scene, but they can be an in-memory thing only.

And a bunch of typos as well.

What type of change is this?

Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

gonzalocasas commented 1 year ago

After updating flake8, there were a bunch of additional lint errors, so, the last commit is a black formatting of two files to fix those.

gonzalocasas commented 1 year ago

add a pyproject.toml with

+1 to that!