
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
npmcad-resample
Advanced tools
take a line (an array of vertices) and return a resampled at fixed steps along the line or an axis.
take a line (an array of vertices) and return a resampled at fixed steps along the line or an axis.

The grey curve is generated with cardinal-spline-js,
the blue lines point to output of resample.steps and the green shows a resample.along line.
resample a curve at even steps perpendicular to a vector.
step should be a csg Vector3D instance.
points should be an array of Vector3D points, that define a curve you want to resample.
The curve must not have more than one intersection on any plane perpendicular to a line
through the first point in the direction of step. That is, if points is a mountain
range and step points along the foot of the mountians (along the horizon) then
the mountains can have steep cliffs but not fully vertical or caves or overhangs.
resample a curve at fixed size steps along it's own length.
MIT
FAQs
take a line (an array of vertices) and return a resampled at fixed steps along the line or an axis.
The npm package npmcad-resample receives a total of 33 weekly downloads. As such, npmcad-resample popularity was classified as not popular.
We found that npmcad-resample demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.