New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A cheat sheet of Blender shortcuts #1091

Merged
merged 20 commits into from Jun 2, 2015

Conversation

Projects
None yet
5 participants
@xuv
Contributor

xuv commented Apr 4, 2015

So you know, I've mainly copied the Gimp_Cheat_Sheet files and just changed the information where relevant.

What does your Instant Answer do?
Shows a cheat sheet of shortcuts for Blender

What problem does your Instant Answer solve (Why is it better than organic links)?
Organic links point to pdf pages for most of them.

What is the data source for your Instant Answer? (Provide a link if possible)
http://overapi.com/blender/

Why did you choose this data source?
Seemed to be the most coherent and well organized one.

Are there any other alternative (better) data sources?
yes.

What are some example queries that trigger this Instant Answer?
blender help
blender shortcuts
blender keybindings

Which communities will this Instant Answer be especially useful for? (gamers, book lovers, etc)
The huge community of Blender users (1/2 million download a month)

Is this Instant Answer connected to a DuckDuckHack Instant Answer idea?
No

Which existing Instant Answers will this one supercede/overlap with?
None

Are you having any problems? Do you need our help with anything?
No

Where did you hear about DuckDuckHack? (For first time contributors)
Twitter

What does the Instant Answer look like? (Provide a screenshot for new or updated Instant Answers)
ddg-blender-shorcut

Checklist

Please place an 'X' where appropriate.

  • Added metadata and attribution information (https://duck.co/duckduckhack/metadata)

  • Wrote test file and added to t/ directory (https://duck.co/duckduckhack/goodie_tests)

  • Verified that instant answer adheres to design guidelines (https://duck.co/duckduckhack/design_styleguide)

  • Verified that instant answer adheres to code styleguide (https://duck.co/duckduckhack/code_styleguide)

  • Tested cross-browser compatibility

    Please let us know which browsers/devices you've tested on:

    • Windows 8
      • [] Google Chrome
      • [] Firefox
      • [] Opera
      • [] IE 10
    • Windows 7
      • [] Google Chrome
      • [] Firefox
      • [] Opera
      • [] IE 8
      • [] IE 9
      • [] IE 10
    • Windows XP
      • [] IE 7
      • [] IE 8
    • Mac OSX
      • [] Google Chrome
      • [] Firefox
      • [] Opera
      • [] Safari
    • iOS (iPhone)
      • [] Safari Mobile
      • [] Google Chrome
      • [] Opera
    • iOS (iPad)
      • [] Safari Mobile
      • [] Google Chrome
      • [] Opera
    • Android
      • [] Firefox
      • [] Native Browser
      • [] Google Chrome
      • [] Opera
    • Gnu/Linux
      • Google Chrome
      • Firefox
      • Opera

IA Page: https://duck.co/ia/view/blender_cheat_sheet

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 5, 2015

Contributor

Hmm. Don't understand why the build failed.

Contributor

xuv commented Apr 5, 2015

Hmm. Don't understand why the build failed.

Show outdated Hide outdated t/BlenderCheatSheet.t
ddg_goodie_test(
[ 'DDG::Goodie::BlenderCheatSheet' ],
"blender cheat sheet" => $test_zci,

This comment has been minimized.

@mintsoft

mintsoft Apr 6, 2015

Member

@xuv The tests are failing because $test_zci has never been set to a value; so there's nothing to compare it to. Try setting $test_zci to something then you should get a more useful error.

The tests can be run locally from the root of the repo with: prove -Ilib t/BlenderCheatSheet.t

@mintsoft

mintsoft Apr 6, 2015

Member

@xuv The tests are failing because $test_zci has never been set to a value; so there's nothing to compare it to. Try setting $test_zci to something then you should get a more useful error.

The tests can be run locally from the root of the repo with: prove -Ilib t/BlenderCheatSheet.t

@jagtalon

This comment has been minimized.

Show comment
Hide comment
@jagtalon

jagtalon Apr 10, 2015

Member

@xuv please titlecase the values as well. Instead of "select", "pan", "shrink/flatten" or "zoom", it should be "Select", "Pan", "Shrink/Flatten", and "Zoom".

Member

jagtalon commented Apr 10, 2015

@xuv please titlecase the values as well. Instead of "select", "pan", "shrink/flatten" or "zoom", it should be "Select", "Pan", "Shrink/Flatten", and "Zoom".

Show outdated Hide outdated lib/DDG/Goodie/BlenderCheatSheet.pm
twitter => "xuv";
# Triggers
triggers any => "blender help", "blender shortcuts", "blender cheat sheet", "blender cheatsheet", "blender key bindings";

This comment has been minimized.

@jagtalon

jagtalon Apr 10, 2015

Member

What about triggers such as "cheatsheet blender" or "shortcuts blender"?

@jagtalon

jagtalon Apr 10, 2015

Member

What about triggers such as "cheatsheet blender" or "shortcuts blender"?

This comment has been minimized.

@jagtalon

jagtalon Apr 10, 2015

Member

Also "blender guide"?

@jagtalon

jagtalon Apr 10, 2015

Member

Also "blender guide"?

@jagtalon

This comment has been minimized.

Show comment
Hide comment
@jagtalon

jagtalon Apr 10, 2015

Member

@xuv where did you get these keybindings? Please add it as a comment so that we could check if it's right ourselves. :)

Member

jagtalon commented Apr 10, 2015

@xuv where did you get these keybindings? Please add it as a comment so that we could check if it's right ourselves. :)

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 10, 2015

Contributor

Ok. Thx. I will make all these changes and come back to you.
As for the source for the data. It's mentioned in my first comment ;)

What is the data source for your Instant Answer? (Provide a link if possible)
http://overapi.com/blender/

Contributor

xuv commented Apr 10, 2015

Ok. Thx. I will make all these changes and come back to you.
As for the source for the data. It's mentioned in my first comment ;)

What is the data source for your Instant Answer? (Provide a link if possible)
http://overapi.com/blender/

@jagtalon

This comment has been minimized.

Show comment
Hide comment
@jagtalon

jagtalon Apr 10, 2015

Member

@xuv oh I missed that source

Member

jagtalon commented Apr 10, 2015

@xuv oh I missed that source

@jagtalon jagtalon self-assigned this Apr 10, 2015

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 10, 2015

Contributor

@jagtalon: Updated all the files following your suggestions.

Test is now written correctly and passing fine (at least locally).
Have tested on certain browser also:

  • Tested cross-browser compatibility
    • Gnu/Linux
      • Google Chrome
      • Firefox
      • Opera
Contributor

xuv commented Apr 10, 2015

@jagtalon: Updated all the files following your suggestions.

Test is now written correctly and passing fine (at least locally).
Have tested on certain browser also:

  • Tested cross-browser compatibility
    • Gnu/Linux
      • Google Chrome
      • Firefox
      • Opera
@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 20, 2015

Contributor

Hello. What does this "Needs Community Review" tag means? Do I have to do something? Which community are we talking about: Blender? If yes, I can contact some people or post a message in forums to have it reviewed. Thx.

Contributor

xuv commented Apr 20, 2015

Hello. What does this "Needs Community Review" tag means? Do I have to do something? Which community are we talking about: Blender? If yes, I can contact some people or post a message in forums to have it reviewed. Thx.

@mintsoft

This comment has been minimized.

Show comment
Hide comment
@mintsoft

mintsoft Apr 20, 2015

Member

@xuv It's a tag to indicate that the DDG community needs to have a look over it. However input from the Blender community would be welcome!

Member

mintsoft commented Apr 20, 2015

@xuv It's a tag to indicate that the DDG community needs to have a look over it. However input from the Blender community would be welcome!

Show outdated Hide outdated lib/DDG/Goodie/BlenderCheatSheet.pm
@@ -0,0 +1,44 @@
package DDG::Goodie::BlenderCheatSheet;
# ABSTRACT: Provide a cheatsheet for common Blender shortcuts
# Start at https://duck.co/duckduckhack/goodie_overview if you are new

This comment has been minimized.

@mintsoft

mintsoft Apr 20, 2015

Member

You can bomb this comment, however please leave the ABSTRACT comment in

@mintsoft

mintsoft Apr 20, 2015

Member

You can bomb this comment, however please leave the ABSTRACT comment in

Show outdated Hide outdated lib/DDG/Goodie/BlenderCheatSheet.pm
name "BlenderCheatSheet";
description "Blender most common shortcuts";
primary_example_queries "blender shortcuts", "blender key bindings";
# secondary_example_queries "optional -- demonstrate any additional triggers";

This comment has been minimized.

@mintsoft

mintsoft Apr 20, 2015

Member

I'd also delete these comments, and the # Metadata one above

@mintsoft

mintsoft Apr 20, 2015

Member

I'd also delete these comments, and the # Metadata one above

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 20, 2015

Contributor

@mintsoft Removed unnecessary comments.

Contributor

xuv commented Apr 20, 2015

@mintsoft Removed unnecessary comments.

@mintsoft

This comment has been minimized.

Show comment
Hide comment
@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Apr 20, 2015

Member

@xuv @mintsoft it's not live yet, and I'll be adding more functionality to it this week, but for the most part it's done. We'll be moving ahead with this approach (improving as needed) and may change the format of the JSON file, but if @xuv wouldn't mind also creating a JSON file for this it would be great :)

Member

moollaza commented Apr 20, 2015

@xuv @mintsoft it's not live yet, and I'll be adding more functionality to it this week, but for the most part it's done. We'll be moving ahead with this approach (improving as needed) and may change the format of the JSON file, but if @xuv wouldn't mind also creating a JSON file for this it would be great :)

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 20, 2015

Contributor

@moollaza: I could write the JSON :) But is it definitive and documented somewhere? Is there a way to test the JSON once written or not yet?

Contributor

xuv commented Apr 20, 2015

@moollaza: I could write the JSON :) But is it definitive and documented somewhere? Is there a way to test the JSON once written or not yet?

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Apr 20, 2015

Member

It's not documented (yet!), but there's a few examples in the repo that show you the format. You can definitely test it using duckpan server. Actually, running duckpan server CheatSheets will load only that Goodie so nothing else can trigger.

I'm going to be working this week to improve the initially displayed section to allow for custom content and then I'll be updating the JSON syntax to allow for better handling of the text that's expected to be wrapped in a <code> block. I'll make any necessary updates to the JSON if the format changes :)

Member

moollaza commented Apr 20, 2015

It's not documented (yet!), but there's a few examples in the repo that show you the format. You can definitely test it using duckpan server. Actually, running duckpan server CheatSheets will load only that Goodie so nothing else can trigger.

I'm going to be working this week to improve the initially displayed section to allow for custom content and then I'll be updating the JSON syntax to allow for better handling of the text that's expected to be wrapped in a <code> block. I'll make any necessary updates to the JSON if the format changes :)

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 20, 2015

Contributor

Thx. Will see what I can do.

Contributor

xuv commented Apr 20, 2015

Thx. Will see what I can do.

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Apr 23, 2015

Contributor

@moollaza: Don't want to be rude, but I've tried the new CheatSheets with JSON files on a duckpan server and I get an empty box (see screenshot). I'm using Firefox 37.0.2 on a Linux machine.

duckpan-cheatsheet
And I'm just testing with your examples. Not even started writing the Blender one yet :)

But I do qget the JSON file printed in the console. Seems a cosmetic problem of some sort. Or else.

Contributor

xuv commented Apr 23, 2015

@moollaza: Don't want to be rude, but I've tried the new CheatSheets with JSON files on a duckpan server and I get an empty box (see screenshot). I'm using Firefox 37.0.2 on a Linux machine.

duckpan-cheatsheet
And I'm just testing with your examples. Not even started writing the Blender one yet :)

But I do qget the JSON file printed in the console. Seems a cosmetic problem of some sort. Or else.

@moollaza moollaza added the CheatSheet label May 15, 2015

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv May 20, 2015

Contributor

@moollaza What's up? :) How's the new CheatSheet going?

Contributor

xuv commented May 20, 2015

@moollaza What's up? :) How's the new CheatSheet going?

@MrChrisW

This comment has been minimized.

Show comment
Hide comment
@MrChrisW

MrChrisW May 25, 2015

Member

Hey @xuv, sorry for the delay! There's some action going on in #1131 related to the new CheatSheets, once merged I think we can move on this! Thanks for your patient 😄

Member

MrChrisW commented May 25, 2015

Hey @xuv, sorry for the delay! There's some action going on in #1131 related to the new CheatSheets, once merged I think we can move on this! Thanks for your patient 😄

@MrChrisW MrChrisW referenced this pull request May 25, 2015

Merged

domjacko's First Goodie #1147

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv May 25, 2015

Contributor

@MrChrisW Ho. Thx for the update and pointing to that. Waitinq then :)

Contributor

xuv commented May 25, 2015

@MrChrisW Ho. Thx for the update and pointing to that. Waitinq then :)

@MrChrisW

This comment has been minimized.

Show comment
Hide comment
@MrChrisW

MrChrisW May 30, 2015

Member

@xuv Just so you know there's now some great documentation on cheat sheets https://duck.co/duckduckhack/goodie_cheat_sheets

I think we can get this one completed! You'll just need to remove all other files except the json one and ensure it's the correct syntax. 👍

Member

MrChrisW commented May 30, 2015

@xuv Just so you know there's now some great documentation on cheat sheets https://duck.co/duckduckhack/goodie_cheat_sheets

I think we can get this one completed! You'll just need to remove all other files except the json one and ensure it's the correct syntax. 👍

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv May 30, 2015

Contributor

@MrChrisW Ok. Changing the code again I guess :)

When you say "You'll just need all other files except the json one and ensure it's the correct syntax." You mean, "delete all other files except the JSON". Right?

That's what I understand from reading the doc you linked to.

Contributor

xuv commented May 30, 2015

@MrChrisW Ok. Changing the code again I guess :)

When you say "You'll just need all other files except the json one and ensure it's the correct syntax." You mean, "delete all other files except the JSON". Right?

That's what I understand from reading the doc you linked to.

@MrChrisW

This comment has been minimized.

Show comment
Hide comment
@MrChrisW

MrChrisW May 30, 2015

Member

@xuv Sorry it's late here! 😪 Yup that's what I meant to say.
"You'll just need to remove all other files except the json file"

Member

MrChrisW commented May 30, 2015

@xuv Sorry it's late here! 😪 Yup that's what I meant to say.
"You'll just need to remove all other files except the json file"

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 1, 2015

Contributor

@MrChrisW Removed unused files. Updated JSON to latest correct syntax. But...

Duckpan does not throw any errors.
But the cheatsheet does not display.
And I have this error in the browser console:
DDG.exec_template: template is null
Not sure what I have to do to solve this.

Contributor

xuv commented Jun 1, 2015

@MrChrisW Removed unused files. Updated JSON to latest correct syntax. But...

Duckpan does not throw any errors.
But the cheatsheet does not display.
And I have this error in the browser console:
DDG.exec_template: template is null
Not sure what I have to do to solve this.

@MrChrisW

This comment has been minimized.

Show comment
Hide comment
@MrChrisW

MrChrisW Jun 1, 2015

Member

@xuv Maybe try a merge from master, I see you did that 12 days ago... So I doubt that's the problem. @moollaza Probably knows what's going on 😉

Member

MrChrisW commented Jun 1, 2015

@xuv Maybe try a merge from master, I see you did that 12 days ago... So I doubt that's the problem. @moollaza Probably knows what's going on 😉

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 1, 2015

Contributor

@MrChrisW I did a merge this morning: dfa2c2c ;)
And surely would like @moollaza advice. Because when I look for the Vim or Tmux cheat sheets, it renders without problem but Blender not. Although I could not spot any difference between these files and mine or find any relevant error to begin with. Except that "temblate is null".

Contributor

xuv commented Jun 1, 2015

@MrChrisW I did a merge this morning: dfa2c2c ;)
And surely would like @moollaza advice. Because when I look for the Vim or Tmux cheat sheets, it renders without problem but Blender not. Although I could not spot any difference between these files and mine or find any relevant error to begin with. Except that "temblate is null".

@MrChrisW

This comment has been minimized.

Show comment
Hide comment
@MrChrisW

MrChrisW Jun 1, 2015

Member

@xuv Oops! Missed that 😄

Yup we'll need to await moollaza's advise as it all looks right to me also. Thanks again for your patience.

Member

MrChrisW commented Jun 1, 2015

@xuv Oops! Missed that 😄

Yup we'll need to await moollaza's advise as it all looks right to me also. Thanks again for your patience.

Show outdated Hide outdated share/goodie/cheat_sheets/blender.json
"id": "blender_cheat_sheet",
"name": "Blender",
"description": "3D computer graphics software",
"meta": {

This comment has been minimized.

@moollaza

moollaza Jun 2, 2015

Member

this actually needs to be metadata to prevent a naming collision -- should fix your rendering problem 👍

@moollaza

moollaza Jun 2, 2015

Member

this actually needs to be metadata to prevent a naming collision -- should fix your rendering problem 👍

Show outdated Hide outdated share/goodie/cheat_sheets/blender.json
"description": "3D computer graphics software",
"meta": {
"sourceName": "BlenderCheatSheet",
"sourceUrl": "https://duckduckgo.com"

This comment has been minimized.

@moollaza

moollaza Jun 2, 2015

Member

Ideally this should send them somewhere where they can get more info about these helpers, typically the source that was used to create this. Is there a particular source you used or a website we can send them for more info? If not let's remove the metadata altogether because sending them to our Homepage isn't very helpful in this context.

@moollaza

moollaza Jun 2, 2015

Member

Ideally this should send them somewhere where they can get more info about these helpers, typically the source that was used to create this. Is there a particular source you used or a website we can send them for more info? If not let's remove the metadata altogether because sending them to our Homepage isn't very helpful in this context.

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 2, 2015

Contributor

@moollaza Ho thanks. Missed that "meta", "metadata" property . Thanks for spotting it.

I've added the source, also. And prettyfied the whole thing so it looks coherent and nice :)

A screenshot:
Blender shortcuts screenshot

Hope this is all fine now. :)

Contributor

xuv commented Jun 2, 2015

@moollaza Ho thanks. Missed that "meta", "metadata" property . Thanks for spotting it.

I've added the source, also. And prettyfied the whole thing so it looks coherent and nice :)

A screenshot:
Blender shortcuts screenshot

Hope this is all fine now. :)

Show outdated Hide outdated share/goodie/cheat_sheets/blender.json
"key": "[Ctrl] + [n]"
}, {
"val": "Align bones",
"key": "[Ctrl] + [ALt] + [a]"

This comment has been minimized.

@moollaza

moollaza Jun 2, 2015

Member

tiny typo, you have a capital L

@moollaza

moollaza Jun 2, 2015

Member

tiny typo, you have a capital L

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Jun 2, 2015

Member

@xuv this is looking awesome! I noticed one tiny typo. Once fixed this should be good for merge!

Member

moollaza commented Jun 2, 2015

@xuv this is looking awesome! I noticed one tiny typo. Once fixed this should be good for merge!

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 2, 2015

Contributor

@moollaza Tx. Corrected typo. :)

Contributor

xuv commented Jun 2, 2015

@moollaza Tx. Corrected typo. :)

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Jun 2, 2015

Member

@xuv nice! This LGTM 👍

Member

moollaza commented Jun 2, 2015

@xuv nice! This LGTM 👍

moollaza added a commit that referenced this pull request Jun 2, 2015

Merge pull request #1091 from xuv/master
A cheat sheet of Blender shortcuts

@moollaza moollaza merged commit c595d85 into duckduckgo:master Jun 2, 2015

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 2, 2015

Contributor

Thanks @moollaza and the rest of the team. It's been quite a ride :) Will be happy to see this live.

Contributor

xuv commented Jun 2, 2015

Thanks @moollaza and the rest of the team. It's been quite a ride :) Will be happy to see this live.

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Jun 2, 2015

Member

@xuv Thanks again for taking the time to contribute! We really appreciate it. Feel free to stick around and comment/help on other PR's & Issues or even submit more Instant Answers!

Member

moollaza commented Jun 2, 2015

@xuv Thanks again for taking the time to contribute! We really appreciate it. Feel free to stick around and comment/help on other PR's & Issues or even submit more Instant Answers!

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 6, 2015

Contributor

Hey. Don't want to be rude or anything. But I'm wondering how long till I can see this live?
I'd be happy to get the Blender community to know about it when it's there :)

Contributor

xuv commented Jun 6, 2015

Hey. Don't want to be rude or anything. But I'm wondering how long till I can see this live?
I'd be happy to get the Blender community to know about it when it's there :)

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Jun 6, 2015

Member

@xuv It should be live within the next few days, I'll be sure to ping you hear once I see it's live!

Member

moollaza commented Jun 6, 2015

@xuv It should be live within the next few days, I'll be sure to ping you hear once I see it's live!

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 7, 2015

Contributor

thx.

Contributor

xuv commented Jun 7, 2015

thx.

@xuv

This comment has been minimized.

Show comment
Hide comment
@xuv

xuv Jun 10, 2015

Contributor

Just saw it live. Thanks. Feels good to see it. :)

Contributor

xuv commented Jun 10, 2015

Just saw it live. Thanks. Feels good to see it. :)

@moollaza

This comment has been minimized.

Show comment
Hide comment
@moollaza

moollaza Jun 10, 2015

Member

You beat me to it! Was just about to let you know :)

https://duckduckgo.com/?q=blender+cheat+sheet&ia=cheatsheet

@xuv Thanks again for taking the time to contribute! We really appreciate it. Feel free to stick around and comment/help on other PR's & Issues or even submit more Instant Answers!

Member

moollaza commented Jun 10, 2015

You beat me to it! Was just about to let you know :)

https://duckduckgo.com/?q=blender+cheat+sheet&ia=cheatsheet

@xuv Thanks again for taking the time to contribute! We really appreciate it. Feel free to stick around and comment/help on other PR's & Issues or even submit more Instant Answers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment