Tag: Fusion 360

  • Lesson 4A: Convert script to an Add-in(C++/Python)

    Python C++ After creating an add-in, we’ll have a project structure like below. Same as the script, they entry point is in the BasicAddin.py. Let’s take a look at it. # Assuming you have not changed the general structure of the template no modification is needed in this file. from . import commands from .lib…

  • Lesson 3: Create a shoebox

    Python C++ Typescript @dataclass class BoxParameters: border_thickness : float bottom_thickness : float inner_width : float inner_length : float inner_height : float fillet_size : float def __init__(self, border_thickness: float, bottom_thickness:float, inner_width:float, inner_length:float, inner_height:float, fillet_size:float): self.border_thickness = border_thickness self.bottom_thickness = bottom_thickness self.inner_width = inner_width self.inner_length = inner_length self.inner_height = inner_height self.fillet_size = fillet_size typedef struct { double…

  • Lesson 2: Understand the document

    #include <Fusion/Components/Component.h> // Get the value of the property. Ptr<Features> propertyValue = component_var->features(); std::string processProperty(const Ptr<Property>& property) { const char* propertyObjectType = property->objectType(); if (strcmp(IntegerProperty::classType(), propertyObjectType) == 0) return processIntegerProperty(property); if (strcmp(StringProperty::classType(), propertyObjectType) == 0) return processStringProperty(property); if (strcmp(BooleanProperty::classType(), propertyObjectType) == 0) return processBooleanProperty(property); if (strcmp(FloatProperty::classType(), propertyObjectType) == 0) return processFloatProperty(property); if (strcmp(ChoiceProperty::classType(), propertyObjectType) ==…

  • Lesson 1: The basic scripts and Add-in

    Python/C++ Typescript 1. Launch Fusion, find utilities and click at the drop menu of ADD-INS button. You can find Scripts and Add-ins menu item. 2. Click at it, in the new window, we can create two types of add-ins: Scripts and Add-ins. There isn’t much different between them technically. The script will run at once…

  • Autodesk Fusion 360 の操作 その1

    先回 Autodesk Fusion 360のご紹介 ではインストールを中心にご紹介させていただきましたが、今回は 「Autodesk Fusion 360 の操作 その1」として、新規に設計開始する方法と、各機能アイテムとマウスによる操作を中心にお伝えさせていただきます。 1.新規に設計を開始する [MY HOME]タブ を選択し [New data]の[Design]を選び、[新規ファイル名]を入力し [Create]ボタンを押します。 [新規ファイル名の入力] [ファイルを共有する保存先グループの選択] インストール直後には、グループには既定で”My First Group”が用意されています。 ※ 次回以降に紹介する[ グループ ]を作成した場合、[Share with]には、既定で共有するファイルの保存先が表示されています。 (いくつもグループは作成できます) 任意のグループと共有させる場合は、右の [ホルダー]アイコンを押して[ Stored in]で表示されるプルダウンリストで、ファイルを共有する保存先グループの選択をします。 2.WorkSpace別の機能 ワークスペース毎に専用のプルダウンアイコンと共通のプルダウンアイコンが用意されています。 (1).Sculpt(スカルプ)ツールバー (2).Model(モデル)ツールバー (3).Patch(パッチ)ツールバー (4).ツールバー内の共通のプルダウン 3.マウスによる機能 マウスによる動作のご紹介です。 言葉で表現すると説明が長くなるので、以下のマウス動作をご覧ください。 Autodesk Fusion 360 マウス 操作 次回は、グループを作成してデザインを作成し、デザインファイルを共有する手順をご紹介する予定です。 By Shigekazu Saito.