1
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?

More than 1 year has passed since last update.

(ChatGPT3.5)FreeCADのマクロを教えて下さい。

Last updated at Posted at 2024-03-08

開始

FreeCADのマクロを教えて下さい。

(途中省略)

import FreeCAD
import Part

# Create a cylinder
cylinder = Part.makeCylinder(10, 20)

# Move the cylinder to a new position
translation_vector = FreeCAD.Vector(5, 5, 0)
cylinder.translate(translation_vector)

# Add the cylinder to the active document
doc = FreeCAD.activeDocument()
doc.addObject("Part::Feature", "MyCylinder").Shape = cylinder

1.png

FreeCADのバージョン

ChatGPT3.5先生が使われているFreeCADのバージョンを教えて下さい。

(途中省略)

...2022年1月時点での最新のバージョンは、FreeCAD 0.19でした。...

FreeCADのNavigator

・ビューを使い分けるのがおすすめかも。
・(わたしのタッチパッドの場合)2本指のタッチで、Navigator表示です。

FreeCADのNavigatorの違いを教えて下さい。

(途中省略)

z軸回転におすすめのNavigatorを教えて下さい。

(途中省略)

...Combo ViewとTree Viewが特に役立つナビゲータです。...

視点変更マクロを探しています。

テスト中???

(私は、まとめきれないので抜粋)
・申し訳ありませんが、前の修正にも誤りがあります。以下は修正されたコードです。
・申し訳ありません、エラーが発生しています。正しいメソッドを使用して視点を変更するように修正します。
・本当ですか
・本当の本当ですか
・繰り返しました。

???みなさんも一度は、おすすめします。
・今回、私は,実行 CTRL+shift+1 を覚えました。

1
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
1
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?