| Object: blended-solid (The :surf Package) |
| Mixins: brep |
| Input Slots (required) | |
| brep gdl brep object | |
This is the original solid, whose edges you want to be filleted. | |
| default-radius number | |
This will be used as the fillet radius. | |
| Input Slots (optional) | |
| brep-tolerance [from brep] number | |
Overall tolerance for the created brep solid. Defaults to nil. Note that a value of nil indicates for SMLib to use value of 1.0e-05 of the longest diagonal length of the brep. | |
| built-from [from brep] gdl brep object | |
Defaults to nil. Specify this if you want this brep to be a clone of an existing brep. (note - this uses a shared underlying brep object, it does not make a copy) | |
| color-decimal [from geometry-kernel-object-mixin] vector of three real numbers | |
The RGB color of this object as imported from an external format (e.g. IGES) or as specified in :display-controls. Defaults to the foreground color specified in *colors-default*. This message should not normally be overridden in user application code. | |
| face-brep-colors [from brep] list of color keywords | |
These indicate the colors for the breps produced by (the face-breps). If the number of face-breps exceeds the length of this list, the colors will be repeated in order. Defaults to a list with keys:
| |
| hidden? [from vanilla-mixin*] boolean | |
Indicates whether the object should effectively be a hidden-object even if specified in :objects. Default is nil. | |
| iges-level [from geometry-kernel-object-mixin] integer | |
Synonym for the layer. | |
| image-file [from base-object] pathname or string | |
Points to a pre-existing image file to be displayed instead of actual geometry for this object. Defaults to nil | |
| layer [from geometry-kernel-object-mixin] integer | |
The primary IGES-compatible level (layer) on which this object resides. Defaults to the first of the levels. This slot can be overridden in user code to specify a new layer which will be written out when this object is exported with the IGES output-format. | |
| levels [from geometry-kernel-object-mixin] list of integers | |
The IGES-compatible levels (layers) on which this object resides. GDL does not currently support writing out multiple levels (layers) through the IGES writer ; only the first of these will be output if the object is exported with the IGES output-format (please contact Genworks if you need all levels (layers) to be written out). | |
| obliqueness [from base-object] 3x3 orthonormal matrix of double-float numbers | |
This is synonymous with the orientation. | |
| onclick-function [from base-object] lambda function of zero arguments, or nil | |
If non-nil, this function gets invoked when the user clicks the object in graphics front-ends which may or may not support this functionality (see viewport-html-div). | |
| root [from vanilla-mixin*] gdl instance | |
The root-level node in this object's ``tree'' (instance hierarchy). | |
| safe-children [from vanilla-mixin*] list of gdl instances | |
All objects from the :objects specification, including elements of sequences as flat lists. Any children which throw errors come back as a plist with error information | |
| specs plist with key :edges | |
This specifies which edges are to be filleted. The default (nil) means that all edges should be filleted. | |
| strings-for-display [from vanilla-mixin*] string or list of strings | |
Determines how the name of objects of this type will be printed in most places. This defaults to the name-for-display (generally the part's name as specified in its parent), followed by an index number if the part is an element of a sequence. | |
| tessellation-parameters [from brep] plist of keyword symbols and numbers | |
This controls tessellation for this brep. The keys are as follows:
(list
:min-number-of-segments *tess-min-number-of-segments*
:max-3d-edge-factor *tess-max-3d-edge-factor*
:min-parametric-ratio *tess-min-parametric-ratio*
:max-chord-height *tess-max-chord-height*
:max-angle-degrees *tess-max-angle-degrees*
:min-3d-edge *tess-min-3d-edge*
:min-edge-ratio-uv *tess-min-edge-ratio-uv*
:max-aspect-ratio *tess-max-aspect-ratio*)
| |
| visible-children [from vanilla-mixin*] list of gdl instances | |
Additional objects to display in Tatu tree. Typically this would be a subset of hidden-children. Defaults to NIL. | |
| Input Slots (optional, settable) | |
| density [from brep] number | |
The density per unit volume of the brep. Defaults to 1 | |
| display-iso-curves-wireframe? [from brep] boolean | |
Determines whether the isoparametric curves of each face of the brep are used for wireframe display. The default is T. | |
| display-tessellation-lines-wireframe? [from brep] boolean | |
Determines whether the tessellation grid-lines of the brep are used for wireframe display. The default is NIL. | |
| isos [from brep] plist with keys :n-u and :n-v | |
The number of isoparametric curves to be displayed in each direction. This value comes from the value of :isos on the display-controls if that exists, and defaults to *isos-default* otherwise. | |
| max-3d-edge [from brep] number | |
Used for tessellations. Computed from (the max-extent) and (the max-3d-edge-factor). WARNING: Modify this value at your peril. Small values can cause intractable tessellations. It is better to tweak max-3d-edge-factor to a small value like 0.1, as this will be taken relative to the max-extent of the brep. | |
| max-3d-edge-factor [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| max-angle-degrees [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| max-aspect-ratio [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| max-chord-height [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| min-3d-edge [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| min-edge-ratio-uv [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| min-number-of-segments [from brep] integer | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| min-parametric-ratio [from brep] number | |
Used for tessellations. Default comes from (the tessellation-parameters). | |
| poly-brep-smooth-results? [from brep] boolean | |
Smooth results for poly-brep? Defaults to t. | |
| Input Slots (optional, defaulting) | |
| center [from base-object] 3d point | |
Indicates in global coordinates where the center of the reference box of this object should be located. | |
| display-controls [from base-object] plist | |
May contain keywords and values indicating display characteristics for this object. The following keywords are recognized currently:
| |
| height [from base-object] number | |
Z-axis dimension of the reference box. Defaults to zero. | |
| length [from base-object] number | |
Y-axis dimension of the reference box. Defaults to zero. | |
| orientation [from base-object] 3x3 matrix of double-float numbers | |
Indicates the absolute Rotation Matrix used to create the coordinate system of this object. This matrix is given in absolute terms (i.e. with respect to the root's orientation), and is generally created with the alignment function. It should be an orthonormal matrix, meaning each row is a vector with a magnitude of one (1.0). | |
| width [from base-object] number | |
X-axis dimension of the reference box. Defaults to zero. | |
(in-package :gdl-user)
(define-object blend-sample (base-object)
:objects
((box :type 'box-solid
:length 10 :width 20 :height 15)
(blend :type 'blended-solid
:display-controls (list :color :blue)
:default-radius 3
:brep (the box))))
(generate-sample-drawing :objects (the-object (make-object 'blend-sample) blend)
:projection-direction (getf *standard-views* :trimetric))
![]() |