Add n-points to spline

#1
Add n-points to spline

Is there an existing script (or C3D tool) to add n-points to a spline?
Or another way to ask -- is there a way to segment a spline n-times?
(I've looked, but not found)

If not, is this something that is possible to script?
I haven't scripted anything yet, and am wondering if even possible before heading down that road :)

Thanks.

--
UPDATE:
I didn't look hard enough.
This is what I was looking for: https://www.cheetah3d.com/forum/showthread.php?t=8024
 
Last edited:

frank beckmann

Well-known member
#4
I know the script but it´s for polygons - so I was curious about your need to have more points in splines - as I´m always after to have as less as possible. :p

Cheers
Frank
 
#5
I know the script but it´s for polygons
You are correct. I should have written "edge" instead of "spline".
And the the script "splits the edge" into specified number; whereas I called it "adding points" -- the distinction being, if 4 is entered, the edge will be divided into 4 sections; it is not adding 4 points.

My reason for using script is that I needed to split some existing faces of an object into specific number of pieces.
Example attached. (Maybe there is a better way of accomplishing the same thing).
 

Attachments

Last edited:

frank beckmann

Well-known member
#6
(Maybe there is a better way of accomplishing the same thing).
Sure there are always more ways to skin a cat:
For instance:
Take a plane
Adjust 4 sections for Depth:
Add Taper modifier
Set Strength and Curvature to 0,0
Make editable - call optimise tool to weld top points.
Depends on kind of triangle of course.:p

Cheers
Frank
 
Top