Material overrides, custom fonts, tags filtering and more
This changelog entry presents a variety of notable updates and improvements to the platform. It introduces new functionalities such as material overrides for GLTF/GLB models, a custom fonts API, and a tags filter feature for selective geometry generation when using the component handler. There are also enhancements to dimension styles and defaults, the ability to dynamically show and hide visible metrics, and the addition of an automatic outline. The update further includes the implementation of a clipping planes API for precise control over object visibility, as well as the introduction of a Design Automation Service for seamless generation and export of STEP-files. Lastly, the changelog addresses several bug fixes and compatibility improvements with AutoCAD for generated DXF files.
Material override for GLTF/GLB models
Added the ability to override materials for GLTF/GLB models in the application. This allows developers to apply custom materials or textures to specific parts of the models. Read more about it here.
Custom fonts API
Introduced a custom fonts API that allows developers to define and utilize custom fonts within the application. The default font has been normalized to use Liberation Sans for both the scene and exported drawings, replacing the previous setup of Helvetica for drawings and Liberation Sans for scenes. Read more about it here.
Tags filter when generating geometry from the component handler
Implemented a tags filter feature that enables users to generate geometry selectively based on specific tags assigned to component instances. Read more about it here.
Improved dimension styles and defaults
Enhanced dimension styles and default settings. Improvements include new default options in layouts, new line terminators for dimension lines, and enhanced presentation for compact cases. Read more about it here.
Dynamically show and hide visible metrics
Implemented the ability to dynamically show or hide visible metrics. You can now display or hide specific metrics with a simple function call. Read more about it here.
Automatic outline
We previously introduced selective geometry interaction, which enables users to interact with individual geometry elements instead of the entire model. Additionally, an automatic outline can now be displayed when interacting with geometry, providing visual feedback and improving the user experience. While we're working on more detailed documentation for the automatic outline, please reach out to support@dynamaker.com if you would like to know more.
Clipping planes API
Implemented a clipping planes API that enables users to define and control clipping planes in the application. This feature allows for more precise control over the visibility and display of objects by selectively hiding or revealing portions of the scene.
Studio.setUpdateGeometryFunction(async (data, worldControls) => {
// ...
const clippedGroupId = 'my-clipped-group'
const clippingPlanes = [new SKYCAD.Plane(0, 0, 1, 10), new SKYCAD.Plane(1, 1, 1, 20)]
worldControls.setClippingPlanes(clippingPlanes, { groupId: clippedGroupId })
await worldControls.updateGeometry(geometry, { groupId: clippedGroupId })
})
While we're working on more detailed documentation for clipping planes, please reach out to support@dynamaker.com if you would like to know more.
Design automation service
With our Design Automation Service, you can now effortlessly generate and export STEP-files from your application regardless of if your app uses static models or not! You can read more about it here and here.
Various improvements
- Added missing return type for Studio.openParameterModal()
- Enhanced the handling of some parameter types outside of a configurator in the toolbar
- Fixed a bug related to save/load of configurations in UI Studio
- Fixed a bug related to the light position in the room scene
- Fixed a bug that prevented the loading of RGB encoding from GLB files
- Fixed a bug that sometimes prevented more than one instance of the same geometry from loading
- Fixed an issue where the set-camera and request-image commands from top/bottom views would occasionally not have the x-axis positioned horizontally
- Fixed the UI update for text parameters when their underlying value is updated
- Corrected the newValue behavior in the setUpdateRule() function for text parameters
- Fixed an issue with the setValue() function for text parameters
- Improved compatibility with AutoCAD for generated DXF files