4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

ezdxfを使ってみよう#4~寸法編~

4
Last updated at Posted at 2022-05-21

この記事は、WorkTech雑記帳(個人ブログ)で内容を整理し直しました。最新版はこちらをご覧ください。
blog_アイキャッチ (26).png
ezdxfを使ってみよう #3~寸法線編~【直線・半径・直径・角度・弧長の描き方】

ezdxfでの寸法線の描き方をまとめました。
直線・半径・角度・弧長など、寸法の種類によってadd_linear_dimadd_radius_dimのように使うメソッドや引数がまったく異なるため、図形ごとに整理しながら1つずつ解説しています。

image.png

寸法線は作成しただけでは見た目に反映されず、必ず.render()を呼ぶ必要があるという、ezdxf特有の注意点にも触れています。
また、文字サイズなどの見た目はdimstyle側でしか設定できない点も紹介しています。

image.png

直線(Linear/Aligned)・半径・直径・角度(4方式)・弧長(3方式)まで、より詳しく書き分けた最新版はこちらです。

ezdxfを使ってみよう #3~寸法線編~【直線・半径・直径・角度・弧長の描き方】

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?