Search found 4 matches

by gysvanzyl
Wed Jun 18, 2025 6:58 am
Forum: Questions
Topic: Scalar field interpolation/filter methods
Replies: 3
Views: 16693

Re: Scalar field interpolation/filter methods

For the record, I did manage to make a working python plugin script to do this. Code could probably be better, but at least this works:

import pycc
import numpy as np
from scipy.spatial import KDTree

def min_smoothing(radius=0.005):
'''
Creates a new scalar field from the currently displayed ...
by gysvanzyl
Mon Jun 09, 2025 3:17 am
Forum: Questions
Topic: Scalar field interpolation/filter methods
Replies: 3
Views: 16693

Scalar field interpolation/filter methods

Hi all,

When interpolating a scalar field from one cloud onto another, is there a way to use the minimum of the n nearest points instead of mean? Or maybe mean minus 2 or 3 standard deviations?

Alternatively, is there a way to apply a filter (similar to Gaussian or bilateral) to a scalar field ...
by gysvanzyl
Tue Jan 26, 2021 8:07 am
Forum: Questions
Topic: Normals change after importing cloud from text file
Replies: 2
Views: 2077

Re: Normals change after importing cloud from text file

OK, thanks. Indeed, the errors are quite small. It's good to know that I've not been doing something wrong.
by gysvanzyl
Fri Jan 22, 2021 2:42 am
Forum: Questions
Topic: Normals change after importing cloud from text file
Replies: 2
Views: 2077

Normals change after importing cloud from text file

Hi,

I'm importing a point cloud from a text file that I generated myself. The points lie on a perfect cylinder with its axis aligned with the global Y-axis. As such, if I understand things correctly, all points should have a normal with a zero y-component. This shows the Ascii file import window ...