Point clouds: POINTCLOUDCOLORMAP dialog, out-of-range colouring

POINTCLOUDCOLORMAP asks for a cloud (or None for the drawing's default
schemes) and opens the Point Cloud Color Map dialog: intensity and
elevation tabs with the scheme list, New / Delete / Rename, number of
colours (2-25, resampled along the scheme), blend between the ends,
reverse, gradient or bands, the colorized range, the out-of-range
choice and, for elevation, the cloud's extents or a fixed range with its
band height. OK / Apply write the drawing's colour map (created under
ACAD_POINTCLOUD_COLORMAP_DICT when missing) and the cloud's colouring in
one undo step; Make stylization current sets the tab's stylization.
Values outside a scheme's range take the end colours, the scan colours
or are hidden. Automation action pc_colormap edits the dialog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
ramox81andClaude Opus 5.5 committed 2026-09-30 13:10:45 +03:00
1 parent 7761652a9f
commit 2eaae1ecab
32 files changed
+1449 -21

No files matched your search

+19
View File
@@ -115,6 +115,25 @@ pub(super) fn message_attribute(source: &str) -> Option<(&'static str, &'static
"Point Cloud Scan" => Some(("insert", "pc-rcs")),
"Point Clouds" => Some(("insert", "pc-clouds")),
"Attaches a point cloud scan or project." => Some(("insert", "pc-help")),
"Point Cloud Color Map" => Some(("insert", "pcm-title")),
"Color ramp" => Some(("insert", "pcm-ramp")),
"Number of colors" => Some(("insert", "pcm-count")),
"Display as gradient" => Some(("insert", "pcm-gradient")),
"Range of colorized points" => Some(("insert", "pcm-range")),
"Maximum intensity" => Some(("insert", "pcm-max-int")),
"Minimum intensity" => Some(("insert", "pcm-min-int")),
"Maximum elevation" => Some(("insert", "pcm-max-elev")),
"Minimum elevation" => Some(("insert", "pcm-min-elev")),
"Interval height" => Some(("insert", "pcm-interval")),
"Apply to extents of point cloud" => Some(("insert", "pcm-extents")),
"Out of range points" => Some(("insert", "pcm-oor")),
"Use min/max colors" => Some(("insert", "pcm-oor-minmax")),
"Use RGB scan colors" => Some(("insert", "pcm-oor-scan")),
"Hide points" => Some(("insert", "pcm-oor-hide")),
"Make stylization current" => Some(("insert", "pcm-current")),
"A color scheme with this name already exists." => Some(("insert", "pcm-name-taken")),
"Invalid range of colorized points." => Some(("insert", "pcm-bad-range")),
"Sets the color schemes and ranges a point cloud is colored by intensity or elevation." => Some(("insert", "pcm-help")),
"Stylization" => Some(("properties", "stylization")),
"Color scheme" => Some(("properties", "color-scheme")),
"Scan Colors" => Some(("properties", "scan-colors")),