AutoDeskR 0.5.0
CRAN release: 2026-05-28
New Functions
-
autodeskr_mcp_tools()— expose all AutoDeskR API functions to AI models via the Model Context Protocol (MCP); credentials are read from environment variables so no token argument is required. Requiresellmerandmcptools. -
waitForPhotoscene()— pollcheckPhotoscene()until a Reality Capture photoscene processing job completes.
Infrastructure
- pkgdown site added and deployed to GitHub Pages at https://paulgovan.github.io/AutoDeskR/ via a new GitHub Actions workflow.
-
inst/CITATIONupdated to reference the current companion book at https://paulgovan.github.io/AutoDeskR-Book/. -
ellmerandmcptoolsadded toSuggests.
AutoDeskR 0.4.0
New Functions
-
translateSvf2()— translate design files to SVF2 format (~30% smaller than SVF, faster rendering in the Viewer). -
createPhotoscene(),uploadImages(),processPhotoscene(),checkPhotoscene()— Reality Capture API for photogrammetry and 3D model generation from images. -
waitForFile()— pollcheckFile()until a Model Derivative translation completes. -
waitForWorkItem()— pollcheckPdf()until a Design Automation WorkItem completes. -
is_expired()— check whether anaps_tokenhas expired. -
aps_error()— structured S3 error condition for APS API failures; catch withtryCatch(..., aps_error = function(e) ...).
Improvements
-
getToken()now returns anaps_tokenobject with expiry tracking ($expires_at,is_expired()). Existing code usingresp$content$access_tokencontinues to work unchanged. - All API functions now accept an
aps_tokenobject in place of a raw token string. Expired tokens trigger a warning. - API errors now include decoded JSON messages from APS rather than raw HTTP error text.
-
as_tibble()methods added forlistBucketsandlistObjectsresponse objects (requires thetibblepackage).
AutoDeskR 0.3.0
Bug Fixes
- Fixed
<-arrow-assignment bugs ingetData(),getObjectTree(),translateObj(),translateStl(), andgetOutputUrn()roxygen examples. - Fixed unreachable
vrtemplate branch inviewerUI().
Major Changes
- Updated viewer CDN URLs from deprecated
viewingservice/v1/viewers/tomodelderivative/v2/viewers/7.*. Templates also modernized to useAutodesk.Viewing.GuiViewer3DandDocument.load()(v7 API). - Added
req_timeout(60)to all API requests. - Updated all remaining “AutoDesk Forge” terminology to “AutoDesk Platform Services (APS)” across README, vignettes, and HTML templates.
New Functions
-
uploadFileSigned()— signed S3 URL upload supporting files of any size.
Infrastructure
- Added
Config/testthat/edition: 3for testthat 3rd-edition behavior. - Added
print()S3 methods for all 18 response classes. - Expanded test coverage: NULL-token guards for all functions, DELETE mock fixtures,
downloadFileJSON response path.
AutoDeskR 0.2.0
Breaking Changes
-
checkPdf(): Thesourceanddestinationparameters are now deprecated. Pass the WorkItemid(frommakePdf()$content$id) as the newidparameter instead. Using the old parameters issues a deprecation warning.
Major Changes
- Migrated HTTP backend from
httrtohttr2. All HTTP errors now raise R errors rather than warnings. - Authentication updated from the deprecated v1 endpoint (
/authentication/v1/authenticate, end-of-life May 2024) to the v2 endpoint (/authentication/v2/token). - Design Automation API updated from the retired AutoCAD.io v2 endpoint to the Design Automation v3 API (
/da/us-east/v3/workitems). -
downloadFile(): Added optionaldestfileparameter and correct handling of binary (non-JSON) responses. - Bug fix:
viewerUI()viewerTypevalidation logic was always evaluating toTRUE; corrected to properly reject invalid types.
New Functions
-
listBuckets()— list all app-managed buckets. -
deleteBucket()— delete an app-managed bucket. -
listObjects()— list objects stored in a bucket. -
deleteObject()— delete an object from a bucket. -
translateStl()— translate a design file into STL format.
