Releases: compas-dev/compas_viewer
Releases · compas-dev/compas_viewer
v1.0.1
Added
Changed
- Fixed the bug to include
datafolder in the package.
Removed
v1.0.0
Added
- Added examples in the doc.
- Added
Treeform. - Added basic layout elements:
MenubarLayout,ToolbarLayout,StatusbarLayout,SidedockLayout. - Added Actions: delete_selected, camera_info, selection_info.
- Added basic buildup of
Layout's configurations. The .json template and the configuration classes. Layoutclass basic buildup:Layout,ViewportLayout,WindowLayout.- Added terminal activation of the viewer.
- Added
PyOpenGL_acceleratedependency. - Added repo images.
- Added
installationdocumentation. - Added documentations: index, api, etc. Mockups style is improved.
- Added
DeleteSelectedaction class. - Added
DataTypeas the data type template for generating the buffer. - Added
NetworkObjectfor the scene objects. - Added
compas_viewer.scene.ViewerSceneObject.LINEWIDTH_SELECTION_INCREMENTALto enhance line width for selection only. - Added
BRepObject,CapsuleObject,ConeObject,CylinderObject,PlaneObject,SphereObject,EllipseObject,TorusObject,PolygonObject,PolylineObject,BoxObject. The geometric resolution is handled by thecompas_viewer.scene.ViewerSceneObject.LINEARDEFLECTION. - Added
VectorObjectfor the scene objects with mesh-based display for better visual effect. - Added "instance" render mode for debugging and geometric analysis.
- Added contents in the
README.md. - Added full support for selection: drag_selection, drag_deselection, multiselect, deselect, select.
- Added
SelectAllaction class. - Added
LookAtaction class. - Added
compas_viewer.Viewer.add_actionfor adding actions to the viewer. - Added
Signalstructure for theActionclass. - Added complete key, mouse and modifier support from
PySide6. - Added
ZoomSelectedandGLInfoclasses as template action classes. - Added
Actionclass. - Added
Controllerclass for the controller. - Added
GridandGridObjectfor the scene objects. - Added
TagObject,LineObjectandPointObjectfor the scene objects. - Added test files for configurations.
- Added doc build, and many doc-building syntax fixes.
- Added
scene.jsonfor storing the scene configurations. Mostly store the default appearance features of the objects. compasrecognizescompas_viewercontext, and map the accordingcompas_viewerobjects to thecompasobjects.- Added two main scene objects:
ViewerSceneObjectandMeshObject.BufferObjectno longer exists but replaced byViewerSceneObject. - Added
addfunction in theViewerclass for adding objects to the scene, which is also the entry for imputing user-defined attributes. - Added and formatted
ShaderandCamera. - Added a
RenderConfigfor configuring the Render object. - Added the
shadersand theShaderclass in the shader folder. - Created the
Camera,metricsandglfunctions and classes (most copied from the view2). - Adjustment of the
ControllerConfigand `ViewerConfig``. - Adjustment of the
Viewer. - Basic
Viewerbuildup with the widgets. - Configurations:
controller_configandviewer_config - Code and File structure diagrams.
- Added
NetworkObject.
Changed
- Updated the configuration architecture.
- Updated the
delete_selectedaction. - Renamed
NetworkObjecttoGraphObject. See commit: compas-dev/compas@7f7098c#diff-4e906e478c68aaee46648b7323ed68106084e647748b4e0bcb5fd440c3e162fb. - Updated the
Slider. - Documentation improved.
Timeris moved to utilities.- Updated
BRepObjectto connect the latest OCC package, close #48. - Fixed opacity bug in shaded mode.
- Fixed main page link.
- Fixed issue #17 and avoid using
vertex_xyz. - Update the dependency of
compas. - The
Indexpage. - Typing hints improved, now
compas_vieweronly support Python 3.9+. - Introduce decorator @lru_cache() to reduce duplicate calculations.
- Refactored the
Selectorand the instance_map structure, the main frame rate is higher and selection action is faster. - Fixed the bug of the
Selector, drag selection is now more accurate. - More performative instance map and QObject-based selection architecture.
- Naming of the keys, mouses, and modifiers are changed. The key string which is the same as what it was called in the PySide6.QtCore.Qt, with lowercases and with prefix&underscores removed.
Gridobject inherits fromcompas.data.Data.- Update the compatibility of the
ViewerSceneObjectto the coreSceneObject. - Refactored the
ControllerConfig. - Fix Qt package of
PySide6. - Moved
glfromrenderfolder to theutilitiesfolder. - All color representations are now in
compas.colors.Color. - Reduce the
numpy.arrayrepresentation. Mostly uselistinstead for clarity. - Comments improved and better type hints.
Removed
- Removed
self.objectsfrom theRenderclass.` - Replace the
GridandGridObjectbut byFrameObject, which also hooks theFramein compas.