Skip to content

v3.0.0-beta.2

Pre-release
Pre-release

Choose a tag to compare

@gsdali gsdali released this 01 Oct 12:22
· 17 commits to main since this release
fd29aaa

Pre-release. Same pins as v3.0.0-beta.1: OCCTSwift 4.0.0-beta.4 exactly, OCCTSwiftIO 2.0.0-beta.1. A consumer only gets this by naming it; the stable line stays at v2.0.0.

Changed: an agent highlight no longer replaces the human's selection (#29)

A highlight_requests/<id>.json takes an optional target, "attention" (the default) or "selection". Attention writes the new CADViewportService.agentAttention, one entity at a time, and leaves selection and selection.json alone; the host renders the marker. scheme applies to the attention slot unless the caller passes "selection". Requests with a question still select. handled/<id>.json reports target on applied. CADViewportService.setAgentAttention(_:) dismisses the marker.

Behaviour change: a request with no target used to select. OCCTMCP's highlight_selection sends target as of OCCTMCP#200 / #202.

Fixed: the click that activates the window no longer clears the selection (#28)

CADViewportView reports each mouse-down with whether its window was key, and handlePick ignores the one empty pick that answers an inactive-window click. Use CADViewportView(service:), or pass onMouseDown to the long initializer.

Full history in docs/CHANGELOG-OCCTSwiftCADKit.md.