tinvs:createbysurfaceandentity
(tinvs:createbysurfaceandentity tinEname
mode refZ clipEnt
midOrdinateDist)
Creates a TinVolumeSurface using
mode with
refZ reference
height and clipping entity clipEnt rasterised by
midOrdinateDist smoothness, referencing the tinEname TinSurface
entity.
Arguments
|
tinEname (ename or vla-object) the TinSurface
entity
mode (integer,
1...2) specifies the mode how the TinVolumeSurface is
created;
bcTinVolumeToElevation 1
the refZ specifies the reference elevation to be used
bcTinVolumeToDepth 2 the
refZ specifies the
base height to be used
refZ (number) the base height or reference
elevation to be used
clipEnt (ename or vla-object) the clipping
entity
midOrdinateDist (number) specifies the smoothness (it is the
distance of the surface at the mid of the ordinate between 2
rasterised points, in drawing units)
|
Return
|
(ename)
TinVolumeSurface entity, or NIL
|
Example
|
(tinvs:createBySurfaceAndEntity tin
bcTinVolumeToDepth -5 (entlast)
0.2)
<Entity name: 492fb560>
|
Remarks
|
for mode, see
Type Constants
the 'midOrdinateDistance' is the distance of
the curve's midpoint, to the arc center; similar to arc's bulge;
used as a kind of tolerance;
see https://civil3dplus.wordpress.com/2012/12/23/surfaces-and-the-mid-ordinate-distance/
typical values are in range : 0.01 - 0.05
(meter), 0.5 - 1.0 (inch)
|