:::: MENU ::::
Posts tagged with: Cura

Ultimaker Cura의 구조

 

  • Cura의 대부분은 Python으로 작성되어 있고, 인터페이스는 PyQt를 사용
  • CuraEngine은 슬라이싱을 담당하고, C++로 작성
  • Cura CuraEngine(슬라이싱 담당)의 통신에는 Arcus library를 사용.
  • 즉 Cura에서 모델과 슬라이싱 옵션을 CuraEngine에 보내면 G-code를 리턴함
  • Uranium: 3D 관련 세팅, 3D-scenes을 위한 Python Framework


3D 프린터 슬라이싱 툴

Software User Price OS
3DPrinterOS Beginners, Advanced Users Freemium Browser, Windows, Mac
Astroprint Beginners, Advanced Users Freemium Browser, Raspberry Pi, pcDuino
Craftware Beginners, Advanced Users Free Windows, Mac
Cura Beginners, Advanced Users Free Windows, Mac, Linux
IceSL Advanced Users Free Windows, Linux
KISSlicer Beginners, Advanced Users Free/$35 Windows, Mac, Linux, Raspberry Pie
MakerBot Print Beginners Free Windows, Mac
MatterControl Beginners, Advanced Users Free Windows, Mac, Linux
Netfabb Basic Intermediate Users, Advanced Users Free Windows, Mac, Linux
OctoPrint Intermediate Users, Advanced Users Free Raspberry Pi, Windows, Mac Linux
Repetier Intermediate Users, Advanced Users Free Windows, Mac Linux
Simplify3D Beginers, Advanced Users $150 Windows, Mac
Slic3r Advanced Users, Professional Users Free Windows, Mac Linux
SliceCrafter Advanced Users Free Browser
Tinkerine Suite Beginners Free Windows, Mac
Z-Suite Beginners Free Windows, Mac

Meshlab 빌드

Meshlab은 3D프린팅에 필요한 파일의 메쉬를 수정할 수 있는 툴로 오픈소스이며, 3가지 OS를 지원한다. 그리고 웹에서 구현한 버전도 있다.

이 소스를 빌드하려면 다음과 같은 3가지 소스가 필요하다.
* 필요한 소스들 3가지

* VS(Visual Studio)로 컴파일하기
1. QT 컴파일
(1) QT소스의 압축을 풀고, VS(Visual Studio) Command prompt를 실행하여 해서 다음과 같이 설정을 한다.
(2) 만약 VS가 여러 버전이 설치되어 있다면,

set QMAKESPEC=win32-msvc2008

를 입력하여 컴파일러 버전을 설정해야 함. 만약 VS가 2008만 설치되어 있다면 이 과정은 생략해도 됨
(3) 다음과 같은 절차로 QT를 컴파일

configure -debug-and-release
qmake 컴파일 및 실행. <= VS에 대한 makefile을 생성하는 과정
nmake

를 입력하여 QT 전체를 다시 컴파일

2. MeshLab 컴파일
(1) VS prompt 상에서 다음과 같이 입력하여 환경변수를 잡아 줌

set QTDIR=C:\Qt\4.6.3
set PATH=C:\Qt\4.6.3\bin
set VCPATH=C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
set PATH=%PATH%;%VCPATH%;%SystemRoot%\System32
set QMAKESPEC=win32-msvc2008

(2) VCG라이브러리의 경로 설정
VCG Library의 경로를 meshlab 소스와 같은 레벨에 둔다.
(3) meshLab의 external 부분 컴파일
meshLab의 src\external 로 이동하여 다음과 같이 입력하여 솔루션 파일을 만든다.

qmake -tp vc -recursive external.pro

external.sln 파일이 생성된다. 이 파일을 VS로 열어서 솔루션을 다시 빌드한다.

(4) meshLab 소스 컴파일
meshlab의 src 로 이동하여 다음과 같이 입력하여 솔루션 파일 생성

qmake -tp vc -recursive meshlabv12.pro

meshlabv12.sln 파일이 생성됨.

이것을 VS로 열어서 빌드한다. (솔루션 속성에서 시작 프로젝트를 meshlab프로젝트로 설정한다.)
* io_3ds가 link 에러가 발생하면 제거.
(5) meshLab의 src\distrib로 이동하면 빌드된 파일 meshlab.exe을 확인한다.
이 파일을 실행시 에러가 나면 QT\Bin 에서 dll 파일을 동일 폴더에 복사해서 실행한다.

* 트러블 슈팅
아래와 같은 에러가 나면 바이러스 체크프로그램을 끄고 다시 작업.
general error c101008d: Failed to write the updated manifest to the resource of file… Access is denied.

참고: http://blog.csdn.net/zyjiang0571/article/details/7340650


Slic3r 빌드 하기

3D 프린팅을 위한 슬라이서 프로그램인 Slic3r는 오픈소스로 github에 코드가 공개되어 있다. 물론 각 OS에 맞는 실행파일을 다운로드해서 사용이 가능하지만 github에 공개된 코드를 빌드해서 사용이 가능하다. Windows, Mac, Linux 등 3가지 OS에서 빌드가 가능하며, Mac OS X에서 빌드하는 방법은 https://github.com/alexrj/Slic3r/wiki/Running-Slic3r-from-git-on-OS-X에 정리되어 있다.

Slic3r는 C++ 과 Perl로 작성이 되어 있다.

The core geometric algorithms and data structures are written in C++, and Perl is used for high-level flow abstraction, GUI and testing.

그리고 다음과 같은 기능이 있다.

Key features are:

  • multi-platform (Linux/Mac/Win) and packaged as standalone-app with no dependencies required
  • complete command-line interface to use it with no GUI
  • multi-material (multiple extruders) object printing
  • multiple G-code flavors supported (RepRap, Makerbot, Mach3, Machinekit etc.)
  • ability to plate multiple objects having distinct print settings
  • multithread processing
  • STL auto-repair (tolerance for broken models)
  • wide automated unit testing

Other major features are:

  • combine infill every ‘n’ perimeters layer to speed up printing
  • 3D preview (including multi-material files)
  • multiple layer heights in a single print
  • spiral vase mode for bumpless vases
  • fine-grained configuration of speed, acceleration, extrusion width
  • several infill patterns including honeycomb, spirals, Hilbert curves
  • support material, raft, brim, skirt
  • standby temperature and automatic wiping for multi-extruder printing
  • customizable G-code macros and output filename with variable placeholders
  • support for post-processing scripts
  • cooling logic controlling fan speed and dynamic print speed

이중 auto-repair기능에 대한 설명은 메뉴얼에 나와있는데, 홀이 있거나 앞뒤가 뒤바뀐 경우 자동으로 repair한다. 이 기능을 off하는 방법은 없다. 이외 추가적으로 Netfabb이나 FreeCAD도 추천을 하고 있다.

If the 3D mesh described in the model contains holes, or edges are misaligned (known as being non-manifold), then Slic3r may have problems working on it.



Cura 2.1 open beta 버전 빌드

Ultimaker에서 기존 Cura와 다른 GUI를 가진 Cura를 개발해서 베타버전을 내놓았다. 이유는

This is the new, shiny frontend for Cura. daid/Cura is the old legacy Cura that everyone knows and loves/hates.
We re-worked the whole GUI code at Ultimaker, because the old code started to become a unmaintainable

사실 daid의 Cura의 경우 맥에서의 빌드는 본인도 hell이라고 표현을 하는데, 이번 베타버전의 큐라를 빌드해 보니 스무스하게 빌드가 된다. 단 빌드 시간은 엄청나게 오래 걸린다.

Mac에서의 빌드 방법

필요한 파일들 설치

  • xcode 설치
  • cmake 설치 – brew install cmake
  • openssl 설치 – brew install openssl
  • brew link openssl –force
  • gcc 설치 – brew install gcc

빌드

  • git clone [email protected]:Ultimaker/cura-build.git
  • cd cura-build
  • mkdir build
  • cd build
  • cmake ..
  • make

추가적인 머신 설정 방법

Json 파일을 만들어야 하는데, 맥에서의 파일 위치는 /Users/AteamRnd/Downloads/Cura.app/Contents/Resources/cura/resources/machines

베타버전의 메뉴얼

다른 OS에서의 빌드는 링크를 참고.

관련 내용: https://ultimaker.com/en/resources/20511-change-machine-settings


MOD-t에서 Cura 사용하기

Indiegogo에서 얼리버드로 $239에 구매한 MOD-t

MOD-t뿐만 아니라 Cura에 기본적으로 설정이 되어 있지 않은  3D 프린터는 이와 같은 방법으로 기기를 추가하고, 프로파일을 추가할 수 있다.

  • 메뉴에서 Machine > Add new machine…을 선택
  • Next버튼을 누르고 맨 밑에 있는 Other를 선택후 다시 Next를 선택
  • 기기의 이름, 빌드 사이즈, 노즐 사이즈, 베드의 센터를 기입하고 Finish를 한다.

  • File > Open profile…을 클릭후 첨부된 profile을 로드한다.
  • 프린팅을 할때는 desktop app에서 “Advanced Mode”를 선택하고, 좀 전에 설정한 큐라에서 슬라이싱한 Gcode를 선택한다.


큐라 한글화 14.09 버전

지난번에 큐라 한글화 작업에 대해서 포스팅을 했는데, 몇가지 추가할 사항이 있어서 다시 정리를 한다.

일단 당시 한글화 한 버젼은 14.08 RC버젼인데, 이 버젼은 공식 릴리즈가 되지 않았고, 14.07 다음에 바로 14.09버젼이 릴리즈 됐다. 그리고 14.08 한글 번역 버젼이 서포트 설정이 동작을 하지 않는다는 것이다.

문제의 원인은 다음과 같다.  큐라의 모든 설정 부분은 current_profile.ini 파일에 저장이 되며, 큐라가 시작할때 이 파일을 로드해서 설정이 되고 종료할때 마지막 값이 저장되는데 한글로 설정된 값이 current_profile.ini에 저장이 안된다. 따라서 이부분은 그냥 영문을 그대로 사용을 하도록 po 파일을 수정해서 다시 빌드를 했다. 14.09버젼에는 프랑스어, 독일어가 추가가 되어 있고 설정이 가능해져서 이 부분도 수정을 해서 한국어 설정도 가능하도록 했다.

Cura 14.09  한글버젼의 다운로드


Pages:12