Spyke

Posts

obsidianmd·ObsidianMDbydowath

Embedding an image when using dataview rows?

Hi all,

Discovered that I could embed images into dataview and have been changing up a bunch of my index pages excitedly.

It works great with my gear list:

> [!tip] Gear list
> ```dataview
> TABLE
>regexreplace(file.folder, ".*\/([^\/]+)$", "$1") AS "Department",
> shows AS "Shows",
>embed(link(image, "125")) AS Image
> FROM "Knowledgebase/Video Production/On-Set/Equipment"
> sort file.mday desc
> ```

At the top of each 'Equipment' note I have the variables:

category:: Lighting
shows:: [[Show Name 1]],[[Show Name 2]]
image:: [[MoonLite by LumenRadio-1689061964287.jpeg]]

That works entirely as expected - I get a snazzy list of images down the dataview for each item.

However, it doesn't work in this dataview, which is slightly different in the sense that it groups by 'type' - but even without the group-by clause it doesn't work:

> [!Example] Devices
> ```dataview
> TABLE
> rows.file.link AS "Title",
> embed(link(rows.file.image, "250")) AS Image
> FROM "Journal/Entities/Devices"
> WHERE type
> GROUP BY type
> SORT type DESC
> ```

With these notes having these variables:

type:: Server
image:: [[Pasted image 20221026215500.png]]

I thought 'rows.file.image' is how I'd access the image this time around, but unfortunately not.

This works, but not when I try to group them and bring in information using rows.file.

> [!Example] Devices
> ```dataview
> TABLE
> embed(link(image, "250")) AS Image
> FROM "Journal/Entities/Devices"
> WHERE type
> SORT type DESC
> ```

Any thoughts?

View original on kbin.social
blender·Blenderbydowath

Lazy Tutorial - Easy IK Rigging in Blender

Ian Hubert does it again... I had no idea that IK was that easy to setup. He demos it with a really cool robotic arm at the end.

Though shorts can be annoying because you can't scrub, so here's the breakdown version that includes some of the stuff he doesn't specifically say:

Basic Setup

  • Add a Single Bone, go into Edit Mode, select the end point of the bone, press 'E' to extrude. Repeat a few times to make an arm.
  • Switch to the Cursor tool, click just below the arm and create another bone that will act as the control bone. (Shift + A)
  • Switch back to the Tweak/Select tool, select the control bone and rotate it so that it's horizontal.
  • Switch over to Pose Mode, make sure the control bone is selected, then Shift + Select the bottom bone of the arm so you have two bones selected. Press Shift + I, then 'To Active Bone.'
  • Now moving the control bone gives you a snazzy IK Arm.

Parenting IKs

  • Switch over to Edit Mode, select all the bones of the armature, duplicate it (Shift + D) then rotate and scale it down to fit within the larger armature. (You can duplicate in a different mode, but make sure you use CTRL + J to join the armatures into one before the next step)
  • Still in Edit Mode, Shift + Select the top bone of the smaller armature and the top bone of the larger armature, press CTRL + P, then 'Keep Offset,' then Shift + Select the control bone of the smaller armature and the bottom bone of the larger armature and do the same.
  • Go to Pose Mode, select the bottom bone of the small armature, click into 'Bone Constraints Properties' tab in the properties panel, make sure the 'Chain Length' is set to something higher than 0.
  • Now try moving the control bone of the large armature - you'll see it also moves the parented armatures... super cool.
  • In the tutorial, Ian also shows adding additional constraints, such as a rotation constraint, so that the robot arm is locked to certain movements.
View original on kbin.social

You reached the end