(sd-define-thread face :nominal-diameter nominal-diameter ( unit :MM ) :nominal-diameter-inch nominal-diameter-inch ( unit :INCH ) :nominal-diameter-text nominal-diameter-text :core-diameter core-diameter ( unit :MM ) :pitch pitch ( unit :MM ) :TPI TPI ( number ) :tpi-numerator tpi-numerator ( number ) :tpi-denominator tpi-denominator ( number ) :thread-direction thread-direction :thread-type thread-type :thread-number thread-number :thread-hand thread-hand :thread-unit thread-unit :color color :include-chamfer include-chamfer :thread-name thread-name :thread-profile thread-profile)
*1) :nominal-diameter and :nominal-diameter-inch are
exclusive
*2) :pitch and :TPI are exclusive
*3) this formula is used with respect to DIN 32869 and
calculates the core diameter of an outer thread. If the core-diameter is
not given, it will be calculated out of nominal diameter and pitch by
using the shown formula.
thread-unit is a must parameter now
*4) fractional thread-per-inch values are supported for
thread profiles :unc and :npt only.
Remark:
recommended is use of
;; Metric thread M8x1.25 (SD-DEFINE-THREAD the-face :nominal-diameter 8.0 :core-diameter 6.8 :pitch 1.25 :thread-type :INNER :thread-unit :METRIC :thread-color NIL :include-chamfer T :thread-direction 0.0,0.0,-1.0) ;; 3/8-16 ANSI thread 3/8" 16 threads per inch ;; --> values called with inch (SD-DEFINE-THREAD the-face :nominal-diameter-inch "3/8" :core-diameter 7.9375 :TPI 16 :thread-type :INNER :thread-unit :INCH :thread-color 1.0,0.0,0.0 :include-chamfer T :thread-direction 0.0,0.0,-1.0 :thread-profile :UNC) ;; Pipe thread ISO 228 G 7/8 (SD-DEFINE-THREAD the-face :nominal-diameter 30.2 ;; because 7/8" <> diameter:nominal-diameter-inch "7/8":core-diameter 27.877894 :TPI 12 :thread-type :INNER :thread-unit :INCH :thread-color NIL :thread-direction 0.0,-1.0,0.0 :thread-profile :R :thread-hand :RIGHT-HAND :thread-name "Pipe thread ISO 228 G 7 8")
(sd-destroy-thread face)
(sd-inq-thread face)
If face does not belong to a thread return value of function is NIL.
© 2024 Parametric
Technology GmbH (a subsidiary of PTC Inc.), All Rights Reserved |