tingr:setsurfacerule


(tingr:setsurfacerule  grading  surface  gradingEntity  cutSlope  fillSlope)

Defines the grading TinGrading entity to use the surface TinSurface entity, refEntity as contour, cutSlope angle and fillSlope angle.

Arguments

grading  (ename or vla-object) the TinGrading entity
surface  (ename or vla-object) the target surface entity to define the grading (any other TinSurface entity)
refEntity  (ename or vla-object) the reference entity to define the grading (any curve entity)
cutSlope  (number)  the cut slope angle
fillSlope  (number)  the fill slope angle

Return

T or NIL

Example

(setq surface (tin:createTin '(0 0 0) '(100 100 100) 100))

(tin:addPoints surface '((20 20 12) (60 20 12) (60 50 12) (20 50 12)))

(setq refEntity (entlast))
(tingr:setSurfaceRule grading surface refEntity 0.25 0.35)

Remarks

after creating the grading entity, before it is fully parameterized (see tingr:setSlopeRule and tingr:setSurfaceRule), there might be harmless warning message sat BricsCAD commandline



©  Bricsys NV. All rights reserved.