Hello. Basic question (but i can't find it on the internet)
I have a shape with 2 splines: /sp1v1--sp1v2/ /sp2v1--sp2v2/.
Now i want to connect sp1v2 with sp2v1.
something like this:
select $MyShape
subObjectLevel = 1
splineOps.startConnect (1,2) (2,1)
can someone give me a hit? tnx
By
Comments (8)
Comment policy
follow-up question (i have a problem selecting things)
It works untill the last line.
But "$GB1#(2)","(3 2)", "the-other-spline" gives me errors.
Can you tell me whats wrong
(I have the book "maxscript essentials", but these essential-syntax things are missing..)
tnx.
.
if you want to boolean shapes then you're in trouble.
.
damn, sure :))
fresh max versions have shape booleans
.
yes, tnx a lot Miauu.
my shape is complexer as in the startpost, but i think i can adjust your code for that.
.
AddAndWeld is a global shape operation. It will weld any end knots that are in tolerance distance from each other. You probably better use splineOps.weld to weld only the selected knots
.
Tnx Jahman.. if i run the script a second time i'm having trouble. Ill try your solution.