본문 바로가기

전체 글60

pyside2 강좌(python ui 개발) https://wikidocs.net/35743 2022. 12. 9.
PySide6(GUI 환경 python) 이란 https://pypi.org/project/PySide6/ PySide6 Python bindings for the Qt cross-platform application and UI framework pypi.org 홈페이지에는 python에서 공식적으로 지원하는 모듈이라고 한다. PySide6 is the official Python module from the Qt for Python project, which provides access to the complete Qt 6.0+ framework. 그외 pyqt도 있지만 공식적으로 지원하니 이것을 사용하겠음 사실 hitomi downloader는 pyqt를 이용하는것 같아서 고민했었음 2022. 12. 9.
Python Pyside6 교육 자료 homepage https://www.pythonguis.com/tutorials/pyside6-first-steps-qt-designer/ Create your first PySide app in Qt Designer Use Qt Designer's drag and drop interface to design your GUI. So far we have been creating apps using Python code. www.pythonguis.com 2022. 12. 9.
for 문 사용하기 (foreach) - 반복 작업 한번에 여러줄을 한번에 그리기 list를 만들어서 지정된 list수량 만큼 선을 그린다. (defun c:test () (setq p1 (list 0 0)) (setq p2 (list 2000 2000)) (command "line" p1 p2 "") (setq slist (list 1000 2000 3000 4000 5000 6000 7000)) (foreach temp slist (setq p1 (list 1000 0)) (setq p2 (list 2000 temp)) (command "line" p1 p2 "") ) ) 2. 실행해보기(vsc에서 다시 시작 누르고 autocad 에서 "test" 입력) - 잘됨 3. commit하기(안해도됨) - 저의 기록을 위해 git add *.lsp git commi.. 2022. 12. 9.