Skip to content

Releases: compas-dev/compas_viewer

v1.2.3

03 Jul 14:30

Choose a tag to compare

Added

  • Added scripts/treeform.py example.

Changed

Removed

v1.2.2

02 Jul 15:31

Choose a tag to compare

Added

Changed

  • Fixed issue of SceneForm collapsing when new object is selected.
  • Toggling show of Group or objects will hide/show all its descendents.
  • Moved assets related files to assets folder.
  • Fixed a bug to allow changing Viewer.renderer.view before Viewer.show().
  • Fixed a bug of grid not showing while the scene is empty.

Removed

  • Removed is_locked from compas_viewer.scene.ViewerSceneObject.

v1.2.1

26 Jun 15:27

Choose a tag to compare

Added

Changed

  • Fixed missing shader files.

Removed

v1.2.0

26 Jun 15:08

Choose a tag to compare

Added

  • Added compas_viewer.components.dialog component which handle camera setting popup window.
  • Added compas_viewer.components.combo_box component.
  • Added ViewComboBox component handle viewmode change.
  • Added compas_viewer.objects.BufferGeometry and compas_viewer.objects.BufferObject.
  • Added clear_scene action.
  • Added compas_viewer.components.SceneForm.
  • Added callback for compas_viewer.components.TreeForm.
  • Added compas_viewer.scene.ShapeObject.
  • Added compas_viewer.commands.capture_view and corresponding command.
  • Added default colors to MeshObject.
  • Added default colors to GeometryObject.
  • Added object_info_cmd for compas_viewer.commends.
  • Added gridmode to GridObject.
  • Added checkbox to compas_viewer.components.SceneForm.

Changed

  • Fixed action bug.
  • Updated compas_viewer.scene.ViewerScene to support save/load and switching.
  • Changed is_visible parameters to show in compas_viewer.scene.ViewerSceneObject classes.
  • Changed GridObject to draw direcly in Render.
  • Fixed CameraSettingsDialog update current position bug.
  • update slider component.
  • Implemented downsampling for window selection to improve performance.
  • Made TreeForm interactive.
  • Fixed load_scene action bug.
  • Changed base of shapes to compas_viewer.scene.ShapeObject.
  • Changed FrameObject to something with just 3 axes.
  • Restructured SceneObjects to accepct item as kwargs.
  • Fixed compas_viewer.components.slider step attribute.
  • Fixed renderer.view distorted init.
  • Fixed tagobject by adding back FreeSans.ttf.

Removed

v1.1.5

15 May 08:07

Choose a tag to compare

Added

  • Added @viewer.on.

Changed

Removed

v1.1.4

14 May 20:54

Choose a tag to compare

Added

  • Added button, double_edit and treeform components.

Changed

Removed

v1.1.3

14 May 18:30

Choose a tag to compare

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

v1.1.2

22 Apr 15:20

Choose a tag to compare

Added

Changed

Removed

v1.1.1

22 Apr 12:54

Choose a tag to compare

Added

  • Added non-python files to the release.

Changed

Removed

v1.1.0

22 Apr 11:31

Choose a tag to compare

Added

  • Added *args in the Viewer.add method, resolve #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.
  • Added ViewerScene as an attribute of the Viewer class. resolve #28.
  • Bug fix of #73.
  • Improved argument passing mechanism in the Slider class. Close #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.
  • 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.