- Fix updating orientation marker after changes in treeview
- Fix removing orientation marker from screenshot
Features
- Add a function to set the center of the grid interactively
- Restrict help box to viewer size, use scrolling and enable Escape everywhere
- Add setVisible to orientationMarker and hide the marker during screenshots
- Move display out of viewer and setup ui before showing cad objects
Fixes
- Fix glass/no tools mode
- Fix double clicking edges leading to crash
- Fix some security alerts
- Add dispose method to fix memory leaks
Features
- Allow to deselect all selected objects via right click
Fixes
- Fix mouse up position comparison
- Change resize button to always zoom to factor 1
- Fix center to point on double click
Features
- Add KeyMapper to measure click event handler
- Introduce new file format
- Introduce a new lazy tree component
- Highlight back side of faces in measure mode
- Enable radius2 for measuring ellipses
- Open first level on start
Fixes
- Ensure STLs are handled properly
- Fix regression around click handling in measure mode
- Remove unused code
- Add measure mode to help
- Support longer names in the tree
- Updated all examples to new data format
- Support image faces for expanded faces
- Fix interworking of explode and measurements
- Hide animation control in measure mode
- Remove double render
- Fix top level bounding box
- Fix label color on second click
- Fix selecting full solids
- Enable animation loop for taking screenshots
- Prevent model toggling when switching between tools
- Disable clipping tab instead of hiding it
- Add a function to show/hide clipping tab
Fixes
- Handle protocol v3 and ensure protocol v2 and v1 are still rendered
Fixes
- Do not handle clipping planes in raycaster
Fixes
- Check a front exists before changing its material
Fixes
- Add a function to retrieve objectgroup's state
- Ensure all for all deselected objects the stencil planes are invisible
Fixes
- Fix brightening backcolor via lerp()
- Hide stencil plane together with faces for better clipping
Features
- Introduce stencil for clipping
- Add reset button to material configurator
- Ensure clipping object color check box gets checked when set per api
- Implement centered grid and numbers on the grid
Fixes
- Fix input value of sliders
- Make plane helper material double sided
- Made glass mode the default
- Make background color a bit brigther to distinguish from edge color
- Show image texture on both side
- Wrap color value into THREE.Color class
- Fix toolbar checkboxes not working, fix dropdown hiding
Features
- Changed to protocol 2
- Introduce measurement mode
Features
- Key mapping can be changed (viewer.setKeyMap({"shift": "ctrlKey", "ctrl": "shiftKey", "meta": "altKey"}) or as parameter to the viewer
Fixes
- Switched to threejs r155 and fixed for the breaking change for light intensity
- "clean" and "build" steps in package,json are Windows friendly (note, docs and release aren't, but you might not need them)
Fixes
- Fixed root collapse mode
Fixes
- Ensure center is set as target for preset buttons
- Added Vector3 and Quaternion creator
Fixes
- Fixed trihedron panning for panned objects
Fixes
- Ensure notifications for material properties are sent
- Add setters for material properties
Fixes
- Integrate helvetiker font into code
Fixes
- Removal of environment maps and new defaults
Features
- XYZ labels for orientation marker
- Support for metalness and roughness
- Material configurator tab
Fixes
- Ensure no exceptions are thrown when the view is cleared and resized
Fixes
- Check properly whether animation is active
Features
- Add expand root only for treeview
- Add recenterCamera method
Fixes
- Ensure center is shown for object far away from center
Features
- Add example for single edges and vertices
- Enable explode for edges and vertices
Features
- Add build123d examples
Features
- Add build123d assembly
Fixes
- Fix explode
Fixes
- Fixed resize cad view problem
Fixes
- Bump version of three and dev depenedencies
- Ensure one element trees are not collapsed
Features
- Change trihedron orientation in the orientation marker to CAD standard
Features
- Add support for color alpha channel
Features
- Introduce mode where Y is camera up
Fixes
- Fixed grid menu selection issue
Fixes
- Fixed bbox.max_dist_from_center
Features
- Allow resizing after view is created
Fixes
- Increase minimum width to 970
- Handle more button in glassMode function
- Check bbox exist before updating it
Features
- Added treview highlighting
- A new bounding box (AABB) algorithm
Fixes
- Ensure bbox update will be triggered when animation starts
- Fix remove bbox on second click in tree
- Disable jupyter cell select on shift mousedown in cad tree
- Flexible "More" menu handling
- No bounding box for isolate mode
- Center isolated objects around bbox center and look at bbox center
- Clearer help text around AABB
- Extend help for picking/hiding/isolating
- Improve center info output