0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

CADのコンポーネント化

Last updated at Posted at 2025-04-15

初投稿です。よろしくお願いいたします。
ぼくは建築系のCAD開発を行っています。汎用CADではなく、顧客の要望に従って一品ものを作る受託開発です。用途は構造計算,積算,自動作図がメインですが、どれもオペレーション自体はほぼ同じなので、コンポーネント化することにしました。これにより面倒な描画処理やイベント実装などがなくなり、スピーディな開発が可能になりました。
また、不具合を修正すると同じコンポーネントを使用している別プログラムも次回ビルド時に自動的に修正される、新しく機能を追加すると別プログラムでも利用できる、などコンポーネント化のメリットははかり知れません。
簡単なサンプルプログラムを作る動画をyoutubeにあげていますので、ご覧下さい。
https://youtu.be/e2zNjaslsAs
実際に自分で動かしてみたいという方のためにgithubにもソースをあげています。
https://github.com/yonenagamakoto/CAD-Sample1
ご要望があれば、もう少し実践的なサンプルも紹介いたします。

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?