°Ô½Ã¹° 1,200°Ç
   
[CAD] ¿À·£¸¸¿¡ ijµå ¸í·É¾î ¹®Àǵ帳´Ï´Ù.. :)
±Û¾´ÀÌ : ¿¡½ºÅØ ³¯Â¥ : 2024-05-08 (¼ö) 20:57 Á¶È¸ : 1130


ÀÌ°Ô.. ijµå¿¡ ¸í·É¾î°¡ ÀÖ´ÂÁö ¹®Àǵ帳´Ï´Ù! ¾Æ½Ã´ÂºÐ ºÎŹµå¸±²²¿ä ¤Ð¤Ð

¿¹¸¦ µé¾î¼­,

ÆĶõ»ö ¼±ÀÌ ÀÖ°í,
Á¦°¡ ÀÌ ÆĶõ»ö ¼±¿¡ ´ëÇؼ­
ƯÁ¤°¢µµÀÇ »¡°£»ö 2¼±À» ±×¸®°í ½ÍÀºµ¥..

ÀÌ°Ô.. ½¬¿î ¹æ¹ýÀÌ ÀÖÀ»±î¿ä?

ÆĶõ»ö¶óÀÎÀ»,,, ¼öÆòÀ¸·Î Á¶ÀýÇÑ´ÙÀ½¿¡ ±×¸®´Â°Í ¸»°í
Àú »óÅ¿¡¼­ ±×¸±·Á¸é..¾î¶»°Ô ÇؾßÇÒ±î¿ä?

¿¡½ºÅØ ´ÔÀÇ ¹¯°í´äÇϱâ ÃÖ½Å±Û [´õº¸±â]


°ü¸®ÀÚ 2024-05-09 (¸ñ) 06:15
     
     
¿¡½ºÅØ 2024-05-09 (¸ñ) 09:19
°¨»çÇÕ´Ï´Ù! ´Ù¸§ÀÌ ¾Æ´Ï¿À¶ó..
Ȥ½Ã, ¿ä ¾ÆÀÌÄÜ Æ¯Á¤¹öÁ¯ ÀÌ»óºÎÅÍ ÀÖ´Â ±â´ÉÀÎÁö¿ä?
Åø¹Ù¸Þ´º ´Ù È°¼ºÈ­Çسõ¾Ò´Âµ¥ ãÁú ¸øÇÏ°í À־¿ä ¤¾¤¾
          
          
°ü¸®ÀÚ 2024-05-09 (¸ñ) 11:00
¾ðÁ¦ºÎÅÏÁö Àß ¸ð¸£°Ú½À´Ï´Ù.
¿À·¡ÀüºÎÅÍ ÀÖ´ø ±â´ÉÀÔ´Ï´Ù.
°ü¸®ÀÚ 2024-05-09 (¸ñ) 10:58
;; ¸í·É¾î: TANG
(defun c:TANG (/ ang ent obj sp ep vp)
  (or #ang# (setq #ang# 60.0))
  (setq ang (getreal (strcat "\n>> °¢µµ ÀÔ·Â <" (vl-princ-to-string #ang#) ">: ")))
  (if ang (setq #ang# ang) (setq ang #ang#))
  (while (setq ent (entsel "\n>> ¼± ¼±ÅÃ: "))
      (setq obj (vlax-ename->vla-object (car ent)))
      (if (/= (vlax-get obj 'ObjectName) "AcDbLine") (exit))
      (setq sp (vlax-get obj 'StartPoint) ep (vlax-get obj 'EndPoint))
      (setq vp (polar
          (mapcar '(lambda (p q) (/ (+ p q) 2)) sp ep)
          (+ (angle sp ep) (/ pi 2))
          (* (tan (dtr (/ (- 180 ang) 2))) (/ (vlax-get obj 'Length) 2))
      ))
      (entmake (list (cons 0 "LINE") (cons 10 sp) (cons 11 vp) (cons 62 1)))
      (entmake (list (cons 0 "LINE") (cons 10 ep) (cons 11 vp) (cons 62 1)))
      (setq vp (polar
          (mapcar '(lambda (p q) (/ (+ p q) 2)) sp ep)
          (- (angle sp ep) (/ pi 2))
          (* (tan (dtr (/ (- 180 ang) 2))) (/ (vlax-get obj 'Length) 2))
      ))
      (entmake (list (cons 0 "LINE") (cons 10 sp) (cons 11 vp) (cons 62 1)))
      (entmake (list (cons 0 "LINE") (cons 10 ep) (cons 11 vp) (cons 62 1)))
  )
  (princ)
)


À§ Äڵ带 C:/AutoCAM/PcamUserSetup.lsp ¿¡ ºÙ¿©³Ö°í »ç¿ëÇØ º¸¼¼¿ä.
¸í·É¾î: TANG ´Â ¼öÁ¤Çϼŵµ µË´Ï´Ù.
     
     
¿¡½ºÅØ 2024-05-09 (¸ñ) 13:26
¾Æ..... ÃÖ°íÀÔ´Ï´Ù!!!!!
¹ß°¡¶ô 2024-12-13 (±Ý) 15:26
DAN
À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.) ¢Ñ ÷ºÎÆÄÀÏ
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.