Changelogs
- @buerli.io/classcad
- @buerli.io/core
- @buerli.io/headless
- @buerli.io/react
@buerli.io/classcad
1.2.0
Minor Changes
- Added
WSClient, a client for the ClassCAD Drogon WebSocket protocol, with multi-client session sharing.createInvite/revokeInviteissue and revoke edit/view invites,peers/invitesexpose the session state, andsendPresenceplus thepresenceevent share viewpoints and cursors between clients. Helpers for share URLs (buildShareUrl,getShareTokenFromUrl,getSessionShareState,subscribeSessionShare) are exported as well. - Session sharing reaches engines that run in the page, and carries more than the model. A
WASMClienthosts its session itself (SessionHost):createInvite/revokeInvite,peers,invitesand presence work as on aWSClient, and guests join with?invite=<token>where a ClassCAD MCP on the same machine introduces them (sessionUrl, defaultDEFAULT_SESSION_URL). AddedsyncSelection(client), which shares a drawing's selection with its session and selects what a peer asks for (readSelection,applySelection, theselectionandselectpresence channels), and client identities: a client given anidentitysays who it is, and every client collects what the others said (identities, theidentities_changedevent,SessionShareState.identities). AWSClienttakes a URL without a scheme (/session) as an address on the server the page came from, and every client has adrawingId. WASMClienttakes an access token instead of a key:new WASMClient(drawingId, { token: 'ccpk_…' }). The engine's key is fetched from ClassCAD's token exchange when the engine starts, cached until shortly before it expires, renewed in the background, and kept when the service cannot be reached.getKeylets an app supply keys from its own sign-in;classcadKeyworks as before.resolveEngineKeyandrequestEngineKeyare exported for other hosts.- Added per-connection emission config:
getEmissionConfig/setEmissionConfigon the ComClient andBuerliCadFacade.utils, plusBuerliCadFacade.utils.withEmissionConfigto run a script with a temporary config. On engines without support the calls reject with an error namedEMISSION_CONFIG_UNSUPPORTED. - Added
BuerliCadFacade.tree()andBuerliCadFacade.graphic()to read the structure tree and the current tessellation of a drawing. Both are also returned byuseBuerliCadFacade.
Patch Changes
- Updated dependencies
- @buerli.io/core@1.2.0
1.1.0
Minor Changes
- Added an optional
xAxisparameter tocirclemethod in Curve API. This parameter can be used to define the parametric start of an arc. - Added an optional 'silent' flag to the
evaluateExpressionAPI function in the Common API. - Deprecated
splitAllCurves,trimCurvesandsplitCurvesMergeBackin the Sketch API. UsepreTrim,trimandpostTriminstead. - Added an optional
isConstructionparameter toline,circle,arcByCenter, andarcBy3Pointsmethods in the Sketch API. When set totrue, the created curves are created as construction geometry in the sketch. - Added new methods to Sketch API to get diagnostic information of the sketch. New methods are
getGlobalState,getDiagnosticsInfo,getObjectsLists,getObjectInfoandgetTopologyInfo. - Deprecated
splitCurvesin the Sketch API. UsesplitCurveinstead which returns a more structured result.
Patch Changes
- Updated @classcad/api-js version to
21.2.0 - Updated dependencies
- @buerli.io/core@1.1.0
0.13.0
Minor Changes
- Add useCurrentTransform flag for updateFastenedConstraints and updateFastenedOriginConstraints
- Add SphericalConstraint and GearRelation. SphericalConstraint connects two mates, restricting translational degrees of freedom, but leaving rotational degrees of freedom. GearRelation connects rotation values of two RevoluteConstraints, allowing to set a linear relationship between them.
- Add new assembly constraints: GroupConstraint, LinearPatternConstraint and CircularPatternConstraint. GroupConstraint fixes relative transforms of selected instances to each other. LinearPatternConstraint makes copies of selected instance and fixes their relative transforms to each other in a linear pattern. CircularPatternConstraint makes copies of selected instance and fixes their relative transforms to each other in a circular pattern.
Patch Changes
- @buerli.io/core@0.13.0
0.12.0
Minor Changes
- Add new feature CompositeCurve to buerli. This allows to create curves composed of brep edges and sketch curves. New method
updateCompositeCurve()has been added to FeatureAPI.
Patch Changes
- @buerli.io/core@0.12.0
0.11.0
📝 Note: To use version
0.11.0of@buerli.io/classcad, you must install@classcad/windows-x64,@classcad/linux-x64or@classcad/linux-arm64at version0.0.8to be compatible.
Minor Changes
- Add new API method
setAppearance()to BaseModelerAPI and CommonAPI. It allows to set color, transparency and tessellation settings on entities (e.g. solids) in one single call. - Add new feature Twist to buerli. This allows to create twisted extrusions. New method
updateTwist()has been added to the FeatureAPI - Change type of parameter for API method
addDimensions()in Drawing2DAPI. This improves the flexibility of adding different dimensions to the model. This change breaks the API. - Due to the new API method
setAppearance()the methodssetColor()andsetTransparency()in the BaseModelerAPI and CommonAPI are set as deprecated and will be removed in a future release. - Add two new methods called
setDatabaseSettings()andgetDatabaseSettings()to the CommonAPI. With this methods it's possible to control different settings about tessellation and graphics in general on ClassCAD server.
Patch Changes
- Updated dependencies
- @buerli.io/core@0.11.0
@buerli.io/core
1.2.0
Patch Changes
- Structure patches are now applied with structural sharing, so unchanged tree nodes keep their identity. The
jsonpatchandfast-json-patchdependencies were removed. Thethreedev dependency is aligned to^0.153like the other packages.
1.1.0
Patch Changes
- Updated @classcad/api-js version to
21.2.0
0.13.0
0.12.0
0.11.0
@buerli.io/headless
1.2.0
Patch Changes
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @buerli.io/classcad@1.2.0
1.1.0
Patch Changes
- Updated dependencies
- @buerli.io/classcad@1.1.0
0.13.0
Minor Changes
-
- Add new API method
twist()to create twist feature. - Add new API method
getSketch()to be able to get a sketch by its name from a part or instance. - Extended input parameter of methods
extrusion()andrevolve(), to be able to use sketch curves, sketch regions and composite curves directly, beside sketches which were already possible as input.
- Add new API method
Patch Changes
- Updated dependencies
- Updated dependencies
- Updated dependencies
- @buerli.io/classcad@0.13.0
0.12.0
Patch Changes
- Updated dependencies
- @buerli.io/classcad@0.12.0
0.11.0
Minor Changes
- Change type of parameter for API method
addDimensions()in HistoryAPI. This improves the flexibility of adding different dimensions to the model. This change breaks the API. - Add new methods to HistoryAPI and SolidAPI called
getDrawingId(),getDrawing(),getState()andsetFacetingParameters() - Fix name of classes
solidandhistoryto upper case namingSolidandHistory. Old class names are set as deprecated and will be removed in a future release. - Extend
Vectype in HistoryAPI to allow using expressions (string) as values for x, y, and z. This improves the API methodsextrusion(),createWorkAxis(),createWorkPoint(),createWorkPlane()andcreateWorkCoordSystem()
Patch Changes
- Updated dependencies
- @buerli.io/classcad@0.11.0
@buerli.io/react
1.2.0
Minor Changes
- Added
BuerliCadFacade.tree()andBuerliCadFacade.graphic()to read the structure tree and the current tessellation of a drawing. Both are also returned byuseBuerliCadFacade.
Patch Changes
- Updated dependencies
- @buerli.io/core@1.2.0
- @buerli.io/headless@1.2.0
1.1.0
Patch Changes
- Updated dependencies
- @buerli.io/core@1.1.0
- @buerli.io/headless@1.1.0
0.13.0
Patch Changes
- Updated dependencies
- @buerli.io/headless@0.13.0
- @buerli.io/core@0.13.0
0.12.0
Patch Changes
- @buerli.io/headless@0.12.0
- @buerli.io/core@0.12.0
0.11.0
Minor Changes
- Add new hook called
useHeadless()which creates a component-bound ClassCAD connection to interact with it
Patch Changes
- Update package @react-three/drei in devDependencies to
9.92.3and in peerDependencies to>=9.92.3 - Updated dependencies
- @buerli.io/headless@0.11.0
- @buerli.io/core@0.11.0