Existence
2022년 10월 30일 일요일
UBUNTU 에서 Anaconda prompt 설정 선택
https://ieworld.tistory.com/12
$ conda config --set auto_activate_base False
2022년 10월 24일 월요일
echo "${PATH//:/$'\n'}" PATH 환경 변수 보기 좋게 출력하기.
echo "${PATH//:/$'\n'}"
echo -e ${PATH//:/\\n}
https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html
1) ${parameter//pattern/string}
If there are two slashes separating parameter and pattern (the second form above), all matches of pattern are replaced with string.
parameter 와 pattern 을 분리시키는 슬래시가 2개이면, 모든 pattern 이 string 으로 교체된다.
2) ${parameter/pattern/string}
In the first form above, only the first match is replaced.
parameter 와 pattern 을 분리시키는 슬래시가 1개이면, 첫 번째 pattern 만 string 으로 교체된다.
https://stackoverflow.com/questions/13925879/what-does-n-mean-in-bash
$'\n' 의미 --> new line 으로 변환.
bash 에서 $'string' 형태의 단어는 특별하게 처리된다.
역슬래시(\)로 escape된 단어는 ANSI C 표준에서 규정된 대로 변환된다.
Words of the form $'string' are treated specially. The word expands to string, with back‐
slash-escaped characters replaced as specified by the ANSI C standard. Backslash escape
sequences, if present, are decoded as follows:
\a alert (bell)
\b backspace
\e
\E an escape character
\f form feed
\n new line
\r carriage return
\t horizontal tab
\v vertical tab
\\ backslash
\' single quote
\" double quote
\? question mark
\nnn the eight-bit character whose value is the octal value nnn (one to three oc‐
tal digits)
\xHH the eight-bit character whose value is the hexadecimal value HH (one or two
hex digits)
\uHHHH the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value
HHHH (one to four hex digits)
\UHHHHHHHH
the Unicode (ISO/IEC 10646) character whose value is the hexadecimal value
HHHHHHHH (one to eight hex digits)
\cx a control-x character
The expanded result is single-quoted, as if the dollar sign had not been present.
참고 글
https://m.blog.naver.com/PostView.naver?isHttpsRedirect=true&blogId=5bpa&logNo=220668733558
2022년 6월 12일 일요일
파이썬 opencv 버전 확인
import cv2
print( "cv2 version:", cv2.__version__ )
코드 상에서는 위와 같이 추가해서 볼 수 있다.
Console 창에서 직접 확인해 보려면
1) conda 에서 설치한 경우
conda list opencv
2) pip 이용해서 설치한 경우
pip list opencv
2022년 1월 14일 금요일
2022년 1월 8일 토요일
AutoCAD 용어
1. UCS icon
( 축 표시 : User Coordinate System )
2. OSNAP( Object Snap ) : 객체 스냅
내가 원하는 점을 찾아주는 보조 도구
3. ddptype : 점 스타일
점 크기 설정
4. DIMSTYLE ( 치수 스타일 수정 )
단축키 : d
맞춤 tab 선택
전체 축적 사용 --> 숫자 조정하면,
수치의 크기 조정 가능함.
5) PO ( 특정 점이 원하는 조건을 만족하는지 확인할 때 사용 )
교점이 점으로 잡혔는지...
6) Offset
단축키 : O
지정한 간격으로 평행 복사하는 명령어
7) Ortho Mode : 직교 모드
단축키 : F8
8) TRIM
단축키 : TR
기준을 정하고 자르는 명령어
9) copy
단축키 : co
10) Undo
단축키 : Ctrl+z 또는 u
11) Redo
단축키 :
Undo 로 실행했던 상태에서 다시 돌아가기.
Undo 사용 후 , 딱 1번만 사용 가능함.
11) MRedo
단축키 : Ctrl+Y
MultiRedo
Redo 명령어를 여러 번 실행하는 명령어.
12) Array
단축키 : AR
사각형, 원형의 형태로 배열 복사하는 명령어
Rectangular Array ( 사각 배열 )
Polar Array ( 원형 배열 )
예전 버전에서는 대화 상자를 이용하는
ARRAYCLASSIC 이란 명령어도 있음.
=======================================================================================
1) AutoCAD 커서의 좌표 보기 :
사용자화 --> '좌표' 켜기.
참조 사이트 : https://kgscode.tistory.com/183
2)
=======================================================================================
https://www.youtube.com/watch?v=ooeTUOZY7as
1) ATTDEF : 속성 정의
단축키 : att
2) BLOCK : 블락 정의
단축키 : b
피드 구독하기:
글 (Atom)