System | Up Vector | Handedness |
---|---|---|
Blender | Z | Right |
Embergen | Z | Right |
Houdini | Y | Right |
Unreal Engine | Z | Left |
This file contains hidden or 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
char BLENDER[7]; | |
char pointer_size; | |
char endianness; | |
char version[3]; | |
struct Block { | |
char block_id[4]; | |
int size; | |
int64 address; | |
int sdna_index; |
This file contains hidden or 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
"""Implementation of JSONEncoder | |
""" | |
import re | |
import collections.abc | |
try: | |
from _json import encode_basestring_ascii as c_encode_basestring_ascii | |
except ImportError: | |
c_encode_basestring_ascii = None | |
try: |
This file contains hidden or 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
# ***** BEGIN GPL LICENSE BLOCK ***** | |
# | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains hidden or 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
bl_info = { | |
"name": "Reroute System Console Ouput to Python Console", | |
"author": "@tamask, @tin2tin, @Andrej730", | |
"version": (1, 0), | |
"blender": (3, 0, 0), | |
"location": "Python Console header", | |
"description": "", | |
"warning": "", | |
"category": "Development" | |
} |
This file contains hidden or 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
# ##### BEGIN GPL LICENSE BLOCK ##### | |
# | |
# This program is free software; you can redistribute it and/or | |
# modify it under the terms of the GNU General Public License | |
# as published by the Free Software Foundation; either version 2 | |
# of the License, or (at your option) any later version. | |
# | |
# This program is distributed in the hope that it will be useful, | |
# but WITHOUT ANY WARRANTY; without even the implied warranty of | |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
- slvs_py GitHub Repository
- Original C++ Repository
- Solver system methods and their arguments
- CAD Sketcher GitHub Repository
- Examples on how to create some slvs objects can be found in the
create_slvs_data
methods. - Examples on how to retrieve data from the solver can be found in the
update_from_slvs
methods.
- Examples on how to create some slvs objects can be found in the
- Methods creating an entity, param, or constraint usually return its handle index (an integer starting from 1).
This file contains hidden or 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
from pathlib import Path | |
from pprint import pprint | |
def find_nth_overlapping(haystack, needle, n=1): | |
start = haystack.find(needle) | |
while start >= 0 and n > 1: | |
start = haystack.find(needle, start+1) | |
n -= 1 | |
return start |
This file contains hidden or 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
# got it from | |
# https://blender.stackexchange.com/questions/5394/is-there-anyway-to-make-blender-print-errors-in-the-ui | |
import bpy | |
bl_info = { | |
"name": "Run scripts in Python Console", | |
"author": "CoDEmanX", | |
"version": (1, 0), | |
"blender": (2, 80, 0), |
This file contains hidden or 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
bl_info = { | |
"name": "Random Object Colors", | |
"author": "@Andrej730", | |
"version": (1, 0), | |
"blender": (2, 90, 0), | |
"location": "F3 -> Random Object Color", | |
"description": "", | |
"warning": "", | |
"category": "Objects" | |
} |
NewerOlder