Skip to content

Instantly share code, notes, and snippets.

View nikogoli's full-sized avatar

nikogoli nikogoli

View GitHub Profile
@nikogoli
nikogoli / sudo_mxGraph.ts
Last active January 17, 2024 14:47
mxGraph.js のドキュメントを無理やり jsDoc形式に変換したものの参照用スクリプトファイル
/**
* Extends `<mxEventSource>` to implement a graph component for the browser. This is the main class of the package.
*/
export class mxGraph {
/**
* Constructs a new mxGraph in the specified container. Model is an optional mxGraphModel. If no model is provided, a new mxGraphModel instance is used as the model. The container must have a valid owner document prior to calling this function in Internet Explorer. RenderHint is a string to affect the display performance and rendering in IE, but not in SVG-based browsers. The parameter is mapped to `<dialect>`, which may be one of `<mxConstants.DIALECT_SVG>` for SVG-based browsers, `<mxConstants.DIALECT_STRICTHTML>` for fastest display mode, `<mxConstants.DIALECT_PREFERHTML>` for faster display mode, `<mxConstants.DIALECT_MIXEDHTML>` for fast. The dialects are defined in mxConstants. The default values are DIALECT_SVG for SVG-based browsers and DIALECT_MIXED for IE. The possible values for the renderingHint parameter are explained below: fast - The pa
@nikogoli
nikogoli / 0_.md
Last active October 23, 2022 10:00
Blender のパネル上でアニメーションする

Blender (のパネル上)で PUIPUI する

  1. リンク先のアドオンファイルをダウンロードして、インストールする
  2. プリファレンス → アドオン → Testing タブ で有効化する
  3. 詳細を開き、ボタンを押す

説明とか

@nikogoli
nikogoli / 0_.md
Created February 23, 2021 07:44
Blender 2.8以降での「エディター切り替え」機能について

Blender 2.8以降での「エディター切り替え」機能について

◇ 各エリアのエディターを切り替える方法

  • スクリプト: Area の type 属性の値を変更する
  • UI 上では、エリアの左下のボタンからエディターの切り替えができる

◆ ポイント

左下のボタンを押したときに現れるパネルの中身と、Area の type 属性は完全な1対1の関係ではない

switch_editor

@nikogoli
nikogoli / 0_setsumei.md
Last active March 5, 2021 15:56
dir(bpy.types)からアドオン追加場所の名前一覧を取得する

◇ Blender 2.91 における、自作したメニューの追加先(の候補)の一覧

  • dir(bpy.types) の結果のうち、PT, MT, OT, HT, ULを含むものを分類した表

  • Blender 3D: Noob to Proの表 をアップデートしたようなもの

  • できること:対象を絞った表示、検索 + 結果のコピー、tsv ファイルでのダウンロード

  • 表示には streamlit が必要

  • python ファイルをダウンロードして実行する or 以下を実行

streamlit run https://gist.githubusercontent.com/nikogoli/d6a06036f24294f426a289650e417c47/raw/2a89bd2b388a31c7f44284071f2137af9fe908ac/show_table.py