Tools for Working with 3D Surface Measurements
Overview
The x3p file format is specified in ISO standard 5436:2000 to describe 3d surface measurements. 'x3ptools' allows reading, writing and basic modifications to the 3D surface measurements.
major functionality
tmd_to_x3pallows an import of a file in TMD format (natively supported by GelSight instruments) to x3px3p_bin_stripescolor-shade the mask by row or column-based gradientx3p_shade_maskcolor-shade the mask of an x3p by its surface profilex3p_circle_selectinteractively select a circle on an x3p surface by selecting three points- update
x3p_readandx3p_writeto allow vendor specific information
minor functionality
x3p_extract_profile_segmentsinteractive function for drawing lines in segments- added convenience parameter
create_dirinx3p_writeto create necessary directory structure x3p_imageremove previously deprecated parameters crosscut and ccParamx3p_imagechange functionality of parameter size for convenience working with cartridge case scans (make window size proportional to surface), default behavior for bullet scans is unchanged.- updates to documentation
Show all changes in 0.0.4Hide the rest of the changes in 0.0.4
bug fixes
- keep mask when averaging in
x3p_average - preserve annotations when casting to a data frame
From NEWS.md in the release
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: x3ptools/tests/testthat/test_x3p_mask_quantile.R (.Dim: 2) '.Dim' should be changed to 'dim'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 52 (2 internal)
- Examples that run
- 70%28 run in a plain check · 11 never run · 1 hold no code
- Exported functions with examples
- 78%
- Documented parameters
- 98%
- Return-value docs
- 76%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 355
- Median days to close, 50 most recently updated closed PRs
- 0
10 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/heike/x3ptools on 2026-10-21.
The R CMD check workflow runs on Linux
GitHub Pages site last deployed 2024-10-02 · The repository has a site deploy workflow
pkgdown site last built 2024-10-02
Show all practicesHide 1 practice
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.4Latest2024-01-30 · current release · diff ↗ ·
added 5 exports
%>%, tmd_to_x3p, x3p_bin_stripes, x3p_extract_profile_segments, x3p_shade_mask - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- unarchivedReturned to CRAN2021-11-26
- 0.0.32021-11-26 · diff ↗ ·
added 26 exports
stl_to_x3p, x3p_add_annotation, x3p_add_mask_layer, x3p_add_meta, x3p_average, x3p_circle_select, x3p_crop, x3p_extract, x3p_extract_profile, x3p_flip_x, x3p_flip_y, x3p_fuzzyselect, x3p_image, x3p_interpolate, x3p_mask_quantile, x3p_read, x3p_read_dat, x3p_read_plux, x3p_rotate, x3p_sample, x3p_select, x3p_snapshot, x3p_transpose, x3p_trim_na, x3p_write, x_flip_x3p - archivedRemoved from CRAN2021-07-12policy violation On Internet access
- 0.0.22021-06-28 · diff ↗ ·
added 14 exports
x3p_add_grid, x3p_add_hline, x3p_add_legend, x3p_add_mask, x3p_add_vline, x3p_darker, x3p_delete_mask, x3p_get_scale, x3p_lighter, x3p_m_to_mum, x3p_mask_legend, x3p_modify_xml, x3p_scale_unit, x3p_show_xml - RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- 0.0.12018-04-05
- RR 3.4.0 released · 2017-04-21
Package metadata
- First published
- 2018-04-05
- Total releases
- 4 / 8 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.0
- Bundled data
- 290 KB / 2 files
- Download size
- 3.0 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("x3ptools")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.