This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# __init__.py | |
bl_info = { | |
"name": "Icosa Listener", | |
"blender": (4, 0, 0), | |
"description": "Allows Icosa Gallery to import models into Blender", | |
"version": (1, 0), | |
"author": "@icosa.gallery", | |
} | |
import bpy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2016 Google Inc. | |
// | |
// Licensed under the Apache License, Version 2.0 (the "License"); | |
// you may not use this file except in compliance with the License. | |
// You may obtain a copy of the License at | |
// | |
// http://www.apache.org/licenses/LICENSE-2.0 | |
// | |
// Unless required by applicable law or agreed to in writing, software | |
// distributed under the License is distributed on an "AS IS" BASIS, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"asset": { | |
"version": "2.0", | |
"generator": "Mozilla Spoke dev" | |
}, | |
"scenes": [ | |
{ | |
"nodes": [ | |
2, | |
3, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenes | |
====== | |
background: { | |
color: #aaaaaa | |
} | |
Nodes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import json | |
import math | |
import os | |
import re | |
EMBED_DIR = "c:\\poly_html\\poly.google.com\\view" | |
JSON_DIR = "c:\\poly_megajson\\poly.google.com\\view" | |
GLTF_DIR = "C:\\poly_updated_gltf\\poly.google.com\\view" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System.Collections.Generic; | |
using Unity.Mathematics; | |
using Unity.VectorGraphics; | |
using UnityEngine; | |
using UnityEngine.Splines; | |
public class SplineTest : MonoBehaviour | |
{ | |
public string svgPath; | |
[Multiline(16)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Gitbook | |
// @match https://docs.openblocks.app/* | |
// @match https://docs.openbrush.app/* | |
// @description Adds edit link to gitbook pages on https://docs.openbrush.app/ | |
// @version 0.1 | |
// @match https://www.tampermonkey.net/index.php?version=4.13.6136&ext=fire&updated=true | |
// @icon https://www.google.com/s2/favicons?domain=tampermonkey.net | |
// @grant none | |
// ==/UserScript== |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# scan all subdirectories and count how many of each file type exists | |
import json | |
import os | |
import collections | |
from pprint import pprint | |
import matplotlib.pyplot as plt | |
def scan_files(root): | |
dirs_total = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using Polyhydra.Core; | |
using Sylves; | |
using UnityEngine; | |
using UnityEngine.UIElements; | |
using MeshTopology = Sylves.MeshTopology; | |
[ExecuteInEditMode] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
local lume = require("lume") | |
Settings = { | |
description="Calls an API to choose a random Kenney model from poly.pizza", | |
previewType="quad" | |
} | |
function Start() | |
headers = {} | |
headers["x-auth-token"] = "---------" |
NewerOlder