You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add motion export. `exportBVH(ir, options?)` bakes a movement's authored joint motion and root travel/turn into a standard Biovision Hierarchy (`.bvh`) file, and `exportGLTF(ir, options?)` / `buildAnimatedRig(ir, options?)` export the mannequin rig plus a baked `AnimationClip` as a glTF/GLB asset that loads with Three.js `GLTFLoader`. Both sample the timeline headlessly (no WebGL) at a configurable frame rate and bake the full looped runtime; they export authored motion, not the contact/IK-solved motion.
Copy file name to clipboardExpand all lines: editors/vscode/README.md
+46Lines changed: 46 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,52 @@ Language support for the **Posecode** (`.posecode`) kinematic motion DSL:
9
9
10
10
The smart features are provided by [`posecode-lsp`](../../packages/posecode-lsp), which shares its language logic ([`posecode-language`](../../packages/posecode-language)) with the web playground, so the editor and the playground always agree.
11
11
12
+
## File association (before the extension is installed)
13
+
14
+
Until the full extension is published to the Marketplace, `.posecode` files
15
+
open as plain text. You can get basic highlighting and comment/bracket
16
+
behaviour right away by telling your editor to treat `.posecode` files as
17
+
Markdown, which is the closest built-in grammar.
18
+
19
+
### VS Code
20
+
21
+
Add the following to your `settings.json` (open the Command Palette →
22
+
**Preferences: Open User Settings (JSON)**, or use a workspace
23
+
`.vscode/settings.json` to scope it to a single project):
24
+
25
+
```json
26
+
{
27
+
"files.associations": {
28
+
"*.posecode": "markdown"
29
+
}
30
+
}
31
+
```
32
+
33
+
Alternatively, open any `.posecode` file, click the language indicator in the
34
+
bottom-right status bar (it will say "Plain Text"), choose **Configure File
35
+
Association for '.posecode'…**, and pick **Markdown**.
36
+
37
+
### Cursor and other VS Code forks
38
+
39
+
Cursor, VSCodium, and other VS Code forks read the same `files.associations`
40
+
setting, so the JSON snippet above works unchanged.
41
+
42
+
### Sublime Text
43
+
44
+
Open a `.posecode` file, then use the menu **View → Syntax → Open all with
0 commit comments