'잡동사니'에 해당되는 글 13653건

  1. 2025.09.01 gemini + blender
  2. 2025.09.01 gemini + freecad
  3. 2025.08.31 claude mcp + freecad
  4. 2025.08.31 claude desktop
  5. 2025.08.30 오랫만에 회전초밥 4
  6. 2025.08.29 freeCAD + openFOAM
  7. 2025.08.29 ubuntu wacom express key 에 esc 등록하기
  8. 2025.08.29 freecad + MCP
  9. 2025.08.28 ubuntu에서 wacom 활성영역 설정하기
  10. 2025.08.28 SVE(Scalable Vector Extension)

uvx로는 영 안되네.. 머가 문제일까..

 

일단 아래꺼는 리눅스에서 되는 녀석.

[링크 : https://github.com/CommonSenseMachines/blender-mcp]

 

버전 정보는 아래와 같다.

ubuntu 22.04 LTS
python 3.10
fastmcp 2.12.0

 

 

git 을 받아서

 

edit - preferences - Add-ons - 아래 화살표 - Install from Disk

addon.py 선택

 

 

XYZ 있는 오른쪽에 < 를 눌러서

 

BlenderMCP 에서 Connect to MCP Server 실행

 

src/server.py 에서 description 부분 삭제 후

# Create the MCP server with lifespan support
mcp = FastMCP(
    "BlenderMCP",
    description="Blender integration through the Model Context Protocol",
    lifespan=server_lifespan
)

 

빌드해서 모듈로 넣어 버리고

$ cd blender-mcp
$ pip install -e .

[링크 : https://github.com/awslabs/mcp/issues/996]

 

gemini 설정 파일에, 콤마부터 잊지 말고 넣어 주면 끝!

$ cat settings.json
{
    "theme": "Atom One",
    "selectedAuthType": "oauth-personal",
    "mcpServers": {
        "freecad": {
            "command": "/usr/bin/python3",
            "args": [
            "/home/falinux/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py"
            ]
        },
        "blender": {
            "command": "/usr/bin/python3",
            "args": [
            "-m", "blender_mcp.server"
            ]
        }
    }
}

 

gemini 실행해서 시키면 끝!

 

근데 원숭이는 맞는데.. 녹색이 아니잖아?!

 

+

csm.ai를 연동하면 모델들도 가져올수 있나 보다?

✦ 죄송합니다. CSM.ai 통합이 활성화되어 있지 않아 피카츄 모델을 가져올 수 없습니다. 블렌더의 MCP 패널에서 CSM.ai 통합을 활성화해 주시면 다시
  시도해 보겠습니다.

  다른 기본 도형으로 만들 수 있는 것을 그려드릴까요?

[링크 : https://www.csm.ai/blog/csm-blender-mcp]

 

-------------------

[링크 : https://seahrin.com/entry/gemini-cli를-이용하여-mcp-활용하기with-blender]

[링크 : https://github.com/ahujasid/blender-mcp] uvx / claude <<

 

[링크 : https://github.com/CommonSenseMachines/blender-mcp]

[링크 : https://blender-mcp.com/index.html]

'프로그램 사용 > Blender' 카테고리의 다른 글

blender로 stl 구멍 메우기  (0) 2025.08.20
blender 휠 에뮬레이트 하기  (0) 2025.05.18
blender + kinect  (0) 2025.04.16
blender 강좌  (0) 2025.01.01
blender render - cycle, eevee  (0) 2024.08.30
Posted by 구차니

mcp를 받아서 설치하는데 zip으로 받아서

freecad_mcp_main 으로 풀리는 디렉토리를 통채로 Mod로 옮겨준다

$ cp freecad_mcp_main ~/.Freecad/Mod/freecad_mcp

[링크 : https://github.com/bonninr/freecad_mcp]

 

gemini 설정도 수정해주고

~/.gemini$ cat settings.json 
{
  "theme": "Atom One",
  "selectedAuthType": "oauth-personal",
  "mcpServers": {
        "freecad": {
            "command": "/usr/bin/python3",
            "args": [
                "/home/user/.FreeCAD/Mod/freecad_mcp/src/freecad_bridge.py"
            ]
        }
    }
}

 

freecad를 재시작하거나 처음 시작하면 workbench에 FreeCAD MCP 라는게 생겨난다.

메뉴에서 FreeCAD MCP - Show FreeCAD MCP Panel 누르면 Tasks에 창이 열리는데 Start Server 눌러준다.

 

freecad 에서 start RPC server 하면 9876 포트로 생성된다.

$ netstat -tnlp
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.1:9876          0.0.0.0:*               LISTEN      3295252/freecad  

 

FastMCP 모듈이 없으면 일단 설치해주고

$ pip3 install FastMCP

 

gemini를 실행하고 ctrl-t를 눌러 Ready라고 뜨면 끝

 

생성 성공!

그런데  claude 용으로는 MCP 인데.. 같이 연결 못하나?

'프로그램 사용 > freecad' 카테고리의 다른 글

claude mcp + freecad  (0) 2025.08.31
freeCAD + openFOAM  (0) 2025.08.29
freecad + MCP  (0) 2025.08.29
freecad on ubuntu 24.04  (0) 2025.05.18
freecad 예제  (0) 2024.11.09
Posted by 구차니
프로그램 사용/freecad2025. 8. 31. 20:09

claude 무료버전으로 시도함

 

cluade desktop 설치하고

[링크 : https://claude.ai/download]

 

freecad 설치하고

freecad 한번 실행해준 다음 << 요거 포인트

[링크 : https://www.freecad.org/downloads.php]

 

mcp를 다운로드 받고 (윈도우니 귀찮아서 zip으로 받음)

압축을 풀고는 addon -> FreeCADMCP 폴더만 콕! 찍어서

 

탐색기에서 %AppData% 입력하고 엔터치고

 

FreeCAD 아래에 Mod 디렉토리를 만들고 FreeCADMCP 디렉토리를 붙여넣는다.

C:\Users\user\AppData\Roaming\FreeCAD\Mod\FreeCADMCP

[링크 : https://github.com/neka-nat/freecad-mcp]

 

freecad를 재시작 혹은 시작하면

Part Design 이라고 써있는 부분을 클릭하면

 

MCP Addon이 추가된다.

 

MCP Addon을 클릭하면

스케치하기는 어디로 가버리고(!) FreeCAD MCP 메뉴가 생겨나는데, start RPC server를 누르란다.

그런데 티가 안나네..

 

claude desktop에서 - 계정 - 설정 - 개발자 - 구성편집

 

그러면 탐색기가 열리면서 claude_desktop_config.json이 선택되는데

우클릭해서 메모장에서 편집하면 괄호만 덩그러니 있는데

 

아래처럼 붙여넣고 저장!

 

git 도움말에는 오른쪽꺼가 토큰을 덜 먹는다고 하니 일단 이걸로!

{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": [
        "freecad-mcp"
      ]
    }
  }
}
{
  "mcpServers": {
    "freecad": {
      "command": "uvx",
      "args": [
        "freecad-mcp",
        "--only-text-feedback"
      ]
    }
  }
}

 

파워셀을 열어서 하라는 대로 하면 설치 완료

PS C:\Users\user> powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
Downloading uv 0.8.14 (x86_64-pc-windows-msvc)
Installing to C:\Users\user\.local\bin
  uv.exe
  uvx.exe
  uvw.exe
everything's installed!

To add C:\Users\user\.local\bin to your PATH, either restart your shell or run:

    set Path=C:\Users\user\.local\bin;%Path%   (cmd)
    $env:Path = "C:\Users\user\.local\bin;$env:Path"   (powershell)

PS C:\Users\user> $env:Path = "C:\Users\user\.local\bin;$env:Path"
PS C:\Users\user> uv
An extremely fast Python package manager.

Usage: uv.exe [OPTIONS] <COMMAND>

Commands:
  run      Run a command or script
  init     Create a new project
  add      Add dependencies to the project
  remove   Remove dependencies from the project
  version  Read or update the project's version
  sync     Update the project's environment
  lock     Update the project's lockfile
  export   Export the project's lockfile to an alternate format
  tree     Display the project's dependency tree
  format   Format Python code in the project
  tool     Run and install commands provided by Python packages
  python   Manage Python versions and installations
  pip      Manage Python packages with a pip-compatible interface
  venv     Create a virtual environment
  build    Build Python packages into source distributions and wheels
  publish  Upload distributions to an index
  cache    Manage uv's cache
  self     Manage the uv executable
  help     Display documentation for a command

Cache options:
  -n, --no-cache               Avoid reading from or writing to the cache, instead using a temporary directory for the
                               duration of the operation [env: UV_NO_CACHE=]
      --cache-dir <CACHE_DIR>  Path to the cache directory [env: UV_CACHE_DIR=]

Python options:
      --managed-python       Require use of uv-managed Python versions [env: UV_MANAGED_PYTHON=]
      --no-managed-python    Disable use of uv-managed Python versions [env: UV_NO_MANAGED_PYTHON=]
      --no-python-downloads  Disable automatic downloads of Python. [env: "UV_PYTHON_DOWNLOADS=never"]

Global options:
  -q, --quiet...
          Use quiet output
  -v, --verbose...
          Use verbose output
      --color <COLOR_CHOICE>
          Control the use of color in output [possible values: auto, always, never]
      --native-tls
          Whether to load TLS certificates from the platform's native certificate store [env: UV_NATIVE_TLS=]
      --offline
          Disable network access [env: UV_OFFLINE=]
      --allow-insecure-host <ALLOW_INSECURE_HOST>
          Allow insecure connections to a host [env: UV_INSECURE_HOST=]
      --no-progress
          Hide all progress outputs [env: UV_NO_PROGRESS=]
      --directory <DIRECTORY>
          Change to the given directory prior to running the command
      --project <PROJECT>
          Run the command within the given project directory [env: UV_PROJECT=]
      --config-file <CONFIG_FILE>
          The path to a `uv.toml` file to use for configuration [env: UV_CONFIG_FILE=]
      --no-config
          Avoid discovering configuration files (`pyproject.toml`, `uv.toml`) [env: UV_NO_CONFIG=]
  -h, --help
          Display the concise help for this command
  -V, --version
          Display the uv version

Use `uv help` for more details.

[링크 : https://docs.astral.sh/uv/getting-started/installation/#__tabbed_1_2]

 

재시작하고 커넥터를 보면 freecad 로컬 개발이라고 뜬다.

 

freecad에 오면

보기 - 패널 - python 콘솔을 눌러주면 Start RPC Server를 주구장창 누른 흔적이 ㅋㅋ

 

먼가 시키니까 처음이라서 권한을 달라고 한다.

 

먼가 열심히 한다 ㅋㅋ

 

어.. 내가 상상(?)한 pci ex 1 lane 보드는 이렇게 생긴게 아닌디...?!

 

 

아무튼(?!?!) 이렇게 날로먹는(!) claude.ai desktop + MCP + freeCAD 성공!

 

아래 동영상을 보고 시도할 생각을 함

[링크 : https://www.youtube.com/watch?v=qH08WX9YjMM]

'프로그램 사용 > freecad' 카테고리의 다른 글

gemini + freecad  (0) 2025.09.01
freeCAD + openFOAM  (0) 2025.08.29
freecad + MCP  (0) 2025.08.29
freecad on ubuntu 24.04  (0) 2025.05.18
freecad 예제  (0) 2024.11.09
Posted by 구차니
프로그램 사용/MCP ai2025. 8. 31. 19:36

 

[링크 : https://claude.ai/download]

 

 

아무데서나 ctrl-alt-space를 누르면 mac finder 였나? 그거 처럼 바로 뜬다.

'프로그램 사용 > MCP ai' 카테고리의 다른 글

gemini + claude MCP  (0) 2025.09.05
gemini + blender / freecad token  (0) 2025.09.02
csm.ai  (0) 2025.09.01
gemini + ubuntu + uvx 등등등.. 뻘기록  (0) 2025.09.01
Posted by 구차니

스시이안앤 다산점 방문해서 38 그릇 먹고옴

[링크 : https://place.map.kakao.com/772828279]

'개소리 왈왈 > 육아관련 주저리' 카테고리의 다른 글

드라이브~  (0) 2025.08.24
애견미용이 비싸서!  (0) 2025.08.23
다시 돌아온 열대야  (0) 2025.08.19
하루 늦은.. 기절?  (0) 2025.08.17
시승(?)  (1) 2025.08.15
Posted by 구차니
프로그램 사용/freecad2025. 8. 29. 17:20

윈도우에서도 되는것 같으니 한번 테스트 해봐야겠다

 

[링크 : https://blog.naver.com/heennavi1004/222597357273]

[링크 : https://blog.naver.com/localid/222302561603]

'프로그램 사용 > freecad' 카테고리의 다른 글

gemini + freecad  (0) 2025.09.01
claude mcp + freecad  (0) 2025.08.31
freecad + MCP  (0) 2025.08.29
freecad on ubuntu 24.04  (0) 2025.05.18
freecad 예제  (0) 2024.11.09
Posted by 구차니
하드웨어/pen tablet2025. 8. 29. 15:36

영 귀찮아서(!) 등록하려니 gui로는 esc가 입력받을수 없는 키가 되어버려서 수동으로 등록

아래의 명령을 이용하면 가장 아래 버튼이 esc로 등록되는데 GUI 상으로는 키가 등록되지 않은것으로 나오니 주의가 필요하다.

$ xsetwacom set 14 Button 13 key esc

 

Seems simple enough, and it is really, except for the fact that the numbers of the buttons aren't really logical. To make a long story short, after a lot of trial and error I found that my buttons are numbered, from top to bottom:
2
3
8
9

1 (the big button in the middle of the Touch Ring)

10
11
12
13

[링크 : https://bartssolutions.blogspot.com/2015/02/how-to-configure-wacom-intuos-express.html]

[링크 : https://askubuntu.com/questions/776881/how-to-map-custom-key-combinations-on-wacom-bamboo-mte-450a]

'하드웨어 > pen tablet' 카테고리의 다른 글

cth-490 on ubuntu  (0) 2025.09.08
와콤 cth-490 지름  (2) 2025.09.06
ubuntu에서 wacom 활성영역 설정하기  (0) 2025.08.28
open tablet driver  (0) 2025.08.21
와콤 펜 종류  (0) 2025.08.18
Posted by 구차니
프로그램 사용/freecad2025. 8. 29. 13:48

이사님께서 키워드를 주셔서(!) 나온지 대략 반년만에 시도해볼 예정

 

[링크 : https://www.youtube.com/watch?v=qH08WX9YjMM]

[링크 : https://github.com/neka-nat/freecad-mcp]

'프로그램 사용 > freecad' 카테고리의 다른 글

claude mcp + freecad  (0) 2025.08.31
freeCAD + openFOAM  (0) 2025.08.29
freecad on ubuntu 24.04  (0) 2025.05.18
freecad 예제  (0) 2024.11.09
freecad touchpad  (0) 2024.09.25
Posted by 구차니
하드웨어/pen tablet2025. 8. 28. 17:55

테스트는 해봐야겠다.

 

I do not think that there is a graphical configuration interface. Nevertheless, you can do it via scripts...

Find the correct name of your device/input:

[romano:~/personal/varios] 1 % xsetwacom --list devices
Wacom Intuos PT S Finger touch      id: 12  type: TOUCH     
Wacom Intuos PT S Finger pad        id: 13  type: PAD       
Wacom Intuos PT S Pen stylus        id: 14  type: STYLUS    
Wacom Intuos PT S Pen eraser        id: 15  type: ERASER 
And now you can reduce for example to the top left corner:

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 500x400+0+0
or in a rectangle in the center (more or less):

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 500x400+500+500 
Go back by telling the full resolution:

xsetwacom --set "Wacom Intuos PT S Pen stylus" MapToOutput 1980x1080+0+0
There is a way to make the thing permanent, but I never tried it --- if you need it, the Arch page (as ever) is full of interesting info.

 

With MapToOutput you can specify a specific screen (e.g.: VGA) or screen size that can let you map the tablet area to two monitors.

If what you need is to force proportions or reduce the tablet area, then you can use the xsetwacom parameter Area:

$ xsetwacom list parameters | grep Area
Area             - Valid tablet area in device coordinates. 
ResetArea        - Resets the bounding coordinates to default in tablet units. 
For example, in my Bamboo tablet, I first reset the area and get its original device coordinates:

$ xsetwacom --set "Wacom Bamboo 2FG 4x5 Pen stylus" ResetArea
$ xsetwacom --get "Wacom Bamboo 2FG 4x5 Pen stylus" Area
0 0 14720 9200
Then I set them to get a smaller tablet area (1/4th of the tablet area):

$ xsetwacom --set "Wacom Bamboo 2FG 4x5 Pen stylus" Area 0 4600 7360 9200
so I can achieve that the bottom-left rectangle maps to the whole screen size.
This way, I can reach that whole area with less hand movement.

[링크 : https://askubuntu.com/questions/547990/how-to-configure-wacom-tablet-area-on-ubuntu-14-04]

 

 

+

2025.08.29

wayland 대신 x.org로 부팅하고 아래처럼 입력하니 좌상단에서 중앙까지의 영역만 사용하게 된다.

$ xsetwacom --list devices
Wacom Intuos Pro M Pen stylus    id: 9 type: STYLUS    
Wacom Intuos Pro M Pad pad       id: 10 type: PAD       
Wacom Intuos Pro M Finger touch  id: 11 type: TOUCH     
Wacom Intuos Pro M Pen eraser    id: 24 type: ERASER    
Wacom Intuos Pro M Pen cursor    id: 25 type: CURSOR    

$ xsetwacom --get "Wacom Intuos Pro M Pen stylus" Area
0 0 44704 27940
$ xsetwacom --set "Wacom Intuos Pro M Pen stylus" Area 0 0 22352 13970
$ xsetwacom --get "Wacom Intuos Pro M Pen stylus" Area
0 0 22352 13970

 

wayland 에서 하니 설정이 되지 않는다

$ xsetwacom --get "Wacom Intuos Pro M Pen stylus" Area
Wayland devices found but this tool is incompatible with Wayland. See
https://github.com/linuxwacom/xf86-input-wacom/wiki/Wayland

$ xsetwacom --set "Wacom Intuos Pro M Pen stylus" Area 0 0 22352 13970
Wayland devices found but this tool is incompatible with Wayland. See
https://github.com/linuxwacom/xf86-input-wacom/wiki/Wayland

'하드웨어 > pen tablet' 카테고리의 다른 글

와콤 cth-490 지름  (2) 2025.09.06
ubuntu wacom express key 에 esc 등록하기  (0) 2025.08.29
open tablet driver  (0) 2025.08.21
와콤 펜 종류  (0) 2025.08.18
wacom 진단  (0) 2025.08.18
Posted by 구차니
embeded/ARM2025. 8. 28. 14:18

armv7 까지는 NEON 이고 armv8 부터는 SVE 라고 이름이 달라지는 듯

 

Scalable Vector Extension (SVE) is a vector extension the A64 instruction set of the Armv8-A architecture. Armv9-A builds on SVE with the SVE2 extension. Unlike other SIMD architectures, SVE and SVE2 do not define the size of the vector registers, but constrains it to a range of possible values, from a minimum of 128 bits up to a maximum of 2048 in 128-bit wide units. Therefore, any CPU vendor can implement the extension by choosing the vector register size that better suits the workloads the CPU is targeting. The design of SVE and SVE2 guarantees that the same program can run on different implementations of the instruction set architecture without the need to recompile the code.

[링크 : https://developer.arm.com/Architectures/Scalable%20Vector%20Extensions]

[링크 : https://developer.arm.com/Architectures/SVE]

'embeded > ARM' 카테고리의 다른 글

emmc 파티션 정렬  (0) 2024.02.07
arm asm rev  (0) 2023.09.14
cortex-a53  (0) 2023.08.31
aarch64 vector register  (0) 2023.08.23
arm vsub operator  (0) 2023.08.09
Posted by 구차니