Rhino to DWG (easy)
(by GJKim)

Resource File

Downloads:
335
Support Email

Repeatedly exporting from Rhino to AutoCAD usually involves a series of manual steps: selecting objects, picking an export scheme, specifying folder and filename, locating the file, and finally opening it in CAD. Although Rhino 8 introduced copy-and-paste between Rhino and AutoCAD, seasoned users know that the process can still fail in practice.
This Python script streamlines the workflow by offering a reliable one-step export.

Add an alias in Rhino that calls _-RunPythonScript "path_to_script.py"—for example, assign it to the shortcut dwg. Select the geometry you wish to export, press the shortcut, and the script will run. Ensure you have previously chosen an export scheme via _Export; the same scheme is applied automatically thereafter.
The DWG file is named with the current time (HHMMSS) and saved under Desktop\dwgexport\YYMMDD. After saving, the script opens the file so you can paste it into your drawing immediately. Both the save path and the auto-open behavior can be customized by editing the variables noted in the header comments of the script.

-----

Rhino에서 AutoCAD로 내보내기를 반복할 때마다 객체를 선택하고, Scheme를 지정하고, 폴더와 파일 이름을 일일이 입력한 뒤 다시 해당 폴더에 들어가서 DWG 파일을 열어야 하는 번거로움이 있습니다. Rhino 8부터는 복사-붙여넣기가 가능해졌으나, 실제로 많은 사용자가 경험하듯 Rhino에서 CAD로 전송할 때 매끄럽지 않은 경우가 종종 발생합니다.

이 Python 스크립트는 이러한 상황에서 ‘확실하고 간단한’ 내보내기 과정을 제공하기 위해 작성되었습니다.

스크립트를 사용 팁:
Rhino의 Alias 설정에서 _-RunPythonScript "스크립트_경로.py"를 원하는 단축키(예: dwg)에 등록합니다.
그런 다음 Rhino에서 내보낼 지오메트리를 선택하고 단축키를 눌러 스크립트를 실행하면 됩니다.

(사전에 _Export 명령으로 내보내기 스키마를 한 번 설정해 두어야 하며, 이후에는 동일한 스키마로 자동 내보내기가 이루어집니다.)

DWG 파일은 시·분·초를 파일명으로 하여 바탕화면의 dwgexport\YYMMDD 폴더에 저장됩니다.
저장이 끝나면 해당 파일이 자동으로 열리고, 이를 필요한 도면에 복사해 사용할 수 있습니다.

(경로나 자동 열기 여부는 스크립트 상단 주석에 안내된 변수만 수정하면 바로 변경할 수 있습니다.)

Category: 

Resource Type
:

License: 

Paid Resource: 

Cost:

App Files

Reviews