cl-occt
Common Lisp bindings to OCCT CAD kernel
Table of Contents
cl-occt — Common Lisp OCCT Library
A Common Lisp library wrapping OCCT 8.0 for 3D CAD geometry. Provides CFFI bindings, a CLOS shape wrapper with GC, primitives, booleans, transforms, STEP I/O, STL I/O, a full 3D viewer with object display, styling, camera control, and a trihedron orientation aid.
This is a library, not an application. Use it to build CAD tools, scripts, or GUIs in SBCL.
Source repository: github.com/torusJKL/cl-occt
Prerequisites
Ubuntu 26.04 / Debian
sudo apt install sbcl curl build-essential cmake libc6 librapidjson-dev Quicklisp (Common Lisp package manager)
curl -Lo /tmp/quicklisp.lisp https://beta.quicklisp.org/quicklisp.lisp
sbcl --load /tmp/quicklisp.lisp --eval "(quicklisp-quickstart:install)" --quit This installs to ~/quicklisp/ and adds the init block to ~/.sbclrc.
Other platforms
Linux x86-64 is actively tested. macOS/Windows should work with equivalent tooling (Homebrew for macOS, MSYS2 for Windows).
Build
One-time: download and build OCCT 8.0 (~15 min)
just setup This configures an OCCT build with:
- Shared libraries only
- Visualization enabled (TKV3d, TKOpenGl, TKService linked)
- ApplicationFramework (TKCAF) enabled for XDE color/assembly support
- Installs to .local/
Compile the C wrapper library
just wrap Produces lib/libocctwrap.so — a thin C bridge over OCCT C++ APIs.
Launch the REPL
just start This loads Quicklisp, finds the cl-occt system, and drops you into the CL-OCCT package.
Quickstart
(in-package :cl-occt)
(let ((box (make-box 30 20 10))
(sphere (make-sphere 8)))
(write-step (cut box (translate sphere 15 10 5))
"result.step")
(write-stl (cut box (translate sphere 15 10 5))
"result.stl"
:deflection 0.05)
;; Export multiple shapes as a single STL
(write-stl (make-compound (list box sphere))
"compound.stl"
:deflection 0.05)) Architecture
Three layers:
┌──────────────────────────────────────────────────────┐
│ SBCL + CFFI (viewer CLOS, ais-context, ais-object, │
│ ais-display, ais-erase, ais-remove, ...) │
└──────────────────────┬───────────────────────────────┘
↓
┌──────────────────────────────────────────────────────┐
│ libocctwrap.so (graphic-driver, viewer, view, │
│ neutral-window, fit-all, resize, │
│ ais_* context + shape functions) │
└──────────────────────┬───────────────────────────────┘
↓
┌──────────────────────────────────────────────────────┐
│ OCCT shared libs (TKV3d, TKOpenGl, TKService, AIS) │
└──────────────────────────────────────────────────────┘ wrap/occt_wrap.cpp— 95extern "C"functions wrapping OCCT. No business logic.src/ffi/— CFFIdefcfunbindings. Functions prefixed with%(e.g.%make-box).src/core/— CLOSshape,geom2d,ais-context, andais-objectclasses withtg:finalizeGC, primitives, booleans, compounds, transforms, STEP I/O, STL I/O, 2D geometry, face construction, viewer, AIS display.
Design decisions documented in openspec/changes/v1-core/design.md.
API Reference
See docs/api-reference.md for the complete API reference (function signatures, descriptions, and examples).
Error handling
Invalid operations (nil inputs, degenerate geometry) return nil rather than signaling an error.
C-level errors can be inspected:
(get-error-message) License
cl-occt — MIT License (see LICENSE).
This project uses Open CASCADE Technology v8.0.0,
which is licensed under LGPL 2.1 with the Open CASCADE Exception v1.0.
OCCT is dynamically linked via lib/libocctwrap.so; end users can relink
with modified OCCT builds. See NOTICE for details and attribution of other
dependencies.
The test font bundled in t/fonts/Cousine-Regular.ttf is part of the Croscore font family by Google Inc., licensed under the SIL Open Font License v1.1.
See licenses/COUSINE-FONT-OFL.txt for the full license text.
System Information
Definition Index
-
CL-OCCT
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *ASPECT-LINE-TYPE-MAP*
Maps line type keywords to AspectLine3d integer codes.
-
EXTERNAL SPECIAL-VARIABLE *ASPECT-MARKER-TYPE-MAP*
Maps marker type keywords to AspectMarker3d integer codes.
-
EXTERNAL SPECIAL-VARIABLE *GRADIENT-STYLE-MAP*
Maps gradient direction keywords to AspectGradientFillMethod integer codes.
-
EXTERNAL SPECIAL-VARIABLE *INTERIOR-STYLE-MAP*
Maps interior style keywords to AspectFillArea3d integer codes.
-
EXTERNAL SPECIAL-VARIABLE *MATERIAL-PRESETS*
List of available material preset keyword names.
-
EXTERNAL SPECIAL-VARIABLE *OCAF-EVOLUTION-MAP*
Maps OCAF naming evolution keywords to integer codes.
-
EXTERNAL SPECIAL-VARIABLE *RENDERING-METHOD-MAP*
Maps rendering method keywords to Graphic3d_RenderingParams integer codes.
-
EXTERNAL SPECIAL-VARIABLE *SELECTION-SCHEME-MAP*
Maps selection scheme keywords to AIS_SelectionScheme integer codes.
-
EXTERNAL SPECIAL-VARIABLE *SHAPE-TYPE-MAP*
Maps keyword shape types to TopAbs_ShapeEnum integer values.
-
EXTERNAL SPECIAL-VARIABLE *STATUS-OF-DETECTION-MAP*
Maps detection status keywords to AIS_StatusOfDetection integer codes.
-
EXTERNAL SPECIAL-VARIABLE *STATUS-OF-PICK-MAP*
Maps pick status keywords to AIS_StatusOfPick integer codes.
-
EXTERNAL SPECIAL-VARIABLE *TEXT-STYLE-MAP*
Maps text style keywords to AspectText3d integer codes.
-
EXTERNAL SPECIAL-VARIABLE +PRECISION-ANGULAR+
OCCT Precision::Angular() — typically 1e-12.
-
EXTERNAL SPECIAL-VARIABLE +PRECISION-CONFUSION+
OCPT Precision::Confusion() — typically 1e-7.
-
EXTERNAL SPECIAL-VARIABLE +PRECISION-INTERSECTION+
OCCT Precision::Intersection() — typically 1e-10.
-
EXTERNAL CLASS AIS-ANIMATION
Wraps a Handle(AIS_Animation)* from OCCT.
-
EXTERNAL CLASS AIS-ANIMATION-AXIS-ROTATION
Wraps a Handle(AIS_AnimationAxisRotation)* from OCCT.
-
EXTERNAL CLASS AIS-ANIMATION-CAMERA
Wraps a Handle(AIS_AnimationCamera)* from OCCT.
-
EXTERNAL CLASS AIS-ANIMATION-OBJECT
Wraps a Handle(AIS_AnimationObject)* from OCCT.
-
EXTERNAL CLASS AIS-CONTEXT
Wraps an AIS_InteractiveContext handle with GC via tg:finalize.
-
EXTERNAL CLASS AIS-OBJECT
Wraps an AIS_InteractiveObject handle with GC via tg:finalize.
-
EXTERNAL CLASS AIS-TEXT-LABEL
Wraps an AIS_TextLabel for interactive 3D text annotations.
-
EXTERNAL CLASS ASPECT-FILL-AREA
Wraps a Graphic3d_AspectFillArea3d handle with GC via tg:finalize.
-
EXTERNAL CLASS ASPECT-LINE
Wraps a Graphic3d_AspectLine3d handle with GC via tg:finalize.
-
EXTERNAL CLASS ASPECT-MARKER
Wraps a Graphic3d_AspectMarker3d handle with GC via tg:finalize.
-
EXTERNAL CLASS ASPECT-TEXT
Wraps a Graphic3d_AspectText3d handle with GC via tg:finalize.
-
EXTERNAL CLASS ASSEMBLY
Represents a tree node in an assembly hierarchy (part or sub-assembly).
-
EXTERNAL CLASS BREP-FONT
Wraps a Font_BRepFont handle for TrueType/OpenType font loading.
-
EXTERNAL CLASS BREP-OWNER
CLOS wrapper for StdSelect_BRepOwner. GC-managed via tg:finalize.
-
EXTERNAL CLASS BSDF
Wraps a Graphic3d_BSDF handle with GC via tg:finalize.
-
EXTERNAL CLASS CLIP-PLANE
Wraps a Graphic3d_ClipPlane handle with GC via tg:finalize.
-
EXTERNAL CLASS CURVE
Wraps a Geom_Curve handle from OCCT with GC via tg:finalize.
-
EXTERNAL CLASS EDGE-FILTER
CLOS wrapper for StdSelect_EdgeFilter.
-
EXTERNAL CLASS ENTITY-OWNER
CLOS wrapper for SelectMgr_EntityOwner. GC-managed via tg:finalize.
-
EXTERNAL CLASS FACE-FILTER
CLOS wrapper for StdSelect_FaceFilter.
-
EXTERNAL CLASS GEOM2D
Wraps a Geom2d_Curve handle from OCCT with GC via tg:finalize.
-
EXTERNAL CLASS GPROPS
Holds global properties (volume, area, center of mass, inertia) of a shape.
-
EXTERNAL CLASS GRAPHIC-GROUP
Wraps a Graphic3d_Group handle with GC via tg:finalize.
-
EXTERNAL CLASS GRAPHIC-STRUCTURE
Wraps a Graphic3d_Structure handle with GC via tg:finalize.
-
EXTERNAL CLASS IMAGE
Wraps an Image_PixMap handle with GC via tg:finalize.
-
EXTERNAL CLASS MESHVS-MESH
CLOS wrapper for MeshVS_Mesh. GC-managed via tg:finalize.
-
EXTERNAL CLASS OCAF-DOC
Wraps an OCAF TDocStd_Document handle.
-
EXTERNAL CLASS PBR-MATERIAL
Wraps a Graphic3d_PBRMaterial handle with GC via tg:finalize.
-
EXTERNAL CLASS PROXIMITY-ZONE
Holds proximity analysis result: distance and the two subshapes involved.
-
EXTERNAL CLASS PRS3D-SEGMENTS
Wraps a Prs3d line segments handle with GC via tg:finalize.
-
EXTERNAL CLASS PRS3D-TRIANGULATION
Wraps a Prs3d triangulation handle with GC via tg:finalize.
-
EXTERNAL CLASS RENDERING-PARAMS
Wraps a Graphic3d_RenderingParams handle (not owned, no finalization).
-
EXTERNAL CLASS SELECTION-FILTER
CLOS wrapper for SelectMgr_Filter. GC-managed via tg:finalize.
-
EXTERNAL CLASS SHADER-PROGRAM
Wraps a Graphic3d_ShaderProgram handle with GC via tg:finalize.
-
EXTERNAL CLASS SHAPE
Wraps a TopoDS_Shape handle from OCCT with GC via tg:finalize.
-
EXTERNAL CLASS SHAPE-EXTREMA
Holds minimum distance result between two shapes and the closest points.
-
EXTERNAL CLASS SHAPE-TYPE-FILTER
CLOS wrapper for StdSelect_ShapeTypeFilter.
-
EXTERNAL CLASS SURFACE
Wraps a Geom_Surface handle from OCCT with GC via tg:finalize.
-
EXTERNAL CLASS TEXTURE-2D
Wraps a Graphic3d_Texture2D handle with GC via tg:finalize.
-
EXTERNAL CLASS TEXTURE-2DPLANE
Wraps a Graphic3d_Texture2Dplane handle with GC via tg:finalize.
-
EXTERNAL CLASS TEXTURE-PARAMS
Wraps a Graphic3d_TextureParams handle with GC via tg:finalize.
-
EXTERNAL CLASS VIEWER
Wraps an OCCT V3d_Viewer + V3d_View with GC via tg:finalize.
-
EXTERNAL CLASS VIEWER-CAMERA
Snapshot of a V3d_View camera state (eye, target, up, projection, FOV).
-
EXTERNAL CLASS VIEWER-COLOR
Represents an RGB color with an optional keyword name.
-
EXTERNAL CLASS VIEWER-LIGHT
Wraps a Graphic3d_CLight handle with GC via tg:finalize.
-
EXTERNAL CLASS XCAF-DOC
Wraps an XCAF (extended STEP with metadata) document handle.
-
EXTERNAL STRUCTURE OCAF-LABEL
No documentation provided. -
EXTERNAL FUNCTION ACTIVATE-GRID
- VIEWER
- GRID-TYPE
- DRAW-MODE
Activates the grid for viewer with the given type and draw mode.
Grid types:
:rectangular,:circular. Draw modes::lines,:points.Example: (with-viewer (v) (activate-grid v :rectangular :lines))
-
EXTERNAL FUNCTION ADD-ANIMATION
- PARENT
- CHILD
Add a child animation to a parent animation.
See also:
remove-animation,make-animation -
EXTERNAL FUNCTION ADD-TO-COMPOUND
- COMPOUND
- SHAPE
Add
shapeto an existingcompound, returning a new compound.Example:
(def comp (make-compound nil)) (add-to-compound comp (make-box 10 10 10)) -
EXTERNAL FUNCTION AIS-ADD-FILTER
- CONTEXT
- FILTER
Add a selection filter to context.
-
EXTERNAL FUNCTION AIS-ADD-OR-REMOVE-SELECTED
- CONTEXT
- OBJ
- &KEY
- UPDATE
Toggles selection state of obj in context.
If obj is selected it becomes unselected, and vice versa.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-add-or-remove-selected ctx box)) -
EXTERNAL FUNCTION AIS-ANIMATION-AXIS-ROTATION-P
- OBJ
Returns:
tif obj is anais-animation-axis-rotation. -
EXTERNAL FUNCTION AIS-ANIMATION-CAMERA-P
- OBJ
Returns:
tif obj is anais-animation-camera. -
EXTERNAL FUNCTION AIS-ANIMATION-DURATION
- ANIM
Return the duration of the animation in seconds.
-
EXTERNAL FUNCTION (SETF AIS-ANIMATION-DURATION)
- SECONDS
- ANIM
No documentation provided. -
EXTERNAL FUNCTION AIS-ANIMATION-FREE
- ANIM
Explicitly free an ais-animation's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION AIS-ANIMATION-OBJECT-P
- OBJ
Returns:
tif obj is anais-animation-object. -
EXTERNAL FUNCTION AIS-ANIMATION-P
- OBJ
Returns:
tif obj is anais-animationobject. -
EXTERNAL FUNCTION AIS-ANIMATION-PLAYING-P
- ANIM
Returns:
tif the animation is currently playing. -
EXTERNAL FUNCTION AIS-ANIMATION-PROGRESS
- ANIM
Return the current progress of the animation (0.0 to 1.0).
-
EXTERNAL FUNCTION (SETF AIS-ANIMATION-PROGRESS)
- PROGRESS
- ANIM
No documentation provided. -
EXTERNAL FUNCTION AIS-ANIMATION-START
- ANIM
Start playing the animation.
-
EXTERNAL FUNCTION (SETF AIS-ANIMATION-START-PAUSE)
- SECONDS
- ANIM
No documentation provided. -
EXTERNAL FUNCTION AIS-ANIMATION-STOP
- ANIM
Stop playing the animation.
-
EXTERNAL FUNCTION AIS-CLEAR-DETECTED
- CONTEXT
-
EXTERNAL FUNCTION AIS-CLEAR-SELECTED
- CONTEXT
- &KEY
- UPDATE
Clears all selected objects in context.
When update is
nil, the display is not refreshed immediately.Example:
(ais-clear-selected ctx) -
EXTERNAL FUNCTION AIS-CONTEXT-P
- V
Returns
tif v is anais-contextobject.See also:
ais-create-context,ais-free-context -
EXTERNAL FUNCTION AIS-CREATE-CONTEXT
- VIEWER
Creates an AIS context for the given viewer.
The context is automatically finalized for garbage collection. Returns the context object, or
nilon failure.Example: (let ((v (make-viewer))) (ais-create-context v))
-
EXTERNAL FUNCTION AIS-CREATE-SHAPE
- SHAPE
Wraps a shape into an AIS object for display.
The AIS object is automatically finalized for garbage collection. Returns the AIS object, or
nilif shape is invalid.Example: (ais-create-shape (make-box 10 20 30))
-
EXTERNAL FUNCTION AIS-DETECTED-INTERACTIVE
- CONTEXT
Returns the interactive object detected by the last
ais-move-to, ornil.Example:
(ais-detected-interactive ctx) -
EXTERNAL FUNCTION AIS-DISPLAY
- CONTEXT
- SHAPE-OR-OBJ
- &KEY
- UPDATE
Displays a shape or AIS object in the given context.
If shape-or-obj is a raw shape, it is automatically wrapped in an AIS object first. Returns the AIS object.
Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (make-box 10 20 30))) (ais-display ctx box) (fit-all v))
-
EXTERNAL FUNCTION AIS-DISPLAYED-P
- CONTEXT
- OBJ
-
EXTERNAL FUNCTION AIS-ERASE
- CONTEXT
- OBJ
- &KEY
- UPDATE
Erases obj from the view without removing it from the context.
The object can be redisplayed later. When update is
nil, the view is not redrawn immediately.Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape (make-box 10 20 30)))) (ais-display ctx box) (ais-erase ctx box))
-
EXTERNAL FUNCTION AIS-FIT-SELECTED
- CONTEXT
- VIEW
- &OPTIONAL
- MARGIN
Fits view to show all selected objects with margin around them.
Example:
(ais-fit-selected ctx view 0.05) -
EXTERNAL FUNCTION AIS-FREE
- OBJ
Frees the AIS object and its underlying OCCT shape.
Safe to call multiple times.
Example: (let ((ais (ais-create-shape (make-box 10 20 30)))) (ais-free ais))
-
EXTERNAL FUNCTION AIS-FREE-CONTEXT
- CTX
Frees the AIS context and its OCCT resources.
Safe to call multiple times.
Example: (let* ((v (make-viewer)) (ctx (ais-create-context v))) (ais-free-context ctx))
-
EXTERNAL FUNCTION AIS-FREE-TEXT-LABEL
- LABEL
Free the native resources held by an AIS text label.
After calling this, label should not be used. This is called automatically by the garbage collector via finalization.
Example:
(let ((label (make-ais-text-label "Temp"))) (ais-free-text-label label))See also:
make-ais-text-label -
EXTERNAL FUNCTION AIS-HAS-DETECTED
- CONTEXT
-
EXTERNAL FUNCTION AIS-HAS-SELECTED-SHAPE
- CONTEXT
-
EXTERNAL FUNCTION AIS-HILIGHT-SELECTED
- CONTEXT
- &KEY
- UPDATE
Highlights all selected objects in context.
When update is
nil, the display is not refreshed immediately.Example:
(ais-hilight-selected ctx) -
EXTERNAL FUNCTION AIS-INIT-SELECTED
- CONTEXT
Initializes the selection iterator in context.
See also:
ais-more-selected,ais-next-selectedExample:
(ais-init-selected ctx) -
EXTERNAL FUNCTION AIS-IS-SELECTED
- CONTEXT
- OBJ
Returns
tif obj is currently selected in context.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selected ctx box) (ais-is-selected ctx box)) => T -
EXTERNAL FUNCTION AIS-MORE-SELECTED
- CONTEXT
Returns
tif there are more selected objects in the iteration.See also:
ais-init-selected,ais-next-selectedExample:
(ais-more-selected ctx) -
EXTERNAL FUNCTION AIS-MOVE-TO
- CONTEXT
- VIEW
- X
- Y
Moves the mouse cursor to pixel coordinates (X Y) on view for detection.
Used before
ais-select-detectedto select objects under the cursor.Example:
(ais-move-to ctx view 100 200) -
EXTERNAL FUNCTION AIS-NB-SELECTED
- CONTEXT
-
EXTERNAL FUNCTION AIS-NEXT-SELECTED
- CONTEXT
Advances the selection iterator and returns the next AIS object.
See also:
ais-init-selected,ais-more-selectedExample:
(ais-next-selected ctx) -
EXTERNAL FUNCTION AIS-OBJECT-P
- V
Returns
tif v is anais-objectobject.See also:
ais-create-shape,ais-free -
EXTERNAL FUNCTION AIS-REMOVE
- CONTEXT
- OBJ
- &KEY
- UPDATE
Removes obj from the context entirely.
Unlike erase, the object cannot be redisplayed without re-adding it to the context.
Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape (make-box 10 20 30)))) (ais-display ctx box) (ais-remove ctx box))
-
EXTERNAL FUNCTION AIS-REMOVE-ALL
- CONTEXT
- &KEY
- UPDATE
Removes all displayed objects from the context.
Equivalent to calling
ais-removeon every displayed object.Example: (let* ((v (make-viewer)) (ctx (ais-create-context v))) (ais-display ctx (make-box 10 20 30)) (ais-remove-all ctx))
-
EXTERNAL FUNCTION AIS-REMOVE-FILTER
- CONTEXT
- FILTER
Remove a selection filter from context.
-
EXTERNAL FUNCTION AIS-SELECT-DETECTED
- CONTEXT
- &OPTIONAL
- SCHEME
Selects the object detected by the last
ais-move-tocall.scheme is
:replace,:add,:toggle,:remove, or an integer.Example:
(ais-move-to ctx view 100 200) (ais-select-detected ctx :add) -
EXTERNAL FUNCTION AIS-SELECT-POINT
- CONTEXT
- VIEW
- X
- Y
- &OPTIONAL
- SCHEME
Selects objects at pixel (X Y) by combining
ais-move-toandais-select-detected.scheme is
:replace,:add,:toggle,:remove, or an integer.Example:
(ais-select-point ctx view 100 200 :add) -
EXTERNAL FUNCTION AIS-SELECTED-INTERACTIVE
- CONTEXT
-
EXTERNAL FUNCTION AIS-SELECTED-OBJECTS
- CONTEXT
Return a list of all selected AIS objects.
Iterates using
init-selected/more-selected/next-selectedinternally.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selected ctx box) (ais-selected-objects ctx)) -
EXTERNAL FUNCTION AIS-SELECTED-OWNER
- CONTEXT
Return the current selected entity owner during selection iteration, or
nil. -
EXTERNAL FUNCTION AIS-SELECTED-SHAPE
- CONTEXT
-
EXTERNAL FUNCTION AIS-SELECTED-SHAPES
- CONTEXT
Return a list of all selected shapes.
Iterates using
init-selected/more-selected/next-selectedinternally.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selected ctx box) (ais-selected-shapes ctx)) -
EXTERNAL FUNCTION AIS-SET-AUTOMATIC-HILIGHT
- CONTEXT
- ON
Enables or disables automatic highlighting of detected objects.
Example:
(ais-set-automatic-hilight ctx nil) -
EXTERNAL FUNCTION AIS-SET-COLOR
- CONTEXT
- OBJ
- COLOR
Sets the display color of an AIS object.
color is an RGB list (r g b) with each component in 0.0-1.0.
Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-display ctx (make-box 10 20 30)))) (ais-set-color ctx box '(1.0 0.0 0.0)))
-
EXTERNAL FUNCTION AIS-SET-CUSTOM-MATERIAL
- CONTEXT
- OBJ
- MAT
Applies a custom
materialmat to AIS object obj in context.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30))) (mat (make-material :diffuse '(0.9 0.5 0.2) :shininess 0.8))) (ais-set-custom-material ctx box mat)) -
EXTERNAL FUNCTION AIS-SET-DISPLAY-MODE
- CONTEXT
- OBJ
- MODE
Sets the display mode for an AIS object.
mode is one of
:wireframeor:shaded.Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-display ctx (make-box 10 20 30)))) (ais-set-display-mode ctx box :wireframe))
-
EXTERNAL FUNCTION AIS-SET-DRAWER-FACE-BOUNDARIES
- OBJ
- ON
Shows or hides face boundary edges for AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-face-boundaries box t)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-FREE-BOUNDARIES
- OBJ
- ON
Shows or hides free boundary edges for AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-free-boundaries box t)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-ISO-DISPLAY
- OBJ
- &KEY
- U-ON
- V-ON
Enables or disables iso-line display for AIS object obj.
u-on controls U-direction lines, v-on controls V-direction lines.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-iso-display box :u-on t :v-on nil)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-LINE-COLOR
- OBJ
- COLOR
Sets the line color of AIS object obj.
color can be any color representation accepted by
normalize-color.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-line-color box :red)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-LINE-TYPE
- OBJ
- TYPE
Sets the line type of AIS object obj.
type is
:solid,:dash,:dot, or:dot-dash.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-line-type box :dash)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-LINE-WIDTH
- OBJ
- WIDTH
Sets the line width of AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-line-width box 2.0)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-POINT-COLOR
- OBJ
- COLOR
Sets the point color of AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-point-color box :yellow)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-POINT-SCALE
- OBJ
- SCALE
Sets the point marker scale for AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-point-scale box 2.0)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-POINT-TYPE
- OBJ
- TYPE
Sets the point marker type of AIS object obj.
type is
:point,:plus,:star,:o,:x,:ball, or:ring.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-point-type box :star)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-SHADING-COLOR
- OBJ
- COLOR
Sets the shading (fill) color of AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-shading-color box :blue)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-TEXT-COLOR
- OBJ
- COLOR
Sets the text color of AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-text-color box :white)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-TEXT-FONT
- OBJ
- FONT
Sets the text font of AIS object obj.
font is a string naming a font (e.g.
"Arial").Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-text-font box "Arial")) -
EXTERNAL FUNCTION AIS-SET-DRAWER-TEXT-HEIGHT
- OBJ
- HEIGHT
Sets the text height for AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-text-height box 12.0)) -
EXTERNAL FUNCTION AIS-SET-DRAWER-WIRE-COLOR
- OBJ
- COLOR
Sets the wireframe color of AIS object obj.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-drawer-wire-color box :green)) -
EXTERNAL FUNCTION AIS-SET-EDGE-STYLING
- CONTEXT
- OBJ
- &KEY
- COLOR
- WIDTH
Configures edge appearance for AIS object obj.
color can be any color representation. width is a numeric line width.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-show-edges ctx box t) (ais-set-edge-styling ctx box :color :red :width 2.0)) -
EXTERNAL FUNCTION AIS-SET-LINE-WIDTH
- CONTEXT
- OBJ
- WIDTH
Sets the line width for AIS object obj in context.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-line-width ctx box 2.0)) -
EXTERNAL FUNCTION AIS-SET-MATERIAL
- CONTEXT
- OBJ
- MATERIAL
Applies a named preset material to AIS object obj in context.
material is a keyword from
material-preset-list.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-material ctx box :brass)) -
EXTERNAL FUNCTION AIS-SET-PIXEL-TOLERANCE
- CONTEXT
- PIXELS
-
EXTERNAL FUNCTION AIS-SET-SELECTED
- CONTEXT
- OBJ
- &KEY
- UPDATE
Selects obj in context (replaces current selection).
When update is
nil, the display is not refreshed immediately.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selected ctx box)) -
EXTERNAL FUNCTION AIS-SET-SELECTION-MODE
- CONTEXT
- OBJ
- MODE
Sets the selection mode for AIS object obj in context.
mode is
:shape,:face,:edge,:vertex, or an integer. Passnilto deactivate.Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selection-mode ctx box :edge)) -
EXTERNAL FUNCTION AIS-SET-SELECTION-SENSITIVITY
- CONTEXT
- OBJ
- MODE
- SENSITIVITY
Sets selection sensitivity for a given selection mode on obj.
sensitivity controls how close the cursor must be for selection.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-selection-sensitivity ctx box 2 5)) -
EXTERNAL FUNCTION AIS-SET-TESSELLATION
- OBJ
- &KEY
- QUALITY
- DEVIATION
Sets the tessellation quality for AIS object obj.
quality controls mesh resolution (higher = finer). deviation is max chord error.
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-tessellation box :quality 0.5)) -
EXTERNAL FUNCTION AIS-SET-TO-HILIGHT-SELECTED
- CONTEXT
- ON
-
EXTERNAL FUNCTION AIS-SET-TRANSPARENCY
- CONTEXT
- OBJ
- VALUE
Sets the transparency of AIS object obj in context.
value ranges from 0.0 (opaque) to 1.0 (fully transparent).
Returns obj on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-set-transparency ctx box 0.5)) -
EXTERNAL FUNCTION AIS-SHOW-EDGES
- CONTEXT
- OBJ
- ON
Shows or hides edges of AIS object obj.
When on is
t, edges are displayed. Returns obj on success,nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape ctx (make-box 10 20 30)))) (ais-show-edges ctx box t)) -
EXTERNAL FUNCTION AIS-TEXT-LABEL-P
- OBJ
Return
tif obj is an AIS text label object.Checks whether the argument is an instance of the text label class, which represents interactive 3D text annotations in the viewer.
See also:
make-ais-text-label,ais-free-text-label -
EXTERNAL FUNCTION AIS-UNHILIGHT-SELECTED
- CONTEXT
- &KEY
- UPDATE
Unhighlights all selected objects in context.
When update is
nil, the display is not refreshed immediately.Example:
(ais-unhilight-selected ctx) -
EXTERNAL FUNCTION AIS-UNSET-COLOR
- CONTEXT
- OBJ
Removes a custom color from an AIS object, reverting to default.
Example: (let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-display ctx (make-box 10 20 30)))) (ais-set-color ctx box '(1.0 0.0 0.0)) (ais-unset-color ctx box))
-
EXTERNAL FUNCTION ANIMATION-OBJECT
- ANIM-OBJ
Get the AIS object associated with an animation-object. Returns an
ais-objector nil. -
EXTERNAL FUNCTION ANTIALIASING-P
- VIEW
-
EXTERNAL FUNCTION APPLY-HEALING-PIPELINE
- SHAPE
- PIPELINE
- &KEY
- RESOURCE
Apply a named healing pipeline to a shape.
shape -- a shape object to heal pipeline -- string naming a pipeline defined in a ShapeProcess resource file. "StdHealing" is available when OCCT resource files are installed. resource -- optional resource file path (string) for custom pipeline definitions. When omitted, OCCT's default resources are searched.
Pipeline names come from ShapeProcess resource files shipped with OCCT (e.g., Resource_ShapeProcess.xx). See OCCT documentation for details.
Returns a new healed shape, or
nilon error.Example:
(apply-healing-pipeline my-shape "StdHealing")See also:
apply-shape-process,heal-shape -
EXTERNAL FUNCTION APPLY-SHAPE-PROCESS
- SHAPE
- OPERATOR
Apply a shape processing operation or sequence of operations.
shape -- a shape object to process operator -- a string naming an operator (e.g. "FixShape", "SameParameter") or a list of operator strings for sequential application
Supported operators: FixShape, FixSolid, FixWire, FixEdge, FixFace, SameParameter, SplitContinuity.
Returns a new processed shape, or
nilon error.Example:
(apply-shape-process my-shape "SameParameter")See also:
apply-healing-pipeline,heal-shape -
EXTERNAL FUNCTION ASPECT-FILL-AREA-COLOR
- A
Return the interior color of an aspect-fill-area as (r g b).
-
EXTERNAL FUNCTION ASPECT-FILL-AREA-EDGE-COLOR
- A
Return the edge color of an aspect-fill-area as (r g b).
-
EXTERNAL FUNCTION ASPECT-FILL-AREA-INTERIOR-STYLE
- A
Return the interior style keyword of an aspect-fill-area (:empty, :hollow, :solid, :hatch).
-
EXTERNAL FUNCTION ASPECT-FILL-AREA-P
- OBJ
Returns:
tif obj is anaspect-fill-areaobject. -
EXTERNAL FUNCTION ASPECT-LINE-COLOR
- A
Return the color of an aspect-line as (r g b).
-
EXTERNAL FUNCTION ASPECT-LINE-P
- OBJ
Returns:
tif obj is anaspect-lineobject. -
EXTERNAL FUNCTION ASPECT-LINE-TYPE
- A
Return the line type keyword of an aspect-line (:solid, :dash, :dot, :dot-dash).
-
EXTERNAL FUNCTION ASPECT-LINE-WIDTH
- A
Return the line width of an aspect-line as a double-float.
-
EXTERNAL FUNCTION ASPECT-MARKER-COLOR
- A
Return the color of an aspect-marker as (r g b).
-
EXTERNAL FUNCTION ASPECT-MARKER-P
- OBJ
Returns:
tif obj is anaspect-markerobject. -
EXTERNAL FUNCTION ASPECT-MARKER-SCALE
- A
Return the marker scale of an aspect-marker as a double-float.
-
EXTERNAL FUNCTION ASPECT-MARKER-TYPE
- A
Return the marker type keyword of an aspect-marker (:point, :plus, :star, :o, :x, :ball, :ring).
-
EXTERNAL FUNCTION ASPECT-TEXT-COLOR
- A
Return the color of an aspect-text as (r g b).
-
EXTERNAL FUNCTION ASPECT-TEXT-FONT
- A
Return the font name of an aspect-text as a string.
-
EXTERNAL FUNCTION ASPECT-TEXT-P
- OBJ
Returns:
tif obj is anaspect-textobject. -
EXTERNAL FUNCTION ASPECT-TEXT-STYLE
- A
Return the text style keyword of an aspect-text (:normal, :bold, :italic, :bold-italic).
-
EXTERNAL FUNCTION ASSEMBLY-BRANCH-P
- NODE
Return
tif node is a branch (has children — i.e. is an assembly).Example:
(assembly-branch-p (make-assembly :children (list (make-part (make-box 1 2 3)))))See also:
assembly-leaf-p,make-part,make-assembly -
EXTERNAL FUNCTION ASSEMBLY-LEAF-P
- NODE
Return
tif node is a leaf (has no children — i.e. is a part).Example:
(assembly-leaf-p (make-part (make-box 1 2 3)))See also:
assembly-branch-p,make-part,make-assembly -
EXTERNAL FUNCTION ATTACH-MANIPULATOR
- MANIPULATOR
- SHAPE
Attaches manipulator to shape so that transformations applied through the gizmo affect the shape.
Example: (attach-manipulator manip (make-box 10 20 30))
-
EXTERNAL FUNCTION BFGS-MINIMIZE
- FN
- INITIAL
- &KEY
- TOLERANCE
- MAX-ITERATIONS
Minimize a multi-variate function using BFGS quasi-Newton method.
fn is a function accepting a list of doubles and returning a double. initial is the starting point as a list of doubles. Returns a plist (:converged bool :iterations int :minimum-value double :minimizer list) or nil on failure.
-
EXTERNAL FUNCTION BLEND-FACES
- FACE1
- FACE2
- RADIUS
Blend (fill) between two faces with a constant radius.
Returns: a new shape representing the blended transition, or
nilif either face is null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (when (>= (length faces) 2) (blend-faces (first faces) (second faces) 2.0)))See also:
make-blend,fill-face -
EXTERNAL FUNCTION BOOLEAN-ARGUMENT-ANALYZER
- SHAPES
Analyze a set of shapes for potential boolean operation issues. - shapes a list of shapes to analyze. Returns a string describing issues, or nil if no issues found.
-
EXTERNAL FUNCTION BOOLEAN-BUILDER
- SHAPE1
- SHAPE2
- &KEY
- OPERATION
Perform a boolean operation using the general BuilderAlgo.
- shape1 first shape
- shape2 second shape
- operation boolean operation:
:fuse(union),:cut(subtract),:common(intersect), or:section(intersect curves)
Returns: a new shape, or
nilif any argument is null.Example:
(boolean-builder (make-box 10 10 10) (make-cylinder 5 15) :operation :cut) -
EXTERNAL FUNCTION BREP-FONT-P
- OBJ
Return
tif obj is a BREP font object.Checks whether the argument is an instance of the BREP font class, which represents TrueType/OpenType fonts loaded for 3D text extrusion.
See also:
make-brep-font-from-file,make-brep-font-from-name -
EXTERNAL FUNCTION BREP-OWNER-P
- OBJ
Returns:
tif obj is abrep-ownerobject. -
EXTERNAL FUNCTION BREP-OWNER-SHAPE
- OWNER
Extract the underlying TopoDS_Shape from a brep-owner, or
nil. -
EXTERNAL FUNCTION BSDF-P
- OBJ
-
EXTERNAL FUNCTION CELLS-BUILDER
- SHAPES
- OPERATION
- &OPTIONAL
- SELECTION
Select specific cells from a boolean operation result. - shapes a list of argument shapes. - operation 0=FUSE, 1=COMMON, 2=CUT, 3=CUT21, 4=SECTION. - selection optional list of shape indices whose cells to include. Returns a compound of selected cells, or nil if shapes is empty.
-
EXTERNAL FUNCTION CHAMFER-EDGE
- SHAPE
- EDGE
- DISTANCE
Chamfer a single edge of a solid with an equal distance on both sides.
Returns: a new shape with the edge chamfered, or
nilifshapeoredgeisnil.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge))) (chamfer-edge box (first edges) 3.0))See also:
chamfer-edges,chamfer-edge-asymmetric,chamfer-edge-on-face -
EXTERNAL FUNCTION CHAMFER-EDGE-ASYMMETRIC
- SHAPE
- EDGE
- DISTANCE1
- DISTANCE2
Chamfer a single edge with different distances on each side.
distance1anddistance2are the chamfer distances on the two faces adjacent to the edge.Returns: a new shape, or
nilifshapeoredgeisnil.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge))) (chamfer-edge-asymmetric box (first edges) 4.0 2.0))See also:
chamfer-edge,chamfer-edges,chamfer-edge-on-face -
EXTERNAL FUNCTION CHAMFER-EDGE-ON-FACE
- SHAPE
- EDGE
- DISTANCE
- FACE
Chamfer a single edge with distance measured from a specific
face.The chamfer distance is measured from the given
faceto the new chamfer face.Returns: a new shape, or
nilifshapeoredgeisnil.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge)) (faces (map-shape-subshapes box :face))) (chamfer-edge-on-face box (first edges) 3.0 (first faces)))See also:
chamfer-edge,chamfer-edges,chamfer-edge-asymmetric -
EXTERNAL FUNCTION CHAMFER-EDGES
- SHAPE
- EDGES
- DISTANCE
Chamfer multiple edges of a solid with an equal distance on both sides.
edgesis a list of edge shapes.Returns: a new shape, or
nilifshapeisnil.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge)) (some-edges (list (first edges) (second edges)))) (chamfer-edges box some-edges 3.0))See also:
chamfer-edge,chamfer-edge-asymmetric,chamfer-edge-on-face -
EXTERNAL FUNCTION CHECK-SHAPE-VALIDITY
- SHAPE
Check whether a shape is valid for boolean operations.
- shape a shape to check
Returns: a string describing errors, or
nilif the shape is valid orshapeis null.Example:
(check-shape-validity (make-box 10 20 30)) ; => nil (valid)See also:
shape-valid-p,shape-check -
EXTERNAL FUNCTION CIRCLE-TANGENT-TWO-LINES
- LINE1-PT
- LINE1-DIR
- LINE2-PT
- LINE2-DIR
- RADIUS
Compute circles of RADIUS tangent to two 2D lines. Each line is specified as a point (x y) and direction (dx dy). Returns a list of (center-x center-y radius) plists, or nil.
-
EXTERNAL FUNCTION CLASSIFY-POINT-IN-SOLID
- POINT
- SHAPE
Classify a 3D point relative to a solid, returning the face if on the surface.
point -- 3D point as (
xyz) shape -- a solid shapeReturns: two values: - classification (
:inside,:outside,:on, ornil) - face shape (when:on, otherwisenil)Example:
(classify-point-in-solid '(5 5 5) (make-box 10 10 10)) => :inside, `nil`See also:
point-in-solid-p -
EXTERNAL FUNCTION CLIP-PLANE-EQUATION
- CP
Return the clipping plane equation (a b c d) of cp.
-
EXTERNAL FUNCTION CLIP-PLANE-ON-P
- CP
Returns:
tif clipping plane cp is enabled. -
EXTERNAL FUNCTION CLIP-PLANE-P
- OBJ
Returns:
tif obj is aclip-planeobject. -
EXTERNAL FUNCTION COLOR-DELTA
- C1
- C2
Computes the Euclidean distance between two colors in RGB space (CIE76).
Each argument can be any color representation accepted by
color-rgb.Example:
(color-delta :red :blue) => 1.4142135623730951 -
EXTERNAL FUNCTION COLOR-RGB
- COLOR
Extracts an (R G B) triple from any color representation.
Accepts a keyword name, (R G B) cons list,
viewer-color, or hex string.Example:
(color-rgb :red) => (1.0 0.0 0.0) (color-rgb "#FF0000") => (1.0 0.0 0.0) -
EXTERNAL FUNCTION COMMON
- SHAPE
- &REST
- OTHERS
-
EXTERNAL FUNCTION COMPOSE-LOCATIONS
- LOC1
- LOC2
Compose two locations (multiply transformations).
Returns a new location representing loc1 followed by loc2. Returns nil if either argument is nil.
See also:
make-location,invert-location -
EXTERNAL FUNCTION COMPOUND-SHAPE-P
- OBJ
Returns:
tifobjis a compound shape,nilotherwise.See also:
shape-p,make-compound,add-to-compound -
EXTERNAL FUNCTION COMPUTED-MODE-P
- VIEW
-
EXTERNAL FUNCTION CONNECT-TO-MULTIPLE
- MULTIPLE-OBJ
- SOURCE
Connects source (an ais-object) to the multiple-connected object.
Example: (connect-to-multiple mc (make-connected-interactive original))
-
EXTERNAL FUNCTION CONVERT-CURVE-TO-BSPLINE
- CURVE
Convert
curveto a B-spline representation.Any curve type (line, circle, bezier, etc.) can be converted to an equivalent B-spline. Returns the B-spline curve, or
nilon error.Example:
(let* ((c (make-circle-3d 0 0 0 5)) (bs (convert-curve-to-bspline c))) (curve-type bs)) ;; => :BSPLINE-CURVESee also:
make-bspline-curve,convert-surface-to-bspline -
EXTERNAL FUNCTION CONVERT-FROM-SI
- VALUE
- UNIT
Convert VALUE from SI base units to UNIT.
-
EXTERNAL FUNCTION CONVERT-SURFACE-TO-BSPLINE
- SURFACE
Convert
surfaceto a B-spline representation.Any surface type (
plane,sphere,bezier, etc.) can be converted to an equivalent B-spline. Returns: the B-spline surface, ornilon error.Example:
(let* ((s (make-spherical-surface 0 0 0 10)) (bs (convert-surface-to-bspline s))) (surface-type bs)) ;; => :BSPLINE-SURFACESee also:
make-bspline-surface,convert-curve-to-bspline -
EXTERNAL FUNCTION CONVERT-SWEPT-TO-ELEMENTARY
- SHAPE
Convert swept surfaces of a shape to elementary surfaces.
- shape a shape to convert
Returns: a new shape with surfaces converted to elementary form where possible, or
nilifshapeis null or conversion is not applicable.Example:
(convert-swept-to-elementary (make-cylinder 5 20))See also:
convert-to-revolution,convert-surface-to-bspline -
EXTERNAL FUNCTION CONVERT-TO-REVOLUTION
- SHAPE
Convert elementary surfaces of a shape to revolution surfaces.
- shape a shape to convert
Returns: a new shape with surfaces converted to revolution form where possible, or
nilifshapeis null or conversion is not applicable.Example:
(convert-to-revolution (make-cylinder 5 20))See also:
convert-swept-to-elementary,convert-surface-to-bspline -
EXTERNAL FUNCTION CONVERT-TO-SI
- VALUE
- UNIT
Convert VALUE from UNIT to SI base units.
-
EXTERNAL FUNCTION CONVERT-UNITS
- VALUE
- FROM-UNIT
- TO-UNIT
Convert VALUE from FROM-UNIT to TO-UNIT. Units are strings like "mm", "inch", "kg", "lbm".
-
EXTERNAL FUNCTION COPY-SHAPE
- SHAPE
Create an independent deep copy of a
shape. The copy is fully independent — modification or GC of the original does not affect the copy. Returns: a new shape object, or nil. -
EXTERNAL FUNCTION COUNT-SHAPE-SUBSHAPES
- SHAPE
- TYPE
- &KEY
- STOP-AT
Count subshapes of
shapematching the giventypekeyword.- type keyword in (
:compound,:compsolid,:solid,:shell,:face,:wire,:edge,:vertex,:shape) - stop-at optional type keyword at which to stop recursion
Example:
(let ((box (make-box 10 20 30))) (count-shape-subshapes box :face))See also:
map-shape-subshapes,dump-shape -
EXTERNAL FUNCTION CURVE-BOUNDING-BOX
- CURVE
Return the bounding box of
curveas six values (xminyminzminxmaxymaxzmax).Returns
nilif the curve has no geometry or on error.Example:
(let* ((c (make-bezier-curve '((0 0 0) (5 10 0) (10 0 0)))) (bx (curve-bounding-box c))) (format t "~A~%" bx)) ;; => multiple values: 0.0d0 0.0d0 0.0d0 10.0d0 10.0d0 0.0d0See also:
surface-bounding-box -
EXTERNAL FUNCTION CURVE-CURVATURE-AT
- CURVE
- PARAM
Compute the curvature of a curve at a given parameter.
curve -- a curve object param -- parameter value on the curve
Returns: the curvature as a
double-float, ornilif curvature is not defined.Example:
(let ((c (make-circle-3d 0 0 0 5))) (curve-curvature-at c 0.0))See also:
curve-tangent-at -
EXTERNAL FUNCTION CURVE-P
- OBJ
-
EXTERNAL FUNCTION CURVE-TANGENT-AT
- CURVE
- PARAM
Compute the unit tangent vector of a curve at a given parameter.
curve -- a curve object param -- parameter value on the curve
Returns: three values (
txtytz) representing the unit tangent vector, ornilif the tangent is not defined.Example:
(let ((c (make-line-3d 0 0 0 1 0 0))) (curve-tangent-at c 0.0))See also:
curve-curvature-at -
EXTERNAL FUNCTION CURVE-TYPE
- CURVE
Return the type keyword of
curve.Returns one of
:line,:circle,:ellipse,:hyperbola,:parabola,:bezier-curve,:bspline-curve,:gc-line,:gc-arc-of-circle, ornil.Example:
(curve-type (make-line-3d 0 0 0 1 0 0)) ;; => :LINE -
EXTERNAL FUNCTION CURVE-VALUE
- CURVE
- T-PARAM
Evaluate a
curveat parametert-paramand return the 3D point. Returns: three values x, y, z, or nil. -
EXTERNAL FUNCTION CUT
- SHAPE
- &REST
- OTHERS
-
EXTERNAL FUNCTION DEACTIVATE-GRID
- VIEWER
Deactivates the grid for viewer.
Example: (with-viewer (v) (activate-grid v :rectangular :lines) (deactivate-grid v))
-
EXTERNAL FUNCTION DEFAULT-LIGHTS
- VIEWER
Enables default lighting for viewer (equivalent to mode
:on).Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (default-lights v) (free-viewer v)) -
EXTERNAL FUNCTION DEFEATURE-SHAPE
- SHAPE
- FACES
Remove features from a shape by specifying faces to remove.
- shape a shape to remove features from
- faces a list of faces to remove
Returns: a new shape with features removed, or
nilifshapeorfacesis null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (defeature-shape box (list (first faces))))See also:
cut,shell-shape -
EXTERNAL FUNCTION DRAFT-FACE
- SHAPE
- FACE
- ANGLE
- PULL-DIRECTION
- NEUTRAL-PLANE
Apply a draft angle to a face of a solid.
- angle the draft angle in degrees.
- pull-direction a 3-element vector (dx dy dz) indicating the pull direction.
- neutral-plane a 3-element vector (px py pz) defining a point on the neutral plane (the plane uses
pull-directionas its normal).
Returns: a new shape, or
nilif any argument is null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (draft-face box (first faces) 10.0 '(0 0 -1) '(0 0 0)))See also:
make-evolved -
EXTERNAL FUNCTION DUMP-SHAPE
- SHAPE
Print the topological hierarchy of
shapeto standard output.Example:
(let ((box (make-box 10 20 30))) (dump-shape box))See also:
map-shape-subshapes,count-shape-subshapes -
EXTERNAL FUNCTION EDGE-BOUNDING-BOX
- EDGE
Return the bounding box of an
edge. Returns: six values xmin, ymin, zmin, xmax, ymax, zmax. -
EXTERNAL FUNCTION EDGE-CURVE
- EDGE
Return only the geometric curve of an
edge(convenience). Returns: a curve object, or nil. -
EXTERNAL FUNCTION EDGE-CURVE-RANGE
- EDGE
Return the geometric curve and parameter range of an
edge. Returns: three values: curve, first, last. Returns nil on null edge. -
EXTERNAL FUNCTION EDGE-CURVE-TYPE
- EDGE
Return the curve type keyword of an
edge. Returns::line,:circle,:ellipse,:hyperbola,:parabola, or nil. -
EXTERNAL FUNCTION EDGE-FACES
- EDGE
- PARENT
Return faces sharing an
edgewithin aparentshape. Returns: list of face shapes, or nil. -
EXTERNAL FUNCTION EDGE-FILTER-P
- OBJ
Returns:
tif obj is anedge-filterobject. -
EXTERNAL FUNCTION EDGE-LENGTH
- EDGE
Return the 3D length of an
edgeas a double-float. Returns: double-float, or nil. -
EXTERNAL FUNCTION EDGE-VERTICES
- EDGE
Return the start and end vertices of an
edge. Returns: two values: start-vertex, end-vertex (or nil). -
EXTERNAL FUNCTION ENTITY-OWNER-P
- OBJ
Returns:
tif obj is anentity-ownerobject. -
EXTERNAL FUNCTION EVALUATE-EXPRESSION
- EXPR
Evaluate a mathematical expression string using OCCT's ExprIntrp. Returns the numeric result as a double, or nil on error/invalid input.
-
EXTERNAL FUNCTION EXTREMA-CURVE-CURVE
- CURVE1
- CURVE2
Find minimum distance and closest points between two 3D curves.
curve1 curve2 -- curve objects
Returns: three values: - minimum distance - point on
curve1(xyz) - point oncurve2(xyz)Returns
nilon error.Example:
(let ((a (make-bezier-curve '((0 0 0) (1 0 0) (2 0 0)))) (b (make-bezier-curve '((0 2 0) (1 2 0) (2 2 0))))) (extrema-curve-curve a b)) => multiple values: 2.0d0 (2 0 0) (2 2 0)See also:
extrema-curve-surface,shape-distance-extrema -
EXTERNAL FUNCTION EXTREMA-CURVE-SURFACE
- CURVE
- SURFACE
Find minimum distance and closest point between a curve and a surface.
curve -- a curve object surface -- a surface object
Returns: four values: - distance - closest point (
xyz) - UV parameters (uv)Returns
nilon error.Example:
(let ((c (make-bezier-curve '((0 0 -5) (0 0 5)))) (s (make-plane))) (extrema-curve-surface c s)) => multiple values: 5.0d0 (0 0 0) 0.0d0 0.0d0See also:
extrema-curve-curve,shape-distance-extrema -
EXTERNAL FUNCTION FACE-AREA
- FACE
Return the area of a
faceas a double-float. Returns: double-float, or nil. -
EXTERNAL FUNCTION FACE-BOUNDING-BOX
- FACE
Return the bounding box of a
face. Returns: six values xmin, ymin, zmin, xmax, ymax, zmax. -
EXTERNAL FUNCTION FACE-CENTER
- FACE
Return the center (UV midpoint) of a
faceas a 3D point. Returns: three values x, y, z. -
EXTERNAL FUNCTION FACE-CURVATURE-AT
- FACE
- U
- V
Compute the minimum and maximum curvature of a face at given UV.
face -- a face shape object u v -- UV parameter values on the face's surface
Returns: two values (
min-curvaturemax-curvature) as double-floats, ornilif curvature is not defined.Example:
(let* ((box (make-box 10 20 30)) (faces (map-shape-subshapes box :face))) (face-curvature-at (first faces) 0.5 0.5))See also:
surface-curvature-at,face-normal-at -
EXTERNAL FUNCTION FACE-DISTANCE
- FACE1
- FACE2
Compute the minimum and maximum distance between two faces.
face1 face2 -- face shape objects
Returns: two values: minimum distance and maximum distance as double-floats, or
nilon error.Example:
(let* ((box (make-box 10 20 30)) (faces (map-shape-subshapes box :face))) (face-distance (first faces) (second faces)))See also:
shape-distance -
EXTERNAL FUNCTION FACE-EDGES
- FACE
Return the bounding edges of a
face. Returns: list of edge shapes, or nil. -
EXTERNAL FUNCTION FACE-FILTER-P
- OBJ
Returns:
tif obj is aface-filterobject. -
EXTERNAL FUNCTION FACE-NATURAL-RESTRICTION-P
- FACE
Return whether a
facehas natural restriction (i.e., its UV bounds match the full surface parameterization). Returns: t or nil. -
EXTERNAL FUNCTION FACE-NORMAL-AT
- FACE
- U
- V
Compute the unit normal vector of a face at given UV parameters.
face -- a face shape object u v -- UV parameter values on the face's surface
Returns: three values (
nxnynz) representing the unit normal vector, ornilif the normal is not defined.Example:
(let* ((box (make-box 10 20 30)) (faces (map-shape-subshapes box :face))) (face-normal-at (first faces) 0.5 0.5))See also:
surface-normal-at,face-curvature-at -
EXTERNAL FUNCTION FACE-NORMAL-AT-CENTER
- FACE
Return the outward unit normal at the center of a
face. Returns: three values nx, ny, nz, or nil. -
EXTERNAL FUNCTION FACE-SURFACE
- FACE
Return only the geometric surface of a
face(convenience). Returns: a surface object, or nil. -
EXTERNAL FUNCTION FACE-SURFACE-TYPE
- FACE
Return the surface type keyword of a
face. Returns::plane,:cylinder,:cone,:sphere,:torus, or nil. -
EXTERNAL FUNCTION FACE-SURFACE-UV-BOUNDS
- FACE
Return the geometric surface and UV bounds of a
face. Returns: five values: surface, u-min, u-max, v-min, v-max. Returns nil on null face. -
EXTERNAL FUNCTION FACE-WIRES
- FACE
Return the wires of a
face(outer wire + holes). Returns: list of wire shapes, or nil. -
EXTERNAL FUNCTION FAIR-CURVE-BATTEN
- POINTS
- &KEY
- FREE-END
- FREE-SLIDE
- INITIAL-TANGENT
- FINAL-TANGENT
Create a FairCurve batten (physical spline) through the given 3D
points. ... See also:fair-curve-minvar -
EXTERNAL FUNCTION FAIR-CURVE-MINVAR
- POINTS
- &KEY
- FREE-END
- FREE-SLIDE
- INITIAL-SLOPE
- FINAL-SLOPE
Create a FairCurve with minimal curvature variation through the given 3D
points. ... See also:fair-curve-batten -
EXTERNAL FUNCTION FILL-FACE
- BOUNDARY-WIRE
- &KEY
- SUPPORT-FACES
- CONTINUITY
Fill a planar boundary
wireto create a face.- boundary-wire the wire to fill
- support-faces list of adjacent faces for continuity constraint
- continuity list of keywords (
:c0,:tangent,:curvature,:g3) matchingsupport-faces
When
support-facesandcontinuityare provided, the fill is constrained to maintain tangency or curvature with adjacent faces.Returns: a new face shape, or
nilifboundary-wireis null.Example:
(let* ((w (make-wire (make-edge-3d 0 0 0 10 0 0) (make-edge-3d 10 0 0 10 10 0) (make-edge-3d 10 10 0 0 10 0) (make-edge-3d 0 10 0 0 0 0)))) (fill-face w))See also:
fill-n-sided-face,make-face -
EXTERNAL FUNCTION FILL-N-SIDED-FACE
- EDGES
- &KEY
- CONTINUITY
Fill an N-sided face bounded by a list of
edges.- edges list of edges bounding the face
- continuity one of
:c0(default),:tangent,:curvature, or:g3, controlling surface continuity at the boundary
At least 3 edges are required.
Returns: a new face shape, or
nilif fewer than 3 edges are provided.Example:
(let* ((e1 (make-edge-3d 0 0 0 10 0 0)) (e2 (make-edge-3d 10 0 0 10 10 0)) (e3 (make-edge-3d 10 10 0 0 10 0)) (e4 (make-edge-3d 0 10 0 0 0 0))) (fill-n-sided-face (list e1 e2 e3 e4) :continuity :tangent))See also:
fill-face -
EXTERNAL FUNCTION FILL-SURFACE-FROM-CURVES
- CURVES
- &KEY
- CONTINUITY
- SUPPORT-FACES
Fill a surface bounded by the given list of
curveswith continuity constraints. ... See also:fill-face,fill-n-sided-face -
EXTERNAL FUNCTION FILLET-EDGE
- SHAPE
- EDGE
- RADIUS
Round a single edge of a solid with a constant radius.
Returns: a new shape with the edge filleted, or
nilifshapeoredgeis null.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge))) (fillet-edge box (first edges) 3.0))See also:
fillet-edges,fillet-edge-variable,fillet-wire-corner -
EXTERNAL FUNCTION FILLET-EDGE-VARIABLE
- SHAPE
- EDGE
- PARAM-RADIUS-PAIRS
Fillet a single edge with a variable radius along its length.
- param-radius-pairs a list of (parameter radius) pairs, where parameter ranges from 0.0 to 1.0 along the edge.
Returns: a new shape, or
nilif any argument is null.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge))) (fillet-edge-variable box (first edges) '((0.0 3.0) (0.5 5.0) (1.0 3.0))))See also:
fillet-edge,fillet-edges -
EXTERNAL FUNCTION FILLET-EDGES
- SHAPE
- EDGES
- RADIUS
Round multiple edges of a solid with a constant radius.
- edges a list of edge shapes to fillet.
Returns: a new shape with all specified edges filleted, or
nilifshapeis null.Example:
(let* ((box (make-box 30 20 10)) (edges (map-shape-subshapes box :edge)) (some-edges (list (first edges) (second edges)))) (fillet-edges box some-edges 3.0))See also:
fillet-edge,fillet-edge-variable -
EXTERNAL FUNCTION FILLET-WIRE-ALL-CORNERS
- WIRE
- RADIUS
Round all corners of a wire with a given radius.
Returns: a new wire with all corners filleted, or
nilifwireis null.Example:
(let* ((e1 (make-edge 0 0 10 0)) (e2 (make-edge 10 0 10 10)) (e3 (make-edge 10 10 0 10)) (e4 (make-edge 0 10 0 0)) (wire (make-wire e1 e2 e3 e4))) (fillet-wire-all-corners wire 2.0))See also:
fillet-wire-corner -
EXTERNAL FUNCTION FILLET-WIRE-CORNER
- WIRE
- RADIUS
Round the first corner of a wire with a given radius.
Returns: a new wire with the corner filleted, or
nilifwireis null.Example:
(let* ((e1 (make-edge 0 0 10 0)) (e2 (make-edge 10 0 10 10)) (e3 (make-edge 10 10 0 10)) (e4 (make-edge 0 10 0 0)) (wire (make-wire e1 e2 e3 e4))) (fillet-wire-corner wire 2.0))See also:
fillet-wire-all-corners -
EXTERNAL FUNCTION FIND-EDGES-BY-RADIUS
- SHAPE
- RADIUS
Find edges in shape whose curve has the given radius.
Only applies to circular edges. Returns a list of edge shapes, or nil.
Example:
(find-edges-by-radius my-shape 5.0)See also:
find-edges-by-type -
EXTERNAL FUNCTION FIND-EDGES-BY-TYPE
- SHAPE
- CURVE-TYPE
Find edges in shape matching a curve type.
curve-type is an integer corresponding to GeomAbs_CurveType (0=Line, 1=Circle, 2=Ellipse, 3=Hyperbola, 4=Parabola, 5=BezierCurve, 6=BSplineCurve).
Returns a list of edge shapes, or nil.
Example:
(find-edges-by-type my-shape 1) ; find all circular edgesSee also:
find-edges-by-radius -
EXTERNAL FUNCTION FIT-ALL
- V
- &OPTIONAL
- SHAPE
Fits all displayed objects into the view.
If shape is provided, fits the view to that specific shape. Returns the viewer on success,
nilif v is not a valid viewer.Example: (let ((v (make-viewer)) (ctx (ais-create-context v)) (box (ais-create-shape (make-box 10 20 30)))) (ais-display ctx box) (fit-all v))
-
EXTERNAL FUNCTION FIX-EDGE
- EDGE
-
EXTERNAL FUNCTION FIX-FACE
- FACE
-
EXTERNAL FUNCTION FIX-SHAPE
- SHAPE
Apply OCCT's shape fixing algorithm to repair a shape.
shape -- a shape object (typically invalid or problematic)
Attempts to fix common issues such as small edges, gaps, and incorrect orientations. Returns a new fixed shape, or
nilon error.Example:
(let ((fixed (fix-shape some-invalid-shape))) (when fixed (shape-valid-p fixed)))See also:
fix-wire,fix-solid,fix-edge,fix-face,heal-shape -
EXTERNAL FUNCTION FIX-SMALL-FACES
- SHAPE
Fix small faces in shape by removing or merging them.
Returns a repaired shape, or nil on invalid input.
See also:
remove-features,fix-shape -
EXTERNAL FUNCTION FIX-SOLID
- SHAPE
-
EXTERNAL FUNCTION FIX-WIRE
- WIRE
- FACE
- &KEY
- TOLERANCE
Fix a wire, optionally projecting it onto a face.
wire -- a wire shape to fix face -- a face shape to project onto (or
nil) tolerance -- merging tolerance (default 0.1)Returns a new fixed wire, or
nilon error.Example:
(fix-wire some-wire nil :tolerance 0.01) -
EXTERNAL FUNCTION FONT-INFO
- NAME
Query information about a font by name.
Returns a plist with
:nameand:keyfor the font, ornilif the font is not found in the system database.Example:
(font-info "Arial")See also:
list-available-fonts,make-brep-font-from-name -
EXTERNAL FUNCTION FREE-ASPECT-FILL-AREA
- A
Explicitly free an aspect-fill-area's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-ASPECT-LINE
- A
Explicitly free an aspect-line's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-ASPECT-MARKER
- A
Explicitly free an aspect-marker's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-ASPECT-TEXT
- A
Explicitly free an aspect-text's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-CLIP-PLANE
- CP
Explicitly free a clip-plane's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-FILTER
- FILTER
Explicitly free a selection filter's C handle. Safe to call on
nil. -
EXTERNAL FUNCTION FREE-GRAPHIC-GROUP
- GG
Explicitly free a graphic-group's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-GRAPHIC-STRUCTURE
- GS
Explicitly free a graphic-structure's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-LIGHT
- LIGHT
Frees the C resource backing light.
Normally not needed — lights are garbage-collected automatically.
Example:
(let ((l (make-light :ambient))) (free-light l)) -
EXTERNAL FUNCTION FREE-OWNER
- OWNER
Explicitly free an entity owner's C handle. Safe to call on
nil. -
EXTERNAL FUNCTION FREE-PRS3D-SEGMENTS
- OBJ
Explicitly free a prs3d-segments C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-PRS3D-TRIANGULATION
- OBJ
Explicitly free a prs3d-triangulation's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-SHADER-PROGRAM
- PROG
Explicitly free a shader-program's C handle. Safe to call on nil.
-
EXTERNAL FUNCTION FREE-STL-TRIANGULATION
- TRIANGULATION
Free a raw triangulation handle obtained from
read-stl-triangulation.Safe to call on nil.
See also:
read-stl-triangulation -
EXTERNAL FUNCTION FREE-VIEWER
- V
Frees the viewer and its underlying OCCT resources.
Cancels the finalizer so GC won't attempt double-free. Safe to call multiple times.
Example: (let ((v (make-viewer))) (free-viewer v))
-
EXTERNAL FUNCTION FRPR-MINIMIZE
- FN
- INITIAL
- &KEY
- TOLERANCE
- MAX-ITERATIONS
Minimize a multi-variate function using FRPR conjugate gradient method.
Parameters and return format match
bfgs-minimize. -
EXTERNAL FUNCTION FUNCTION-ROOT
- FN
- X0
- X1
- &KEY
- FTOL
- MAX-ITERATIONS
Find a root of a 1D function in the interval [X0, X1] using BissecNewton.
Returns a plist (:converged t :root double :iterations int) or nil on failure.
-
EXTERNAL FUNCTION FUSE
- SHAPE
- &REST
- OTHERS
-
EXTERNAL FUNCTION GEOM2D-P
- OBJ
Returns:
tifobjis a 2D geometry object,nilotherwise. -
EXTERNAL FUNCTION GLOBOPTMIN-MINIMIZE
- FN
- LOWER
- UPPER
- &KEY
- TOLERANCE
- MAX-ITERATIONS
Minimize a multi-variate function using math_GlobOptMin global optimizer.
Parameters and return format match
pso-minimize(without initial guess and n-particles). Returns plist or nil. -
EXTERNAL FUNCTION GRAPHIC-GROUP-ADD-LINES
- GG
- VERTICES
Add line segments to gg. vertices is a flat list of (x y z) float pairs. Returns the group object.
-
EXTERNAL FUNCTION GRAPHIC-GROUP-ADD-POINTS
- GG
- VERTICES
Add points to gg. vertices is a flat list of (x y z) float triples. Returns the group object.
-
EXTERNAL FUNCTION GRAPHIC-GROUP-ADD-TEXT
- GG
- TEXT
- POSITION
Add a text label to gg at position (x y z). Returns the group object.
-
EXTERNAL FUNCTION GRAPHIC-GROUP-ADD-TRIANGLES
- GG
- VERTICES
- &KEY
- NORMALS
Add triangles to gg. vertices is a flat list of (x y z) float triples. normals is an optional flat list of (nx ny nz) float triples. Returns the group object.
-
EXTERNAL FUNCTION GRAPHIC-GROUP-P
- OBJ
Returns:
tif obj is agraphic-groupobject. -
EXTERNAL FUNCTION GRAPHIC-STRUCTURE-ADD-CHILD
- PARENT
- CHILD
Add child structure as a child of parent. Returns the parent structure.
-
EXTERNAL FUNCTION GRAPHIC-STRUCTURE-DISPLAY
- GS
Display gs in the viewer. Returns the structure object.
-
EXTERNAL FUNCTION GRAPHIC-STRUCTURE-ERASE
- GS
Erase gs from the viewer. Returns the structure object.
-
EXTERNAL FUNCTION GRAPHIC-STRUCTURE-P
- OBJ
Returns:
tif obj is agraphic-structureobject. -
EXTERNAL FUNCTION GRAPHIC-STRUCTURE-REMOVE-CHILD
- PARENT
- CHILD
Remove child structure from parent. Returns the parent structure.
-
EXTERNAL FUNCTION GRID-ACTIVE-P
- VIEWER
-
EXTERNAL FUNCTION GRID-COLOR
- VIEWER
Returns the current grid color as an RGB list.
Note: currently returns
nil(not yet implemented).Example: (with-viewer (v) (grid-color v))
-
EXTERNAL FUNCTION GRID-DISPLAY
- VIEW
- &KEY
- COLOR
- SIZE-X
- SIZE-Y
Displays the grid on view with the given color and size.
Returns view on success.
Example: (with-viewer (v) (grid-display v :color '(0.8 0.8 0.8) :size-x 20.0 :size-y 20.0))
-
EXTERNAL FUNCTION GRID-OFFSET
- VIEWER
Returns the current grid offset.
Note: currently returns
nil(not yet implemented).Example: (with-viewer (v) (grid-offset v))
-
EXTERNAL FUNCTION GRID-SIZE
- VIEWER
Returns the current grid size.
Note: currently returns
nil(not yet implemented).Example: (with-viewer (v) (grid-size v))
-
EXTERNAL FUNCTION HEAL-SHAPE
- SHAPE
Apply OCCT's default shape healing to repair a shape.
This runs the standard healing pipeline which fixes common issues like small edges, gaps, and incorrect orientations.
Returns a new healed shape, or
nilon error.Example:
(let ((healed (heal-shape some-problematic-shape))) (when healed (shape-valid-p healed)))See also:
apply-shape-process,apply-healing-pipeline,fix-shape -
EXTERNAL FUNCTION HEX-TO-RGB
- HEX
Parses a hex color string (#RRGGBB or #RGB) into an (R G B) triple.
The leading # is optional. Returns
nilfor invalid input.Example:
(hex-to-rgb "#FF0000") => (1.0 0.0 0.0) (hex-to-rgb "F00") => (1.0 0.0 0.0) -
EXTERNAL FUNCTION HLR-PROJECT
- SHAPE
- &KEY
- DIRECTION
- POSITION
Project a 3D shape onto a plane with hidden line removal.
- shape a shape to project
- direction projection direction
(dx dy dz)(default(0 0 1), top view) - position projection plane origin
(px py pz)(default(0 0 0))
Returns: a compound of visible and hidden edges, or
nilifshapeis null.HLR returns 2D projected edges. Use
edge->curveto extract the 2D curve from each edge; the 3D curve may not exist for hidden edges.Example:
(hlr-project (make-box 30 20 10) :direction '(0 0 -1) :position '(0 0 5))See also:
hlr-extract-shapes -
EXTERNAL FUNCTION HLS-TO-RGB
- H
- L
- S
Converts HLS (hue, lightness, saturation) to (R G B) values.
All values are in the [0, 1] range. Returns three values: R G B.
Example:
(hls-to-rgb 0.0 0.5 1.0) => 1.0 => 0.0 => 0.0 -
EXTERNAL FUNCTION IMAGE-FROM-FILE
- PATH
Load an image file from disk into a pixel map using
Image_AlienPixMap. Supported formats include PNG, JPEG, BMP, TGA, and any format supported by OCCT. Returns animageinstance or nil on failure.Example: (image-from-file "/path/to/texture.png")
-
EXTERNAL FUNCTION IMAGE-HEIGHT
- IMG
Return the pixel height of an
image, or nil on invalid input. Example: (image-height img) -
EXTERNAL FUNCTION IMAGE-P
- OBJ
-
EXTERNAL FUNCTION IMAGE-SAVE
- IMG
- PATH
Save an
imagepixel map to a file. The output format is inferred from the file extension. Returns t on success, nil otherwise.Example: (image-save img "/path/to/output.png")
-
EXTERNAL FUNCTION IMAGE-WIDTH
- IMG
Return the pixel width of an
image, or nil on invalid input. Example: (image-width img) -
EXTERNAL FUNCTION INTERPOLATE-POINTS
- POINTS
- &KEY
- INITIAL-TANGENT
- FINAL-TANGENT
Interpolate a B-spline curve through a list of 3D points with optional tangents.
points -- list of 3D points, each as (
xyz) initial-tangent -- tangent vector (xyz) at the start of the curve (optional) final-tangent -- tangent vector (xyz) at the end of the curve (optional)The curve passes through all points exactly. Providing tangents gives control over the shape at the endpoints.
Returns: a curve object, or
nilon error.Example:
(interpolate-points '((0 0 0) (5 10 0) (10 0 0)) :initial-tangent '(1 0 0) :final-tangent '(-1 0 0))See also:
points-to-bspline -
EXTERNAL FUNCTION INTERSECT-CURVE-SHAPE
- CURVE
- SHAPE
Compute intersection points between a curve and a shape (faces of a solid).
curve -- a curve object shape -- a shape object
Returns: a list of intersection records, each containing: - (
pointparam-on-curveparam-on-faceface)`point` is (`x` `y` `z`), the two params are curve and face parameters, and `face` is the intersected face shape (or `nil`).Returns
nilif no intersections exist or on error.Example:
(let ((b (make-box 10 20 30)) (c (make-edge (make-line 0 0 -5 0 0 10)))) (intersect-curve-shape c b))See also:
intersect-curves,intersect-curve-surface -
EXTERNAL FUNCTION INTERSECT-CURVE-SURFACE
- CURVE
- SURFACE
Compute intersection points between a curve and a surface.
curve -- a curve object surface -- a surface object
Returns: a list of intersection points, each as (
xyz). Returnsnilif inputs are null or no intersections exist.Example:
(let ((c (make-bezier-curve '((-10 0 0) (0 0 10) (10 0 0)))) (s (make-plane))) (intersect-curve-surface c s)) => intersection point(s)See also:
intersect-curves,intersect-surfaces -
EXTERNAL FUNCTION INTERSECT-CURVES
- CURVE1
- CURVE2
Compute intersection points between two 3D curves.
curve1 curve2 -- curve objects to intersect
Returns: a list of intersection points, each as (
xyz). Returnsnilif curves are null or no intersections exist.Example:
(let ((a (make-bezier-curve '((0 0 0) (5 5 0) (10 0 0)))) (b (make-bezier-curve '((0 5 0) (5 0 0) (10 5 0))))) (intersect-curves a b)) => list of intersection pointsSee also:
intersect-curves-2d,intersect-curve-surface,intersect-surfaces -
EXTERNAL FUNCTION INTERSECT-CURVES-2D
- CURVE1
- CURVE2
Compute intersection points between two 2D curves.
curve1 curve2 -- 2D curve objects
Returns: a list of intersection points, each as (
xy). Returnsnilif curves are null or no intersections exist.Example:
(let ((c1 (make-line2d 0 0 1 1)) (c2 (make-line2d 2 0 -1 1))) (intersect-curves-2d c1 c2)) => list of 2D intersection pointsSee also:
intersect-curves,intersect-curve-surface -
EXTERNAL FUNCTION INTERSECT-EDGE-EDGE
- EDGE1
- EDGE2
Compute intersection between two edges using IntTools_EdgeEdge.
Returns a plist (:points ((x y z) ...)) or nil on no intersection or invalid input.
-
EXTERNAL FUNCTION INTERSECT-EDGE-FACE
- EDGE
- FACE
Compute intersection between an edge and a face using IntTools_EdgeFace.
Returns a plist (:points ((x y z) ...)) or nil on no intersection or invalid input.
-
EXTERNAL FUNCTION INTERSECT-FACE-FACE
- FACE1
- FACE2
Compute intersection between two faces using IntTools_FaceFace.
Returns a plist (:points ((x y z) ...) :curves (curve ...)) or nil on no intersection or invalid input.
Each curve is an occt curve object (GC-managed via tg:finalize).
-
EXTERNAL FUNCTION INTERSECT-SURFACES
- SURFACE1
- SURFACE2
Compute intersection curves between two surfaces.
surface1 surface2 -- surface objects to intersect
Returns: a list of intersection curves. Returns
nilif inputs are null or no intersections exist.Example:
(let ((s1 (make-plane 0 0 0 1 0 0)) (s2 (make-plane 0 0 0 0 1 0))) (intersect-surfaces s1 s2)) => list of intersection curves (one straight line)See also:
intersect-curves,intersect-curve-surface -
EXTERNAL FUNCTION INVALIDATE-VIEW
- VIEW
Invalidates the view, forcing a redraw on the next frame.
Example: (with-viewer (v) (invalidate-view v))
-
EXTERNAL FUNCTION INVERT-LOCATION
- LOC
Return the inverse of a location transformation.
Returns nil if loc is nil.
See also:
make-location,compose-locations -
EXTERNAL FUNCTION LINE-THROUGH-TWO-POINTS
- P1
- P2
Compute a 2D line passing through two points. Each point is (x y). Returns (point-x point-y dir-x dir-y) or nil.
-
EXTERNAL FUNCTION LIST-AVAILABLE-FONTS
List all fonts available in the system font database.
Returns a list of font name strings, or
nilif no fonts are found or the font database is unavailable.Example:
(list-available-fonts)See also:
font-info,make-brep-font-from-name -
EXTERNAL FUNCTION LIST-NAMED-COLORS
Returns a list of all available named color keywords.
Example:
(member :red (list-named-colors)) => (:RED ...) -
EXTERNAL FUNCTION LOCAL-EXTRUDE
- FACE
- HEIGHT
- &KEY
- DIRECTION
Extrude a
faceby a givenheightas a local operation.- direction currently ignored (the face normal is used).
Returns: a new shape, or
niliffaceis null.Example:
(let* ((e1 (make-edge 0 0 10 0)) (e2 (make-edge 10 0 10 10)) (e3 (make-edge 10 10 0 10)) (e4 (make-edge 0 10 0 0)) (face (make-face (make-wire e1 e2 e3 e4)))) (local-extrude face 20))See also:
make-prism-feature -
EXTERNAL FUNCTION LOFT-SECTIONS
- WIRES
- &KEY
- SOLID
- RULED
- SMOOTH
- INITIAL-TANGENT
- FINAL-TANGENT
Create a surface or solid through a sequence of wire sections.
- wires Sequence of wire sections; at least two are required.
- solid When
t(default), the result is a solid; otherwise it is a face/shell. - ruled Forces a ruled surface.
- smooth Requests a smooth (approximated) surface.
- initial-tangent Optional 3D direction vector.
- final-tangent Optional 3D direction vector.
Returns: a new shape, or
nilif fewer than 2 wires provided.Example:
(let* ((w1 (make-wire (make-circle-edge 0 0 5))) (w2 (make-wire (make-circle-edge 0 0 10)))) (loft-sections (list w1 w2) :solid t))See also:
sweep-sections,fill-face -
EXTERNAL FUNCTION MAKE-AIS-AXIS
- ORIGIN
- DIRECTION
Creates an AIS axis overlay from origin point and direction.
Both are 3-element coordinate lists.
Example: (make-ais-axis '(0 0 0) '(1 0 0))
-
EXTERNAL FUNCTION MAKE-AIS-CIRCLE
- CENTER
- NORMAL
- RADIUS
Creates an AIS circle overlay at center with given normal and radius.
center and normal are 3-element coordinate lists.
Example: (make-ais-circle '(0 0 0) '(0 0 1) 50.0)
-
EXTERNAL FUNCTION MAKE-AIS-LINE
- POINT1
- POINT2
Creates an AIS line segment between two 3D points.
Each is a 3-element coordinate list.
Example: (make-ais-line '(0 0 0) '(100 0 0))
-
EXTERNAL FUNCTION MAKE-AIS-PLANE
- POSITION
- NORMAL
- &KEY
- SIZE
Creates an AIS plane overlay at position with given normal.
position and normal are 3-element coordinate lists.
Example: (make-ais-plane '(0 0 0) '(0 0 1) :size 200)
-
EXTERNAL FUNCTION MAKE-AIS-TEXT-LABEL
- TEXT
- &KEY
- POSITION
- COLOR
- FONT
- HEIGHT
Create an AIS interactive text label for display in the viewer.
Returns a text label object, or
nilif creation fails. position is a 3-element list (X Y Z). color is an RGB list (R G B) with components in [0, 1]. font is a BREP font object; height is the text height in mm (default 12).The label is finalized with
ais-free-text-labelwhen garbage collected.Example:
(let ((label (make-ais-text-label "Hello" :position '(0 0 0) :color '(1 0 0)))) (ais-display label))See also:
ais-free-text-label,(setf ais-text-label-text),(setf ais-text-label-position),(setf ais-text-label-color) -
EXTERNAL FUNCTION MAKE-AIS-TRIANGULATION
- VERTICES
- TRIANGLES
- &KEY
- COLORS
Creates a colored mesh from vertex and triangle index arrays.
vertices is a list of (x y z) triples. triangles is a list of (i0 i1 i2) 0-based index triples. colors when provided is a list of (r g b) triples, one per vertex.
Returns an
ais-objector nil.Example: (make-ais-triangulation '((0 0 0) (1 0 0) (0 1 0) (0 0 1)) '((0 1 2) (0 2 3)))
-
EXTERNAL FUNCTION MAKE-ANIMATION
- NAME
Create an AIS_Animation with the given name (string).
Returns an
ais-animationobject, or nil on failure.See also:
ais-animation-free,ais-animation-start,add-animation -
EXTERNAL FUNCTION MAKE-ANIMATION-AXIS-ROTATION
- NAME
- CTX
- AIS-OBJ
- ORIGIN
- DIRECTION
- &KEY
- ANGLE-START
- ANGLE-END
Create an axis rotation animation for an AIS object.
- name animation name (string)
- ctx AIS context
- ais-obj the AIS object to animate
- origin (ox oy oz) origin of rotation axis
- direction (dx dy dz) direction of rotation axis
- angle-start start angle in degrees (default 0.0)
- angle-end end angle in degrees (default 360.0)
Returns an
ais-animation-axis-rotation, or nil on failure.See also:
make-animation,add-animation -
EXTERNAL FUNCTION MAKE-ANIMATION-CAMERA
- NAME
- VIEW
- START-CAM
- END-CAM
Create a camera animation from start-cam to end-cam in the given view.
- name animation name (string)
- view a viewer view
- start-cam starting camera
- end-cam ending camera
Returns an
ais-animation-camera, or nil on failure.See also:
make-animation,add-animation -
EXTERNAL FUNCTION MAKE-ANIMATION-OBJECT
- NAME
- CTX
- AIS-OBJ
- &KEY
- TRANSLATION
- ROTATION-ANGLE
- ROTATION-AXIS
Create an animation object that moves an AIS object over time.
- name animation name (string)
- ctx AIS context
- ais-obj the AIS object to animate
- translation (tx ty tz) translation vector (default (0 0 0))
- rotation-angle rotation angle in degrees
- rotation-axis (rx ry rz) rotation axis (default (0 0 1))
Returns an
ais-animation-object, or nil on failure.See also:
make-animation,add-animation -
EXTERNAL FUNCTION MAKE-ASPECT-FILL-AREA
- &KEY
- INTERIOR-STYLE
- COLOR
- EDGE-COLOR
- EDGE-LINE-TYPE
- EDGE-WIDTH
Create a Graphic3d_AspectFillArea3d object for controlling fill area display.
- interior-style keyword (:empty, :hollow, :solid, :hatch, default :solid)
- color (r g b) list for interior color (default (0.5 0.5 0.5))
- edge-color (r g b) list for edge color (default (0 0 0))
- edge-line-type keyword for edge lines (:solid, :dash, :dot, :dot-dash)
- edge-width line width for edges (default 1.0)
See also:
aspect-fill-area-p,free-aspect-fill-area -
EXTERNAL FUNCTION MAKE-ASPECT-LINE
- &KEY
- COLOR
- TYPE
- WIDTH
Create a Graphic3d_AspectLine3d object for controlling line display.
- color (r g b) list (default (0 0 0))
- type line type keyword (:solid, :dash, :dot, :dot-dash, default :solid)
- width line width (default 1.0)
See also:
aspect-line-p,free-aspect-line -
EXTERNAL FUNCTION MAKE-ASPECT-MARKER
- &KEY
- COLOR
- TYPE
- SCALE
Create a Graphic3d_AspectMarker3d object for controlling marker display.
- color (r g b) list (default (0 0 0))
- type marker type keyword (:point, :plus, :star, :o, :x, :ball, :ring, default :ball)
- scale marker scale factor (default 1.0)
See also:
aspect-marker-p,free-aspect-marker -
EXTERNAL FUNCTION MAKE-ASPECT-TEXT
- &KEY
- COLOR
- FONT
- STYLE
Create a Graphic3d_AspectText3d object for controlling text display.
- color (r g b) list (default (0 0 0))
- font font name string (default "Courier")
- style text style keyword (:normal, :bold, :italic, :bold-italic, default :normal)
See also:
aspect-text-p,free-aspect-text -
EXTERNAL FUNCTION MAKE-ASSEMBLY
- &KEY
- NAME
- CHILDREN
Create a branch-level assembly node with optional children.
children is a list of assembly instances (parts or sub-assemblies). name is an optional string identifier. The resulting node has no shape of its own — it groups its children.
Example:
(let* ((part (make-part (make-box 10 20 30) :name "leaf")) (sub (make-assembly :name "group" :children (list part)))) (make-assembly :name "root" :children (list sub)))See also:
make-part,assembly-leaf-p,assembly-branch-p -
EXTERNAL FUNCTION MAKE-BEZIER-CURVE
- POINTS
Create a Bezier curve through the given list of 3D control
points.Each point is a list of three doubles (x y z). The curve passes through the first and last points and is shaped by the intermediate control points.
Example:
(make-bezier-curve '((0 0 0) (5 10 0) (10 0 0)))See also:
make-bspline-curve,convert-curve-to-bspline -
EXTERNAL FUNCTION MAKE-BEZIER-SURFACE
- POLES
- NUM-U
- NUM-V
Create a Bezier surface with
num-uxnum-vcontrolpoles.polesis a flat list of (x y z) control points, ordered by U then V. Each point is a list of three doubles. The total must equalnum-u*num-v.Example:
(make-bezier-surface '((0 0 0) (10 0 0) (0 10 0) (10 10 0)) 2 2)See also:
make-bspline-surface -
EXTERNAL FUNCTION MAKE-BLEND
- FACE1
- FACE2
- TYPE
- RADIUS-LAW
Create a blend between two faces with a specified
typeand radius law.- type one of
:constantor:evolving - radius-law a numeric radius for
:constantblends
Returns: a new shape, or
nilif either face is null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (when (>= (length faces) 2) (make-blend (first faces) (second faces) :constant 2.0)))See also:
blend-faces,fill-face -
EXTERNAL FUNCTION MAKE-BOX
- DX
- DY
- DZ
Create a box (rectangular parallelepiped) with the given dimensions.
- dx width along X axis (positive double-float)
- dy depth along Y axis (positive double-float)
- dz height along Z axis (positive double-float)
Example:
(make-box 10 20 30) -
EXTERNAL FUNCTION MAKE-BREP-FONT-FROM-FILE
- PATH
- SIZE
- &OPTIONAL
- FACE-ID
Load a TrueType or OpenType font from a file path.
Returns a BREP font object for use with text shaping functions, or
nilif the font could not be loaded. size specifies the nominal font size in mm. face-id selects a specific font face from font collections (e.g., .ttc files).Example:
(let ((font (make-brep-font-from-file "/usr/share/fonts/truetype/arial.ttf" 10))) (when font (make-text-shape font "Hello")))See also:
make-brep-font-from-name,make-text-shape,make-text-shape-3d -
EXTERNAL FUNCTION MAKE-BREP-FONT-FROM-NAME
- NAME
- SIZE
- &KEY
- ASPECT
Load a font by its system name.
Looks up the font named name in the system font database and returns a BREP font object, or
nilif the font is not found. size is the nominal size in mm. aspect selects the font variant::regular,:bold,:italic, or:bold-italic.Example:
(let ((font (make-brep-font-from-name "Arial" 10 :aspect :bold))) (when font (make-text-shape font "Hello")))See also:
make-brep-font-from-file,make-text-shape,list-available-fonts -
EXTERNAL FUNCTION MAKE-BSDF
Create a
Graphic3d_BSDFwith default values. Returns absdfinstance or nil.Example: (make-bsdf)
-
EXTERNAL FUNCTION MAKE-BSPLINE-CURVE
- POLES
- KNOTS
- MULTS
- DEGREE
Create a B-spline curve from
poles,knots,mults, anddegree.- poles list of (x y z) control points
- knots list of knot values
- mults list of knot multiplicities (same length as
knots) - degree polynomial degree of the spline
Example:
(make-bspline-curve '((0 0 0) (5 10 0) (10 0 0)) '(0 1) '(2 2) 2)See also:
make-bezier-curve,convert-curve-to-bspline -
EXTERNAL FUNCTION MAKE-BSPLINE-SURFACE
- POLES
- NUM-U-POLES
- NUM-V-POLES
- UKNOTS
- UMULTS
- VKNOTS
- VMULTS
- UDEG
- VDEG
Create a B-spline surface with control
poles, knots, and degrees.- num-u-poles, num-v-poles number of control poles in each direction
- poles flat list of (x y z) poles ordered by U then V
- uknots, vknots knot value lists for U and V directions
- umults, vmults knot multiplicity lists for U and V directions
- udeg, vdeg polynomial degree in U and V directions
Example:
(make-bspline-surface '((0 0 0) (10 0 5) (20 0 0) (0 10 0) (10 10 5) (20 10 0)) 3 2 '(0 1) '(2 2) '(0 1) '(2 2) 1 1)See also:
make-bezier-surface,convert-surface-to-bspline -
EXTERNAL FUNCTION MAKE-CIRCLE-3D
- X
- Y
- Z
- RADIUS
Create a circle centered at (
x,y,z) with the givenradius.The circle lies in the XY plane (normal along Z).
Example:
(make-circle-3d 0 0 0 5)See also:
make-ellipse,make-gc-arc-of-circle -
EXTERNAL FUNCTION MAKE-CIRCLE-EDGE
- X
- Y
- RADIUS
Create a 2D circle edge centered at (
x,y) with the givenradius.Returns: an edge shape representing a full circle in the XY plane.
Example:
(make-circle-edge 0 0 5) -
EXTERNAL FUNCTION MAKE-CIRCLE2D
- X
- Y
- RADIUS
Create a 2D circle centered at (
x,y) with the givenradius.Example:
(make-circle2d 0 0 5)See also:
make-line2d -
EXTERNAL FUNCTION MAKE-CIRCULAR-ARC
- X1
- Y1
- X2
- Y2
- X3
- Y3
Create a 2D circular arc through three points.
The arc passes from (
x1,y1) through (x2,y2) to (x3,y3).Example:
(make-circular-arc 0 0 5 5 10 0) -
EXTERNAL FUNCTION MAKE-CLIP-PLANE
- &KEY
- EQUATION
Create a Graphic3d_ClipPlane with the given clipping plane equation.
equation is (a b c d) representing the plane ax + by + cz + d = 0. Points with positive distance to the plane are clipped.
Example:
(make-clip-plane :equation '(0 0 1 -5)) ; clip below z=5See also:
clip-plane-p,free-clip-plane,set-clip-plane-equation -
EXTERNAL FUNCTION MAKE-COLOR
- &KEY
- KEYWORD
- RGB
- HLS
Creates a
viewer-colorfrom a keyword name, RGB triple, or HLS triple.Exactly one of
:keyword,:rgb, or:hlsmust be supplied.Example:
(make-color :keyword :red) (make-color :rgb '(0.5 0.5 0.5)) (make-color :hls '(0.0 0.5 1.0)) -
EXTERNAL FUNCTION MAKE-COLOR-SCALE
Creates a color scale legend bar widget.
Returns an
ais-objector nil. Note that the color scale requires explicit size viaset-color-scale-sizebefore display.Example: (let ((cs (make-color-scale))) (set-color-scale-range cs 0.0 100.0) (set-color-scale-size cs 50 200) (set-color-scale-title cs "Temperature") (ais-display ctx cs))
-
EXTERNAL FUNCTION MAKE-COLORED-SHAPE
- SHAPE
Creates an AIS colored shape with per-subshape color support.
shape is a shape object. Returns an
ais-objector nil.Example: (let ((cs (make-colored-shape (make-box 10 20 30)))) (ais-display ctx cs))
-
EXTERNAL FUNCTION MAKE-COMPOUND
- SHAPES
Group a list of
shapesinto a compound shape.Compounds are lightweight containers that group shapes without performing any boolean operation.
nilvalues in the list are filtered out silently.Example:
(def box (make-box 10 10 10)) (def sph (make-sphere 8)) (make-compound (list box sph)) -
EXTERNAL FUNCTION MAKE-CONE
- R1
- R2
- HEIGHT
Create a cone (or frustum) with bottom radius R1 and top radius R2.
- r1 radius at z=0 (positive double-float)
- r2 radius at z=
height(positive double-float, zero for a pointed cone) - height height along the Z axis
Example:
(make-cone 10 5 30) -
EXTERNAL FUNCTION MAKE-CONICAL-SURFACE
- X
- Y
- Z
- DX
- DY
- DZ
- RADIUS
- SEMI-ANGLE
Create a conical surface through (
x,y,z) with axis (dx,dy,dz), baseradiusandsemi-angle(in degrees).Example:
(make-conical-surface 0 0 0 0 0 1 5 30)See also:
make-cylindrical-surface,make-spherical-surface -
EXTERNAL FUNCTION MAKE-CONNECTED
- SHAPES
Connect a set of shapes along common faces to form a watertight result. - shapes a list of shapes to connect. Returns a connected shape, or nil if shapes is empty.
-
EXTERNAL FUNCTION MAKE-CONNECTED-INTERACTIVE
- SOURCE
Creates a connected interactive object that shares geometry from source (an ais-object).
Returns an
ais-objector nil.Example: (let ((copy (make-connected-interactive original))) (ais-display ctx copy))
-
EXTERNAL FUNCTION MAKE-CYLINDER
- RADIUS
- HEIGHT
Create a cylinder with the given
radiusandheight.The cylinder is centered on the Z axis, extending from z=0 to z=
height.Example:
(make-cylinder 5 20) -
EXTERNAL FUNCTION MAKE-CYLINDRICAL-HOLE
- SHAPE
- FACE
- RADIUS
- DEPTH
- &KEY
- THROUGH
Create a cylindrical hole in
shapeon a givenface.- radius and depth define the hole geometry.
- :through when
t, the hole passes completely through the shape.
Returns: a new shape, or
nilifshapeorfaceis null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (when faces (make-cylindrical-hole box (first faces) 5 0 :through t)))See also:
make-prism-feature,make-revol-feature,make-groove -
EXTERNAL FUNCTION MAKE-CYLINDRICAL-SURFACE
- X
- Y
- Z
- DX
- DY
- DZ
- RADIUS
Create a cylindrical surface through (
x,y,z) with axis (dx,dy,dz) andradius.Example:
(make-cylindrical-surface 0 0 0 0 0 1 5)See also:
make-conical-surface,make-spherical-surface -
EXTERNAL FUNCTION MAKE-DIMENSION
- TYPE
- &KEY
- FROM
- TO
- VERTEX
- POINT1
- POINT2
- SHAPE
- EDGE
- EDGE1
- EDGE2
Creates a dimension AIS object of the given type.
type is
:length,:angle,:diameter, or:radius. For:lengthprovide from/to or edge. For:angleprovide vertex/point1/point2 or edge1/edge2. For:diameteror:radiusprovide shape.Returns the dimension object on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (dim (make-dimension :length :from '(0 0 0) :to '(10 0 0)))) (ais-display ctx dim)) -
EXTERNAL FUNCTION MAKE-DIR2D
- X
- Y
Create a 2D unit direction vector from components (
x,y).The vector is normalized to unit length.
Example:
(make-dir2d 1 0)See also:
make-vec2d,make-pnt2d -
EXTERNAL FUNCTION MAKE-DRAFTED-PRISM
- SHAPE
- FACE
- PROFILE
- HEIGHT
- ANGLE
- OPERATION
Create a drafted prism by extruding a profile along a face of shape.
- shape the base shape
- face the face to draft from
- profile the profile wire to extrude
- height extrusion height (positive double-float)
- angle draft angle in degrees
- operation boolean operation type keyword
Returns a new shape, or nil on invalid input.
See also:
make-prism,draft-face -
EXTERNAL FUNCTION MAKE-EDGE
- X1
- Y1
- X2
- Y2
Create a 2D line edge from (
x1,y1) to (x2,y2).Returns: an edge shape representing a straight line segment in the XY plane between the two given points.
Example:
(make-edge 0 0 10 10) -
EXTERNAL FUNCTION MAKE-EDGE-3D
- X1
- Y1
- Z1
- X2
- Y2
- Z2
Create a 3D line edge from (
x1,y1,z1) to (x2,y2,z2).Returns: an edge shape representing a straight line segment in 3D space between the two given points.
Example:
(make-edge-3d 0 0 0 10 10 10) -
EXTERNAL FUNCTION MAKE-EDGE-FILTER
Create an edge filter (StdSelect_EdgeFilter) that restricts selection to edges only.
-
EXTERNAL FUNCTION MAKE-ELLIPSE
- X
- Y
- Z
- MAJOR-R
- MINOR-R
Create an ellipse centered at (
x,y,z) with the given radii.- major-r semi-major axis length
- minor-r semi-minor axis length
The ellipse lies in the XY plane with the major axis along X.
Example:
(make-ellipse 0 0 0 10 5)See also:
make-circle-3d -
EXTERNAL FUNCTION MAKE-EVOLVED
- PROFILE
- SPINE
- &KEY
- OFFSET
- JOIN
Create an evolved solid by sweeping a
profilealong a closedspine.- offset an optional offset from the spine.
- join one of
:arc,:tangent, or:intersection— it controls how pipe sections are joined.
Returns: a new shape, or
nilifprofileorspineis null.Example:
(let* ((circ (make-circle-edge 0 0 5)) (profile (make-wire circ)) (spine (make-wire (make-edge-3d 0 0 0 20 0 0) (make-edge-3d 20 0 0 20 20 0) (make-edge-3d 20 20 0 0 20 0) (make-edge-3d 0 20 0 0 0 0)))) (make-evolved profile spine :offset 2.0))See also:
draft-face,sweep-profile -
EXTERNAL FUNCTION MAKE-FACE
- WIRE
-
EXTERNAL FUNCTION MAKE-FACE-FILTER
Create a face filter (StdSelect_FaceFilter) that restricts selection to faces only.
-
EXTERNAL FUNCTION MAKE-FACE-ON-PLANE
- WIRE
- OX
- OY
- OZ
- NX
- NY
- NZ
Create a face from
wireon a plane defined by origin and normal.- ox, oy, oz origin of the plane
- nx, ny, nz normal vector of the plane
Returns: a face shape, or
nilifwireisnil.Example:
(def wire (make-wire (make-circle-edge 0 0 5))) (make-face-on-plane wire 0 0 0 0 0 1)See also:
make-face -
EXTERNAL FUNCTION MAKE-FORMATTED-TEXT
- FONT
- TEXT
- &KEY
- H-ALIGN
- V-ALIGN
- POSITION
- NORMAL
- X-DIRECTION
- LINE-SPACING
Create a formatted multi-line text shape.
Alias for
make-multi-line-textwith the same arguments. Provided for API clarity when the text contains formatting markup.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (make-formatted-text font "Header\n\nBody text" :h-align :center :v-align :center))See also:
make-multi-line-text,make-text-shape -
EXTERNAL FUNCTION MAKE-GC-ARC-OF-CIRCLE
- X1
- Y1
- Z1
- X2
- Y2
- Z2
- X3
- Y3
- Z3
Create a circular arc through three 3D points.
The arc passes from (
x1,y1,z1) through (x2,y2,z2) to (x3,y3,z3). All three points must be distinct and not collinear.Example:
(make-gc-arc-of-circle 0 0 0 5 5 0 10 0 0)See also:
make-gc-line,make-circle-3d -
EXTERNAL FUNCTION MAKE-GC-LINE
- X1
- Y1
- Z1
- X2
- Y2
- Z2
Create a line segment from (
x1,y1,z1) to (x2,y2,z2).This is a two-point constructor (GC = geometric construction). The resulting curve is a trimmed line between the two points.
Example:
(make-gc-line 0 0 0 10 0 0)See also:
make-line-3d,make-gc-arc-of-circle -
EXTERNAL FUNCTION MAKE-GRAPHIC-GROUP
- STRUCTURE
Create a Graphic3d_Group inside the given structure.
Returns a
graphic-groupobject, or nil on failure.See also:
free-graphic-group,graphic-group-p -
EXTERNAL FUNCTION MAKE-GRAPHIC-STRUCTURE
- VIEWER
Create a Graphic3d_Structure in the given viewer.
Returns a
graphic-structureobject, or nil on failure.See also:
free-graphic-structure,graphic-structure-p -
EXTERNAL FUNCTION MAKE-GROOVE
- SHAPE
- FACE
- AXIS
- ANGLE
Create a groove feature rotating a
facearound anaxisby anangle.- axis a 3-element vector (dx dy dz).
- angle in degrees.
Returns: a new shape, or
nilifshape,face, oraxisis null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (when faces (make-groove box (first faces) '(0 0 1) 45)))See also:
make-cylindrical-hole,make-revol-feature -
EXTERNAL FUNCTION MAKE-HELIX-CURVE
- &KEY
- RADIUS
- PITCH
- HEIGHT
- LEFT-HANDED
- ANGLE
Create a helical curve (3D geometric curve, not an edge).
Returns: a curve object suitable for use as a spine in sweeps, or
nilifradiusis zero.Example:
(make-helix-curve :radius 5 :pitch 2 :height 20) (make-helix-curve :radius 5 :pitch 2 :height 20 :left-handed t)See also:
make-helix-edge -
EXTERNAL FUNCTION MAKE-HELIX-EDGE
- &KEY
- RADIUS
- PITCH
- HEIGHT
- LEFT-HANDED
- ANGLE
- ON-SURFACE
Create a helical edge shape.
When
on-surfaceis a surface object, the helix is mapped onto that surface. Returns: an edge shape, ornilifradiusis zero.Example:
(make-helix-edge :radius 5 :pitch 2 :height 20) (make-helix-edge :radius 5 :pitch 2 :height 20 :left-handed t)See also:
make-helix-curve -
EXTERNAL FUNCTION MAKE-HYPERBOLA
- X
- Y
- Z
- MAJOR-R
- MINOR-R
Create a hyperbola centered at (
x,y,z) with the given radii.- major-r transverse axis length
- minor-r conjugate axis length
The hyperbola lies in the XY plane.
Example:
(make-hyperbola 0 0 0 10 5)See also:
make-parabola -
EXTERNAL FUNCTION MAKE-LIGHT
- TYPE
- &KEY
- COLOR
- INTENSITY
- DIRECTION
- POSITION
Creates a
viewer-lightof the given type.type is
:ambient,:directional,:positional, or:spot. color may be any color representation (default white). intensity defaults to 1.0. direction is a (DX DY DZ) list for directional/spot lights. position is an (X Y Z) list for positional/spot lights.Example:
(make-light :ambient :color :warm-gray :intensity 0.3) (make-light :directional :color :white :direction '(0 0 -1)) -
EXTERNAL FUNCTION MAKE-LIGHT-SOURCE
- LIGHT
Creates an interactive light source representation from a
viewer-lightobject.Returns an
ais-objector nil.Example: (let* ((l (make-light :directional :direction '(1 -1 0))) (ls (make-light-source l))) (ais-display ctx ls))
-
EXTERNAL FUNCTION MAKE-LINE-3D
- X
- Y
- Z
- DX
- DY
- DZ
Create a 3D line from point (
x,y,z) in direction (dx,dy,dz).Example:
(make-line-3d 0 0 0 1 0 0)See also:
make-gc-line -
EXTERNAL FUNCTION MAKE-LINE2D
- X
- Y
- DX
- DY
Create a 2D line through point (
x,y) in direction (dx,dy).Example:
(make-line2d 0 0 1 0)See also:
make-circle2d -
EXTERNAL FUNCTION MAKE-LOCATION
- DX
- DY
- DZ
Create a location (transformation) from a translation vector (dx dy dz).
Returns an opaque location handle, or nil on failure.
Example:
(make-location 10 20 30)See also:
compose-locations,invert-location,move-shape -
EXTERNAL FUNCTION MAKE-MANIPULATOR
Creates an interactive manipulator gizmo for transforming shapes.
Returns an
ais-objector nil.Example: (let ((manip (make-manipulator))) (attach-manipulator manip my-shape) (ais-display ctx manip))
-
EXTERNAL FUNCTION MAKE-MATERIAL
- &KEY
- AMBIENT
- DIFFUSE
- SPECULAR
- SHININESS
- TRANSPARENCY
Creates a
materialwith the given component colors and properties.ambient, diffuse, and specular are (R G B) triples. shininess and transparency are in [0, 1].
Example:
(make-material :ambient '(0.1 0.1 0.1) :diffuse '(0.9 0.5 0.2) :shininess 0.8) -
EXTERNAL FUNCTION MAKE-MESHVS-MESH
- VERTICES
- TRIANGLES
- &KEY
- COLORS
Create a MeshVS mesh from vertices (list of
(x y z)triples) and triangles (list of(i0 i1 i2)0-based index triples).Optional colors is a list of
(r g b)triples, one per vertex.Returns a
meshvs-meshinstance, or nil on invalid input.Example:
(make-meshvs-mesh '((0 0 0) (10 0 0) (10 10 0)) '((0 1 2)))See also:
meshvs-display,meshvs-free -
EXTERNAL FUNCTION MAKE-MULTI-LINE-TEXT
- FONT
- TEXT
- &KEY
- H-ALIGN
- V-ALIGN
- POSITION
- NORMAL
- X-DIRECTION
- LINE-SPACING
Create a multi-line text shape by splitting text on newlines.
Each line is rendered as a separate shape and arranged vertically with line-spacing between baselines (defaulting to the font's recommended line spacing). x-direction is forwarded to
make-text-shapefor each line. Returns a compound shape, a single shape for one-line text, ornilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (make-multi-line-text font "Line 1\nLine 2\nLine 3" :h-align :center))See also:
make-formatted-text,make-text-shape,make-compound -
EXTERNAL FUNCTION MAKE-MULTIPLE-CONNECTED
Creates a multiple-connected interactive object that composites one or more source AIS objects.
Returns an
ais-objector nil.Example: (let ((mc (make-multiple-connected))) (connect-to-multiple mc obj1) (connect-to-multiple mc obj2) (ais-display ctx mc))
-
EXTERNAL FUNCTION MAKE-OCAF-DOC
Create a new OCAF document.
Returns an
ocaf-docobject, or nil on failure.See also:
ocaf-free-doc,ocaf-root-label -
EXTERNAL FUNCTION MAKE-PARABOLA
- X
- Y
- Z
- FOCAL
Create a parabola at (
x,y,z) with the givenfocalparameter.The parabola opens along the positive X axis in the XY plane.
Example:
(make-parabola 0 0 0 5)See also:
make-hyperbola -
EXTERNAL FUNCTION MAKE-PART
- SHAPE
- &KEY
- NAME
- COLOR
- LOCATION
Create a leaf-level assembly part from a shape.
name is an optional string identifier. color is a list of the form (
typergba) wheretypeis:generic,:surf, or:curv. location is an optional 16-element transformation matrix. Returns an assembly instance.Example:
(make-part (make-box 10 20 30) :name "box" :color '(:generic 1.0 0.0 0.0 1.0))See also:
make-assembly,assembly-leaf-p,assembly-branch-p -
EXTERNAL FUNCTION MAKE-PBR-MATERIAL
Create a
Graphic3d_PBRMaterialwith default values. Returns apbr-materialinstance or nil.Example: (make-pbr-material)
-
EXTERNAL FUNCTION MAKE-PERIODIC
- SHAPE
- DX
- DY
- DZ
Make a shape periodic along the specified direction. - dx dy dz direction vector (the dominant axis determines periodicity). Returns a periodic shape, or nil if shape is null or cannot be made periodic.
-
EXTERNAL FUNCTION MAKE-PIPE-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- PATH
- &KEY
- OPERATION
Create a pipe feature (cut or add) along a
pathon a face.- operation
:cut(default, depression) or:add(protrusion)
Returns a new shape, or
nilif any required argument is null.Example:
(let* ((box (make-box 50 50 50)) (faces (map-shape-subshapes box :face)) (profile (let ((w (make-wire (make-edge -3 -3 3 -3) (make-edge 3 -3 3 3) (make-edge 3 3 -3 3) (make-edge -3 3 -3 -3)))) w)) (path (make-wire (make-edge-3d 0 0 0 0 0 20)))) (when faces (make-pipe-feature box (first faces) profile path :operation :cut)))See also:
make-prism-feature,make-revol-feature -
EXTERNAL FUNCTION MAKE-PLANE
- X
- Y
- Z
- NX
- NY
- NZ
Create a plane through point (
x,y,z) with normal (nx,ny,nz).Example:
(make-plane 0 0 0 0 0 1)See also:
make-cylindrical-surface,make-spherical-surface -
EXTERNAL FUNCTION MAKE-PNT2D
- X
- Y
-
EXTERNAL FUNCTION MAKE-POINT-CLOUD
- VERTICES
Creates a point cloud from a list of (x y z) coordinate triples.
Returns an
ais-objector nil.Example: (make-point-cloud '((0 0 0) (1 0 0) (0 1 0) (0 0 1)))
-
EXTERNAL FUNCTION MAKE-POLYGON
- POINTS
- &KEY
- CLOSED
Create a polygonal wire from a list of 3D
points.- points list of (
x,y,z) coordinate triples (at least 2) - closed if
t(default), the polygon is closed back to the first point
Returns: a wire shape, or
nilif less than 2 points are provided.Example:
(make-polygon '((0 0 0) (10 0 0) (10 10 0) (0 10 0))) (make-polygon '((0 0 0) (10 0 0) (10 10 0)) :closed nil) -
EXTERNAL FUNCTION MAKE-PRISM
- SHAPE
- DX
- DY
- DZ
Extrude (prism) a
shapeby the given vector (dx dy dz).- shape a shape object to extrude
- dx translation magnitude along X
- dy translation magnitude along Y
- dz translation magnitude along Z
Example:
(let ((face (make-face (make-wire (make-circle-edge 0 0 5))))) (make-prism face 0 0 20)) -
EXTERNAL FUNCTION MAKE-PRISM-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- HEIGHT
- &KEY
- OPERATION
- DIRECTION
Create a prismatic feature (depression or protrusion) on a shape.
- operation is
:cut(default, depression) or:add(protrusion). - direction is an optional 3-element vector (default
(0 0 1)).
Returns: a new shape, or
nilifshape,base-face, orprofileis null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face)) (profile (make-wire (make-edge -5 -5 5 -5) (make-edge 5 -5 5 5) (make-edge 5 5 -5 5) (make-edge -5 5 -5 -5)))) (when faces (make-prism-feature box (first faces) profile 10 :operation :cut)))See also:
make-revol-feature,make-pipe-feature -
EXTERNAL FUNCTION MAKE-PRS3D-ARROW
- START
- END
- &KEY
- SHAFT-RADIUS
- CONE-LENGTH
- CONE-RADIUS
- N-FACETS
Generate an arrow triangulation (shaft + cone head). start and end are (x y z) points. Returns a
prs3d-triangulationor nil on invalid parameters. -
EXTERNAL FUNCTION MAKE-PRS3D-BNDBOX
- MIN-CORNER
- MAX-CORNER
Generate a bounding box display (line segments) from corner points. min-corner and max-corner are (x y z) lists. Returns a
prs3d-segmentsor nil. -
EXTERNAL FUNCTION MAKE-PRS3D-CYLINDER-MESH
- RADIUS
- HEIGHT
- &KEY
- N-SLICES
- N-STACKS
Generate a triangulated cylinder mesh via Prs3d_ToolCylinder. Returns a
prs3d-triangulationor nil on invalid parameters. -
EXTERNAL FUNCTION MAKE-PRS3D-DISK-MESH
- INNER-RADIUS
- OUTER-RADIUS
- &KEY
- N-SLICES
- N-STACKS
Generate a triangulated disk or annular mesh via Prs3d_ToolDisk. Returns a
prs3d-triangulationor nil on invalid parameters. inner-radius=0 creates a filled disk; inner-radius>0 creates an annulus. -
EXTERNAL FUNCTION MAKE-PRS3D-SPHERE-MESH
- RADIUS
- &KEY
- N-SLICES
- N-STACKS
Generate a triangulated sphere mesh via Prs3d_ToolSphere. Returns a
prs3d-triangulationor nil on invalid parameters. -
EXTERNAL FUNCTION MAKE-PRS3D-TORUS-MESH
- MAJOR-RADIUS
- MINOR-RADIUS
- &KEY
- N-SLICES
- N-STACKS
Generate a triangulated torus mesh via Prs3d_ToolTorus. Returns a
prs3d-triangulationor nil on invalid parameters. -
EXTERNAL FUNCTION MAKE-REVOL
- SHAPE
- AX
- AY
- AZ
- ANGLE-DEG
Revolve (rotate extrude) a
shapearound the axis (ax ay az) byangle-deg.- shape a shape object to revolve
- ax X component of the axis vector
- ay Y component of the axis vector
- az Z component of the axis vector
- angle-deg angle of revolution in degrees
Example:
(let ((profile (make-face (make-wire (make-edge 10 0 30 0) (make-edge 30 0 30 5) (make-edge 30 5 10 5) (make-edge 10 5 10 0))))) (make-revol profile 0 1 0 270)) -
EXTERNAL FUNCTION MAKE-REVOL-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- AXIS
- ANGLE
- &KEY
- OPERATION
Create a revolved feature (depression or protrusion) on a shape.
- axis is a 3-element vector (dx dy dz).
- angle is in degrees.
- operation is
:cut(default, depression) or:add(protrusion).
Returns: a new shape, or
nilif any required argument is null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face)) (profile (make-wire (make-edge -5 0 5 0) (make-edge 5 0 5 5) (make-edge 5 5 -5 5) (make-edge -5 5 -5 0)))) (when faces (make-revol-feature box (first faces) profile '(0 0 1) 90 :operation :cut)))See also:
make-prism-feature,make-pipe-feature -
EXTERNAL FUNCTION MAKE-RIB
- SHAPE
- PROFILE
- THICKNESS
- &KEY
- DIRECTION
Create a rib feature on a
shapefrom aprofilewith a giventhickness.- direction a 3-element vector (dx dy dz) for the rib direction.
Returns: a new shape, or
nilifshapeorprofileis null.Example:
(let* ((box (make-box 30 20 10)) (profile (make-wire (make-edge 0 -5 0 0 5 0)))) (make-rib box profile 2.0 :direction '(0 1 0)))See also:
make-prism-feature,local-extrude -
EXTERNAL FUNCTION MAKE-SHADER-PROGRAM
Create a Graphic3d_ShaderProgram for custom vertex/fragment shaders.
Returns a
shader-programobject, or nil on failure.See also:
set-shader-vertex-source,set-shader-fragment-source -
EXTERNAL FUNCTION MAKE-SHAPE-TYPE-FILTER
- TYPE
Create a shape type filter (StdSelect_ShapeTypeFilter) for the given shape type (:edge, :face, :wire, :vertex, :shell, :solid).
-
EXTERNAL FUNCTION MAKE-SPHERE
- RADIUS
-
EXTERNAL FUNCTION MAKE-SPHERICAL-SURFACE
- X
- Y
- Z
- RADIUS
Create a sphere centered at (
x,y,z) with the givenradius.Example:
(make-spherical-surface 0 0 0 10)See also:
make-toroidal-surface,make-cylindrical-surface -
EXTERNAL FUNCTION MAKE-TEXT-LABEL
- CTX
- TEXT
- POSITION
- &KEY
- COLOR
- FONT
- HEIGHT
- ANGLE
Creates a text label AIS object and displays it in ctx.
text is the string to display. position is an (X Y Z) list. color, font, height, and angle control appearance.
Returns the label on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (label (make-text-label ctx "Hello" '(0 0 0) :color :white :font "Arial" :height 16.0))) -
EXTERNAL FUNCTION MAKE-TEXT-SHAPE
- FONT
- TEXT
- &KEY
- H-ALIGN
- V-ALIGN
- POSITION
- NORMAL
- X-DIRECTION
Create a flat 2D text shape from font and text string.
Returns a shape containing the outline of the rendered text. h-align controls horizontal alignment (
:left,:center,:right). v-align controls vertical alignment (:bottom,:center,:top,:top-first-line). position is a 3-element list (X Y Z); normal is a 3-element list specifying the plane normal. x-direction is an optional 3-element list specifying the text baseline ("rightward") direction on the plane; when omitted (nil), OCCT auto-computes the X direction from the normal. Returnsnilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (make-text-shape font "Hello" :h-align :center :position '(0 0 0)))See also:
make-text-shape-3d,make-text-shape-on-plane,make-brep-font-from-name -
EXTERNAL FUNCTION MAKE-TEXT-SHAPE-3D
- FONT
- TEXT
- DEPTH
- &KEY
- H-ALIGN
- V-ALIGN
- POSITION
- NORMAL
- X-DIRECTION
Create an extruded 3D text shape from font and text.
Extrudes the flat text outline by depth to create a solid. When
:normalis provided, extrusion follows the plane normal; otherwise extrusion is along Z. Returnsnilif font is null or depth is not positive. All keyword arguments (including:x-direction) are forwarded tomake-text-shape.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (make-text-shape-3d font "Hello" 5 :h-align :center))See also:
make-text-shape,make-text-shape-on-plane,make-prism -
EXTERNAL FUNCTION MAKE-TEXT-SHAPE-ON-PLANE
- FONT
- TEXT
- &KEY
- H-ALIGN
- V-ALIGN
- POSITION
- NORMAL
- X-DIRECTION
Create a flat text shape positioned on a plane.
Convenience wrapper around
make-text-shapethat specifies both position and normal explicitly, defaulting to the XY plane at the origin. x-direction is an optional 3-element list specifying the text baseline direction. Returnsnilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (make-text-shape-on-plane font "Hello" :position '(10 20 0) :normal '(0 0 1)))See also:
make-text-shape,make-text-shape-3d -
EXTERNAL FUNCTION MAKE-TEXTURE-PARAMS
Create a
Graphic3d_TextureParamsobject with default settings. Returns atexture-paramsinstance or nil.Example: (make-texture-params)
-
EXTERNAL FUNCTION MAKE-TEXTURED-SHAPE
- SHAPE
- TEXTURE-FILENAME
Creates a textured shape with an image applied as a texture.
shape is a shape object. texture-filename is a string path.
Returns an
ais-objector nil.Example: (make-textured-shape (make-box 10 20 30) "/path/to/texture.png")
-
EXTERNAL FUNCTION MAKE-TOROIDAL-SURFACE
- X
- Y
- Z
- MAJOR-R
- MINOR-R
Create a torus centered at (
x,y,z) with the given radii.- major-r distance from center to tube center
- minor-r radius of the tube
Example:
(make-toroidal-surface 0 0 0 20 5)See also:
make-spherical-surface -
EXTERNAL FUNCTION MAKE-TORUS
- MAJOR-RADIUS
- MINOR-RADIUS
Create a torus (donut shape) with the given radii.
- major-radius distance from center to tube center (positive double-float)
- minor-radius radius of the tube (positive double-float)
Example:
(make-torus 20 5) -
EXTERNAL FUNCTION MAKE-TRIHEDRON
- &KEY
- ORIGIN
- NORMAL
- X-DIRECTION
Creates a trihedron AIS object.
origin is the position, normal is the Z direction, x-direction defines the X axis. All are 3-element coordinate lists.
Example: (with-viewer (v) (let ((ctx (ais-create-context v)) (tri (make-trihedron))) (ais-display ctx tri)))
-
EXTERNAL FUNCTION MAKE-VEC2D
- X
- Y
Create a 2D vector with components (
x,y).Example:
(make-vec2d 1 0)See also:
make-pnt2d,make-dir2d -
EXTERNAL FUNCTION MAKE-VERTEX
- X
- Y
- Z
-
EXTERNAL FUNCTION MAKE-VIEW-CUBE
Creates a 3D orientation cube widget.
Returns an
ais-objector nil.Example: (let ((vc (make-view-cube))) (ais-display ctx vc))
-
EXTERNAL FUNCTION MAKE-VIEWER
Creates a new viewer with a 3D view.
The viewer is automatically finalized for garbage collection. Uses
with-viewerfor guaranteed cleanup.Example: (let ((v (make-viewer))) (fit-all v) (free-viewer v))
-
EXTERNAL FUNCTION MAKE-VOLUME
- SHAPES
Create solids from enclosed cavities between a set of shapes. - shapes a list of shapes forming cavities. Returns a compound of resulting volumes, or nil if shapes is empty.
-
EXTERNAL FUNCTION MAKE-WEDGE
- DX
- DY
- DZ
- &OPTIONAL
- LTX
- XMIN
- ZMIN
- XMAX
- ZMAX
Create a wedge shape with the given dimensions.
A wedge is a box with one face tapered. With just dx, dy, dz and optional ltx (taper in X at top), creates a full wedge. With xmin, zmin, xmax, zmax creates a wedge with a corner cutout.
- dx width along X
- dy depth along Y
- dz height along Z
- ltx taper length at top (default 0)
Example:
(make-wedge 10 20 30 5) ; tapered wedge (make-wedge 10 20 30 nil 2 0 8 30) ; corner wedgeSee also:
make-box -
EXTERNAL FUNCTION MAKE-WIRE
- &REST
- EDGES
-
EXTERNAL FUNCTION MAKE-XCAF-DOC
Create a new XCAF document for CAD data exchange (STEP with metadata).
Returns an
xcaf-docobject, or nil on failure.See also:
xcaf-free-doc,xcaf-add-shape,xcaf-add-view -
EXTERNAL FUNCTION MAP-SHAPE-SUBSHAPES
- SHAPE
- TYPE
- &KEY
- STOP-AT
Collect all subshapes of
shapematching the giventypekeyword.- type keyword in (
:compound,:compsolid,:solid,:shell,:face,:wire,:edge,:vertex,:shape) - stop-at optional type keyword at which to stop recursion
(default
:shape, meaning recurse to leaves)
Example:
(let ((box (make-box 10 20 30))) (map-shape-subshapes box :face))See also:
count-shape-subshapes,dump-shape -
EXTERNAL FUNCTION MATERIAL-PRESET-LIST
Returns the list of available material preset keyword names.
Example:
(material-preset-list) => (:BRASS :BRONZE :COPPER ...) -
EXTERNAL FUNCTION MESH-GET-NORMALS
- SHAPE
Return a list of per-vertex normal
(nx ny nz)vectors from shape's triangulation.Returns nil if shape has no normals, no triangulation, or is invalid.
Example:
(mesh-get-normals (mesh-shape (make-box 10 20 30)))See also:
mesh-shape,mesh-get-vertices,mesh-get-triangles -
EXTERNAL FUNCTION MESH-GET-TRIANGLE-COUNT
- SHAPE
Return the number of triangles in shape's triangulation.
This is an alias for
shape-triangle-countthat returns nil instead of 0 for unmeshed shapes. Returns nil if shape is invalid.Example:
(mesh-get-triangle-count (mesh-shape (make-box 10 20 30)))See also:
shape-triangle-count,mesh-shape -
EXTERNAL FUNCTION MESH-GET-TRIANGLES
- SHAPE
Return a list of triangle index triples
(i0 i1 i2)from shape's triangulation.Indices are 0-based and reference the vertex list from
mesh-get-vertices.Returns nil if shape has no triangulation or is invalid.
Example:
(mesh-get-triangles (mesh-shape (make-box 10 20 30)))See also:
mesh-shape,mesh-get-vertices,mesh-get-normals -
EXTERNAL FUNCTION MESH-GET-VERTICES
- SHAPE
Return a list of vertex
(x y z)triples from shape's triangulation.Returns nil if shape has no triangulation or is invalid.
Example:
(mesh-get-vertices (mesh-shape (make-box 10 20 30)))See also:
mesh-shape,mesh-get-triangles,mesh-get-normals -
EXTERNAL FUNCTION MESH-SHAPE
- SHAPE
- &KEY
- DEFLECTION
- ANGLE
- RELATIVE
Explicitly triangulate (mesh) a shape using BRepMesh_IncrementalMesh.
deflection controls tessellation quality (smaller = finer mesh). angle controls the angular deviation in radians (default 0.5). relative when non-nil uses relative deflection mode.
Returns the shape for chaining, or nil on invalid input.
Example:
(mesh-shape (make-box 10 20 30) :deflection 0.05 :angle 0.2)See also:
mesh-get-vertices,mesh-get-triangles,write-stl -
EXTERNAL FUNCTION MESH-TRIANGLE-ADJACENT
- SHAPE
- TRI-INDEX
- EDGE-INDEX
Return the index of the triangle adjacent to triangle tri-index across edge-index (0-2).
Returns nil if no adjacent triangle exists (boundary edge), or on invalid input.
Example:
(mesh-triangle-adjacent (mesh-shape (make-box 10 20 30)) 0 0)See also:
mesh-triangle-elements,mesh-shape -
EXTERNAL FUNCTION MESH-TRIANGLE-ELEMENTS
- SHAPE
- TRI-INDEX
Return the three vertex indices of triangle tri-index as multiple values.
Returns nil on invalid input or out-of-range index.
Example:
(multiple-value-bind (i0 i1 i2) (mesh-triangle-elements (mesh-shape (make-box 10 20 30)) 0))See also:
mesh-triangle-adjacent,mesh-shape -
EXTERNAL FUNCTION MESHVS-DISPLAY
- CTX
- MESH
Display a
meshvs-meshinstance in an AIS context.ctx is an ais-context instance. Returns the mesh on success, nil on invalid input.
Example:
(meshvs-display ctx my-mesh)See also:
make-meshvs-mesh,ais-display,meshvs-free -
EXTERNAL FUNCTION MESHVS-FREE
- MESH
Explicitly free a
meshvs-meshinstance's C handle.Returns nil. Safe to call on nil.
Example:
(meshvs-free my-mesh)See also:
make-meshvs-mesh,meshvs-display -
EXTERNAL FUNCTION MOVE-SHAPE
- SHAPE
- LOCATION
Apply a location transformation to shape, returning a new shape.
The original shape is unchanged. Returns nil if either argument is nil.
Example:
(let ((loc (make-location 10 0 0))) (move-shape my-box loc))See also:
shape-location,make-location,compose-locations -
EXTERNAL FUNCTION MSAA
- VIEW
Returns the current MSAA sample count for view.
Example: (with-viewer (v) (set-msaa v 4) (msaa v)) => 4
-
EXTERNAL FUNCTION MUST-BE-RESIZED
- V
Notifies the view that its window size has changed.
Call this when the viewer's window is resized so the projection matrix is recalculated.
Example: (let ((v (make-viewer))) (must-be-resized v) (free-viewer v))
-
EXTERNAL FUNCTION NAMED-COLOR
- NAME
Looks up the (R G B) triple for a named color keyword.
Example:
(named-color :red) => (1.0 0.0 0.0) -
EXTERNAL FUNCTION NAMED-COLOR-EXISTS-P
- NAME
Returns
tif name is a known named color keyword.Example:
(named-color-exists-p :red) => T (named-color-exists-p :nonexistent) => NIL -
EXTERNAL FUNCTION NEWTON-MINIMUM
- FN
- X0
- &KEY
- TOLERANCE
- MAX-ITERATIONS
Find a minimum of a 1D function starting from X0 using NewtonMinimum.
Returns a plist (:converged t :min-x double :min-value double :iterations int) or nil on failure.
-
EXTERNAL FUNCTION NORMAL-PROJECT
- SHAPE
- FACE
-
EXTERNAL FUNCTION NORMALIZE-COLOR
- COLOR
Alias for
color-rgb— returns (R G B) from any color representation.Example:
(normalize-color :red) => (1.0 0.0 0.0) -
EXTERNAL FUNCTION OCAF-ADD-FUNCTION
- LABEL
- DRIVER-GUID
Add a function with driver-guid to an OCAF label. Returns
ton success,nilon failure.See also:
ocaf-set-function-input,ocaf-set-function-output,ocaf-recompute-function -
EXTERNAL FUNCTION OCAF-BEGIN-TRANSACTION
- DOC
- &OPTIONAL
- NAME
Begin a transaction on an OCAF doc with an optional name. Must be paired with
ocaf-commit-transactionorocaf-undo-transaction.See also:
ocaf-commit-transaction,ocaf-undo-transaction -
EXTERNAL FUNCTION OCAF-COMMIT-TRANSACTION
- DOC
Commit the current transaction on an OCAF doc.
See also:
ocaf-begin-transaction,ocaf-undo-transaction -
EXTERNAL FUNCTION OCAF-DOC-P
- OBJ
-
EXTERNAL FUNCTION OCAF-EVOLUTION-CODE
- KEYWORD
Convert an evolution keyword to integer code. Keywords: :primitive, :generated, :modified, :deleted, :selected.
See also:
ocaf-name-shape,ocaf-get-named-shape -
EXTERNAL FUNCTION OCAF-FIND-LABEL
- DOC
- TAGS
- &KEY
- CREATE
Find a label in doc by its tags path (list of integers). When create is non-nil, creates the label if it does not exist. Returns an
ocaf-labelstruct, or nil.Example:
(ocaf-find-label my-doc '(0 1 2)) ; find existing (ocaf-find-label my-doc '(0 5 10) :create t) ; create if missingSee also:
ocaf-root-label,ocaf-label-tag -
EXTERNAL FUNCTION OCAF-FREE-DOC
- DOC
Explicitly free an OCAF document. Returns
ton success. -
EXTERNAL FUNCTION OCAF-FREE-LABEL
- LABEL
Explicitly free an OCAF label. Safe to call on nil.
-
EXTERNAL FUNCTION OCAF-GET-INTEGER
- LABEL
Get the integer attribute value from an OCAF label.
-
EXTERNAL FUNCTION OCAF-GET-NAME
- LABEL
Get the name attribute value from an OCAF label.
-
EXTERNAL FUNCTION OCAF-GET-NAMED-SHAPE
- LABEL
- &OPTIONAL
- EVOLUTION
Get the shape associated with an OCAF label under the given evolution. Returns a shape object, or nil.
See also:
ocaf-name-shape,ocaf-shape-deleted-p -
EXTERNAL FUNCTION OCAF-GET-REAL
- LABEL
Get the real (double-float) attribute value from an OCAF label.
-
EXTERNAL FUNCTION OCAF-GET-STRING
- LABEL
Get the string attribute value from an OCAF label.
-
EXTERNAL FUNCTION OCAF-HAS-INTEGER-P
- LABEL
Returns:
tif label has an integer attribute. -
EXTERNAL FUNCTION OCAF-HAS-REAL-P
- LABEL
Returns:
tif label has a real attribute. -
EXTERNAL FUNCTION OCAF-HAS-STRING-P
- LABEL
Returns:
tif label has a string attribute. -
EXTERNAL FUNCTION OCAF-LABEL-CHILDREN
- LABEL
Get the child labels of an OCAF label. Returns a list of
ocaf-labelstructs, or nil.See also:
ocaf-find-label,ocaf-label-tag -
EXTERNAL FUNCTION OCAF-LABEL-DEPTH
- LABEL
Get the depth of an OCAF label in the label tree.
-
EXTERNAL FUNCTION OCAF-LABEL-P
- OBJECT
No documentation provided. -
EXTERNAL FUNCTION OCAF-LABEL-TAG
- LABEL
Get the integer tag of an OCAF label.
-
EXTERNAL FUNCTION OCAF-NAME-SHAPE
- LABEL
- SHAPE
- EVOLUTION
Associate a shape with an OCAF label under the given evolution keyword.
See also:
ocaf-get-named-shape,ocaf-shape-deleted-p -
EXTERNAL FUNCTION OCAF-RECOMPUTE
- DOC
Recompute all functions in the OCAF doc.
See also:
ocaf-recompute-function -
EXTERNAL FUNCTION OCAF-RECOMPUTE-FUNCTION
- FUNC-LABEL
Recompute the function on func-label. Returns
ton success,nilon failure.See also:
ocaf-recompute,ocaf-add-function -
EXTERNAL FUNCTION OCAF-ROOT-LABEL
- DOC
Get the root label of an OCAF doc. Returns an
ocaf-labelstruct, or nil.See also:
ocaf-find-label,ocaf-label-children -
EXTERNAL FUNCTION OCAF-SET-FUNCTION-INPUT
- FUNC-LABEL
- INPUT-LABEL
Set input-label as an input to the function on func-label. Returns
ton success.See also:
ocaf-set-function-output,ocaf-recompute-function -
EXTERNAL FUNCTION OCAF-SET-FUNCTION-OUTPUT
- FUNC-LABEL
- OUTPUT-LABEL
Set output-label as an output of the function on func-label. Returns
ton success.See also:
ocaf-set-function-input,ocaf-recompute-function -
EXTERNAL FUNCTION OCAF-SET-INTEGER
- LABEL
- VALUE
Set an integer attribute on an OCAF label.
-
EXTERNAL FUNCTION OCAF-SET-NAME
- LABEL
- NAME
Set a name attribute on an OCAF label.
-
EXTERNAL FUNCTION OCAF-SET-REAL
- LABEL
- VALUE
Set a real (double-float) attribute on an OCAF label.
-
EXTERNAL FUNCTION OCAF-SET-STRING
- LABEL
- VALUE
Set a string attribute on an OCAF label.
-
EXTERNAL FUNCTION OCAF-SHAPE-DELETED-P
- LABEL
Returns:
tif the named shape on label has been deleted.See also:
ocaf-get-named-shape -
EXTERNAL FUNCTION OCAF-UNDO-TRANSACTION
- DOC
Undo (roll back) the current transaction on an OCAF doc.
See also:
ocaf-begin-transaction,ocaf-commit-transaction -
EXTERNAL FUNCTION OFFSET-SHAPE
- SHAPE
- OFFSET-DISTANCE
- &KEY
- JOIN
Offset a 3D solid or face by a given distance.
Positive offset-distance offsets outward, negative inward. join is one of
:arc(default),:tangent, or:intersection, controlling how adjacent offset surfaces are joined.Returns: a new shape, or
nilif shape is null.Example:
(offset-shape (make-box 10 10 10) 3.0) (offset-shape (make-box 10 10 10) -2.0 :join :tangent)See also:
offset-wire,shell-shape -
EXTERNAL FUNCTION OFFSET-WIRE
- WIRE
- OFFSET-DISTANCE
Offset a 2D planar wire by a given distance.
Positive offset-distance offsets outward, negative inward.
Returns: a new wire shape, or
nilif wire is null.Example:
(let* ((e1 (make-edge 0 0 10 0)) (e2 (make-edge 10 0 10 10)) (e3 (make-edge 10 10 0 10)) (e4 (make-edge 0 10 0 0)) (wire (make-wire e1 e2 e3 e4))) (offset-wire wire 3.0))See also:
offset-shape -
EXTERNAL FUNCTION OWNER-LOCATION
- OWNER
Return the 4x4 transformation matrix of a brep-owner as
#(16 double-floats), ornilfor identity. -
EXTERNAL FUNCTION OWNER-PRIORITY
- OWNER
Return the selection priority of an entity-owner.
-
EXTERNAL FUNCTION PAN-CAMERA
- VIEW
- DX
- DY
Pans the camera by dx and dy in screen coordinates.
Example: (with-viewer (v) (pan-camera v 10.0 -5.0))
-
EXTERNAL FUNCTION PBR-MATERIAL-P
- OBJ
Returns
tif obj is apbr-materialinstance. -
EXTERNAL FUNCTION PERSPECTIVE-P
- VIEW
-
EXTERNAL FUNCTION POINT-IN-SOLID-P
- POINT
- SHAPE
Test whether a point is inside, outside, or on a solid shape.
point -- 3D point as (
xyz) shape -- a solid shapeReturns:
:inside,:outside,:on, ornilif classification fails.Example:
(let ((b (make-box 10 10 10))) (point-in-solid-p '(5 5 5) b)) => :insideSee also:
classify-point-in-solid -
EXTERNAL FUNCTION POINTS-TO-BSPLINE
- POINTS
- &KEY
- DEGREE
Create a B-spline curve interpolating a list of 3D points.
points -- list of 3D points, each as (
xyz) degree -- polynomial degree of the B-spline (default 3, must be >= 1)Returns: a curve object, or
nilon error.Example:
(points-to-bspline '((0 0 0) (5 10 0) (10 0 0)) :degree 2)See also:
interpolate-points -
EXTERNAL FUNCTION PROJECT-POINT-ON-CURVE
- CURVE
- X
- Y
- Z
Project a 3D point onto a curve, returning the closest point on the curve.
curve -- a curve object x y z -- coordinates of the point to project (
double-float)Returns: five values: - projected point (
xyz) - distance - curve parameterReturns
nilif the curve is null or projection fails.Example:
(let ((c (make-bezier-curve '((0 0 0) (5 10 0) (10 0 0))))) (project-point-on-curve c 2 5 0)) => multiple values: projected X, Y, Z, distance, parameter -
EXTERNAL FUNCTION PROJECT-POINT-ON-CURVE-2D
- CURVE
- X
- Y
Project a 2D point onto a 2D curve.
curve -- a 2D curve object (
geom2d) x y -- coordinates of the point to project (double-float)Returns: four values: - projected point (
xy) - distance - curve parameterReturns
nilif curve is null or projection fails.Example:
(let ((c (make-line2d 0 0 1 0))) (project-point-on-curve-2d c 3 5)) => multiple values: 3.0d0 0.0d0 5.0d0 3.0d0See also:
project-point-on-curve,intersect-curves-2d -
EXTERNAL FUNCTION PROJECT-POINT-ON-SURFACE
- SURFACE
- X
- Y
- Z
Project a 3D point onto a surface, returning the closest point and UV parameters.
surface -- a surface object x y z -- coordinates of the point to project (
double-float)Returns: six values: - projected point (
xyz) - UV parameters (uv) - distanceReturns
nilif the surface is null or projection fails.Example:
(let ((s (make-plane))) (project-point-on-surface s 5 5 10)) => multiple values: 5.0d0 5.0d0 0.0d0 5.0d0 5.0d0 10.0d0 -
EXTERNAL FUNCTION PRS3D-SEGMENTS-EDGE-COUNT
- OBJ
Return the number of edges in a prs3d-segments, or nil.
-
EXTERNAL FUNCTION PRS3D-SEGMENTS-EDGES
- OBJ
Return edge indices as list of (i0 i1) pairs (0-based vertex indices), or nil.
-
EXTERNAL FUNCTION PRS3D-SEGMENTS-P
- OBJ
Returns:
tif obj is aprs3d-segmentsobject. -
EXTERNAL FUNCTION PRS3D-SEGMENTS-VERTEX-COUNT
- OBJ
Return the number of vertices in a prs3d-segments, or nil.
-
EXTERNAL FUNCTION PRS3D-SEGMENTS-VERTICES
- OBJ
Return vertex positions as list of (x y z) triples, or nil.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-NORMALS
- OBJ
Return vertex normals as list of (nx ny nz) triples, or nil.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-P
- OBJ
Predicate: returns t for prs3d-triangulation instances.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-TRIANGLE-COUNT
- OBJ
Return the number of triangles in a prs3d-triangulation, or nil.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-TRIANGLES
- OBJ
Return triangle indices as list of (i0 i1 i2) 0-based triples, or nil.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-VERTEX-COUNT
- OBJ
Return the number of vertices in a prs3d-triangulation, or nil.
-
EXTERNAL FUNCTION PRS3D-TRIANGULATION-VERTICES
- OBJ
Return vertex positions as list of (x y z) triples, or nil.
-
EXTERNAL FUNCTION PSO-MINIMIZE
- FN
- LOWER
- UPPER
- INITIAL
- &KEY
- N-PARTICLES
- MAX-ITERATIONS
- TOLERANCE
Minimize a multi-variate function using Particle Swarm Optimization.
fn accepts a list of doubles and returns a double. lower and upper are bound lists. initial is the starting point. Returns plist or nil.
-
EXTERNAL FUNCTION RAY-TRACED-ANTIALIASING-P
- PARAMS
Returns:
tif ray-traced antialiasing is enabled. -
EXTERNAL FUNCTION RAY-TRACED-REFLECTIONS-P
- PARAMS
Returns:
tif ray-traced reflections are enabled. -
EXTERNAL FUNCTION RAY-TRACED-SHADOWS-P
- PARAMS
Returns:
tif ray-traced shadows are enabled. -
EXTERNAL FUNCTION RAY-TRACING-DEPTH
- PARAMS
Return the current ray-tracing recursion depth.
-
EXTERNAL FUNCTION READ-BREP
- FILENAME
Read a shape from a BREP file at filename.
Returns a shape object, or
nilif the file cannot be read.Example:
(let ((shape (read-brep "/tmp/box.brep"))) (when shape (shape-type shape)))See also:
write-brep,read-step -
EXTERNAL FUNCTION READ-GLTF
- FILENAME
- &KEY
- COORDINATE-SYSTEM
Read a shape from a glTF file at filename.
- coordinate-system :zup or :yup (default :zup)
Returns a shape object, or
nilif the file cannot be read.See also:
write-gltf,read-obj -
EXTERNAL FUNCTION READ-IGES
- FILENAME
Read a shape from an IGES file at filename.
Returns a shape object, or
nilif the file cannot be read.Example:
(let ((shape (read-iges "/tmp/box.igs"))) (when shape (shape-type shape)))See also:
write-iges,read-step -
EXTERNAL FUNCTION READ-IGES-ASSEMBLY
- FILENAME
Read an assembly tree from an IGES file using XDE.
Returns an assembly hierarchy, or
nilif the file cannot be read.See also:
write-iges-assembly,read-step-assembly -
EXTERNAL FUNCTION READ-OBJ
- FILENAME
- &KEY
- COORDINATE-SYSTEM
-
EXTERNAL FUNCTION READ-STEP
- FILENAME
Read a shape from a STEP file at filename.
Returns a shape object, or
nilif the file cannot be read.Example:
(let ((shape (read-step "/tmp/clocct-test-box.step"))) (when shape (shape-type shape)))See also:
write-step,read-stl,read-step-assembly -
EXTERNAL FUNCTION READ-STEP-ASSEMBLY
- FILENAME
Read an assembly tree from a STEP file using XDE.
Returns an assembly hierarchy, or
nilif the file cannot be read or has no root paths.Example:
(let ((assy (read-step-assembly "/tmp/clocct-test-assy.step"))) (when assy (assembly-branch-p assy)))See also:
write-step-assembly,read-step,make-assembly -
EXTERNAL FUNCTION READ-STL
- FILENAME
Read a shape from an STL file at filename.
Returns a shape object, or
nilif the file cannot be read.Example:
(let ((shape (read-stl "/tmp/clocct-test-box.stl"))) (when shape (shape-type shape))) -
EXTERNAL FUNCTION READ-STL-TRIANGULATION
- FILENAME
Read an STL file and return a raw triangulation handle.
Returns an opaque pointer to the triangulation data, or nil on failure. The handle must be freed with
free-stl-triangulation.See also:
write-stl-triangulation,free-stl-triangulation -
EXTERNAL FUNCTION REDRAW-VIEW
- VIEW
Immediately redraws the view.
Example: (with-viewer (v) (redraw-view v))
-
EXTERNAL FUNCTION REMOVE-ANIMATION
- PARENT
- CHILD
Remove a child animation from a parent animation.
See also:
add-animation -
EXTERNAL FUNCTION REMOVE-FEATURES
- SHAPE
- FACES
Remove a list of faces from shape, returning a new shape.
faces is a list of face shapes to remove. Returns the resulting shape, or nil on invalid input.
See also:
fix-small-faces,defeature-shape -
EXTERNAL FUNCTION REMOVE-GRAPHIC-STRUCTURE-TRANSFORM
- GS
Remove the transformation from gs. Returns the structure object.
-
EXTERNAL FUNCTION RENDERING-METHOD
- PARAMS
Return the rendering method keyword (:rasterization or :ray-tracing).
-
EXTERNAL FUNCTION RENDERING-PARAMS-P
- OBJ
Returns:
tif obj is arendering-paramsobject. -
EXTERNAL FUNCTION RESET-BACKGROUND
- VIEW
Resets the background to the default solid color.
Example: (with-viewer (v) (set-gradient-background v) (reset-background v))
-
EXTERNAL FUNCTION RESET-VIEW
- VIEW
Resets the camera to the default view position.
Example: (with-viewer (v) (pan-camera v 10.0 10.0) (reset-view v))
-
EXTERNAL FUNCTION REVERSE-ORIENTATION
- SHAPE
Return a new shape with reversed orientation. Returns: a shape object, or nil.
-
EXTERNAL FUNCTION ROTATE
- SHAPE
- AX
- AY
- AZ
- ANGLE-DEG
-
EXTERNAL FUNCTION ROTATE-CAMERA
- VIEW
- AX
- AY
- AZ
Rotates the camera by the given Euler angles (ax, ay, az).
Angles are in radians.
Example: (with-viewer (v) (rotate-camera v 0.5 0.0 0.0))
-
EXTERNAL FUNCTION SECTION
- SHAPE
- &REST
- OTHERS
Compute the intersection curves/edges of
shapeandothershapes.Unlike
commonwhich returns a solid,sectionreturns the shared boundary (edges/curves) between shapes. Accepts one or more shapes as&restarguments.Example:
(let ((box (make-box 30 30 30)) (sph (make-sphere 20))) (section box (translate sph 5 5 5))) -
EXTERNAL FUNCTION SELECTION-FILTER-P
- OBJ
Returns:
tif obj is aselection-filterobject. -
EXTERNAL FUNCTION SET-ANTIALIASING
- VIEW
- ON
Enables or disables anti-aliasing for view.
Example: (with-viewer (v) (set-antialiasing v t))
-
EXTERNAL FUNCTION SET-BACK-FACE-MODEL
- VIEW
- MODEL
Sets the back-face rendering model.
model is one of
:auto,:force, or:disable.Example: (with-viewer (v) (set-back-face-model v :force))
-
EXTERNAL FUNCTION SET-BACKGROUND
- VIEW
- R
- G
- B
Sets the view background to a solid RGB color.
Each of r, g, b should be in the range 0.0 to 1.0. Returns the color list.
Example: (with-viewer (v) (set-background v 0.9 0.9 1.0))
-
EXTERNAL FUNCTION SET-BACKGROUND-CUBEMAP
- VIEW
- &KEY
- POS-X
- NEG-X
- POS-Y
- NEG-Y
- POS-Z
- NEG-Z
Sets a cubemap background from six image file paths.
Each keyword argument is a path to an image file for that face.
Example: (with-viewer (v) (set-background-cubemap v :pos-x "/path/to/pos-x.jpg" :neg-x "/path/to/neg-x.jpg" :pos-y "/path/to/pos-y.jpg" :neg-y "/path/to/neg-y.jpg" :pos-z "/path/to/pos-z.jpg" :neg-z "/path/to/neg-z.jpg"))
-
EXTERNAL FUNCTION SET-BSDF-ABSORPTION
- BSDF
- R
- G
- B
- COEFF
Set the absorption color and coefficient. RGB in [0,1], coefficient >= 0.
Example: (set-bsdf-absorption bsdf 0.0 1.0 0.0 0.5)
-
EXTERNAL FUNCTION SET-BSDF-AMBIENT
- BSDF
- R
- G
- B
Set the ambient color of a BSDF material. RGB in [0,1].
Example: (set-bsdf-ambient bsdf 0.2 0.2 0.2)
-
EXTERNAL FUNCTION SET-BSDF-DIFFUSE
- BSDF
- R
- G
- B
Set the diffuse color of a BSDF material. RGB in [0,1].
Example: (set-bsdf-diffuse bsdf 0.8 0.8 0.8)
-
EXTERNAL FUNCTION SET-BSDF-REFLECTION
- BSDF
- R
- G
- B
Set the reflection color of a BSDF material. RGB in [0,1].
Example: (set-bsdf-reflection bsdf 1.0 1.0 1.0)
-
EXTERNAL FUNCTION SET-BSDF-REFRACTION-INDEX
- BSDF
- V
Set the index of refraction. v >= 1.0.
Example: (set-bsdf-refraction-index bsdf 2.42)
-
EXTERNAL FUNCTION SET-BSDF-SPECULAR
- BSDF
- R
- G
- B
Set the specular color of a BSDF material. RGB in [0,1].
Example: (set-bsdf-specular bsdf 1.0 1.0 1.0)
-
EXTERNAL FUNCTION SET-BSDF-TRANSMISSION
- BSDF
- R
- G
- B
Set the transmission color of a BSDF material. RGB in [0,1].
Example: (set-bsdf-transmission bsdf 0.9 0.9 1.0)
-
EXTERNAL FUNCTION SET-CAMERA
- VIEW
- &KEY
- EYE
- TARGET
- UP
Sets camera position, target, and up vector directly.
Each argument is a 3-element coordinate list (x y z).
Example: (with-viewer (v) (set-camera v :eye '(0 0 100) :target '(0 0 0) :up '(0 1 0)))
-
EXTERNAL FUNCTION SET-CLIP-PLANE-CAP-COLOR
- CP
- COLOR
Set the cap color for cp as an (r g b) list. Returns the clip-plane object.
-
EXTERNAL FUNCTION SET-CLIP-PLANE-CAPPING
- CP
- ON
Enable or disable capping (filled intersection surface) for cp. Returns the clip-plane object.
-
EXTERNAL FUNCTION SET-CLIP-PLANE-EQUATION
- CP
- EQUATION
Set the clipping plane equation (a b c d) for cp. Returns the clip-plane object.
-
EXTERNAL FUNCTION SET-CLIP-PLANE-ON
- CP
- ON
Enable or disable clipping for cp. Returns the clip-plane object.
-
EXTERNAL FUNCTION SET-CLIP-PLANES
- VIEW
- &KEY
- NEAR
- FAR
Sets the near and far clipping plane distances.
Example: (with-viewer (v) (set-clip-planes v :near 0.1 :far 1000.0))
-
EXTERNAL FUNCTION SET-COLOR-SCALE-INTERVALS
- COLOR-SCALE
- N
Sets the number of color intervals in the scale.
Example: (set-color-scale-intervals cs 10)
-
EXTERNAL FUNCTION SET-COLOR-SCALE-RANGE
- COLOR-SCALE
- MIN
- MAX
Sets the value range of the color scale.
Example: (set-color-scale-range cs 0.0 100.0)
-
EXTERNAL FUNCTION SET-COLOR-SCALE-SIZE
- COLOR-SCALE
- WIDTH
- HEIGHT
Sets the display dimensions of the color scale in pixels.
Example: (set-color-scale-size cs 50 200)
-
EXTERNAL FUNCTION SET-COLOR-SCALE-TITLE
- COLOR-SCALE
- TITLE
Sets the title text of the color scale.
Example: (set-color-scale-title cs "Pressure")
-
EXTERNAL FUNCTION SET-COMPUTED-MODE
- VIEW
- ON
Enables or disables computed mode for view.
When on is
t, OCCT recalculates the display each frame.Example: (with-viewer (v) (set-computed-mode v t))
-
EXTERNAL FUNCTION SET-CUBE-MAP
- VIEW
- &KEY
- POS-X
- NEG-X
- POS-Y
- NEG-Y
- POS-Z
- NEG-Z
Alias for
set-background-cubemap.Example: (with-viewer (v) (set-cube-map v :pos-x "/path/to/pos-x.jpg" :neg-x "/path/to/neg-x.jpg"))
-
EXTERNAL FUNCTION SET-DEFAULT-BACKGROUND
- VIEWER
- COLOR
Sets a solid background color for all future views in viewer.
color can be any color representation accepted by
normalize-color.Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-background v :navy) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-BG-GRADIENT
- VIEWER
- COLOR1
- COLOR2
- &KEY
- STYLE
Sets a gradient background for all future views in viewer.
color1 and color2 can be any color representation accepted by
normalize-color. style is one of:x-pos,:x-neg,:y-pos,:y-neg,:z-pos,:z-neg.Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-bg-gradient v :sky-blue :white :style :y-pos) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-GRADIENT
- VIEWER
- COLOR1
- COLOR2
- &KEY
- STYLE
Alias for
set-default-bg-gradient.Sets a gradient background for all future views in viewer.
Example:
(let ((v (make-viewer))) (set-default-gradient v :sky-blue :white) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-LIGHTS
- VIEWER
- MODE
Enables or disables default lighting for viewer.
mode is
:on(enables),:off(disables), or:custom(no-op, user manages lights).Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-lights v :on) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-PROJECTION
- VIEWER
- ORIENTATION
Sets the default projection orientation for all future views.
orientation is a keyword from the V3d orientation map (e.g.
:xypos:zpos).Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-projection v :zpos) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-VIEW-SIZE
- VIEWER
- SIZE
Sets the default view size (in model units) for all future views.
Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-view-size v 500.0) (free-viewer v)) -
EXTERNAL FUNCTION SET-DEFAULT-VIEW-TYPE
- VIEWER
- TYPE
Sets the default view type for all future views.
type is either
:perspectiveor:orthographic.Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (set-default-view-type v :perspective) (free-viewer v)) -
EXTERNAL FUNCTION SET-DIMENSION-ANGLE-EDGES
- DIM
- EDGE1
- EDGE2
Sets the two edges measured by an angle dimension dim.
Returns dim on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (box (make-box 10 20 30)) (edge1 ( ... )) (edge2 ( ... )) (dim (make-dimension :angle :edge1 edge1 :edge2 edge2))) (ais-display ctx dim)) -
EXTERNAL FUNCTION SET-DIMENSION-ARROW-LENGTH
- DIM
- V
Sets the arrow length for dimension dim.
Returns dim on success,
nilotherwise.Example:
(set-dimension-arrow-length dim 3.0) -
EXTERNAL FUNCTION SET-DIMENSION-ARROWS
- DIM
- &KEY
- STYLE
- SIZE
Configures arrow appearance for dimension dim.
style is
:filled,:open, or:none. size is the arrow length.Returns dim on success,
nilotherwise.Example:
(set-dimension-arrows dim :style :filled :size 3.0) -
EXTERNAL FUNCTION SET-DIMENSION-CUSTOM-VALUE
- DIM
- VALUE
Sets a custom text value for dimension dim (overrides measured value).
Returns dim on success,
nilotherwise.Example:
(set-dimension-custom-value dim "Custom") -
EXTERNAL FUNCTION SET-DIMENSION-EXTENSION
- DIM
- &KEY
- OFFSET
- LENGTH
Configures extension line appearance for dimension dim.
offset controls the gap from the measured point. length controls how far the extension line extends past the dimension line.
Returns dim on success,
nilotherwise.Example:
(set-dimension-extension dim :offset 2.0 :length 5.0) -
EXTERNAL FUNCTION SET-DIMENSION-EXTENSION-SIZE
- DIM
- V
Sets the extension line length beyond the dimension line for dim.
Returns dim on success,
nilotherwise.Example:
(set-dimension-extension-size dim 2.0) -
EXTERNAL FUNCTION SET-DIMENSION-FLYOUT
- DIM
- V
Sets the flyout (extension line offset) for dimension dim.
Returns dim on success,
nilotherwise.Example:
(set-dimension-flyout dim 5.0) -
EXTERNAL FUNCTION SET-DIMENSION-TEXT
- DIM
- VALUE
Alias for
set-dimension-custom-value.Sets custom text for dimension dim.
Example:
(set-dimension-text dim "Custom") -
EXTERNAL FUNCTION SET-DIMENSION-TEXT-POSITION
- DIM
- POSITION
Sets the text label position for dimension dim to (X Y Z).
Returns dim on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (dim (make-dimension :length :from '(0 0 0) :to '(10 0 0)))) (ais-display ctx dim) (set-dimension-text-position dim '(5 5 0))) -
EXTERNAL FUNCTION SET-DIMENSION-UNITS
- DIM
- UNITS
Sets the display units string for dimension dim (e.g.
"mm").Returns dim on success,
nilotherwise.Example:
(set-dimension-units dim "mm") -
EXTERNAL FUNCTION SET-FILTER-EDGE-TYPE
- FILTER
- EDGE-TYPE
Set the edge type for an edge-filter. edge-type is a keyword (:any-edge, :line, :circle).
-
EXTERNAL FUNCTION SET-FILTER-FACE-TYPE
- FILTER
- FACE-TYPE
Set the face type for a face-filter. face-type is a keyword (:any-face, :plane, :cylinder, :sphere, :torus, :revol, :cone).
-
EXTERNAL FUNCTION SET-FOV
- VIEW
- FOV-DEGREES
Sets the camera field of view in degrees.
Example: (with-viewer (v) (set-fov v 45.0))
-
EXTERNAL FUNCTION SET-FRUSTUM-CULLING
- VIEW
- ON
Enables or disables frustum culling for view.
When on is
t, objects outside the view frustum are not drawn.Example: (with-viewer (v) (set-frustum-culling v t))
-
EXTERNAL FUNCTION SET-GRADIENT-BACKGROUND
- VIEW
- &KEY
- COLOR1
- COLOR2
- STYLE
Sets a gradient background from color1 to color2.
style is one of
:x-pos,:x-neg,:y-pos,:y-neg,:z-pos,:z-neg.Example: (with-viewer (v) (set-gradient-background v :color1 '(0.1 0.1 0.3) :color2 '(0.8 0.8 0.9)))
-
EXTERNAL FUNCTION SET-GRAPHIC-GROUP-ASPECT
- GG
- ASPECT
Set the display aspect for gg. aspect is an
aspect-fill-areaoraspect-line. Returns the group object. -
EXTERNAL FUNCTION SET-GRAPHIC-GROUP-VISIBLE
- GG
- VISIBLE
Set visibility of gg group. Returns the group object.
-
EXTERNAL FUNCTION SET-GRAPHIC-STRUCTURE-TRANSFORM
- GS
- MATRIX
Set the 4x4 transformation matrix on gs. matrix is a list of 16 doubles in row-major order. Returns the structure object.
-
EXTERNAL FUNCTION SET-GRAPHIC-STRUCTURE-VISIBLE
- GS
- VISIBLE
Set visibility of gs structure. Returns the structure object.
-
EXTERNAL FUNCTION SET-GRID-COLOR
- VIEWER
- COLOR
Sets the grid color. color is an RGB list (r g b).
Example: (with-viewer (v) (set-grid-color v '(1.0 0.0 0.0)))
-
EXTERNAL FUNCTION SET-GRID-OFFSET
- VIEWER
- X-OFFSET
- Y-OFFSET
Sets the grid origin offset in the X and Y directions.
Example: (with-viewer (v) (set-grid-offset v 10.0 10.0))
-
EXTERNAL FUNCTION SET-GRID-SIZE
- VIEWER
- SIZE
Sets the grid spacing equally in X and Y.
Example: (with-viewer (v) (set-grid-size v 5.0))
-
EXTERNAL FUNCTION SET-GRID-XY-SIZE
- VIEWER
- X-STEP
- Y-STEP
Sets the grid spacing in the X and Y directions.
Example: (with-viewer (v) (set-grid-xy-size v 5.0 5.0))
-
EXTERNAL FUNCTION SET-HEADLIGHT
- LIGHT
- ON
Marks light as a headlight (moves with the camera) when on is
t.Returns light on success.
Example:
(let ((l (make-light :directional))) (set-headlight l t)) -
EXTERNAL FUNCTION SET-IMAGE-BACKGROUND
- VIEW
- PATH
Sets a single image as the view background.
path is a string path to an image file.
Example: (with-viewer (v) (set-image-background v "/path/to/background.jpg"))
-
EXTERNAL FUNCTION SET-IMMEDIATE-UPDATE
- VIEW
- ON
Enables or disables immediate update mode.
When on is
t, the view is updated immediately after changes.Example: (with-viewer (v) (set-immediate-update v t))
-
EXTERNAL FUNCTION SET-LIGHT-COLOR
- LIGHT
- COLOR
Sets the color of light. Returns light on success.
Example:
(let ((l (make-light :ambient))) (set-light-color l :warm-gray)) -
EXTERNAL FUNCTION SET-LIGHT-DIRECTION
- LIGHT
- DIRECTION
Sets the direction of light to (DX DY DZ). Returns light on success.
Example:
(let ((l (make-light :directional))) (set-light-direction l '(0 0 -1))) -
EXTERNAL FUNCTION SET-LIGHT-INTENSITY
- LIGHT
- V
Sets the intensity of light to v (0.0 to 1.0). Returns light on success.
Example:
(let ((l (make-light :ambient))) (set-light-intensity l 0.5)) -
EXTERNAL FUNCTION SET-LIGHT-SHADOWS
- LIGHT
- ON
Enables or disables shadow casting for light. Returns light on success.
Example:
(let ((l (make-light :directional :direction '(0 0 -1))) (set-light-shadows l t)) -
EXTERNAL FUNCTION SET-MANIPULATOR-ACTIVE-AXES
- MANIPULATOR
- &KEY
- TRANSLATE
- ROTATE
- SCALE
Enables or disables the translation, rotation, and scaling modes of the manipulator.
Each keyword is a boolean. Disabled modes are hidden from the gizmo.
Example: (set-manipulator-active-axes manip :translate t :rotate nil :scale nil)
-
EXTERNAL FUNCTION SET-MANIPULATOR-POSITION
- MANIPULATOR
- X
- Y
- Z
Sets the position of manipulator in world coordinates.
Example: (set-manipulator-position manip 10 20 30)
-
EXTERNAL FUNCTION SET-MANIPULATOR-SIZE
- MANIPULATOR
- SIZE
Sets the visual size of manipulator.
Example: (set-manipulator-size manip 50.0)
-
EXTERNAL FUNCTION SET-MSAA
- VIEW
- SAMPLES
Sets the multisample anti-aliasing (MSAA) sample count.
samples is typically 0 (off), 2, 4, or 8.
Example: (with-viewer (v) (set-msaa v 4))
-
EXTERNAL FUNCTION SET-PBR-ALBEDO
- MAT
- R
- G
- B
Set the albedo (base color) of a PBR material. RGB values in [0,1].
Example: (set-pbr-albedo mat 1.0 0.0 0.0)
-
EXTERNAL FUNCTION SET-PBR-EMISSIVE
- MAT
- R
- G
- B
Set the emissive color. RGB values in [0,1].
Example: (set-pbr-emissive mat 1.0 0.5 0.0)
-
EXTERNAL FUNCTION SET-PBR-IOR
- MAT
- V
Set the index of refraction. v >= 1.0.
Example: (set-pbr-ior mat 1.5)
-
EXTERNAL FUNCTION SET-PBR-METALLIC
- MAT
- V
Set the metalness of a PBR material. v in [0,1] (0 = dielectric, 1 = metal).
Example: (set-pbr-metallic mat 0.0)
-
EXTERNAL FUNCTION SET-PBR-ROUGHNESS
- MAT
- V
Set the roughness of a PBR material. v in [0,1] (0 = smooth, 1 = rough).
Example: (set-pbr-roughness mat 0.3)
-
EXTERNAL FUNCTION SET-PBR-TRANSPARENCY
- MAT
- V
Set the transparency factor. v in [0,1].
Example: (set-pbr-transparency mat 0.5)
-
EXTERNAL FUNCTION SET-PERSPECTIVE
- VIEW
- ON
Enables or disables perspective projection.
When on is
nil, uses orthographic projection.Example: (with-viewer (v) (set-perspective v t))
-
EXTERNAL FUNCTION SET-POINT-CLOUD-COLORS
- POINT-CLOUD
- COLORS
Sets per-point colors for point-cloud.
colors is a list of (r g b) triples, one per point.
Example: (set-point-cloud-colors pc '((1 0 0) (0 1 0) (0 0 1) (1 1 0)))
-
EXTERNAL FUNCTION SET-POINT-CLOUD-SIZE
- POINT-CLOUD
- SIZE
Sets the rendered point size in pixels for point-cloud.
Example: (set-point-cloud-size pc 5)
-
EXTERNAL FUNCTION SET-RAY-TRACED-ANTIALIASING
- PARAMS
- ON
Enable or disable ray-traced antialiasing. Returns params.
-
EXTERNAL FUNCTION SET-RAY-TRACED-REFLECTIONS
- PARAMS
- ON
Enable or disable ray-traced reflections. Returns params.
-
EXTERNAL FUNCTION SET-RAY-TRACED-SHADOWS
- PARAMS
- ON
Enable or disable ray-traced shadows. Returns params.
-
EXTERNAL FUNCTION SET-RAY-TRACING-DEPTH
- PARAMS
- DEPTH
Set the maximum ray-tracing recursion depth. Returns params.
-
EXTERNAL FUNCTION SET-RECTANGULAR-GRID-VALUES
- VIEWER
- &KEY
- X-ORIGIN
- Y-ORIGIN
- X-STEP
- Y-STEP
- ROTATION-ANGLE
Configures the rectangular grid parameters.
Sets origin, step size, and rotation angle. Returns viewer on success.
Example: (with-viewer (v) (set-rectangular-grid-values v :x-step 5.0 :y-step 5.0))
-
EXTERNAL FUNCTION SET-RENDERING-METHOD
- PARAMS
- METHOD
Set rendering method keyword (:rasterization or :ray-tracing). Returns params.
-
EXTERNAL FUNCTION SET-SHADER-FRAGMENT-SOURCE
- PROG
- SOURCE
Set the fragment shader source string for prog. Returns the program.
-
EXTERNAL FUNCTION SET-SHADER-HEADER
- PROG
- HEADER
Set the shader header string (common definitions) for prog. Returns the program.
-
EXTERNAL FUNCTION SET-SHADER-VERTEX-SOURCE
- PROG
- SOURCE
Set the vertex shader source string for prog. Returns the program.
-
EXTERNAL FUNCTION SET-SHAPE-TOLERANCE
- SHAPE
- TOLERANCE
- SHAPE-TYPE
Set the tolerance on shape for a given shape-type (:vertex, :edge, :face, :solid, :shell, :wire).
Returns
ton success,nilon invalid input.Example:
(set-shape-tolerance my-shape 0.01 :edge)See also:
shape-tolerance(in topology-data-access.lisp) -
EXTERNAL FUNCTION SET-TEXT-LABEL-ALIGN
- LABEL
- &KEY
- HORIZONTAL
- VERTICAL
Sets both horizontal and vertical alignment of text label.
See also:
set-text-label-hjustification,set-text-label-vjustificationReturns label on success,
nilotherwise.Example:
(set-text-label-align label :horizontal :center :vertical :middle) -
EXTERNAL FUNCTION SET-TEXT-LABEL-ANGLE
- LABEL
- DEGREES
Sets the rotation angle of text label in degrees.
Returns label on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (ctx (ais-create-context v)) (label (make-text-label ctx "Rotated" '(0 0 0)))) (set-text-label-angle label 45.0)) -
EXTERNAL FUNCTION SET-TEXT-LABEL-DISPLAY-TYPE
- LABEL
- TYPE
Sets the display type of text label.
type is
:ordinary,:subtitle,:dekale,:blend, or:dimension.Returns label on success,
nilotherwise.Example:
(set-text-label-display-type label :subtitle) -
EXTERNAL FUNCTION SET-TEXT-LABEL-HJUSTIFICATION
- LABEL
- ALIGN
Sets the horizontal justification of text label.
align is
:left,:center, or:right.Returns label on success,
nilotherwise.Example:
(set-text-label-hjustification label :center) -
EXTERNAL FUNCTION SET-TEXT-LABEL-SUBTITLE-COLOR
- LABEL
- COLOR
Sets the subtitle color of text label (when display type is
:subtitle).Returns label on success,
nilotherwise.Example:
(set-text-label-subtitle-color label :gray) -
EXTERNAL FUNCTION SET-TEXT-LABEL-VJUSTIFICATION
- LABEL
- ALIGN
Sets the vertical justification of text label.
align is
:top,:cap,:half,:base, or:bottom.Returns label on success,
nilotherwise.Example:
(set-text-label-vjustification label :base) -
EXTERNAL FUNCTION SET-TEXTURE-ORIGIN
- TEXTURED-SHAPE
- U
- V
Sets the texture mapping origin offset in UV space.
Example: (set-texture-origin ts 0.5 0.5)
-
EXTERNAL FUNCTION SET-TEXTURE-PARAMS-ANISO
- PARAMS
- LEVEL
Set anisotropic filtering level. level is a non-negative integer (0 disables).
Example: (set-texture-params-aniso params 4)
-
EXTERNAL FUNCTION SET-TEXTURE-PARAMS-FILTER
- PARAMS
- FILTER
Set texture filter mode. filter is
:nearest,:bilinear, or:trilinear.Example: (set-texture-params-filter params :trilinear)
-
EXTERNAL FUNCTION SET-TEXTURE-PARAMS-REPEAT
- PARAMS
- ON
Set texture repeat mode. on is a boolean (t = repeat, nil = clamp).
Example: (set-texture-params-repeat params t)
-
EXTERNAL FUNCTION SET-TEXTURE-PLANE-ORIGIN
- TEX
- U
- V
Set UV origin offset on a
texture-2dplane.Example: (set-texture-plane-origin tex 0.5 0.5)
-
EXTERNAL FUNCTION SET-TEXTURE-PLANE-REPEAT
- TEX
- U-REPEAT
- V-REPEAT
Set UV repeat on a
texture-2dplane. u-repeat and v-repeat are booleans.Example: (set-texture-plane-repeat tex t t)
-
EXTERNAL FUNCTION SET-TEXTURE-PLANE-ROTATION
- TEX
- ANGLE-DEG
Set rotation angle in degrees on a
texture-2dplane.Example: (set-texture-plane-rotation tex 45.0)
-
EXTERNAL FUNCTION SET-TEXTURE-PLANE-SCALE
- TEX
- U
- V
Set UV scale on a
texture-2dplane.Example: (set-texture-plane-scale tex 2.0 1.0)
-
EXTERNAL FUNCTION SET-TEXTURE-REPEAT
- TEXTURED-SHAPE
- U
- V
Sets the texture repeat count in U and V directions.
Example: (set-texture-repeat ts 2.0 2.0)
-
EXTERNAL FUNCTION SET-TRANSPARENCY-METHOD
- VIEW
- METHOD
Sets the transparency rendering method for view.
- view — a viewer object
- method — one of
:blend-unordered,:blend-oit, or:depth-peeling-oit
Returns: view on success,
nilon error.Example: (with-viewer (v) (set-transparency-method v :blend-oit))
-
EXTERNAL FUNCTION SET-TRANSPARENT-SHADING
- VIEW
- METHOD
Alias for
set-transparency-method.- view — a viewer object
- method — a transparency method keyword (same as
set-transparency-method)
Returns: view on success,
nilon error.Example: (with-viewer (v) (set-transparent-shading v :depth-peeling-oit))
-
EXTERNAL FUNCTION SET-TRIHEDRON-ARROWS
- TRI
- ON
Shows or hides arrow heads on the trihedron axes.
Example: (set-trihedron-arrows tri nil)
-
EXTERNAL FUNCTION SET-TRIHEDRON-AXIS-COLORS
- TRI
- &KEY
- X
- Y
- Z
Sets colors for the X, Y, and Z axes of the trihedron.
Each color is an RGB list (r g b) or a single float gray value.
Example: (set-trihedron-axis-colors tri :x '(1 0 0) :y '(0 1 0) :z '(0 0 1))
-
EXTERNAL FUNCTION SET-TRIHEDRON-CORNER
- TRI
- CORNER
- &KEY
- X-OFFSET
- Y-OFFSET
Positions the trihedron in a corner of the view.
corner is one of
:lower-left,:upper-left,:lower-right,:upper-right, or:center. Offsets are in pixels.Example: (set-trihedron-corner tri :upper-right :x-offset 10 :y-offset 10)
-
EXTERNAL FUNCTION SET-TRIHEDRON-MODE
- TRI
- MODE
Sets the display mode of trihedron tri.
mode is one of
:wireframeor:shaded.Example: (set-trihedron-mode tri :shaded)
-
EXTERNAL FUNCTION SET-TRIHEDRON-SIZE
- TRI
- SIZE
Sets the size of the trihedron in pixels.
Example: (set-trihedron-size tri 100)
-
EXTERNAL FUNCTION SET-TRIHEDRON-TEXT-COLOR
- TRI
- COLOR
Sets the text label color of the trihedron.
color is an RGB list (r g b) or a single float gray value.
Example: (set-trihedron-text-color tri '(1 1 0))
-
EXTERNAL FUNCTION SET-TRIHEDRON-WIREFRAME-COLOR
- TRI
- COLOR
Sets the wireframe color of the trihedron.
color is an RGB list (r g b) or a single float gray value.
Example: (set-trihedron-wireframe-color tri '(0.5 0.5 0.5))
-
EXTERNAL FUNCTION SET-VIEW-CUBE-BOX-COLOR
- VIEW-CUBE
- COLOR
Sets the face color of the view cube.
color is an RGB list (r g b).
Example: (set-view-cube-box-color vc '(0.8 0.8 1.0))
-
EXTERNAL FUNCTION SET-VIEW-CUBE-CORNER
- VIEW-CUBE
- CORNER
Positions the view cube in a corner of the view.
corner is one of
:lower-left,:upper-left,:lower-right,:upper-right, or:center.Example: (set-view-cube-corner vc :upper-right)
-
EXTERNAL FUNCTION SET-VIEW-CUBE-SIZE
- VIEW-CUBE
- SIZE
Sets the size of the view cube.
Example: (set-view-cube-size vc 60.0)
-
EXTERNAL FUNCTION SET-VIEW-PROJECTION
- VIEW
- ORIENTATION
Sets the view projection to a standard orientation.
orientation is one of
:x-pos,:y-pos,:z-pos,:x-neg,:y-neg,:z-neg, or:iso-pers.Example: (with-viewer (v) (set-view-projection v :z-pos) (set-view-projection v :iso-pers))
-
EXTERNAL FUNCTION SET-VIEWER-CAMERA
- VIEW
- CAM
Applies a
viewer-cameraobject to view.Restores eye, target, up, projection type, and FOV from cam.
Example: (with-viewer (v) (let ((cam (viewer-camera v))) (set-viewer-camera v cam)))
-
EXTERNAL FUNCTION SEW-SHAPES
- SHAPES
- &KEY
- TOLERANCE
- ALLOW-NON-MANIFOLD
Sew adjacent faces/shells into a single watertight shape.
- shapes a list of shapes to sew together
- tolerance sewing tolerance (default 1e-6)
- allow-non-manifold allow non-manifold topology (default nil)
Returns: a new sewn shape, or
nilifshapesis null or empty.Example:
(let* ((box1 (make-box 0 0 0 10 10 10)) (box2 (make-box 10 0 0 10 10 10))) (sew-shapes (list box1 box2) :tolerance 0.1))See also:
make-compound -
EXTERNAL FUNCTION SHADER-PROGRAM-P
- OBJ
Returns:
tif obj is ashader-programobject. -
EXTERNAL FUNCTION SHAPE-ANALYSIS-CHECK-INTERSECTIONS
- SHAPE
Check a shape for self-intersecting edges.
Returns the number of self-intersecting edges found, or
nilon error.Example:
(shape-analysis-check-intersections (make-box 10 20 30)) => 0See also:
shape-analysis-free-edges,shape-check -
EXTERNAL FUNCTION SHAPE-ANALYSIS-CONTENTS
- SHAPE
Return a property list describing the sub-shape count of a shape.
Returns a plist with keys
:solids,:shells,:faces,:wires,:edges, and:vertices, each mapping to the count of that sub-shape type.Returns
nilon error.Example:
(shape-analysis-contents (make-box 10 20 30)) => (:SOLIDS 1 :SHELLS 1 :FACES 6 :WIRES 6 :EDGES 12 :VERTICES 8)See also:
shape-check -
EXTERNAL FUNCTION SHAPE-ANALYSIS-FREE-EDGES
- SHAPE
Find free edges (boundary edges) of a shape.
Free edges are edges that belong to only one face, indicating open shells or boundaries.
Returns a shape containing the free edges, or
nilon error.Example:
(shape-analysis-free-edges (make-box 10 20 30)) => NIL (closed solid has no free edges)See also:
shape-analysis-check-intersections,shape-check -
EXTERNAL FUNCTION SHAPE-ANALYSIS-WIRE-CONTAINS-P
- WIRE
- POINT
Test whether a 2D point lies inside a wire contour.
wire -- a wire shape point -- 2D point as (X Y)
Returns
tif the point is inside the wire,nilotherwise or on error.Example:
(let ((w (make-wire-2d (list (make-line (make-pnt2d 0 0) (make-pnt2d 10 0)) (make-line (make-pnt2d 10 0) (make-pnt2d 10 10)) (make-line (make-pnt2d 10 10) (make-pnt2d 0 10)) (make-line (make-pnt2d 0 10) (make-pnt2d 0 0)))))) (shape-analysis-wire-contains-p w '(5 5)))See also:
point-in-solid-p -
EXTERNAL FUNCTION SHAPE-AREA
- SHAPE
Return the surface area of a shape.
shape -- a shape object
Returns: the area as a
double-float, ornilif the shape has no area or the computation fails.Example:
(shape-area (make-box 10 20 30)) => 2200.0d0See also:
shape-gprops,shape-volume -
EXTERNAL FUNCTION SHAPE-BOUNDING-BOX-DISPLAY
- SHAPE
Compute the bounding box of a shape and return it as a
prs3d-segments. Returns nil on nil shape or computation failure. -
EXTERNAL FUNCTION SHAPE-CENTER-OF-MASS
- SHAPE
Return the center of mass of a shape as three values (
xyz).shape -- a shape object
Returns
nilif the center of mass cannot be computed.Example:
(shape-center-of-mass (make-box 10 20 30)) => multiple values: 5.0d0 10.0d0 15.0d0See also:
shape-gprops,shape-volume -
EXTERNAL FUNCTION SHAPE-CHECK
- SHAPE
Run the OCCT shape analysis validity checker on a shape.
shape -- a shape object
Returns:
nilif the shape is valid, or a list of diagnostic strings describing issues found.Example:
(shape-check (make-box 10 20 30)) => `nil`See also:
shape-valid-p -
EXTERNAL FUNCTION SHAPE-DISTANCE
- SHAPE1
- SHAPE2
Compute the minimum distance between two shapes.
shape1 shape2 -- shape objects
Returns: the minimum distance as a
double-float, ornilon error.Example:
(let ((a (make-box 10 10 10)) (b (translate (make-box 10 10 10) 20 0 0))) (shape-distance a b)) => 10.0d0See also:
shape-distance-extrema -
EXTERNAL FUNCTION SHAPE-DISTANCE-EXTREMA
- SHAPE1
- SHAPE2
Compute the minimum distance and closest points between two shapes.
Returns: a
shape-extremaobject with readers: - (extrema-distanceshape-extrema) -- minimum distance - (extrema-point-on-shape1shape-extrema) -- closest point onshape1as (xyz) - (extrema-point-on-shape2shape-extrema) -- closest point onshape2as (xyz)Returns
nilon error.Example:
(let ((r (shape-distance-extrema (make-box 10 10 10) (make-sphere 5)))) (list (extrema-distance r) (extrema-point-on-shape1 r) (extrema-point-on-shape2 r)))See also:
shape-distance -
EXTERNAL FUNCTION SHAPE-EXTENT-ALONG
- SHAPE
- DX
- DY
- DZ
Return the extent (projection) of a
shapealong direction (dx dy dz). Returns: two values min-projection, max-projection. -
EXTERNAL FUNCTION SHAPE-GPROPS
- SHAPE
Compute global properties of a shape (volume, area, center of mass, inertia).
Returns: a
gpropsobject whose readers provide individual properties: - (gprops-volumegprops) -- total volume - (gprops-areagprops) -- surface area - (gprops-center-of-massgprops) -- center of mass as (xyz) ornil- (gprops-inertia-matrixgprops) -- 6-component inertia matrix (IxxIyyIzzIxyIxzIyz) - (gprops-principal-momentsgprops) -- principal moments (I1I2I3) - (gprops-principal-axesgprops) -- 9-component principal axes matrixReturns
nilifshapeis null or has no mass properties.Example:
(let* ((b (make-box 10 20 30)) (g (shape-gprops b))) (list (gprops-volume g) (gprops-area g) (gprops-center-of-mass g)))See also:
shape-volume,shape-area,shape-center-of-mass,shape-inertia -
EXTERNAL FUNCTION SHAPE-INERTIA
- SHAPE
Convenience alias for
shape-gprops.Returns: a
gpropsobject with volume, area, center of mass, and inertia information for the given shape.Example:
(shape-inertia (make-box 10 20 30))See also:
shape-gprops,shape-volume,shape-center-of-mass -
EXTERNAL FUNCTION SHAPE-LOCATION
- SHAPE
Get the location (transformation) applied to a shape.
Returns an opaque location handle, or nil if the shape has no location or shape is nil.
See also:
move-shape,make-location -
EXTERNAL FUNCTION SHAPE-ORIENTATION
- SHAPE
Return the orientation keyword of a shape. Returns:
:forward,:reversed,:internal,:external, or nil. -
EXTERNAL FUNCTION SHAPE-OVERLAP
- SHAPE1
- SHAPE2
- &OPTIONAL
- TOLERANCE
Return detailed overlap information between two shapes.
shape1 shape2 -- shape objects tolerance -- overlap threshold (default 0.0)
Returns: a list of overlapping (subshape1 subshape2) pairs, where each subshape is a
shapeobject. Returnsnilif no overlap or on error.Example:
(let ((a (make-box 10 10 10)) (b (translate (make-box 10 10 10) 5 0 0))) (shape-overlap a b))See also:
shape-overlap-p -
EXTERNAL FUNCTION SHAPE-OVERLAP-P
- SHAPE1
- SHAPE2
- &OPTIONAL
- TOLERANCE
Test whether two shapes overlap (interfere).
shape1 shape2 -- shape objects tolerance -- overlap threshold (default 0.0)
Returns:
tif shapes overlap,nilotherwise (or on error).Example:
(let ((a (make-box 10 10 10)) (b (translate (make-box 10 10 10) 5 0 0))) (shape-overlap-p a b))See also:
shape-overlap -
EXTERNAL FUNCTION SHAPE-P
- OBJ
-
EXTERNAL FUNCTION SHAPE-PROXIMITY
- SHAPE1
- SHAPE2
- TOLERANCE
Compute proximity zones between two shapes within a tolerance.
shape1 shape2 -- shape objects tolerance -- maximum distance for proximity detection
Returns: a list of
proximity-zoneobjects, each with readers: - (proximity-distanceproximity-zone) -- proximity value - (proximity-subshape1proximity-zone) -- subshape fromshape1- (proximity-subshape2proximity-zone) -- subshape fromshape2Returns
nilif no proximity zones found or on error.Example:
(let ((a (make-box 10 10 10)) (b (translate (make-box 10 10 10) 12 0 0))) (shape-proximity a b 5.0))See also:
shape-distance,shape-overlap-p -
EXTERNAL FUNCTION SHAPE-REDUCE-DEGREE
- SHAPE
- MAX-DEGREE
Reduce the polynomial degree of a shape's curves and surfaces.
shape -- a shape object max-degree -- maximum allowed degree (integer, >= 1)
Lowers the degree of NURBS curves and surfaces to at most
max-degreewhile preserving the geometry within tolerance.Returns a new shape with reduced degree, or
nilon error.Example:
(let ((reduced (shape-reduce-degree (shape-to-nurbs (make-box 10 20 30)) 2))) reduced)See also:
shape-to-nurbs,shape-upgrade-continuity -
EXTERNAL FUNCTION SHAPE-SELF-INTERSECT-P
- SHAPE
- &OPTIONAL
- TOLERANCE
Detect self-intersections within a single shape.
shape -- a shape object tolerance -- self-intersection tolerance (default 0.0)
Returns: a list of face shapes involved in self-intersections. Returns
nilif no self-intersections or on error.Example:
(shape-self-intersect-p (make-box 10 20 30))See also:
shape-valid-p,shape-check -
EXTERNAL FUNCTION SHAPE-SPLIT-U
- SHAPE
- NUM-SPLITS
Split a shape's faces along the U direction.
shape -- a shape object num-splits -- number of times to split each face along U
Each face is divided into
num-splits+1 smaller faces. Useful for refining the mesh or creating more detailed geometry.Returns a new shape, or
nilon error.Example:
(shape-split-u (make-box 10 20 30) 2)See also:
shape-upgrade-continuity -
EXTERNAL FUNCTION SHAPE-TO-NURBS
- SHAPE
Convert a shape to NURBS (Non-Uniform Rational B-Spline) representation.
All faces and curves in the shape are converted to NURBS form.
Returns a new shape, or
nilon error.Example:
(shape-to-nurbs (make-box 10 20 30))See also:
shape-to-rational-bspline,shape-reduce-degree,shape-upgrade-continuity -
EXTERNAL FUNCTION SHAPE-TO-RATIONAL-BSPLINE
- SHAPE
Convert a shape to rational B-spline representation.
All faces and curves are converted to rational B-spline form (NURBS with weights).
Returns a new shape, or
nilon error.Example:
(shape-to-rational-bspline (make-box 10 20 30))See also:
shape-to-nurbs,shape-reduce-degree -
EXTERNAL FUNCTION SHAPE-TOLERANCE
- SHAPE
Return the tolerance of a shape (edge or face). Returns: a double-float, or nil.
-
EXTERNAL FUNCTION SHAPE-TRIANGLE-COUNT
- SHAPE
Return the number of triangles in
shape's mesh triangulation.Example:
(shape-triangle-count (make-box 10 20 30)) -
EXTERNAL FUNCTION SHAPE-TYPE
- SHAPE
Return the type keyword of a
shape. Returns::solid,:face,:edge,:vertex,:wire,:shell,:compound, or nil. -
EXTERNAL FUNCTION SHAPE-TYPE-FILTER-P
- OBJ
Returns:
tif obj is ashape-type-filterobject. -
EXTERNAL FUNCTION SHAPE-UPGRADE-CONTINUITY
- SHAPE
- &KEY
- CONTINUITY
Upgrade the continuity of a shape's curves and surfaces.
shape -- a shape object continuity -- desired continuity level, one of
:c0,:c1,:c2,:c3(default:c1)Raises the parametric continuity of edges and faces to the specified level. Higher continuity produces smoother junctions.
Returns a new shape, or
nilon error.Example:
(shape-upgrade-continuity (shape-to-nurbs (make-box 10 20 30)) :continuity :c2)See also:
shape-reduce-degree,shape-split-u -
EXTERNAL FUNCTION SHAPE-VALID-P
- SHAPE
Check whether a shape is valid (no geometric errors).
shape -- a shape object
Returns:
tif the shape is valid,nilif invalid or on error.Example:
(shape-valid-p (make-box 10 20 30)) => `t`See also:
shape-check -
EXTERNAL FUNCTION SHAPE-VOLUME
- SHAPE
Return the volume of a shape.
shape -- a shape object
Returns: the volume as a
double-float, ornilif the shape has no volume or the computation fails.Example:
(shape-volume (make-box 10 20 30)) => 6000.0d0See also:
shape-gprops,shape-area -
EXTERNAL FUNCTION SHELL-SHAPE
- SHAPE
- FACES
- &KEY
- THICKNESS
- OFFSET
Create a shell (hollowed solid) by removing specified faces.
- shape a shape to shell
- faces a list of faces to remove from the solid
- thickness wall thickness (default 1.0)
- offset
:inward(default) or:outward, controlling which side of the face to offset from
Returns: a new shape, or
nilifshapeorfacesis null.Example:
(let* ((box (make-box 30 20 10)) (faces (map-shape-subshapes box :face))) (shell-shape box (list (first faces)) :thickness 2.0))See also:
offset-shape -
EXTERNAL FUNCTION SHOW-TRIHEDRON
- CONTEXT
- VIEWER
- &KEY
- CORNER
- SIZE
Creates, configures, and displays a trihedron in one call.
corner positions the trihedron and size controls its pixel size.
Example: (with-viewer (v) (let ((ctx (ais-create-context v))) (show-trihedron ctx v :corner :upper-right :size 80)))
-
EXTERNAL FUNCTION SPLIT-SHAPE
- SHAPE
- TOOLS
Split a shape by one or more tool shapes. - tools a single shape or a list of tool shapes. Returns a compound of split pieces, or nil if shape is null.
-
EXTERNAL FUNCTION SUBSHAPE-BOUNDING-BOX
- SHAPE
Return the bounding box of any subshape. Returns: six values xmin, ymin, zmin, xmax, ymax, zmax.
-
EXTERNAL FUNCTION SUBSHAPE-ORIENTATION
- SHAPE
Return the orientation keyword of a subshape. Returns:
:forward,:reversed,:internal,:external, or nil. -
EXTERNAL FUNCTION SUBSTITUTE-SHAPE
- SHAPE
- OLD-OR-PAIRS
- &OPTIONAL
- NEW
Replace sub-shapes within a shape (single or batch).
shape -- the original shape old-or-pairs -- a sub-shape to replace, or a list of (OLD NEW) pairs new -- new sub-shape (required when OLD-OR-PAIRS is a single shape)
For single replacement: (substitute-shape orig old new) For batch replacement: (substitute-shape orig '((old1 new1) (old2 new2)))
Returns a new shape with the specified sub-shapes replaced.
Example:
(let* ((b (make-box 10 20 30)) (faces (shape-subshapes b :face)) (new-face (make-plane))) (substitute-shape b (first faces) new-face))See also:
shape-to-nurbs,shape-reduce-degree -
EXTERNAL FUNCTION SURFACE-BOUNDING-BOX
- SURFACE
Return the bounding box of
surfaceas six values (xminyminzminxmaxymaxzmax).Returns:
nilif the surface has no geometry or on error.Example:
(let* ((s (make-plane 0 0 0 0 0 1)) (bx (surface-bounding-box s))) (format t "~A~%" bx)) ;; => multiple values: 0.0d0 0.0d0 0.0d0 ... (infinite plane has large bounds)See also:
curve-bounding-box -
EXTERNAL FUNCTION SURFACE-CURVATURE-AT
- SURFACE
- U
- V
Compute the minimum and maximum curvature of a surface at given UV.
surface -- a surface object u v -- UV parameter values on the surface
Returns: two values (
min-curvaturemax-curvature) as double-floats, ornilif curvature is not defined.Example:
(let ((s (make-spherical-surface 0 0 0 5))) (surface-curvature-at s 0.0 0.0))See also:
surface-normal-at,face-curvature-at -
EXTERNAL FUNCTION SURFACE-NORMAL-AT
- SURFACE
- U
- V
Compute the unit normal vector of a surface at given UV parameters.
surface -- a surface object u v -- UV parameter values on the surface
Returns: three values (
nxnynz) representing the unit normal vector, ornilif the normal is not defined.Example:
(let ((s (make-plane 0 0 0 0 0 1))) (surface-normal-at s 0.0 0.0))See also:
surface-curvature-at,face-normal-at -
EXTERNAL FUNCTION SURFACE-P
- OBJ
-
EXTERNAL FUNCTION SURFACE-TYPE
- SURFACE
Return the type keyword of
surface.Returns: one of
:plane,:cylindrical-surface,:conical-surface,:spherical-surface,:toroidal-surface,:bezier-surface,:bspline-surface, ornil.Example:
(surface-type (make-plane 0 0 0 0 0 1)) ;; => :PLANE -
EXTERNAL FUNCTION SURFACE-VALUE
- SURFACE
- U
- V
Evaluate a
surfaceat parameters (u, v) and return the 3D point. Returns: three values x, y, z, or nil. -
EXTERNAL FUNCTION SWEEP-PROFILE
- PROFILE
- SPINE
- &KEY
- MODE
Sweep a
profileshape along aspinewire.- profile shape to sweep
- spine wire path to sweep along
- mode either
:sliding(default, the profile slides along the spine) or:fixed(the profile maintains a fixed orientation)
Returns: a new shape, or
nilifprofileorspineis null.Example:
(let* ((circ (make-circle-edge 0 0 5)) (face (make-face (make-wire circ))) (spine (make-wire (make-edge-3d 0 0 0 20 0 0)))) (sweep-profile face spine))See also:
sweep-sections,sweep-with-aux-spine -
EXTERNAL FUNCTION SWEEP-SECTIONS
- SPINE
- SECTIONS
- PARAMS
- &KEY
- MODE
- INITIAL-TANGENT
- FINAL-TANGENT
Sweep a surface through multiple cross-section wires along a
spine.- spine wire path to sweep along
- sections list of wire shapes
- params list of parameter values along the spine (matching the number of sections)
- mode either
:sliding(default) or:fixed - initial-tangent optional vector to constrain tangency at start
- final-tangent optional vector to constrain tangency at end
Returns: a new shape, or
nilon invalid input.Example:
(let* ((w1 (make-wire (make-circle-edge 0 0 5))) (w2 (make-wire (make-circle-edge 20 0 10))) (spine (make-wire (make-edge-3d 0 0 0 20 0 0)))) (sweep-sections spine (list w1 w2) '(0.0 1.0)))See also:
sweep-profile,sweep-with-aux-spine -
EXTERNAL FUNCTION SWEEP-WITH-AUX-SPINE
- PROFILE
- MAIN-SPINE
- AUX-SPINE
Sweep a
profilealong amain-spineguided by anaux-spine.- profile shape to sweep
- main-spine primary wire path
- aux-spine auxiliary wire for orientation control
The auxiliary spine provides additional orientation control during the sweep.
Returns: a new shape, or
nilif any argument is null.Example:
(let* ((circ (make-circle-edge 0 0 5)) (face (make-face (make-wire circ))) (main (make-wire (make-edge-3d 0 0 0 20 0 0))) (aux (make-wire (make-edge-3d 0 0 0 20 5 0)))) (sweep-with-aux-spine face main aux))See also:
sweep-profile,sweep-sections -
EXTERNAL FUNCTION TEXT-BOUNDING-BOX
- FONT
- TEXT
- &KEY
- H-ALIGN
- V-ALIGN
Compute the bounding box width and height of text in font.
Returns two values: width and height in mm, or
nilif font is null or the text is empty.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-bounding-box font "Hello"))See also:
text-font-ascender,text-font-descender -
EXTERNAL FUNCTION TEXT-FONT-ADVANCE-X
- FONT
- C1
- C2
Return the horizontal advance from character c1 to c2 in font.
Returns the kerning-adjusted X advance value in mm, taking into account the pair (c1, c2). Returns
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-advance-x font (char-code #\A) (char-code #\B)))See also:
text-font-advance-y,text-font-ascender,text-font-line-spacing -
EXTERNAL FUNCTION TEXT-FONT-ADVANCE-Y
- FONT
- C1
- C2
Return the vertical advance from character c1 to c2 in font.
Returns the kerning-adjusted Y advance value in mm, typically 0 for horizontal writing. Returns
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-advance-y font (char-code #\A) (char-code #\B)))See also:
text-font-advance-x,text-font-ascender,text-font-line-spacing -
EXTERNAL FUNCTION TEXT-FONT-ASCENDER
- FONT
Return the ascender value of font in mm.
The ascender is the distance from the baseline to the top of the tallest glyph. Returns
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-ascender font))See also:
text-font-descender,text-font-line-spacing,text-bounding-box -
EXTERNAL FUNCTION TEXT-FONT-DESCENDER
- FONT
Return the descender value of font in mm.
The descender is the distance from the baseline to the bottom of the lowest glyph (typically negative). Returns
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-descender font))See also:
text-font-ascender,text-font-line-spacing,text-bounding-box -
EXTERNAL FUNCTION TEXT-FONT-LINE-SPACING
- FONT
Return the recommended line spacing of font in mm.
This is the distance from baseline to baseline for consecutive lines of text. Returns
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-line-spacing font))See also:
text-font-ascender,text-font-descender,make-multi-line-text -
EXTERNAL FUNCTION TEXT-FONT-SET-COMPOSITE-CURVE-MODE
- FONT
- ON
Enable or disable composite curve mode for font.
When on is
t, glyph outlines are decomposed into simpler curves (lines and bezier arcs). Whennil, the original glyph outlines are used as-is. Returnsnilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-set-composite-curve-mode font t))See also:
text-font-set-width-scaling,make-brep-font-from-name -
EXTERNAL FUNCTION TEXT-FONT-SET-WIDTH-SCALING
- FONT
- SCALE
Set the width scaling factor for font.
scale is a multiplier applied to glyph widths (1.0 = normal). Values > 1 widen glyphs; values < 1 narrow them. Returns the scale value or
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-font-set-width-scaling font 2.0))See also:
text-font-set-composite-curve-mode,make-brep-font-from-name -
EXTERNAL FUNCTION TEXT-GLYPH-AS-SHAPE
- FONT
- CODEPOINT
Render a single glyph by Unicode code point as a flat shape.
Returns a shape object containing the outline of the specified glyph, or
nilif font is null.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-glyph-as-shape font (char-code #\A)))See also:
text-glyph-as-shape-3d,make-text-shape,text-font-advance-x,text-font-advance-y -
EXTERNAL FUNCTION TEXT-GLYPH-AS-SHAPE-3D
- FONT
- CODEPOINT
- DEPTH
Render a single glyph as an extruded 3D shape.
Extrudes the glyph outline by depth along Z. Returns
nilif font is null or depth is not positive.Example:
(let ((font (make-brep-font-from-name "Arial" 10))) (text-glyph-as-shape-3d font (char-code #\A) 5))See also:
text-glyph-as-shape,make-text-shape-3d -
EXTERNAL FUNCTION TEXTURE-2D-FROM-FILE
- PATH
Create a
Graphic3d_Texture2Dfrom an image file path. Returns atexture-2dinstance or nil on failure.Example: (texture-2d-from-file "/path/to/texture.png")
-
EXTERNAL FUNCTION TEXTURE-2D-FROM-IMAGE
- IMG
Create a
Graphic3d_Texture2Dfrom an existingimageinstance. Returns atexture-2dinstance or nil on failure.Example: (let ((img (image-from-file "/path/to/texture.png"))) (texture-2d-from-image img))
-
EXTERNAL FUNCTION TEXTURE-2D-P
- OBJ
Returns
tif obj is atexture-2dinstance (includingtexture-2dplane). -
EXTERNAL FUNCTION TEXTURE-2DPLANE-FROM-FILE
- PATH
Create a
Graphic3d_Texture2Dplanefrom an image file path. Returns atexture-2dplaneinstance or nil on failure.Example: (texture-2dplane-from-file "/path/to/texture.png")
-
EXTERNAL FUNCTION TEXTURE-2DPLANE-P
- OBJ
Returns
tif obj is atexture-2dplaneinstance. -
EXTERNAL FUNCTION TEXTURE-PARAMS
- TEX
Return the
texture-paramsassociated with atexture-2d. Modifying the returned params affects the texture directly. Returns nil if the texture has no params or on error.Example: (let ((params (texture-params tex))) (set-texture-params-filter params :trilinear))
-
EXTERNAL FUNCTION TEXTURE-PARAMS-P
- OBJ
Returns
tif obj is atexture-paramsinstance. -
EXTERNAL FUNCTION TRANSFER-PARAMETER
- SOURCE-EDGE
- TARGET-CURVE
- PARAM
Transfer a parameter value from source-edge to target-curve.
Returns two values: the transferred parameter (double-float) and a boolean indicating success. Returns (nil nil) on invalid input.
See also:
edge-curve,edge-curve-range -
EXTERNAL FUNCTION TRANSLATE
- SHAPE
- DX
- DY
- DZ
-
EXTERNAL FUNCTION UNIFORM-ABSCISSA-POINTS
- CURVE
- FIRST
- LAST
- NUM-POINTS
Generate uniformly spaced points along a curve by abscissa.
- curve a curve object
- first start parameter on the curve
- last end parameter on the curve
- num-points number of points to generate
Returns a list of (x y z) point triples, or nil.
See also:
uniform-deflection-points -
EXTERNAL FUNCTION UNIFORM-DEFLECTION-POINTS
- CURVE
- FIRST
- LAST
- DEFLECTION
Generate points along a curve within a given deflection tolerance.
- curve a curve object
- first start parameter on the curve
- last end parameter on the curve
- deflection maximum allowed deviation between curve and chord
Returns a list of (x y z) point triples, or nil.
See also:
uniform-abscissa-points -
EXTERNAL FUNCTION VERTEX-EDGES
- VERTEX
- PARENT
Return all edges incident to a
vertexwithin aparentshape. Returns: list of edge shapes, or nil. -
EXTERNAL FUNCTION VERTEX-POINT
- VERTEX
Return the 3D coordinates of a
vertex. Returns: three values x, y, z, or nil. -
EXTERNAL FUNCTION VIEWER-ACTIVE-LIGHTS
- VIEWER
Returns a list of lights that are currently active (on) in viewer.
Example:
(let ((v (make-viewer))) (viewer-active-lights v)) -
EXTERNAL FUNCTION VIEWER-ADD-LIGHT
- VIEWER
- LIGHT
Adds light to viewer. The light is registered and available for display.
Returns light on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (l (make-light :ambient))) (viewer-add-light v l) (free-viewer v)) -
EXTERNAL FUNCTION VIEWER-CAMERA
- VIEW
Returns a
viewer-camerasnapshot from view's current state.The returned object contains eye, target, up, projection type, and field of view.
Example: (with-viewer (v) (viewer-camera v))
-
EXTERNAL FUNCTION VIEWER-CAMERA-P
- OBJ
Returns
tif obj is aviewer-cameraobject.See also:
viewer-camera,set-viewer-camera -
EXTERNAL FUNCTION VIEWER-COLOR-P
- OBJ
Returns
tif obj is aviewer-colorinstance. -
EXTERNAL FUNCTION VIEWER-DEFAULT-LIGHTS
- VIEWER
Resets viewer to its default lighting configuration.
Returns the viewer on success,
nilotherwise.Example:
(let ((v (make-viewer))) (viewer-default-lights v) (free-viewer v)) -
EXTERNAL FUNCTION VIEWER-LIGHT-ACTIVE-P
- VIEWER
- LIGHT
Returns
tif light is currently active (on) in viewer.Example:
(let* ((v (make-viewer)) (l (make-light :ambient))) (viewer-add-light v l) (viewer-light-on v l) (viewer-light-active-p v l)) => T -
EXTERNAL FUNCTION VIEWER-LIGHT-OFF
- VIEWER
- LIGHT
Turns light off in viewer.
Example:
(let* ((v (make-viewer)) (l (make-light :ambient))) (viewer-add-light v l) (viewer-light-off v l) (free-viewer v)) -
EXTERNAL FUNCTION VIEWER-LIGHT-ON
- VIEWER
- LIGHT
Turns light on in viewer.
Returns light on success,
nilotherwise.Example:
(let* ((v (make-viewer)) (l (make-light :ambient))) (viewer-add-light v l) (viewer-light-on v l) (free-viewer v)) -
EXTERNAL FUNCTION VIEWER-LIGHT-P
- OBJ
Returns
tif obj is aviewer-lightinstance. -
EXTERNAL FUNCTION VIEWER-LIGHTS
- VIEWER
Returns a list of all lights registered for viewer.
Example:
(let ((v (make-viewer))) (viewer-lights v)) -
EXTERNAL FUNCTION VIEWER-P
- V
Returns
tif v is aviewerobject.See also:
make-viewer,free-viewer -
EXTERNAL FUNCTION VIEWER-REMOVE-LIGHT
- VIEWER
- LIGHT
Removes light from viewer and deregisters it.
Example:
(let* ((v (make-viewer)) (l (make-light :ambient))) (viewer-add-light v l) (viewer-remove-light v l) (free-viewer v)) -
EXTERNAL FUNCTION VIEWER-RENDERING-PARAMS
- VIEW
Get the rendering parameters for a view. Returns a
rendering-paramsobject, or nil. -
EXTERNAL FUNCTION WIRE-EDGES
- WIRE
Return the ordered edges of a
wire. Returns: list of edge shapes in order, or nil. -
EXTERNAL FUNCTION WIRE-ORDER-CHECK-P
- WIRE
- &OPTIONAL
- FACE
Check if
wirehas its edges in consistent order (non-optionalface).When
faceis provided, check edge ordering relative to that face.Returns:
tif the wire order is correct,nilotherwise.Example:
(let ((w (make-wire (make-edge 0 0 10 0) (make-edge 10 0 10 10) (make-edge 10 10 0 10) (make-edge 0 10 0 0)))) (wire-order-check-p w (make-face w))) -
EXTERNAL FUNCTION WRITE-BREP
- SHAPE
- FILENAME
Write shape to a BREP file at filename.
Returns
ton success,nilif shape is nil.Example:
(write-brep (make-box 10 20 30) "/tmp/box.brep")See also:
read-brep,write-step -
EXTERNAL FUNCTION WRITE-GLTF
- SHAPE
- FILENAME
- &KEY
- COORDINATE-SYSTEM
- PER-VERTEX-COLORS
Write shape to a glTF file at filename.
- coordinate-system :zup or :yup (default :zup)
- per-vertex-colors when non-nil writes vertex colors
Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-gltf (make-box 10 20 30) "/tmp/box.gltf") -
EXTERNAL FUNCTION WRITE-IGES
- SHAPE
- FILENAME
Write shape to an IGES file at filename.
Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-iges (make-box 10 20 30) "/tmp/box.igs")See also:
read-iges,write-iges-assembly -
EXTERNAL FUNCTION WRITE-IGES-ASSEMBLY
- ROOT
- FILENAME
Write an assembly tree to an IGES file using XDE.
root is an assembly instance (from
make-partormake-assembly). Returnston success, signals an OCCT error on failure, or returnsnilif root is null.See also:
read-iges-assembly,write-iges -
EXTERNAL FUNCTION WRITE-OBJ
- SHAPE
- FILENAME
- &KEY
- COORDINATE-SYSTEM
- NAME-FORMAT
- PER-VERTEX-COLORS
Write shape to an OBJ file at filename.
- coordinate-system :zup or :yup (default :zup)
- name-format :auto, :short, or :full (default :auto)
- per-vertex-colors when non-nil writes vertex colors
Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-obj (make-box 10 20 30) "/tmp/box.obj") -
EXTERNAL FUNCTION WRITE-PLY
- SHAPE
- FILENAME
- &KEY
- COORDINATE-SYSTEM
- PER-VERTEX-COLORS
Write shape to a PLY file at filename.
- coordinate-system :zup or :yup (default :zup)
- per-vertex-colors when non-nil writes vertex colors
Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-ply (make-box 10 20 30) "/tmp/box.ply") -
EXTERNAL FUNCTION WRITE-STEP
- SHAPE
- FILENAME
Write shape to a STEP file at filename.
Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-step (make-box 10 20 30) "/tmp/clocct-test-box.step")See also:
read-step,write-stl,write-step-assembly -
EXTERNAL FUNCTION WRITE-STEP-ASSEMBLY
- ROOT
- FILENAME
Write an assembly tree to a STEP file using XDE.
root is an assembly instance (from
make-partormake-assembly). Returnston success, signals an OCCT error on failure, or returnsnilif root is null.Example:
(let ((part (make-part (make-box 10 20 30) :name "box" :color '(:generic 1 0 0 1)))) (write-step-assembly part "/tmp/clocct-test-assy.step"))See also:
read-step-assembly,write-step,make-part -
EXTERNAL FUNCTION WRITE-STL
- SHAPE
- FILENAME
- &KEY
- DEFLECTION
- ANGLE
- RELATIVE
Write shape to an STL file at filename.
deflection controls the tessellation quality (smaller = finer). angle controls the angular deviation in radians (default 0.5). relative when non-nil uses relative deflection mode. Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-stl (make-box 10 20 30) "/tmp/clocct-test-box.stl") (write-stl (make-sphere 10) "/tmp/clocct-test-sphere.stl" :deflection 0.05) (write-stl (make-box 10 20 30) "/tmp/clocct-test-box.stl" :angle 0.2 :relative t)See also:
read-stl,write-step,mesh-shape -
EXTERNAL FUNCTION WRITE-STL-TRIANGULATION
- TRIANGULATION
- FILENAME
Write a raw triangulation handle to an STL file.
Returns
ton success,nilon failure.See also:
read-stl-triangulation -
EXTERNAL FUNCTION WRITE-VRML
- SHAPE
- FILENAME
- &KEY
- DEFLECTION
Write shape to a VRML file at filename.
deflection controls the tessellation quality (smaller = finer). Returns
ton success, signals an OCCT error on failure, or returnsnilif shape is null or not a valid shape.Example:
(write-vrml (make-box 10 20 30) "/tmp/box.wrl") -
EXTERNAL FUNCTION XCAF-ADD-ANGULAR-DIMENSION
- DOC
- SHAPE
- EDGES
- &KEY
- VALUE
Add an angular dimension to shape in the XCAF doc.
edges is a list of 2 edge shapes defining the angle. value is the measured angle (required).
Returns
ton success,nilon failure.See also:
xcaf-add-linear-dimension,xcaf-add-diameter-dimension -
EXTERNAL FUNCTION XCAF-ADD-DATUM
- DOC
- SHAPE
- &KEY
- LABEL
Add a datum reference to shape in the XCAF doc.
label is the datum label string (required).
Returns
ton success,nilon failure.See also:
xcaf-add-tolerance,xcaf-add-geometric-tolerance -
EXTERNAL FUNCTION XCAF-ADD-DIAMETER-DIMENSION
- DOC
- SHAPE
- SUBSHAPE
- &KEY
- VALUE
Add a diameter dimension to shape via subshape in the XCAF doc.
value is the measured diameter (required).
Returns
ton success,nilon failure.See also:
xcaf-add-linear-dimension -
EXTERNAL FUNCTION XCAF-ADD-GEOMETRIC-TOLERANCE
- DOC
- SHAPE
- TYPE
- VALUE
- &KEY
- DATUMS
Add a geometric tolerance to shape in the XCAF doc.
type is a keyword like :flatness, :position, :parallelism, etc. value is the tolerance value. datums is an optional list of datum label strings.
Returns
ton success,nilon failure.See also:
xcaf-add-tolerance,xcaf-add-datum -
EXTERNAL FUNCTION XCAF-ADD-LINEAR-DIMENSION
- DOC
- SHAPE
- POINTS
- &KEY
- VALUE
Add a linear dimension to shape in the XCAF doc.
points is a list of 2 (x y z) points defining the dimension. value is the measured value (required).
Returns
ton success,nilon failure.See also:
xcaf-add-angular-dimension,xcaf-add-diameter-dimension -
EXTERNAL FUNCTION XCAF-ADD-SHAPE
- DOC
- SHAPE
Add a shape to the XCAF doc. Returns
ton success,nilon failure.See also:
xcaf-add-shape-to-layer,xcaf-has-material -
EXTERNAL FUNCTION XCAF-ADD-SHAPE-TO-LAYER
- DOC
- SHAPE
- LAYER
Add a shape to a named layer in the XCAF doc. Returns
ton success,nilon failure.See also:
xcaf-remove-shape-from-layer,xcaf-get-shape-layers -
EXTERNAL FUNCTION XCAF-ADD-TOLERANCE
- DOC
- SHAPE
- TYPE
- &KEY
- VALUE
- MODIFIERS
Add a tolerance to shape in the XCAF doc.
type is a keyword like :flatness, :position, :parallelism, etc. value is the tolerance value. modifiers is an optional list of modifier keywords (:mmc, :lmc, :rfs, :projected).
Returns
ton success,nilon failure.See also:
xcaf-add-geometric-tolerance,xcaf-add-datum -
EXTERNAL FUNCTION XCAF-ADD-VIEW
- DOC
Add a view to the XCAF doc. Returns
ton success.See also:
xcaf-get-views -
EXTERNAL FUNCTION XCAF-DOC-P
- OBJ
-
EXTERNAL FUNCTION XCAF-EXPAND-ASSEMBLY
- DOC
Expand the assembly structure in the XCAF doc. Returns
ton success,nilon failure.See also:
xcaf-add-shape -
EXTERNAL FUNCTION XCAF-FREE-DOC
- DOC
Explicitly free an XCAF document. Returns
ton success. -
EXTERNAL FUNCTION XCAF-GET-CLIPPING-PLANES
- DOC
Get the list of clipping planes in the XCAF doc. Returns a list of plists, or nil.
-
EXTERNAL FUNCTION XCAF-GET-DATUMS
- DOC
- SHAPE
Get the list of datum labels attached to shape in the XCAF doc.
Returns a list of datum strings.
See also:
xcaf-add-datum,xcaf-add-geometric-tolerance -
EXTERNAL FUNCTION XCAF-GET-DIMENSIONS
- DOC
- SHAPE
Get the list of dimensions attached to shape in the XCAF doc.
Returns a list of dimension plists with :type, :value, :nb-points, :points.
See also:
xcaf-add-linear-dimension,xcaf-get-tolerances -
EXTERNAL FUNCTION XCAF-GET-SHAPE-LAYERS
- DOC
- SHAPE
Retrieve the layer names assigned to a shape in an XCAF doc.
Returns: a list of layer name strings, or
nilif no layers or on error.Example: (let ((doc (make-xcaf-doc))) (xcaf-add-shape doc my-box) (xcaf-add-shape-to-layer doc my-box "Design") (xcaf-get-shape-layers doc my-box)) ;; => ("Design")
See also:
xcaf-add-shape-to-layer,xcaf-remove-shape-from-layer -
EXTERNAL FUNCTION XCAF-GET-TOLERANCES
- DOC
- SHAPE
Get the list of tolerances attached to shape in the XCAF doc.
Returns a list of tolerance plists with :type, :value, :geom-tolerance-p.
See also:
xcaf-add-tolerance,xcaf-get-dimensions -
EXTERNAL FUNCTION XCAF-GET-VIEWS
- DOC
Get the list of views in the XCAF doc. Returns a list of view plists, or nil.
See also:
xcaf-add-view -
EXTERNAL FUNCTION XCAF-GET-VISUAL-MATERIAL
- DOC
- SHAPE
Get the visual material (color and alpha) of a shape in the XCAF doc. Returns a plist with
:color(r g b) and:alpha, or nil if not set.See also:
xcaf-has-material -
EXTERNAL FUNCTION XCAF-HAS-MATERIAL
- DOC
- SHAPE
Check if a shape has an associated material in the XCAF doc. Returns
tif material exists,nilotherwise.See also:
xcaf-get-visual-material -
EXTERNAL FUNCTION XCAF-REMOVE-SHAPE-FROM-LAYER
- DOC
- SHAPE
- LAYER
Remove a shape from a named layer in the XCAF doc. Returns
ton success,nilon failure.See also:
xcaf-add-shape-to-layer -
EXTERNAL FUNCTION ZOOM-CAMERA
- VIEW
- FACTOR
Zooms the camera by a scale factor.
Values greater than 1.0 zoom in, less than 1.0 zoom out.
Example: (with-viewer (v) (zoom-camera v 2.0))
-
EXTERNAL GENERIC-FUNCTION ASSEMBLY-CHILDREN
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION (SETF ASSEMBLY-CHILDREN)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ASSEMBLY-COLOR
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION (SETF ASSEMBLY-COLOR)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ASSEMBLY-LOCATION
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ASSEMBLY-NAME
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION (SETF ASSEMBLY-NAME)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION ASSEMBLY-SHAPE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION COLOR-B
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION COLOR-G
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION COLOR-NAME
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION COLOR-R
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION EXTREMA-DISTANCE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION EXTREMA-POINT-ON-SHAPE1
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION EXTREMA-POINT-ON-SHAPE2
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-AREA
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-CENTER-OF-MASS
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-INERTIA-MATRIX
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-PRINCIPAL-AXES
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-PRINCIPAL-MOMENTS
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION GPROPS-VOLUME
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION LIGHT-TYPE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION MESHVS-HANDLE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION (SETF MESHVS-HANDLE)
- NEW-VALUE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION PROXIMITY-DISTANCE
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION PROXIMITY-SUBSHAPE1
- OBJECT
No documentation provided. -
EXTERNAL GENERIC-FUNCTION PROXIMITY-SUBSHAPE2
- OBJECT
No documentation provided. -
EXTERNAL MACRO WITH-VIEWER
- VAR
- &BODY
- BODY
Creates a viewer, executes body, and frees the viewer on exit.
Guarantees cleanup via
unwind-protecteven if body signals an error or non-local exit.Example: (with-viewer (v) (let ((ctx (ais-create-context v))) (ais-display ctx (make-box 10 20 30)) (fit-all v)))
-
EXTERNAL SOURCE-TRANSFORM OCAF-LABEL-P
No documentation provided. -
EXTERNAL SOURCE-TRANSFORM (SETF OCAF-LABEL-P)
No documentation provided.
-
-
CL-OCCT.IMPL
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *ORIENTATION-MAP*
No documentation provided. -
EXTERNAL FUNCTION %ADD-TO-COMPOUND
- COMPOUND
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-ADD
- PARENT
- CHILD
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-AXIS-ROTATION-CREATE
- NAME
- CTX
- AIS-OBJ
- OX
- OY
- OZ
- DX
- DY
- DZ
- ANGLE-START-DEG
- ANGLE-END-DEG
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-CAMERA-CREATE
- NAME
- VIEW
- SEX
- SEY
- SEZ
- STX
- STY
- STZ
- SUX
- SUY
- SUZ
- EEX
- EEY
- EEZ
- ETX
- ETY
- ETZ
- EUX
- EUY
- EUZ
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-CREATE
- NAME
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-DURATION
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-FREE
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-IS-PLAYING
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-OBJECT-CREATE
- NAME
- CTX
- AIS-OBJ
- TX
- TY
- TZ
- RX
- RY
- RZ
- ANGLE-DEG
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-OBJECT-GET-OBJECT
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-PROGRESS
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-REMOVE
- PARENT
- CHILD
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-SET-DURATION
- ANIM
- SECONDS
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-SET-PROGRESS
- ANIM
- PROGRESS
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-SET-START-PAUSE
- ANIM
- SECONDS
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-START
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-ANIMATION-STOP
- ANIM
No documentation provided. -
EXTERNAL FUNCTION %AIS-COLOR-SCALE-SET-INTERVALS
- OBJ
- N
No documentation provided. -
EXTERNAL FUNCTION %AIS-COLOR-SCALE-SET-RANGE
- OBJ
- MIN
- MAX
No documentation provided. -
EXTERNAL FUNCTION %AIS-COLOR-SCALE-SET-SIZE
- OBJ
- W
- H
No documentation provided. -
EXTERNAL FUNCTION %AIS-COLOR-SCALE-SET-TITLE
- OBJ
- TITLE
No documentation provided. -
EXTERNAL FUNCTION %AIS-COLORED-SHAPE-SET-COLOR
- OBJ
- SUB
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-ADD-FILTER
- CTX
- FILTER
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-ADD-OR-REMOVE-SELECTED
- CTX
- OBJ
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-CLEAR-DETECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-CLEAR-SELECTED
- CTX
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-DEFAULT-DRAWER
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-DETECTED-INTERACTIVE
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-DISPLAY
- CTX
- OBJ
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-ERASE
- CTX
- OBJ
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-FIT-SELECTED
- CTX
- VIEW
- MARGIN
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-HAS-DETECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-HAS-SELECTED-SHAPE
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-HILIGHT-SELECTED
- CTX
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-INIT-SELECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-IS-DISPLAYED
- CTX
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-IS-SELECTED
- CTX
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-MORE-SELECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-MOVE-TO
- CTX
- VIEW
- X
- Y
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-NB-SELECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-NEXT-SELECTED
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-REMOVE
- CTX
- OBJ
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-REMOVE-ALL
- CTX
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-REMOVE-FILTER
- CTX
- FILTER
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SELECT-DETECTED
- CTX
- SCHEME
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SELECT-POINT
- CTX
- VIEW
- X
- Y
- SCHEME
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SELECTED-INTERACTIVE
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SELECTED-OWNER
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SELECTED-SHAPE
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-AUTOMATIC-HILIGHT
- CTX
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-COLOR
- CTX
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-DISPLAY-MODE
- CTX
- OBJ
- MODE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-PIXEL-TOLERANCE
- CTX
- PIXELS
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-SELECTED
- CTX
- OBJ
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-SELECTION-SENSITIVITY
- CTX
- OBJ
- MODE
- SENSITIVITY
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-SET-TO-HILIGHT-SELECTED
- CTX
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-UNHILIGHT-SELECTED
- CTX
- UPDATE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CONTEXT-UNSET-COLOR
- CTX
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-AXIS
- OX
- OY
- OZ
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-CIRCLE
- CX
- CY
- CZ
- NX
- NY
- NZ
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-COLOR-SCALE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-COLORED-SHAPE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-CONNECTED
- SRC
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-CONTEXT
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-LIGHT-SOURCE
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-LINE
- X1
- Y1
- Z1
- X2
- Y2
- Z2
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-MANIPULATOR
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-MULTIPLE-CONNECTED
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-PLANE
- OX
- OY
- OZ
- NX
- NY
- NZ
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-POINT-CLOUD
- VERTS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-SHAPE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-TEXTURED-SHAPE
- SHAPE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-TRIANGULATION
- VERTS
- VCOUNT
- TRIS
- TCOUNT
- COLORS
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-TRIHEDRON
- OX
- OY
- OZ
- DX
- DY
- DZ
- UX
- UY
- UZ
No documentation provided. -
EXTERNAL FUNCTION %AIS-CREATE-VIEW-CUBE
No documentation provided. -
EXTERNAL FUNCTION %AIS-DEACTIVATE-SELECTION
- CTX
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-FREE-CONTEXT
- CTX
No documentation provided. -
EXTERNAL FUNCTION %AIS-FREE-SHAPE
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-MANIPULATOR-ATTACH
- OBJ
- AIS-OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-MANIPULATOR-SET-ACTIVE-AXES
- OBJ
- TRANSLATE
- ROTATE
- SCALE
No documentation provided. -
EXTERNAL FUNCTION %AIS-MANIPULATOR-SET-POSITION
- OBJ
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %AIS-MANIPULATOR-SET-SIZE
- OBJ
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %AIS-MATERIAL-PRESET-COUNT
No documentation provided. -
EXTERNAL FUNCTION %AIS-MATERIAL-PRESET-NAME
- INDEX
No documentation provided. -
EXTERNAL FUNCTION %AIS-MULTIPLE-CONNECTED-CONNECT
- OBJ
- SRC
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-ATTRIBUTES
- OBJ
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-FACE-BOUNDARY-DRAW
- OBJ
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-FREE-BOUNDARY-DRAW
- OBJ
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-ISO-DISPLAY
- OBJ
- U-ON
- V-ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-LINE-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-LINE-TYPE
- OBJ
- TYPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-LINE-WIDTH
- OBJ
- W
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-POINT-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-POINT-SCALE
- OBJ
- SCALE
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-POINT-TYPE
- OBJ
- TYPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-SHADING-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-TEXT-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-TEXT-FONT
- OBJ
- FONT
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-TEXT-HEIGHT
- OBJ
- H
No documentation provided. -
EXTERNAL FUNCTION %AIS-OBJECT-SET-WIRE-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-POINT-CLOUD-SET-COLORS
- OBJ
- COLORS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %AIS-POINT-CLOUD-SET-SIZE
- OBJ
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-CUSTOM-MATERIAL
- CTX
- OBJ
- MAT
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-EDGE-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-EDGES-DISPLAY
- OBJ
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-LINE-WIDTH
- CTX
- OBJ
- W
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-MATERIAL-BY-NAME
- CTX
- OBJ
- NAME
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-SELECTION-MODE
- CTX
- OBJ
- MODE
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-TESSELLATION
- OBJ
- DEFLECTION
- DEVIATION
No documentation provided. -
EXTERNAL FUNCTION %AIS-SET-TRANSPARENCY
- CTX
- OBJ
- V
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-CREATE
- TEXT
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-FREE
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-ANGLE
- LABEL
- RAD
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-COLOR
- LABEL
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-COLOR-SUB-TITLE
- LABEL
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-DISPLAY-TYPE
- LABEL
- TYPE
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-FONT
- LABEL
- FONT-NAME
- HEIGHT
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-HEIGHT
- LABEL
- HEIGHT
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-HJUSTIFICATION
- LABEL
- ALIGN
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-POSITION
- LABEL
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-TEXT
- LABEL
- TEXT
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXT-LABEL-SET-VJUSTIFICATION
- LABEL
- ALIGN
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXTURED-SHAPE-SET-ORIGIN
- OBJ
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %AIS-TEXTURED-SHAPE-SET-REPEAT
- OBJ
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-DATUM-MODE
- OBJ
- MODE
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-DATUM-PART-COLOR
- OBJ
- PART
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-DRAW-ARROWS
- OBJ
- ON
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-SIZE
- OBJ
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-TEXT-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-TRANSFORM-PERS
- OBJ
- CORNER
- X-OFF
- Y-OFF
No documentation provided. -
EXTERNAL FUNCTION %AIS-TRIHEDRON-SET-WIREFRAME-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-VIEW-CUBE-SET-BOX-COLOR
- OBJ
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %AIS-VIEW-CUBE-SET-CORNER
- OBJ
- CORNER
No documentation provided. -
EXTERNAL FUNCTION %AIS-VIEW-CUBE-SET-SIZE
- OBJ
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %APPLY-HEALING-PIPELINE
- SHAPE
- PIPELINE-NAME
- RESOURCE
No documentation provided. -
EXTERNAL FUNCTION %APPLY-OPERATOR-SEQUENCE
- SHAPE
- OPERATORS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %APPLY-SHAPE-PROCESS
- SHAPE
- OPERATOR-NAME
No documentation provided. -
EXTERNAL FUNCTION %ARGUMENT-ANALYZER
- SHAPES
- NUM-SHAPES
No documentation provided. -
EXTERNAL FUNCTION %BLEND-FACES-CONSTANT
- FACE1
- FACE2
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %BLEND-MAKE-CONSTANT
- FACE1
- FACE2
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %BOOLEAN-BUILDER
- SHAPE1
- SHAPE2
- OPERATION
No documentation provided. -
EXTERNAL FUNCTION %BOOLEAN-COMMON
- A
- B
No documentation provided. -
EXTERNAL FUNCTION %BOOLEAN-CUT
- A
- B
No documentation provided. -
EXTERNAL FUNCTION %BOOLEAN-FUSE
- A
- B
No documentation provided. -
EXTERNAL FUNCTION %BOOLEAN-SECTION
- A
- B
No documentation provided. -
EXTERNAL FUNCTION %BOUNDING-BOX-VALUES
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %BREP-OWNER-HAS-SHAPE
- OWNER
No documentation provided. -
EXTERNAL FUNCTION %BREP-OWNER-SHAPE
- OWNER
No documentation provided. -
EXTERNAL FUNCTION %BREP-READ-SHAPE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %BREP-WRITE-SHAPE
- SHAPE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-ABSORPTION
- BSDF
- R
- G
- B
- COEFF
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-AMBIENT
- BSDF
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-DIFFUSE
- BSDF
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-REFLECTION
- BSDF
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-REFRACTION-INDEX
- BSDF
- V
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-SPECULAR
- BSDF
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %BSDF-SET-TRANSMISSION
- BSDF
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %CELLS-BUILDER
- SHAPES
- NUM-SHAPES
- OPERATION
- SELECTION
- SEL-COUNT
No documentation provided. -
EXTERNAL FUNCTION %CHAMFER-EDGE-ASYM
- SHAPE
- EDGE
- DISTANCE1
- DISTANCE2
No documentation provided. -
EXTERNAL FUNCTION %CHAMFER-EDGE-EQUAL
- SHAPE
- EDGE
- DISTANCE
No documentation provided. -
EXTERNAL FUNCTION %CHAMFER-EDGE-ON-FACE
- SHAPE
- EDGE
- DISTANCE
- FACE
No documentation provided. -
EXTERNAL FUNCTION %CHAMFER-EDGES-EQUAL
- SHAPE
- EDGES
- NUM-EDGES
- DISTANCE
No documentation provided. -
EXTERNAL FUNCTION %CHECK-SHAPE-VALIDITY
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %CLASSIFY-POINT-IN-SOLID
- SHAPE
- PX
- PY
- PZ
- OUT-STATE
- OUT-FACE
No documentation provided. -
EXTERNAL FUNCTION %COLLECT-SHAPE-ARRAY
- C-PTR
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %COMPOUND-IS-EMPTY
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %CONVERT-CURVE-TO-BSPLINE
- CURVE
No documentation provided. -
EXTERNAL FUNCTION %CONVERT-SURFACE-TO-BSPLINE
- SURFACE
No documentation provided. -
EXTERNAL FUNCTION %CONVERT-SWEPT-TO-ELEMENTARY
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %CONVERT-TO-REVOLUTION
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %COUNT-SUBSHAPES
- SHAPE
- SHAPE-TYPE
- STOP-AT-TYPE
No documentation provided. -
EXTERNAL FUNCTION %CREATE-GRAPHIC-DRIVER
No documentation provided. -
EXTERNAL FUNCTION %CREATE-NEUTRAL-WINDOW
- NATIVE-HANDLE
No documentation provided. -
EXTERNAL FUNCTION %CURVE-BOUNDING-BOX
- CURVE
- XMIN
- YMIN
- ZMIN
- XMAX
- YMAX
- ZMAX
No documentation provided. -
EXTERNAL FUNCTION %CURVE-CURVATURE-AT
- CURVE
- PARAM
- OUT-K
No documentation provided. -
EXTERNAL FUNCTION %CURVE-CURVATURE-AT-INTERNAL
- CURVE-PTR
- PARAM
No documentation provided. -
EXTERNAL FUNCTION %CURVE-KIND->KEYWORD
- KIND
No documentation provided. -
EXTERNAL FUNCTION %CURVE-TANGENT-AT
- CURVE
- PARAM
- OUT-TX
- OUT-TY
- OUT-TZ
No documentation provided. -
EXTERNAL FUNCTION %CURVE-TANGENT-AT-INTERNAL
- CURVE-PTR
- PARAM
No documentation provided. -
EXTERNAL FUNCTION %CURVE-TYPE
- CURVE
No documentation provided. -
EXTERNAL FUNCTION %CURVE-VALUE
- CURVE
- T-PARAM
- OUT-X
- OUT-Y
- OUT-Z
No documentation provided. -
EXTERNAL FUNCTION %DEFEATURE-SHAPE
- SHAPE
- FACES
- NUM-FACES
No documentation provided. -
EXTERNAL FUNCTION %DRAFT-FACE
- SHAPE
- FACE
- ANGLE
- DX
- DY
- DZ
- PX
- PY
- PZ
- NX
- NY
- NZ
No documentation provided. -
EXTERNAL FUNCTION %DRAWER-LINE-ASPECT
- DRAWER
No documentation provided. -
EXTERNAL FUNCTION %DRAWER-SHADING-ASPECT
- DRAWER
No documentation provided. -
EXTERNAL FUNCTION %DUMP-SHAPE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %EDGE-CURVE-TYPE
- EDGE
No documentation provided. -
EXTERNAL FUNCTION %EDGE-FACES
- EDGE
- PARENT
- OUT-FACES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %EDGE-GET-CURVE
- EDGE
- OUT-FIRST
- OUT-LAST
No documentation provided. -
EXTERNAL FUNCTION %EDGE-LENGTH
- EDGE
- OUT-LENGTH
No documentation provided. -
EXTERNAL FUNCTION %EDGE-TO-CURVE
- EDGE
No documentation provided. -
EXTERNAL FUNCTION %EDGE-VERTICES
- EDGE
- OUT-START
- OUT-END
No documentation provided. -
EXTERNAL FUNCTION %ENUMERATE-FONTS
No documentation provided. -
EXTERNAL FUNCTION %EVALUATE-EXPRESSION
- EXPR
- OUT-VALUE
No documentation provided. -
EXTERNAL FUNCTION %EXTREMA-CURVE-CURVE
- C1
- C2
- OUT-DIST
- OUT-P1X
- OUT-P1Y
- OUT-P1Z
- OUT-P2X
- OUT-P2Y
- OUT-P2Z
No documentation provided. -
EXTERNAL FUNCTION %EXTREMA-CURVE-SURFACE
- CURVE
- SURFACE
- OUT-DIST
- OUT-PX
- OUT-PY
- OUT-PZ
- OUT-U
- OUT-V
No documentation provided. -
EXTERNAL FUNCTION %FACE-AREA
- FACE
- OUT-AREA
No documentation provided. -
EXTERNAL FUNCTION %FACE-CENTER
- FACE
- OUT-X
- OUT-Y
- OUT-Z
No documentation provided. -
EXTERNAL FUNCTION %FACE-DISTANCE
- FACE1
- FACE2
- OUT-MIN
- OUT-MAX
No documentation provided. -
EXTERNAL FUNCTION %FACE-EDGES
- FACE
- OUT-EDGES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %FACE-GET-SURFACE
- FACE
- OUT-UMIN
- OUT-UMAX
- OUT-VMIN
- OUT-VMAX
No documentation provided. -
EXTERNAL FUNCTION %FACE-NATURAL-RESTRICTION
- FACE
No documentation provided. -
EXTERNAL FUNCTION %FACE-NORMAL-AT-CENTER
- FACE
- OUT-NX
- OUT-NY
- OUT-NZ
No documentation provided. -
EXTERNAL FUNCTION %FACE-SURFACE-TYPE
- FACE
No documentation provided. -
EXTERNAL FUNCTION %FACE-TO-SURFACE
- FACE
No documentation provided. -
EXTERNAL FUNCTION %FACE-WIRES
- FACE
- OUT-WIRES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %FAIR-CURVE-BATTEN
- POINTS
- NUM-POINTS
- FREE-END
- FREE-SLIDE
- INIT-TANGENT
- FINAL-TANGENT
No documentation provided. -
EXTERNAL FUNCTION %FAIR-CURVE-MINVAR
- POINTS
- NUM-POINTS
- FREE-END
- FREE-SLIDE
- INIT-SLOPE
- FINAL-SLOPE
No documentation provided. -
EXTERNAL FUNCTION %FILL-FACE
- WIRE
No documentation provided. -
EXTERNAL FUNCTION %FILL-FACE-CONSTRAINED
- WIRE
- SUPPORT-FACES
- CONTINUITIES
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %FILL-N-SIDED-FACE
- EDGES
- COUNT
- CONTINUITY
No documentation provided. -
EXTERNAL FUNCTION %FILL-SURFACE-FROM-CURVES
- CURVES
- NUM-CURVES
- CONTINUITY
- SUPPORT-FACES
- NUM-SUPPORT-FACES
No documentation provided. -
EXTERNAL FUNCTION %FILLET-EDGE-CONSTANT
- SHAPE
- EDGE
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %FILLET-EDGE-VARIABLE
- SHAPE
- EDGE
- PARAMS-AND-RADII
- NUM-PAIRS
No documentation provided. -
EXTERNAL FUNCTION %FILLET-EDGES-CONSTANT
- SHAPE
- EDGES
- NUM-EDGES
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %FILLET-WIRE-ALL-CORNERS
- WIRE
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %FILLET-WIRE-CORNER
- WIRE
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %FILTER-SET-EDGE-TYPE
- FILTER
- EDGE-TYPE
No documentation provided. -
EXTERNAL FUNCTION %FILTER-SET-FACE-TYPE
- FILTER
- FACE-TYPE
No documentation provided. -
EXTERNAL FUNCTION %FIND-EDGES-BY-RADIUS
- SHAPE
- RADIUS
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %FIND-EDGES-BY-TYPE
- SHAPE
- CURVE-TYPE
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %FIX-EDGE
- EDGE
No documentation provided. -
EXTERNAL FUNCTION %FIX-FACE
- FACE
No documentation provided. -
EXTERNAL FUNCTION %FIX-SHAPE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %FIX-SMALL-FACES
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %FIX-SOLID
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %FIX-WIRE
- WIRE
- FACE
- TOLERANCE
No documentation provided. -
EXTERNAL FUNCTION %FONT-ADVANCE-X
- FONT
- C1
- C2
No documentation provided. -
EXTERNAL FUNCTION %FONT-ADVANCE-Y
- FONT
- C1
- C2
No documentation provided. -
EXTERNAL FUNCTION %FONT-ASCENDER
- FONT
No documentation provided. -
EXTERNAL FUNCTION %FONT-ASPECT-VALUE
- ASPECT
No documentation provided. -
EXTERNAL FUNCTION %FONT-DESCENDER
- FONT
No documentation provided. -
EXTERNAL FUNCTION %FONT-LINE-SPACING
- FONT
No documentation provided. -
EXTERNAL FUNCTION %FONT-RENDER-GLYPH
- FONT
- CODEPOINT
No documentation provided. -
EXTERNAL FUNCTION %FONT-SET-COMPOSITE-CURVE-MODE
- FONT
- ON
No documentation provided. -
EXTERNAL FUNCTION %FONT-SET-WIDTH-SCALING
- FONT
- SCALE
No documentation provided. -
EXTERNAL FUNCTION %FREE-BREP-FONT
- FONT
No documentation provided. -
EXTERNAL FUNCTION %FREE-BSDF
- BSDF
No documentation provided. -
EXTERNAL FUNCTION %FREE-CUBEMAP
- CUBEMAP
No documentation provided. -
EXTERNAL FUNCTION %FREE-CURVE
- CURVE
No documentation provided. -
EXTERNAL FUNCTION %FREE-FILTER
- FILTER
No documentation provided. -
EXTERNAL FUNCTION %FREE-GEOM2D
- G
No documentation provided. -
EXTERNAL FUNCTION %FREE-GRAPHIC-DRIVER
- DRIVER
No documentation provided. -
EXTERNAL FUNCTION %FREE-IMAGE
- IMG
No documentation provided. -
EXTERNAL FUNCTION %FREE-NEUTRAL-WINDOW
- WINDOW
No documentation provided. -
EXTERNAL FUNCTION %FREE-OWNER
- OWNER
No documentation provided. -
EXTERNAL FUNCTION %FREE-PBR-MATERIAL
- MAT
No documentation provided. -
EXTERNAL FUNCTION %FREE-SHAPE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %FREE-SHAPE-ARRAY
- ARR
No documentation provided. -
EXTERNAL FUNCTION %FREE-SURFACE
- SURFACE
No documentation provided. -
EXTERNAL FUNCTION %FREE-TEXTURE
- TEX
No documentation provided. -
EXTERNAL FUNCTION %FREE-TEXTURE-PARAMS
- PARAMS
No documentation provided. -
EXTERNAL FUNCTION %GCCANA-CIRCLE-TANGENT-TWO-LINES
- X1
- Y1
- DX1
- DY1
- X2
- Y2
- DX2
- DY2
- RADIUS
- OUT-CIRCLES
- MAX-CIRCLES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %GCCANA-LINE-THROUGH-TWO-POINTS
- X1
- Y1
- X2
- Y2
- OUT-PARAMS
No documentation provided. -
EXTERNAL FUNCTION %GEOMABS-CURVE-TYPE->KEYWORD
- TYPE-INT
No documentation provided. -
EXTERNAL FUNCTION %GEOMABS-SURFACE-TYPE->KEYWORD
- TYPE-INT
No documentation provided. -
EXTERNAL FUNCTION %GET-ERROR-CODE
No documentation provided. -
EXTERNAL FUNCTION %GET-ERROR-MESSAGE
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-FREE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-GET-EDGE-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-GET-INTERIOR-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-GET-INTERIOR-STYLE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-NEW
- INTERIOR
- R
- G
- B
- ER
- EG
- EB
- EDGE-LINE-TYPE
- EDGE-WIDTH
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-SET-EDGE-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-FILL-AREA-SET-INTERIOR-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-FREE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-GET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-GET-TYPE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-GET-WIDTH
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-NEW
- R
- G
- B
- LINE-TYPE
- WIDTH
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-LINE-SET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-FREE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-GET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-GET-SCALE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-GET-TYPE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-NEW
- MARKER-TYPE
- R
- G
- B
- SCALE
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-MARKER-SET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-FREE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-GET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-GET-FONT
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-GET-STYLE
- A
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-NEW
- R
- G
- B
- FONT
- STYLE
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-ASPECT-TEXT-SET-COLOR
- A
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-FREE
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-GET-EQUATION
- P
- A
- B
- C
- D
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-IS-ON
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-NEW
- A
- B
- C
- D
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-SET-CAP-COLOR
- P
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-SET-CAPPING
- P
- ON
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-SET-EQUATION
- P
- A
- B
- C
- D
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-CLIP-PLANE-SET-ON
- P
- ON
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-ADD-LINES
- G
- VERTS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-ADD-POINTS
- G
- VERTS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-ADD-TEXT
- G
- TEXT
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-ADD-TRIANGLES
- G
- VERTS
- NORMS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-FREE
- G
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-NEW
- STRUCT-PTR
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-SET-ASPECT
- G
- ASPECT
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-SET-LINE-ASPECT
- G
- ASPECT
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-GROUP-SET-VISIBLE
- G
- VISIBLE
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-GET-ANTIALIASING
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-GET-METHOD
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-GET-RAYTRACING-DEPTH
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-GET-REFLECTIONS
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-GET-SHADOWS
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-SET-ANTIALIASING
- P
- ON
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-SET-METHOD
- P
- METHOD
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-SET-RAYTRACING-DEPTH
- P
- DEPTH
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-SET-REFLECTIONS
- P
- ON
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-RENDERING-PARAMS-SET-SHADOWS
- P
- ON
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-SHADER-PROGRAM-FREE
- P
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-SHADER-PROGRAM-NEW
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-SHADER-PROGRAM-SET-FRAGMENT-SOURCE
- P
- SRC
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-SHADER-PROGRAM-SET-HEADER
- P
- HDR
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-SHADER-PROGRAM-SET-VERTEX-SOURCE
- P
- SRC
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-ADD-CHILD
- PARENT
- CHILD
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-DISPLAY
- S
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-ERASE
- S
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-FREE
- S
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-NEW
- DRIVER-PTR
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-REMOVE-CHILD
- PARENT
- CHILD
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-REMOVE-TRANSFORM
- S
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-SET-TRANSFORM
- S
- MAT16
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-STRUCTURE-SET-VISIBLE
- S
- VISIBLE
No documentation provided. -
EXTERNAL FUNCTION %GRAPHIC3D-VIEW-RENDERING-PARAMS
- VIEW-PTR
No documentation provided. -
EXTERNAL FUNCTION %H-ALIGN-VALUE
- ALIGN
No documentation provided. -
EXTERNAL FUNCTION %HEAL-SHAPE-DEFAULT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %HLR-PROJECT
- SHAPE
- PROJ-DX
- PROJ-DY
- PROJ-DZ
- PX
- PY
- PZ
No documentation provided. -
EXTERNAL FUNCTION %IMAGE-FROM-FILE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %IMAGE-HEIGHT
- IMG
No documentation provided. -
EXTERNAL FUNCTION %IMAGE-SAVE
- IMG
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %IMAGE-WIDTH
- IMG
No documentation provided. -
EXTERNAL FUNCTION %INT-TO-ORIENTATION
- INT-VAL
No documentation provided. -
EXTERNAL FUNCTION %INT-TO-SHAPE-TYPE
- INT-VAL
No documentation provided. -
EXTERNAL FUNCTION %INTERPOLATE-POINTS
- POINTS
- NUM-POINTS
- INIT-TANGENT
- FINAL-TANGENT
No documentation provided. -
EXTERNAL FUNCTION %INTERSECT-CURVE-SHAPE
- CURVE
- SHAPE
- OUT-POINTS
- OUT-PARAMS
- OUT-FACES
- MAX-RESULTS
No documentation provided. -
EXTERNAL FUNCTION %INTERSECT-CURVE-SURFACE
- CURVE
- SURFACE
- OUT-POINTS
- MAX-POINTS
No documentation provided. -
EXTERNAL FUNCTION %INTERSECT-CURVES
- C1
- C2
- OUT-POINTS
- MAX-POINTS
No documentation provided. -
EXTERNAL FUNCTION %INTERSECT-CURVES-2D
- C1
- C2
- OUT-POINTS
- MAX-POINTS
No documentation provided. -
EXTERNAL FUNCTION %INTERSECT-SURFACES
- S1
- S2
- OUT-CURVES
- MAX-CURVES
No documentation provided. -
EXTERNAL FUNCTION %INTTOOLS-EDGE-EDGE
- EDGE1
- EDGE2
- OUT-POINTS
- MAX-POINTS
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %INTTOOLS-EDGE-FACE
- EDGE
- FACE
- OUT-POINTS
- MAX-POINTS
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %INTTOOLS-FACE-FACE
- FACE1
- FACE2
- OUT-POINTS
- MAX-POINTS
- OUT-POINT-COUNT
- OUT-CURVES
- MAX-CURVES
- OUT-CURVE-COUNT
No documentation provided. -
EXTERNAL FUNCTION %INTTOOLS-FREE-CURVE
- CURVE
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-FREE
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-IS-ON
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-ANGLE
- LIGHT
- ANGLE
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-COLOR
- LIGHT
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-CONCENTRATION
- LIGHT
- V
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-DIRECTION
- LIGHT
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-HEADLIGHT
- LIGHT
- ON
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-INTENSITY
- LIGHT
- V
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-POSITION
- LIGHT
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %LIGHT-SET-SHADOWS
- LIGHT
- ON
No documentation provided. -
EXTERNAL FUNCTION %LINE-ASPECT-SET-COLOR
- ASPECT
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %LINE-ASPECT-SET-TYPE
- ASPECT
- TYPE
No documentation provided. -
EXTERNAL FUNCTION %LINE-ASPECT-SET-WIDTH
- ASPECT
- W
No documentation provided. -
EXTERNAL FUNCTION %LOCAL-EXTRUDE
- FACE
- HEIGHT
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %LOCATION-FREE
- LOC
No documentation provided. -
EXTERNAL FUNCTION %LOCATION-FROM-TRANSLATION
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %LOCATION-INVERTED
- LOC
No documentation provided. -
EXTERNAL FUNCTION %LOCATION-MULTIPLY
- LOC1
- LOC2
No documentation provided. -
EXTERNAL FUNCTION %LOFT-SECTIONS
- WIRES
- COUNT
- SOLID
No documentation provided. -
EXTERNAL FUNCTION %LOFT-SECTIONS-RULED
- WIRES
- COUNT
- SOLID
- RULED
No documentation provided. -
EXTERNAL FUNCTION %LOFT-SECTIONS-SMOOTH
- WIRES
- COUNT
- SOLID
- SMOOTH
No documentation provided. -
EXTERNAL FUNCTION %LOFT-SECTIONS-TANGENCY
- WIRES
- COUNT
- SOLID
- INIT-FACE
- FINAL-FACE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BEZIER-CURVE
- POINTS
- NUM-POINTS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BEZIER-SURFACE
- POLES
- NUM-U
- NUM-V
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BOX
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BREP-FONT-FROM-FILE
- FONT-PATH
- SIZE
- FACE-ID
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BREP-FONT-FROM-NAME
- FONT-NAME
- FONT-ASPECT
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BSDF
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BSPLINE-CURVE
- POLES
- NUM-POLES
- KNOTS
- MULTS
- NUM-KNOTS
- DEGREE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-BSPLINE-SURFACE
- POLES
- NUM-U-POLES
- NUM-V-POLES
- UKNOTS
- UMULTS
- NUM-UKNOTS
- VKNOTS
- VMULTS
- NUM-VKNOTS
- UDEG
- VDEG
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CIRCLE-2D
- X
- Y
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CIRCLE-3D
- OX
- OY
- OZ
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-COMPOUND
- SHAPES
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CONE
- R1
- R2
- HEIGHT
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CONICAL-SURFACE
- OX
- OY
- OZ
- DX
- DY
- DZ
- RADIUS
- SEMI-ANGLE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CONNECTED-SHAPES
- SHAPES
- NUM-SHAPES
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CUBEMAP-SEPARATE
- PATHS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CYLINDER
- RADIUS
- HEIGHT
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CYLINDRICAL-HOLE
- SHAPE
- FACE
- RADIUS
- DEPTH
- THROUGH
No documentation provided. -
EXTERNAL FUNCTION %MAKE-CYLINDRICAL-SURFACE
- OX
- OY
- OZ
- DX
- DY
- DZ
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-DIR2D
- X
- Y
No documentation provided. -
EXTERNAL FUNCTION %MAKE-DRAFTED-PRISM
- SHAPE
- FACE
- PROFILE
- HEIGHT
- ANGLE
- OPERATION
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EDGE-ARC-2D
- X1
- Y1
- X2
- Y2
- X3
- Y3
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EDGE-CIRCLE-2D
- X
- Y
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EDGE-FILTER
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EDGE-LINE-2D
- X1
- Y1
- X2
- Y2
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EDGE-LINE-3D
- X1
- Y1
- Z1
- X2
- Y2
- Z2
No documentation provided. -
EXTERNAL FUNCTION %MAKE-ELLIPSE-3D
- OX
- OY
- OZ
- MAJOR-R
- MINOR-R
No documentation provided. -
EXTERNAL FUNCTION %MAKE-EVOLVED
- PROFILE
- SPINE
- OFFSET
- JOIN
No documentation provided. -
EXTERNAL FUNCTION %MAKE-FACE
- WIRE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-FACE-FILTER
No documentation provided. -
EXTERNAL FUNCTION %MAKE-FACE-ON-PLANE
- WIRE
- OX
- OY
- OZ
- NX
- NY
- NZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-GC-ARC-OF-CIRCLE
- X1
- Y1
- Z1
- X2
- Y2
- Z2
- X3
- Y3
- Z3
No documentation provided. -
EXTERNAL FUNCTION %MAKE-GC-LINE
- X1
- Y1
- Z1
- X2
- Y2
- Z2
No documentation provided. -
EXTERNAL FUNCTION %MAKE-GROOVE
- SHAPE
- FACE
- AX
- AY
- AZ
- ANGLE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-HELIX-CURVE
- RADIUS
- PITCH
- HEIGHT
- LEFT-HANDED
- ANGLE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-HELIX-EDGE
- RADIUS
- PITCH
- HEIGHT
- LEFT-HANDED
- ANGLE
- ON-SURFACE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-HYPERBOLA
- OX
- OY
- OZ
- MAJOR-R
- MINOR-R
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LIGHT-AMBIENT
- R
- G
- B
- INTENSITY
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LIGHT-DIRECTIONAL
- R
- G
- B
- INTENSITY
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LIGHT-POSITIONAL
- R
- G
- B
- INTENSITY
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LIGHT-SPOT
- R
- G
- B
- INTENSITY
- X
- Y
- Z
- DX
- DY
- DZ
- ANGLE
- CONCENTRATION
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LINE-2D
- X
- Y
- DX
- DY
No documentation provided. -
EXTERNAL FUNCTION %MAKE-LINE-3D
- OX
- OY
- OZ
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-MATERIAL
- AR
- AG
- AB
- DR
- DG
- DB
- SR
- SG
- SB
- SHININESS
- TRANSPARENCY
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PARABOLA
- OX
- OY
- OZ
- FOCAL
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PBR-MATERIAL
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PIPE-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- PATH
- OPERATION
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PLANE
- OX
- OY
- OZ
- NX
- NY
- NZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PNT2D
- X
- Y
No documentation provided. -
EXTERNAL FUNCTION %MAKE-POLYGON
- POINTS
- NUM-POINTS
- CLOSED
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PRISM
- SHAPE
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-PRISM-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- HEIGHT
- DX
- DY
- DZ
- OPERATION
No documentation provided. -
EXTERNAL FUNCTION %MAKE-REVOL
- SHAPE
- AX
- AY
- AZ
- ANGLE-DEG
No documentation provided. -
EXTERNAL FUNCTION %MAKE-REVOL-FEATURE
- SHAPE
- BASE-FACE
- PROFILE
- AX
- AY
- AZ
- ANGLE
- OPERATION
No documentation provided. -
EXTERNAL FUNCTION %MAKE-RIB
- SHAPE
- PROFILE
- THICKNESS
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-SHAPE-PERIODIC
- SHAPE
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-SHAPE-TYPE-FILTER
- SHAPE-TYPE
No documentation provided. -
EXTERNAL FUNCTION %MAKE-SPHERE
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-SPHERICAL-SURFACE
- OX
- OY
- OZ
- RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TEXT-SHAPE
- FONT
- TEXT
- H-ALIGN
- V-ALIGN
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TEXT-SHAPE-ON-PLANE
- FONT
- TEXT
- H-ALIGN
- V-ALIGN
- PX
- PY
- PZ
- ZX
- ZY
- ZZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TEXT-SHAPE-ON-PLANE-FULL
- FONT
- TEXT
- H-ALIGN
- V-ALIGN
- PX
- PY
- PZ
- ZX
- ZY
- ZZ
- XX
- XY
- XZ
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TEXTURE-PARAMS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TOROIDAL-SURFACE
- OX
- OY
- OZ
- MAJOR-R
- MINOR-R
No documentation provided. -
EXTERNAL FUNCTION %MAKE-TORUS
- MAJOR-RADIUS
- MINOR-RADIUS
No documentation provided. -
EXTERNAL FUNCTION %MAKE-VEC2D
- X
- Y
No documentation provided. -
EXTERNAL FUNCTION %MAKE-VERTEX
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %MAKE-VOLUME
- SHAPES
- NUM-SHAPES
No documentation provided. -
EXTERNAL FUNCTION %MAKE-WEDGE-CORNER
- DX
- DY
- DZ
- XMIN
- ZMIN
- XMAX
- ZMAX
No documentation provided. -
EXTERNAL FUNCTION %MAKE-WEDGE-FULL
- DX
- DY
- DZ
- LTX
No documentation provided. -
EXTERNAL FUNCTION %MAKE-WIRE
- EDGES
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %MAP-SUBSHAPES
- SHAPE
- SHAPE-TYPE
- STOP-AT-TYPE
- OUT-SHAPES
- MAX-SHAPES
No documentation provided. -
EXTERNAL FUNCTION %MATH-BFGS-MINIMIZE
- FN
- N-VARS
- INITIAL
- TOLERANCE
- MAX-ITER
- OUT-MINIMIZER
- OUT-MIN-VALUE
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MATH-FRPR-MINIMIZE
- FN
- N-VARS
- INITIAL
- TOLERANCE
- MAX-ITER
- OUT-MINIMIZER
- OUT-MIN-VALUE
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MATH-FUNCTION-ROOT
- FN
- X0
- X1
- FTOL
- MAX-ITER
- OUT-ROOT
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MATH-GLOBOPTMIN-MINIMIZE
- FN
- N-VARS
- LOWER
- UPPER
- TOLERANCE
- MAX-ITER
- OUT-MINIMIZER
- OUT-MIN-VALUE
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MATH-NEWTON-MINIMUM
- FN
- X0
- TOLERANCE
- MAX-ITER
- OUT-MIN-X
- OUT-MIN-VALUE
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MATH-PSO-MINIMIZE
- FN
- N-VARS
- LOWER
- UPPER
- INITIAL
- N-PARTICLES
- MAX-ITER
- TOLERANCE
- OUT-MINIMIZER
- OUT-MIN-VALUE
- OUT-ITERATIONS
No documentation provided. -
EXTERNAL FUNCTION %MESH-GET-NORMALS
- SHAPE
- OUT-NORMALS
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %MESH-GET-TRIANGLE-COUNT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %MESH-GET-TRIANGLES
- SHAPE
- OUT-TRIS
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %MESH-GET-VERTICES
- SHAPE
- OUT-VERTS
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %MESH-SHAPE
- SHAPE
- DEFLECTION
- ANGLE
- RELATIVE
No documentation provided. -
EXTERNAL FUNCTION %MESH-TRIANGLE-ADJACENT
- SHAPE
- TRI-INDEX
- EDGE-INDEX
No documentation provided. -
EXTERNAL FUNCTION %MESH-TRIANGLE-ELEMENTS
- SHAPE
- TRI-INDEX
- OUT-N1
- OUT-N2
- OUT-N3
No documentation provided. -
EXTERNAL FUNCTION %MESHVS-CREATE-MESH
No documentation provided. -
EXTERNAL FUNCTION %MESHVS-DISPLAY
- CTX
- MESH
No documentation provided. -
EXTERNAL FUNCTION %MESHVS-FREE-MESH
- MESH
No documentation provided. -
EXTERNAL FUNCTION %MESHVS-SET-DATA
- MESH
- VERTS
- VCOUNT
- TRIS
- TCOUNT
- COLORS
No documentation provided. -
EXTERNAL FUNCTION %NORMAL-PROJECT
- SHAPE-TO-PROJECT
- FACE
No documentation provided. -
EXTERNAL FUNCTION %OCAF-ADD-FUNCTION
- LABEL
- DRIVER-GUID
No documentation provided. -
EXTERNAL FUNCTION %OCAF-BEGIN-TRANSACTION
- DOC
- NAME
No documentation provided. -
EXTERNAL FUNCTION %OCAF-COMMIT-TRANSACTION
- DOC
No documentation provided. -
EXTERNAL FUNCTION %OCAF-FIND-LABEL
- DOC
- TAGS
- COUNT
- CREATE
No documentation provided. -
EXTERNAL FUNCTION %OCAF-FREE-DOC
- DOC
No documentation provided. -
EXTERNAL FUNCTION %OCAF-FREE-LABEL
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-FREE-LABEL-ARRAY
- LABELS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %OCAF-FREE-STRING
- STR
No documentation provided. -
EXTERNAL FUNCTION %OCAF-GET-INTEGER
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-GET-NAME
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-GET-NAMED-SHAPE
- LABEL
- EVOLUTION
No documentation provided. -
EXTERNAL FUNCTION %OCAF-GET-REAL
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-GET-STRING
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-HAS-INTEGER
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-HAS-REAL
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-HAS-STRING
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-LABEL-CHILDREN
- LABEL
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %OCAF-LABEL-DEPTH
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-LABEL-TAG
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-NAME-SHAPE
- LABEL
- SHAPE
- EVOLUTION
No documentation provided. -
EXTERNAL FUNCTION %OCAF-NAMED-SHAPE-IS-DELETED
- LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-NEW-DOC
No documentation provided. -
EXTERNAL FUNCTION %OCAF-RECOMPUTE-DOC
- DOC
No documentation provided. -
EXTERNAL FUNCTION %OCAF-RECOMPUTE-FUNCTION
- FUNC-LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-ROOT-LABEL
- DOC
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-FUNCTION-INPUT
- FUNC-LABEL
- INPUT-LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-FUNCTION-OUTPUT
- FUNC-LABEL
- OUTPUT-LABEL
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-INTEGER
- LABEL
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-NAME
- LABEL
- NAME
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-REAL
- LABEL
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %OCAF-SET-STRING
- LABEL
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %OCAF-UNDO-TRANSACTION
- DOC
No documentation provided. -
EXTERNAL FUNCTION %OFFSET-SHAPE-3D
- SHAPE
- OFFSET
- JOIN
No documentation provided. -
EXTERNAL FUNCTION %OFFSET-WIRE-2D
- WIRE
- OFFSET
No documentation provided. -
EXTERNAL FUNCTION %OWNER-LOCATION
- OWNER
- MATRIX
No documentation provided. -
EXTERNAL FUNCTION %OWNER-PRIORITY
- OWNER
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-ALBEDO
- MAT
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-EMISSIVE
- MAT
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-METALLIC
- MAT
- V
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-REFRACTION-INDEX
- MAT
- V
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-ROUGHNESS
- MAT
- V
No documentation provided. -
EXTERNAL FUNCTION %PBR-MATERIAL-SET-TRANSPARENCY
- MAT
- V
No documentation provided. -
EXTERNAL FUNCTION %POINTS-TO-BSPLINE
- POINTS
- NUM-POINTS
- DEGREE
No documentation provided. -
EXTERNAL FUNCTION %PRECISION-ANGULAR
No documentation provided. -
EXTERNAL FUNCTION %PRECISION-CONFUSION
No documentation provided. -
EXTERNAL FUNCTION %PRECISION-INTERSECTION
No documentation provided. -
EXTERNAL FUNCTION %PROJECT-POINT-ON-CURVE
- CURVE
- PX
- PY
- PZ
- OUT-X
- OUT-Y
- OUT-Z
- OUT-DIST
- OUT-PARAM
No documentation provided. -
EXTERNAL FUNCTION %PROJECT-POINT-ON-CURVE-2D
- CURVE
- PX
- PY
- OUT-X
- OUT-Y
- OUT-DIST
- OUT-PARAM
No documentation provided. -
EXTERNAL FUNCTION %PROJECT-POINT-ON-SURFACE
- SURFACE
- PX
- PY
- PZ
- OUT-X
- OUT-Y
- OUT-Z
- OUT-U
- OUT-V
- OUT-DIST
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-ARROW
- SX
- SY
- SZ
- EX
- EY
- EZ
- SHAFT-RADIUS
- CONE-LENGTH
- CONE-RADIUS
- N-FACETS
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-BNDBOX
- XMIN
- YMIN
- ZMIN
- XMAX
- YMAX
- ZMAX
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-SEGMENTS-EDGE-COUNT
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-SEGMENTS-FREE
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-SEGMENTS-GET-EDGES
- HANDLE
- OUT
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-SEGMENTS-GET-VERTICES
- HANDLE
- OUT
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-SEGMENTS-VERTEX-COUNT
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TOOL-CYLINDER
- RADIUS
- HEIGHT
- N-SLICES
- N-STACKS
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TOOL-DISK
- INNER-RADIUS
- OUTER-RADIUS
- N-SLICES
- N-STACKS
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TOOL-SPHERE
- RADIUS
- N-SLICES
- N-STACKS
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TOOL-TORUS
- MAJOR-RADIUS
- MINOR-RADIUS
- N-SLICES
- N-STACKS
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-FREE
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-GET-NORMALS
- HANDLE
- OUT
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-GET-TRIANGLES
- HANDLE
- OUT
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-GET-VERTICES
- HANDLE
- OUT
- MAX-COUNT
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-HAS-NORMALS
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-TRIANGLE-COUNT
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRS3D-TRIANGULATION-VERTEX-COUNT
- HANDLE
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-MAKE-ANGLE-3P
- VX
- VY
- VZ
- P1X
- P1Y
- P1Z
- P2X
- P2Y
- P2Z
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-MAKE-DIAMETER
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-MAKE-LENGTH-2P
- X1
- Y1
- Z1
- X2
- Y2
- Z2
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-MAKE-RADIUS
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-ANGLE-EDGES
- DIM
- EDGE1
- EDGE2
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-ARROW-LENGTH
- DIM
- V
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-CUSTOM-VALUE
- DIM
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-DISPLAY-UNITS
- DIM
- UNITS
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-EXTENSION-SIZE
- DIM
- V
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-FLYOUT
- DIM
- V
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-MEASURED-EDGE
- DIM
- SHAPE
- PX
- PY
- PZ
- NX
- NY
- NZ
No documentation provided. -
EXTERNAL FUNCTION %PRSDIM-SET-TEXT-POSITION
- DIM
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %QUERY-FONT-INFO
- FONT-NAME
No documentation provided. -
EXTERNAL FUNCTION %READ-GLTF
- FILENAME
- COORDINATE-SYSTEM
No documentation provided. -
EXTERNAL FUNCTION %READ-IGES
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %READ-OBJ
- FILENAME
- COORDINATE-SYSTEM
No documentation provided. -
EXTERNAL FUNCTION %READ-STEP
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %READ-STL
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %REMOVE-FEATURES
- SHAPE
- FACES
- NUM-FACES
No documentation provided. -
EXTERNAL FUNCTION %ROTATE
- SHAPE
- AX
- AY
- AZ
- ANGLE-DEG
No documentation provided. -
EXTERNAL FUNCTION %RWMESH-COORDINATE-SYSTEM-YUP
No documentation provided. -
EXTERNAL FUNCTION %RWMESH-COORDINATE-SYSTEM-ZUP
No documentation provided. -
EXTERNAL FUNCTION %RWMESH-NAME-FORMAT-AUTO
No documentation provided. -
EXTERNAL FUNCTION %RWMESH-NAME-FORMAT-FULL
No documentation provided. -
EXTERNAL FUNCTION %RWMESH-NAME-FORMAT-SHORT
No documentation provided. -
EXTERNAL FUNCTION %RWSTL-FREE-TRIANGULATION
- TRI
No documentation provided. -
EXTERNAL FUNCTION %RWSTL-READ-FILE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %RWSTL-WRITE-FILE
- TRI
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %SET-SHAPE-TOLERANCE
- SHAPE
- TOLERANCE
- SHAPE-TYPE
No documentation provided. -
EXTERNAL FUNCTION %SEW-SHAPES
- SHAPES
- NUM-SHAPES
- TOLERANCE
- ALLOW-NON-MANIFOLD
No documentation provided. -
EXTERNAL FUNCTION %SHADING-ASPECT-SET-COLOR
- ASPECT
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %SHADING-ASPECT-SET-MATERIAL
- ASPECT
- AR
- AG
- AB
- DR
- DG
- DB
- SR
- SG
- SB
- SHININESS
- TRANSPARENCY
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ANALYSIS-CHECK-INTERSECTIONS
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ANALYSIS-CONTENTS
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ANALYSIS-FREE-EDGES
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ANALYSIS-REPORT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ANALYSIS-WIRE-CONTAINS
- WIRE
- X
- Y
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-AREA
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-BOUNDING-BOX
- SHAPE
- XMIN
- YMIN
- ZMIN
- XMAX
- YMAX
- ZMAX
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-CENTER-OF-MASS
- SHAPE
- OUT-X
- OUT-Y
- OUT-Z
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-COPY
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-DISTANCE
- SHAPE1
- SHAPE2
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-DISTANCE-EXTREMA
- SHAPE1
- SHAPE2
- OUT-DIST
- OUT-P1X
- OUT-P1Y
- OUT-P1Z
- OUT-P2X
- OUT-P2Y
- OUT-P2Z
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-DISTANCE-EXTREMA-INTERNAL
- SHAPE1-PTR
- SHAPE2-PTR
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-EXTENT-ALONG
- SHAPE
- DX
- DY
- DZ
- OUT-MIN
- OUT-MAX
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-GET-LOCATION
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-GPROPS-INTERNAL
- SHAPE-PTR
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-INERTIA
- SHAPE
- OUT-INERTIA
- INERTIA-SIZE
- OUT-PRINCIPAL-MOMENTS
- PM-SIZE
- OUT-PRINCIPAL-AXES
- PA-SIZE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-IS-COMPOUND
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-IS-VALID
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-MOVED
- SHAPE
- LOC
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-ORIENTATION-INT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-OVERLAP-DETAIL
- SHAPE1
- SHAPE2
- TOLERANCE
- OUT-SUBSHAPES1
- OUT-SUBSHAPES2
- MAX-RESULTS
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-OVERLAP-P
- SHAPE1
- SHAPE2
- TOLERANCE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-PROXIMITY
- SHAPE1
- SHAPE2
- TOLERANCE
- OUT-VALUE
- OUT-SUBSHAPES1
- OUT-SUBSHAPES2
- MAX-RESULTS
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-PROXIMITY-INTERNAL
- SHAPE1-PTR
- SHAPE2-PTR
- TOLERANCE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-REDUCE-DEGREE
- SHAPE
- MAX-DEGREE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-REVERSED
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-SELF-INTERSECT
- SHAPE
- TOLERANCE
- OUT-FACES
- MAX-RESULTS
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-SELF-INTERSECT-INTERNAL
- SHAPE-PTR
- TOLERANCE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-SPLIT-U
- SHAPE
- NUM-SPLITS
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TO-NURBS
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TO-RATIONAL-BSPLINE
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TOLERANCE
- SHAPE
- OUT-TOL
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TRIANGLE-COUNT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TYPE-INT
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-TYPE-TO-INT
- KEYWORD
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-UPGRADE-CONTINUITY
- SHAPE
- CONTINUITY
No documentation provided. -
EXTERNAL FUNCTION %SHAPE-VOLUME
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %SHELL-SHAPE
- SHAPE
- FACES
- NUM-FACES
- THICKNESS
No documentation provided. -
EXTERNAL FUNCTION %SPLIT-SHAPE
- SHAPE
- TOOLS
- NUM-TOOLS
No documentation provided. -
EXTERNAL FUNCTION %SUBSHAPE-BOUNDING-BOX
- SHAPE
- OUT-XMIN
- OUT-YMIN
- OUT-ZMIN
- OUT-XMAX
- OUT-YMAX
- OUT-ZMAX
No documentation provided. -
EXTERNAL FUNCTION %SUBSTITUTE-BATCH
- SHAPE
- OLD-SHAPES
- NEW-SHAPES
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %SUBSTITUTE-SINGLE
- SHAPE
- OLD-SUB
- NEW-SUB
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-BOUNDING-BOX
- SURFACE
- XMIN
- YMIN
- ZMIN
- XMAX
- YMAX
- ZMAX
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-CURVATURE-AT
- SURFACE
- U
- V
- OUT-MIN-K
- OUT-MAX-K
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-CURVATURE-AT-INTERNAL
- SURFACE-PTR
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-KIND->KEYWORD
- KIND
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-NORMAL-AT
- SURFACE
- U
- V
- OUT-NX
- OUT-NY
- OUT-NZ
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-NORMAL-AT-INTERNAL
- SURFACE-PTR
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-TYPE
- SURFACE
No documentation provided. -
EXTERNAL FUNCTION %SURFACE-VALUE
- SURFACE
- U
- V
- OUT-X
- OUT-Y
- OUT-Z
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE
- PROFILE
- SPINE
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE-FIXED
- PROFILE
- SPINE
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE-SHELL
- SPINE
- SECTIONS
- PARAMS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE-SHELL-AUX
- PROFILE
- MAIN-SPINE
- AUX-SPINE
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE-SHELL-FIXED
- SPINE
- SECTIONS
- PARAMS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %SWEEP-PIPE-SHELL-SLIDING
- SPINE
- SECTIONS
- PARAMS
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %TEXT-BOUNDING-BOX
- FONT
- TEXT
- H-ALIGN
- V-ALIGN
- OUT-WIDTH
- OUT-HEIGHT
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2D-FROM-FILE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2D-FROM-IMAGE
- IMG
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2DPLANE-FROM-FILE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2DPLANE-SET-ORIGIN
- TEX
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2DPLANE-SET-REPEAT
- TEX
- U-REPEAT
- V-REPEAT
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2DPLANE-SET-ROTATION
- TEX
- ANGLE-DEG
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-2DPLANE-SET-SCALE
- TEX
- U
- V
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-GET-PARAMS
- TEX
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-PARAMS-SET-ANISO
- PARAMS
- LEVEL
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-PARAMS-SET-FILTER
- PARAMS
- FILTER
No documentation provided. -
EXTERNAL FUNCTION %TEXTURE-PARAMS-SET-REPEAT
- PARAMS
- ON
No documentation provided. -
EXTERNAL FUNCTION %TRANSFER-PARAMS
- SOURCE-EDGE
- TARGET-CURVE
- PARAM
- OUT-PARAM
No documentation provided. -
EXTERNAL FUNCTION %TRANSLATE
- SHAPE
- DX
- DY
- DZ
No documentation provided. -
EXTERNAL FUNCTION %UNIFORM-ABSCISSA-POINTS
- CURVE
- FIRST
- LAST
- NUM-POINTS
- OUT-COORDS
No documentation provided. -
EXTERNAL FUNCTION %UNIFORM-DEFLECTION-POINTS
- CURVE
- FIRST
- LAST
- DEFLECTION
- OUT-COORDS
No documentation provided. -
EXTERNAL FUNCTION %UNITS-CONVERT
- VALUE
- FROM-UNIT
- TO-UNIT
No documentation provided. -
EXTERNAL FUNCTION %UNITS-CONVERT-FROM-SI
- VALUE
- UNIT
No documentation provided. -
EXTERNAL FUNCTION %UNITS-CONVERT-TO-SI
- VALUE
- UNIT
No documentation provided. -
EXTERNAL FUNCTION %V-ALIGN-VALUE
- ALIGN
No documentation provided. -
EXTERNAL FUNCTION %V3D-CREATE-VIEW
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %V3D-CREATE-VIEWER
- DRIVER
No documentation provided. -
EXTERNAL FUNCTION %V3D-FIT-ALL
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-FREE-VIEW
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-FREE-VIEWER
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-COMPUTED-MODE
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-FIT-ALL-SHAPE
- VIEW
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-ANTIALIASING
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-CAMERA-HANDLE
- VIEW
- OUT-CAMERA
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-EYE-X
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-EYE-Y
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-EYE-Z
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-FOV
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-MSAA
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-PROJECTION-TYPE
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-TARGET-X
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-TARGET-Y
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-TARGET-Z
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-UP-X
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-UP-Y
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GET-UP-Z
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-GRID-DISPLAY
- VIEW
- R
- G
- B
- SIZE-X
- SIZE-Y
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-INVALIDATE
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-MUST-BE-RESIZED
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-PAN
- VIEW
- DX
- DY
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-REDRAW
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-RESET
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-RESET-BACKGROUND
- VIEW
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-ROTATE
- VIEW
- AX
- AY
- AZ
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-ANTIALIASING
- VIEW
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-BACK-FACE-MODEL
- VIEW
- MODE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-BG-COLOR
- VIEW
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-BG-CUBEMAP
- VIEW
- CUBEMAP
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-BG-GRADIENT
- VIEW
- R1
- G1
- B1
- R2
- G2
- B2
- STYLE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-BG-IMAGE
- VIEW
- PATH
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-CAMERA
- VIEW
- CAMERA
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-CLIP-PLANES
- VIEW
- NEAR
- FAR
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-COMPUTED-MODE
- VIEW
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-EYE
- VIEW
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-FOV
- VIEW
- FOV-RAD
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-FRUSTUM-CULLING
- VIEW
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-GRID-ECHO
- VIEW
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-IMMEDIATE-UPDATE
- VIEW
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-MSAA
- VIEW
- SAMPLES
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-PROJ
- VIEW
- ORIENTATION
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-PROJECTION-TYPE
- VIEW
- IS-PERSPECTIVE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-TARGET
- VIEW
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-TRANSPARENCY-METHOD
- VIEW
- METHOD
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-SET-UP
- VIEW
- X
- Y
- Z
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEW-ZOOM
- VIEW
- FACTOR
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-ACTIVATE-GRID
- VIEWER
- GRID-TYPE
- DRAW-MODE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-ADD-LIGHT
- VIEWER
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-DEACTIVATE-GRID
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-DEFAULT-LIGHTS
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-GRID-ACTIVE
- VIEWER
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-LIGHT-OFF
- VIEWER
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-LIGHT-ON
- VIEWER
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-REMOVE-LIGHT
- VIEWER
- LIGHT
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-BG-COLOR
- VIEWER
- R
- G
- B
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-BG-GRADIENT
- VIEWER
- R1
- G1
- B1
- R2
- G2
- B2
- STYLE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-LIGHTS
- VIEWER
- ON
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-VIEW-PROJ
- VIEWER
- ORIENTATION
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-VIEW-SIZE
- VIEWER
- SIZE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-DEFAULT-VIEW-TYPE
- VIEWER
- IS-PERSPECTIVE
No documentation provided. -
EXTERNAL FUNCTION %V3D-VIEWER-SET-RECTANGULAR-GRID-VALUES
- VIEWER
- X-ORIGIN
- Y-ORIGIN
- X-STEP
- Y-STEP
- ROTATION-ANGLE
No documentation provided. -
EXTERNAL FUNCTION %VERTEX-EDGES
- VERTEX
- PARENT
- OUT-EDGES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %VERTEX-POINT
- VERTEX
- OUT-X
- OUT-Y
- OUT-Z
No documentation provided. -
EXTERNAL FUNCTION %WIRE-EDGES
- WIRE
- OUT-EDGES
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %WIRE-ORDER-CHECK
- WIRE
- FACE
No documentation provided. -
EXTERNAL FUNCTION %WRITE-GLTF
- SHAPE
- FILENAME
- COORDINATE-SYSTEM
- PER-VERTEX-COLORS
No documentation provided. -
EXTERNAL FUNCTION %WRITE-IGES
- SHAPE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %WRITE-OBJ
- SHAPE
- FILENAME
- COORDINATE-SYSTEM
- NAME-FORMAT
- PER-VERTEX-COLORS
No documentation provided. -
EXTERNAL FUNCTION %WRITE-PLY
- SHAPE
- FILENAME
- COORDINATE-SYSTEM
- PER-VERTEX-COLORS
No documentation provided. -
EXTERNAL FUNCTION %WRITE-STEP
- SHAPE
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %WRITE-STL
- SHAPE
- FILENAME
- DEFLECTION
- ANGLE
- RELATIVE
No documentation provided. -
EXTERNAL FUNCTION %WRITE-VRML
- SHAPE
- FILENAME
- DEFLECTION
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-ANGULAR-DIMENSION
- DOC
- SHAPE
- EDGES
- NUM-EDGES
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-DATUM
- DOC
- SHAPE
- LABEL-STR
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-DIAMETER-DIMENSION
- DOC
- SHAPE
- SUBSHAPE
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-GEOMETRIC-TOLERANCE
- DOC
- SHAPE
- TYPE-CODE
- VALUE
- DATUM-LABELS
- NUM-DATUMS
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-LINEAR-DIMENSION
- DOC
- SHAPE
- POINT-COORDS
- NUM-POINTS
- VALUE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-TOLERANCE
- DOC
- SHAPE
- TYPE-CODE
- VALUE
- MODIFIER-FLAGS
No documentation provided. -
EXTERNAL FUNCTION %XCAF-ADD-VIEW
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-EXPAND-ASSEMBLY
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-FREE-DOC
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-FREE-DOUBLE-ARRAY
- ARR
No documentation provided. -
EXTERNAL FUNCTION %XCAF-FREE-STRING-ARRAY
- ARR
- COUNT
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-CLIPPING-PLANE-COUNT
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-DATUMS
- DOC
- SHAPE
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-DIMENSIONS
- DOC
- SHAPE
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-LAYER-COUNT
- DOC
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-LAYER-NAME
- DOC
- SHAPE
- INDEX
- BUF
- BUF-SIZE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-TOLERANCES
- DOC
- SHAPE
- OUT-COUNT
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-VIEW-COUNT
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-VISUAL-MATERIAL
- DOC
- SHAPE
- OUT-R
- OUT-G
- OUT-B
- OUT-A
No documentation provided. -
EXTERNAL FUNCTION %XCAF-GET-VISUAL-MATERIAL-COUNT
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-HAS-MATERIAL
- DOC
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-NEW-DOC
- OUT-DOC
No documentation provided. -
EXTERNAL FUNCTION %XCAF-SAVE-SHAPE-TO-DOC
- DOC
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-SET-LAYER
- DOC
- SHAPE
- LAYER
No documentation provided. -
EXTERNAL FUNCTION %XCAF-UNSET-ALL-LAYERS
- DOC
- SHAPE
No documentation provided. -
EXTERNAL FUNCTION %XCAF-UNSET-ONE-LAYER
- DOC
- SHAPE
- LAYER
No documentation provided. -
EXTERNAL FUNCTION %XDE-ADD-PART
- DOC
- PARENT-PATH
- SHAPE
- NAME
- COLOR-TYPE
- R
- G
- B
- A
- MATRIX
- BUF
- BUF-SIZE
No documentation provided. -
EXTERNAL FUNCTION %XDE-FREE-DOC
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-CHILD-COUNT
- DOC
- PATH
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-CHILD-PATH
- DOC
- PARENT-PATH
- INDEX
- BUF
- BUF-SIZE
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-COLOR-AT
- DOC
- PATH
- TYPE
- R
- G
- B
- A
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-LOCATION-AT
- DOC
- PATH
- MATRIX
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-NAME-AT
- DOC
- PATH
- BUF
- BUF-SIZE
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-ROOT-COUNT
- DOC
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-ROOT-PATH
- DOC
- INDEX
- BUF
- BUF-SIZE
No documentation provided. -
EXTERNAL FUNCTION %XDE-GET-SHAPE-AT
- DOC
- PATH
No documentation provided. -
EXTERNAL FUNCTION %XDE-NEW-DOC
No documentation provided. -
EXTERNAL FUNCTION %XDE-READ-IGES
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %XDE-READ-STEP
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %XDE-WRITE-IGES
- DOC
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION %XDE-WRITE-STEP
- DOC
- FILENAME
No documentation provided. -
EXTERNAL FUNCTION MAKE-BREP-FONT
- PTR
-
EXTERNAL FUNCTION MAKE-CURVE
- PTR
-
EXTERNAL FUNCTION MAKE-GEOM2D
- PTR
-
EXTERNAL FUNCTION MAKE-SHAPE
- PTR
-
EXTERNAL FUNCTION MAKE-SURFACE
- PTR
-