﻿;; LOLA_MAX = 2
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Customization File for the 3D Documentation module                          ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UNITS                                                                       ;
;                                                                             ;
; The d3d_customize file was designed to run with the unit setting:           ;
;  length: 1 mm and angle: 1 degree.                                          ;
; Using other units requires to adjust all below values that rely on units    ;
;                                                                             ;
; Don't forget to adjust the UNITS command in the last line                   ;
; to your preferred values                                                    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(frame2-ui::remember-user-units)
(units 1 :mm) (units 1 :deg)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Table of contents:                                                          ;
;                                                                             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; This file contains the following definitions:                               ;
;                                                                             ;
; 1. (doc3d:use-of-3d-documentation-module): Defines the mode in which the    ;
;    3D Documentation modul is running (GD&T on / off)                        ;
; 2. (doc3d:default-number-behaviour) :Define behaviour of index number       ;
; 3. (doc3d:default-index-settings): Define Index Settings (graphic related)  ;
; 4. (doc3d:default-update-index-settings) define update behaviour of indexes ;
; 5. (doc3d:set-delete-docuplane-default-mode) delete docuplane incl. labels  ;
; 6. (doc3d:set-delete-group-default-mode) delete docuplane incl. labels      ;
; 7. (doc3d:register-general-tolerance-set) make default tolerance set	      ;
; 8. (doc3d:set-default-anno-ui-values)	default UI settings		              ;
; 9. (doc3d:doc3d_show_docuplane_considers_origin) influcenes SHOW docuplane  ;
;10. (doc3d:doc3d-set-section-parent-parameter-optional) defines if its       ;
;                       optional or mandatory to define the section parent    ;
;11. (doc3d:doc3d-set-highlight-mode-for-show-groups)                         ;
;12. (doc3d:doc3d-define-bom-db-columns) associate DB columns with BOM file   ;
;13. (doc3d:doc3d-define-objects-to-be-used-in-bom) define bom object types   ;
;14. (doc3d:doc3d-config-section-dp) defines the appearance of section lines  ;
;15. (doc3d:doc3d-config-detail-dp) defines the appearance of detail and      ;
;                                   partial docuplane labels                  ;
;16. (doc3d:doc3d-config-dp-labels) defines the appearance of standard and    ;
;                                   general docuplane labels                  ;
;17. (doc3d:doc3d-config-scale-info-within-dp-labels) defines the appearance  ;
;                                   of scaling information in docuplane labels;
;18. (doc3d:doc3d-set-dp-naming-standards) defines the sub-docuplane naming.  ;
;19. (doc3d:show-generic-text-in-custom-feature-report) defines if            ;
;                      generic texts are displayed in custom feature reports  ;
;20. (doc3d:doc3d-set-default-docuplane-offset) define the default value for  ;
;                      the offset variable in the CREATE DOCUPLANE command    ;
;21. (doc3d:doc3d-set-welding-symbol-sizes) defines sizes of welding symbols  ;
;22. (doc3d:doc3d-set-surface-symbol-visibility) which surface symbol version ;
;23. (doc3d:doc3d:consider-internal-docuplane-labels-while-scaling) defines   ;
;    if section line text and arrows and docuplane labels are scaled          ;
;                                                                             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Customization for the 3D Documentation module:                              ;
;                                                                             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                                             ;
; 1.                                                                          ;
; Function: (use-of-3d-documentation-module)                                  ;
; This function defines                                                       ;
; a) if GD&T type of dimensions can be created                                ;
; b) if non-GD&T type of dimensions can be created                            ;
; c) which of the above is the default mode (This defines if the              ;
;    "USE GD&T" Button within the create dimensions dialogs is set or not     ;
;                                                                             ;
; Parameter of the function is one of the following:                          ;
; :TOLERANCING_ONLY                                                           ;
;   Possibility to create GD&T dimensions:          Yes                       ;
;   Possibility to create non-GD&T type dimensions: No                        ;
;   Default dimension type:                         GD&T dimensions           ;
;   Purpose of this mode: Exclusively build a GD&T feature structure          ;
; :DOCUMENTATION_AND_MEASUREMENT                                               ;
;   Possibility to create GD&T dimensions:          Yes                       ;
;   Possibility to create non-GD&T type dimensions: Reference must be a face  ;
;   Default dimension type:                         GD&T dimensions           ;
;   Purpose of this mode: The 3D dimensions are used in the Inspection module ;
; :TOLERANCING_AND_DOCUMENTATION                                              ;
;   Possibility to create GD&T dimensions:          Yes                       ;
;   Possibility to create non-GD&T type dimensions: Yes                       ;
;   Default dimension type:                         GD&T dimensions           ;
;   Purpose of this mode: Mainly use GD&T functionality but also allow to     ;
;                         create non-GD&T dimensions                          ;
; :DOCUMENTATION_AND_TOLERANCING                                              ;
;   Possibility to create GD&T dimensions:          Yes                       ;
;   Possibility to create non-GD&T type dimensions: Yes                       ;
;   Default dimension type:                         last value concept        ;
;   Purpose of this mode: Allow both dimensioning methods                     ;
; :DOCUMENTATION_ONLY                                                         ;
;   Possibility to create GD&T dimensions:          No                        ;
;   Possibility to create non-GD&T type dimensions: Yes                       ;
;   Default dimension type:                         non GD&T dimensions       ;
;   Purpose of this mode: 3D Documentation without any follow-on processes    ;
;                         like ToleranceAnalysis, Inspection, ...             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:use-of-3d-documentation-module :DOCUMENTATION_AND_TOLERANCING)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                                             ;
; 2.                                                                          ;
; Function: (default-number-behaviour)                                        ;
; This function defines                                                       ;
; a) remove index can be disabled, switched on or off                         ;
; b) renumber all indexs index can be disabled, switched on or off            ;
;                                                                             ;
;                                                                             ;
; Parameter of the function is one of the following:                          ;
; :REMOVE                        :OFF  (default)                              ;
;				 :ON                                          ;
;				 :DISABLE                                     ;
; :RENUMBER                      :OFF (default)                               ;
;				 :ON                                          ;
;				 :DISABLE                                     ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::default-number-behaviour :REMOVE    :ON
                                 :RENUMBER  :OFF)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;                                                                             ;
; 3.                                                                          ;
; Function: (default-index-settings)                                          ;
; This function defines                                                       ;
; a) Create Automatically Index        ON                                     ;
;                                      OFF                                    ;
; b) Specify Index Frame type          OFF                                    ;
;                                      BOX                                    ;
;                                      BALLOON                                ;
; c) Specify Index size                1.5                                    ;
; d) Specify Index Color               1,1,1                                  ;
; e) Specify Index position            1 (above dims)                         ;
;                                      2 3 4 5 6 7 8 9 10 11 12 13 14 15 16   ;
;                                                                             ;
; Parameter of the function is one of the following:                          ;
; :CREATE_AUT_IND                                                             ;
; :INDEX-FRAME-TYPE                                                           ;
; :INDEX-SIZE                                                                 ;
; :INDEX-COLOR                                                                ;
; :INDEX-POSITION                                                             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:default-index-settings   :CREATE_AUT_IND   :OFF
                                :INDEX-FRAME-TYPE :BALLOON
                                :INDEX-SIZE       1.5
                                :INDEX-COLOR      0,1,0
                                :INDEX-POSITION   4)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 4. Update index on prefix or postfix change.                                ;
;                                                                             ;
; Keywords                                                                    ;
;     :DEFAULT-START-INDEX       indexes start with this value per default    ;
;     :UPDATE-NOM-VAL-CHANGE     should the indexes be updated (i.e.          ;
;                                increased) when the nominal value of the     ;
;                                annotation was changed (modeling operation)  ;
;     :UPDATE-PRE-POST-CHANGE    should the indexes be updated when the pre   ;
;                                or postfix of the label changed. Note: this  ;
;                                will update the index on any change, not only;
;                                on changes where an meaningful string was    ;
;                                supplied (i.e. h7)                           ;
;     :UPDATE-TOL-CHANGE         should the indexes be updated when the       ;
;                                tolerance value of the label was changed.    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:default-index-update-settings 
                     :DEFAULT-START-INDEX    1
                     :UPDATE-NOM-VAL-CHANGE  t
                     :UPDATE-PRE-POST-CHANGE nil
                     :UPDATE-TOL-CHANGE      t)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 5.                                                                          ;
; Function: (doc3d:set-delete-docuplane-default-mode)                         ;
;                                                                             ; 
; This function defines if the labels get delete together with their          ;
; docuplane (parameter :DELETE_ANNOS) or not (parameter :FREE_ANNOS).         ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:set-delete-docuplane-default-mode :FREE_ANNOS)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 6.                                                                          ;
; Function: (doc3d:set-delete-group-default-mode)                             ;
;                                                                             ; 
; This function defines if the labels get delete together with their          ;
; group (parameter :DELETE_ANNOS) or not (parameter :FREE_ANNOS).             ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:set-delete-group-default-mode :FREE_ANNOS)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 7.                                                                          ;
; Function: (doc3d:register-general-tolerance-set)			      ;
;                                                                             ; 
; This function defines a new set to be used for general tolerances.          ; 
; First argument is the name for the set                                      ; 
; The length-list (:length) is required and contains a number of pairs        ; 
;  first number determines the maximal nominal value of a dimension,          ;
;  for which the default tolerance is set to a plus/minus the second number   ; 
;  e.g. (1.0 0.01) means that all dimension upto 1.0 have a +/- 0.1 tolerance ; 
; if no radius-list (:radius) is given, the length values will be used        ; 
;                                                                             ; 
; the :global_default keyword ([T]/nil) states that the set will be used as   ; 
;   default when no other set is attached to the part			      ; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:register-general-tolerance-set "Tols Ex.1" :global_default T
    :length '((1.0   0.01)  (50.0   0.5)  (100.0  1.0) (1000  10.0))
    :radius '((10.0  0.1)   (100.0  1.0))
)
(doc3d:register-general-tolerance-set "Tols Ex.2" :global_default nil
    :length '((0.0   0.1))
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 8.                                                                          ;
; Function: (doc3d:set-default-anno-ui-values)				      ;
;                                                                             ; 
; This function defines the default values for 3ddocumentation dialogs	      ;
; :use_docuplane [:dp :free :pds] - if docuplanes should be used initially    ;
; :prefix :postfix :superfix :subifx - either a string or a number or :pds    ;
; :tol_type [:tol_none :tol_basic :tol_default :tol_plus_minus		      ;
;            :tol_upp_low :tol_limit :pds]				      ;
; :pm_tol :upper_tol :lower_tol - either strings or numbers in user units     ;
; :limit1_tol :limit2_tol - numerical values in user units		      ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Example 1:
;; (doc3d:set-default-anno-ui-values
;; 	:use_docuplane :dp
;; 	:prefix "" :postfix "" :subfix "" :superfix ""
;; 	:tol_type :tol_plus_minus
;; 	:pm_tol "0.1" :upper_tol "0" :lower_tol "0"
;; 	:limit1_tol 0 :limit2_tol 0)

;; Example 2:
(doc3d:set-default-anno-ui-values
 	:use_docuplane :pds
 	:prefix "" :postfix "" :subfix "" :superfix ""
 	:tol_type :pds
 	:pm_tol "0.1" :upper_tol "0" :lower_tol "0"
 	:limit1_tol 0 :limit2_tol 0)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 9.                                                                         ;
; Function (doc3d:doc3d_show_docuplane_considers_origin)                      ;
; Parameter: t or nil                                                         ;
; If the parameter is t, then SHOW DOCUPLANE displays the origin point of the ;
; docuplane in the center of the viewport, while still fully displaying the   ;
; model.                                                                      ;
; If the parameter is nil, the origin point doesn't influence the SHOW DOCU-  ;
; plane commmand - in this case the system performs a window fit operation.   ; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:doc3d_show_docuplane_considers_origin nil)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;10.                                                                          ;
; Function (doc3d:doc3d-set-section-parent-parameter-optional)                ;
; Parameter: t or nil                                                         ;
; This function influences the commands CREATE and MODIFY DOCUPLANE           ;
; If the parameter is t, the SECTION PARENT field is optional                 ;
; If the parameter is nil, the SECTION PARENT has to be specified             ;
; So if you plan to transfer the docuplanes to 2D Annotation, then you should ;
; use the parameter nil here.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:doc3d-set-section-parent-parameter-optional t)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;11.                                                                          ;
; Function (doc3d::doc3d-set-highlight-mode-for-show-groups)                  ;
; Parameter: One of the following options:                                    ;
; :ONLY_ANNOTATIONS - The annotation text is highlighted only                 ;
; :ANNOTATIONS_AND_REFERENCE_ELEMENTS                                         ;
;      - In addition to above also the reference elements are highlighted     ;
; :ANNOTATIONS_AND_REFERENCE_ELEMENTS_AND_REFERENCE_VERTICES                  ;
;      - In addition to above also the reference vertices are highlighted     ;
;                                                                             ;
; This function influences the command SHOW GROUP only.                       ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-set-highlight-mode-for-show-groups :ONLY_ANNOTATIONS)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;12.                                                                          ;
; Function (doc3d:doc3d-define-bom-db-columns)                                ;
; Parameter: :elid - number of column representing ELID                       ;
;            :pos - number of column representing position number             ;
;            :quantity - number of column representing quantity               ; 
;            :name - number of column representing the part name-string       ; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:doc3d-define-bom-db-columns :elid 2
                                   :pos 5
                                   :quantity 17
                                   :name 27)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 13.                                                                         ;
; Function (doc3d:doc3d-define-objects-to-be-used-in-bom)                     ;
; Parameter: :USE_CONTAINER_PARTS t/nil                                       ;
;            :USE_FACE_PARTS      t/nil                                       ;
;            :USE_WIRE_PARTS      t/nil                                       ;
; With the help of this function it's possible to define if                   ;
; - anything located below a container                                        ;
;   or the container itself                                                   ;
; - face parts                                                                ;
; - wire parts                                                                ;
; are included within the COLLECT command of the 3D Documentations BOM menu   ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(doc3d:doc3d-define-objects-to-be-used-in-bom
  :USE_CONTAINER_PARTS t
  :USE_FACE_PARTS      t
  :USE_WIRE_PARTS      nil)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 14.                                                                         ;
; Function (doc3d:doc3d-config-section-dp                                     ;
; Parameter: see below                                                        ;
; With the help of this function it's possible to define the                  ;
; - appearance of the section line within the parent doucplane                ;
; - appearance of the section label and the section docuplane label           ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(doc3d:doc3d-config-section-dp
 :doc3d_section_line_geo_ltype        :DOT_CENTER         ;;or :SOLID
                                                          ;;   :DASHED
                                                          ;;   :LONG_DASHED
                                                          ;;   :DASH_CENTER
                                                          ;;   :PHANTOM
                                                          ;;   :CENTER_DASH_DASH
                                                          ;;   :DOTTED
 :doc3d_section_line_geo_color        (oli::sd-rgb-to-color 1.0,1.0,1.0)

 :doc3d_section_line_segm_mode        :SEGM_OVERLAP       ;;or :SEGM_NO_OVERLAP
                                                          ;;   :NONE
 :doc3d_section_line_segm_length      5.0 
 :doc3d_section_line_segm_ltype       :SOLID              ;; see above
 :doc3d_section_line_segm_color       (oli::sd-rgb-to-color 1.0,1.0,1.0)

 :doc3d_section_line_leader_length    20.0
 :doc3d_section_line_leader_color     (oli::sd-rgb-to-color 1.0,1.0,1.0)
 :doc3d_section_line_leader_arr_type  :ARROW_TYPE         ;;or :DOT_TYPE
                                                          ;;   :SLASH_TYPE
                                                          ;;   :TRIANGLE_TYPE
                                                          ;;   :JIS_TYPE
 :doc3d_section_line_leader_arr_size  10.5

 ;; The following settings define the label on each side of the
 ;; section line
 :doc3d_section_line_label_offset     7.0
 :doc3d_section_line_label_position   :TOP_SIDE           ;;or :TOP
                                                          ;;   :BOTTOM_SIDE
 :doc3d_section_line_label_font       "osd_default"
 :doc3d_section_line_label_size       3.5
 :doc3d_section_line_label_color      (oli::sd-rgb-to-color 1.0,1.0,1.0)
 :doc3d_section_line_label_frame      :OFF                ;;or :BOX
                                                          ;;   :BALLOON

 ;; The following settings define the label below the section view
 :doc3d_section_dp_label_prefix     "Section"
 :doc3d_section_dp_label_offset     5.0
 :doc3d_section_dp_label_font       "osd_default"
 :doc3d_section_dp_label_size       3.5
 :doc3d_section_dp_label_color      (oli::sd-rgb-to-color 1.0,1.0,1.0)
 :doc3d_section_dp_label_frame      :OFF                  ;;or :BOX
                                                          ;;   :BALLOON
 :doc3d_section_dp_label_position   :BELOW                ;;or :ABOVE
 :doc3d_section_dp_label_includes_scaling_info :AUTOMATIC ;; or :NO or :YES
 :doc3d_section_dp_show_dp_label    :NO                   ;; or :YES
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 15.                                                                         ;
; Function (doc3d:doc3d-config-detail-dp                                      ;
; Parameter: see below                                                        ;
; With the help of this function it's possible to define the appearance of    ;
; the detail and partial docuplane labels.                                    ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-config-detail-dp
 :doc3d_detail_dp_label_offset      5.0
 :doc3d_detail_dp_label_font        "osd_default"
 :doc3d_detail_dp_label_size        3.5
 :doc3d_detail_dp_label_color       (oli:sd-rgb-to-color 1.0,1.0,1.0)
 :doc3d_detail_dp_label_frame       :OFF                  ;; or :ON
 :doc3d_detail_dp_label_includes_scaling_info :YES        ;; or :AUTOMATIC
                                                          ;;    :NO
 :doc3d_detail_dp_label_position    :BELOW                ;; or :ABOVE
 :doc3d_detail_dp_show_dp_label     :NO                   ;; or :YES
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 16.                                                                         ;
; Function (doc3d:doc3d-config-dp-labels                                      ;
; Parameter: see below                                                        ;
; With the help of this function it's possible to define the appearance of    ;
; the standard and general docuplane labels.                                  ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-config-dp-labels
 :doc3d_dp_label_offset             5.0
 :doc3d_dp_label_font               "osd_default"
 :doc3d_dp_label_size               3.5
 :doc3d_dp_label_color              (oli:sd-rgb-to-color 1.0,1.0,1.0)
 :doc3d_dp_label_frame              :OFF                  ;; or :ON
 :doc3d_dp_label_includes_dpname    :YES                  ;; or :NO
 :doc3d_dp_label_includes_scaling_info :AUTOMATIC         ;; or :NO or :YES
 :doc3d_dp_label_position           :BELOW                ;; or :ABOVE
 :doc3d_dp_show_dp_label            :NO                   ;; or :YES
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 17.                                                                         ;
; Function (doc3d:doc3d-config-scale-info-within-dp-labels                    ;
; Parameter: see below                                                        ;
; With the help of this function it's possible to define the appearance of    ;
; the scaling information in docuplane labels.                                ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-config-scale-info-within-dp-labels
 :doc3d_dp_label_scaling_prefix     "Scale"
 :doc3d_dp_label_scaling_syntax     :COLON_SYNTAX         ;; or :SLASH_SYNTAX
                                                          ;;    :DECIMAL_SYNTAX
                                                          ;;    :X_SYNTAX
 :doc3d_dp_label_scaling_brackets   :NONE                 ;; or :ROUND_BRACKETS
                                                          ;;    :SQUARE_BRACKETS
                                                          ;;    :BRACE
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 18.                                                                         ;
; Function (doc3d:doc3d-set-dp-naming-standards)                              ;
; Parameter :include-parent-in-partial-name :ON/:OFF                          ;
;           :include-parent-in-detail-name :ON/:OFF                           ;
;           :include-partial-prefix-for-section :ON/:OFF                      ;
; With this function, one can set the default sub-docuplane naming behavior.  ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-set-dp-naming-standards
  :include-parent-in-partial-name :ON
  :include-parent-in-detail-name :ON
  :include-partial-prefix-for-section :ON
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 19.                                                                         ;
; Function (doc3d:show-generic-text-in-custom-feature-report)                 ;
; Parameter: t or nil                                                         ;
; If the parameter is t, then generic texts within the defined scope are      ;
; included in a custom feature report.                                        ;
; If the parameter is nil, generic texts are omitted from the report.         ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d:show-generic-text-in-custom-feature-report nil)           

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 20.                                                                         ;
; Function (doc3d:doc3d-set-default-docuplane-offset)                         ;
; Parameter: value >= 0                                                       ;
; define the default value for the offset variable within the                 ;
; CREATE DOCUPLANE command                                                    ;
; This default offset is used for standard and general, but not for           ;
; section docuplanes                                                          ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(doc3d::doc3d-set-default-docuplane-offset 0)


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 21.                                                                         ;
; Function (doc3d:doc3d-set-welding-symbol-sizes)                             ;
; Parameter: see below                                                        ;
; With this function, one can change the size of welding symbols              ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(doc3d::doc3d-set-welding-symbol-sizes
  :text-geo-ratio 0.7        ;; Ratio text height / weld symbol height
  :allaround-circle 4.5      ;; Size of all around circle
  :indication-height 6       ;; Height of the indication symbol
  :indication-width 5        ;; Width of the indication symbol
)

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 22.                                                                         ;
; Function (doc3d:doc3d-set-surface-symbol-visibility                         ;
; Parameter: see below                                                        ;
; With this function, one can change the visibility of different surface      ;
;   symbol standards    (:all | :ISO1992 | :ISO2002)                          ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; (doc3d:doc3d-set-surface-symbol-visibility :all) 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; 23.                                                                         ;
; Function (doc3d:doc3d-consider-internal-docuplane-labels-while-scaling)     ;
; Parameter T or NIL                                                          :
; This function defines whether section line text and arrows and docuplane    ;
; labels are scaled according to the docuplane scale (Default is nil)         ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; (doc3d:doc3d-consider-internal-docuplane-labels-while-scaling t) 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; UNITS                                                                       ;
; reset to OSD default units                                                  ;
(frame2-ui::restore-user-units)                                               ;
; you may set the UNITS to your preferred values now                          ;
; (units 1 :mm) (units 1 :deg)                                                ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
