Monday, December 4, 2023
Home3D ModelingSmoothing edges when creating faces in a loop - Ruby API

Smoothing edges when creating faces in a loop – Ruby API


Whats up,

I’m looking for a strategy to easy edges when creating faces in a nested loop. The add_face technique im utilizing is in thesnippet under, however typically, the coordinates are learn in seqence from an information array, and triangular faces are created to construct a mesh as within the instance picture.

pt0 =
pt0[0] = [ax, ay, az]
pt0[1] = [bx, by, bz]
pt0[2] = [cx, cy, cz]

face = entities.add_face(pt0)

The graceful = true appears solely to use to edges. Chat GPT by the way in which was ineffective and ‘thinks’ that you need to use face.easy = true to easy all edges, and even entities.add_smoothed_face(). Each of which return ‘undefined technique’ errors.

I really feel I might have a special technique fully?

Thanks,

Jack


RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments