Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
samuel.sudhofKWJYQ
400 Views, 2 Replies

SketchEntity Evaluators appear to be severly broken in VB

Hello,

 

the attached file contains a reduced example.

A sketch with some random geometry:

An arc, a line and a bisected spline.

 

It also contains one rule:

For each entity, the parameter range is determined by Geometry.Evaluator.GetParamExtents(uMin, uMax). Then, three points are calculated: one at the start, one at the end, one in the middle, using Geometry.Evaluator.GetPointAtParam.

 

A message box displays the results for each entity.

 

Expected behavior would be for the output to match the apparent start point in the sketch.

 

Actual behavior is that lines are evaluated as expected, splines are hit-and-miss and arcs are completely broken. Others not tested.

 

Current workaround is to write my own evaluator based on the known geometry properties for the arc case, and for the spline case to pray.

 

I am not interested in these particular points. I need the evaluator to function generally.

 

Please advise/fix

 

Regards,

 

Samuel