ug_convert_part를 사용한 예제
-in 또는 -mm 옵션 중 하나를 사용해야 하며 둘 다 사용해서는 안됩니다.
또한 파트 이름, 와일드카드 또는 -d 옵션을 지정해야 합니다.
[The program requires the option -in or -mm (but not both). Also, a part name, a wildcard or -d option must be specified.]
예제
ug_convert_part -in a.prt
: a.prt의 단위를 인치로 변환하고 덮어쓰기합니다.
[Converts and overwrites a.prt to inches.]
ug_convert_part -mm a.prt
: a.prt의 단위를 밀리미터로 변환하고 덮어쓰기합니다.
[Converts and overwrites a.prt to millimeters.]
ug_convert_part -mm -y assy.prt
assy.prt 및 모든 컴포넌트를 밀리미터로 변환하고 덮어쓰기합니다.
[Converts and overwrites assy.prt and all its components to millimeters.
ug_convert_part -in -d
: 현재 디렉토리의 모든 파트를 인치로 변환하고 덮어쓰기합니다.
Converts and overwrites all parts in the current directory to inches.
ug_convert_part -in -s -d /parts/millimeter_parts -o /parts/inches_parts
: /parts/millimeter_parts 및 하위 디렉토리의 모든 파트를 인치로 변환 및 덮어쓰기하고 그 결과 생성된 파트를 일반 디렉토리인 /parts/inches_parts에 저장합니다. 단위가 이미 인치로 지정된 파트는 대상 디렉토리에 복사되지 않습니다.
[Converts and overwrites all parts in /parts/millimeter_parts and its sub-directories to inches and places the resulting parts in a flat directory /parts/inches_parts. Parts that are already in inches are not copied to the destination directory.]
ug_convert_part -in /users/test/convert_test.prt -o /users/test/subtest
: /users/test/ 디렉토리의 convert_test.prt를 인치로 변환하고 그 결과 생성된 파트를 /users/test/subtest에 저장합니다.
[Converts convert_test.prt in /users/test/ to inches and places the resulting part in /users/test/subtest.]
참고 동영상
: https://www.youtube.com/watch?v=msxNsKfVOxU