SchemeExt:Abl:holdline-rad
From DocR23
Contents |
Action
Creates a vradius object for setting advanced blending attributes for a blend with a holdline curve.
Filename
scm/scmext/abl/abl_scm.cpp
APIs
Syntax
(abl:holdline-rad holdline [acis-opts])
Argument Types
| Argument | Scheme Data Type |
|---|---|
| holdline | edge|curve |
| acis-opts | acis-options |
Returns
vradius
Errors
The supplied curve does not lie on one of the blend support faces.
Description
This extension creates a vradius object. It specifies a radius function that varies implicitly. At any point along the blend, the radius is calculated so as to produce a blend that is tangent to the holdline curve and has equal right and left radius values.
Arguments
- holdline is the edge or curve supplied as holdline.
- acis-opts contains journaling and versioning information.
Example
; abl:holdline-rad (part:clear) (solid:block -10 -10 -10 10 10 10) ; define an edge to be used as a holdline for holdline blending (define e1 (edge:linear (position -10 -10 5) (position 10 -10 0))) (entity:set-color e1 1) ; select the edge to be blended (ray:queue 202.603 -406.772 208.597 -0.408248 0.816497 -0.408248 1) (define e2 (pick-edge)) (entity:set-color e2 3) ; define the holdline variable radius object and set it on the edge (define vrad(abl:holdline-rad e1)) (abl:edge-blend e2 vrad) ; fix the blend on the edge (blend:fix e2)