Compas-viewer

Latest version: v1.3.0

Safety actively analyzes 681881 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

1.1.5

Added

* Added `viewer.on`.
* Added `SideDock`.

Changed

Removed

1.1.4

Added

* Added `button`, `double_edit` and `treeform` components.

Changed

Removed

1.1.3

Added

* Added `PointcloudObject`.
* Added `compas_viewer.base.Base` to access viewer singleton.
* Added `compas_viewer.singleton.SingletonMeta` and `compas_viewer.singleton.Singleton`.
* Added `compas_viewer.scene.Group` and `compas_viewer.scene.GroupObject`.
* Added `PolyhedronObject`.
* Added `compas_viewer.scene.NurbsCurveObject`.

Changed

* Changed `NurbsSurfaceObject` to use tessellation function of `OCCBrep`, show boundary curves instead of control curves.
* Renamed all lazy setup functions to `lazy_init`.
* Fixed camera initialization issue.
* Fixed and brought back `CollectionObject`.
* Updated objects color settings to align to `pointcolor`, `linecolor`, `facecolor`.
* Updated objects visibility settings to align to `show_points`, `show_lines`, `show_faces`.
* Updated objects drawing settings to align to `linewidth`, `pointsize`.
* Updated `PolygonObject` show faces.

Removed

* removed `PyOpenGL-accelerate` from requirements.txt

1.1.2

Added
* Added singletone `compas_viewer.viewer`
* Added singletone `compas_viewer.config`
* Added `compas_viewer.ui.ui` and `compas_viewer.components`.
Changed
* Changed `compas_viewer.layout` to `compas_viewer.ui.ui`.
Removed
* Removed old version of `compas_viewer.viewer`.

1.1.1

Added

* Added non-python files to the release.

Changed

Removed

1.1.0

Added

* Added `*args` in the `Viewer.add` method, resolve [85](https://github.com/compas-dev/compas_viewer/issues/85).
* Added `Transformation` and `Visualization` sections for the `Propertyform`.
* Added `Propertyform` and its example in the documentation.
* Added example `layout/tree_view`.
* Added functionality of multiple widgets in main viewport.
* Added example `object/scale.py`.
* Added `RobotModelObject` and its example in the documentation.
* Added support to pinch gesture for zooming on touch pads.

Changed
* Pin the `PySide6` version to `6.6.1`.
* Auto set the camera scale when `zoom_extend` is called.
* Updated the `Tag` example.
* Updated the `RobotModelObject` example.
* Update examples in the documentation.
* Renamed `surfaces` into `viewmesh` in every `ViewerGeometryObject`.
* Renamed `scene.json` to `viewer.json` and `scene_config` to `viewer_config`.
* Unify color naming. variables that control the colors of geometries are `surfacecolor`, `linecolor`,`pointcolor`, yet variables that control the colors of meshes are `facecolor`, `edgecolor`, `vertexcolor`.
* Added `ViewerGeometryObject` as the abstract class for all the geometry objects. Other specific geometry objects are inherited from this class.
* Changed `DataType` into `ShaderDataType`. Resolve to [46](https://github.com/compas-dev/compas_viewer/issues/46).
* Added `ViewerScene` as an attribute of the `Viewer` class. resolve [28](https://github.com/compas-dev/compas_viewer/issues/28).
* Bug fix of [73](https://github.com/compas-dev/compas_viewer/issues/73).
* Improved argument passing mechanism in the `Slider` class. Close [76](https://github.com/compas-dev/compas_viewer/issues/76).
* Documentation images and code correction.
* Improved typing hints of `CollectionObject`.
* Changed to the point object is `show_points = True` by default. Refer to [73](https://github.com/compas-dev/compas_viewer/issues/73).
* Changed from `super(__t, __obj)` to `super()` as the new version.
* Temporarily removed `rgba` which is causing blank screen for macos.
* Re-enabled `rgba` support by switching to `vec4` for color attributes in shader.
* Fixed the bug of missing `item` parameter in the `Viewer.add` method.
* Fixed tag text spacing and alignment issue.
* Fixed mouse selection flickering issue.
* Fixed the issue of zoom on mac.

Removed
* Removed `utilities` folder.

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.