Srdjan Tesan

Librarian

About Me

Expertise
Hobbyist
Location
Sweden

https://www.instagram.com/cnc_verkstad/

Connect

Recent Forum Posts

PolyPath - Connect EndPoints Feb. 22, 2021, 4:03 a.m.

Inside that node you have something that you can Change in Vex. I think
// Need to trace 2 paths if degree is exactly 2//
/ Pick the second-lowest-index point if it isn't an end point.
// (If it's an end point, that end point will be fusing to the current point.)

LOVE YOUR Yantra


I use Poly Path for CNC-paths -and combining FUSE(SOMETIMES-POWER of 2 GRIDS) CLEAN-SOP, give best RESULT .

Weird "polyextrude flip" on negative curve values? Feb. 20, 2021, 8:22 a.m.

This Trick I learned in Asia Forums
int previousPt = (@ptnum - 1 + @numpt) % @numpt;
 int currentPt = @ptnum;
 int nextPt = (@ptnum + 1) % @numpt;
 
 
 vector previousDir = point(geoself(), "P", previousPt) - point(geoself(), "P", currentPt);
 previousDir = normalize(previousDir);
 
 
 vector nextDir = point(geoself(), "P", nextPt) - point(geoself(), "P", currentPt);
 nextDir = normalize(nextDir);    
     

 float radian = acos(dot(previousDir, nextDir));
 

 vector centerDir = normalize(nextDir + previousDir);

 if (cross(nextDir, previousDir).y <= 0) {
     centerDir = -centerDir; 
 } 
 

 float r = chf("radius"); 
 float vectorLength = r / sin(radian / 2.0);
 

 v@MoveVector = vectorLength * centerDir;

@P += v@MoveVector;
than Skin on any Line polygon
Maybe It Helps

Complex Mechanical Animations Feb. 7, 2021, 12:50 p.m.

@Aizatulin