Skip to content
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

Populate script with sample and comments showing how to execute. #7

Closed
davetriage opened this issue Dec 1, 2014 · 7 comments
Closed

Comments

@davetriage
Copy link

Success! Instlallation works correctly on windows x64!
This thing completely rocks! It really really brings CQ to life!

One suggestion: I didnt immediately figure out that you do F2 to run the script. It was quick to figure out, but I think a good enhancement might be to populate the code view initially with an example that works, with a comment that says "press F2 to run the script" or something along those lines.

That's really the only thing that could have been easier! extracting the module into the Mod directory was easy and worked just right! its just SO awesome to see scripts in the window!

This is a HUGE step forward. If i can get this script format to somehow be uploadable to parametric parts, a quick menu option to upload to PP would be super-sweet.

@jmwright
Copy link
Owner

jmwright commented Dec 2, 2014

Success! Instlallation works correctly on windows x64!

Really? Auto complete and syntax checking work too?

populate the code view initially with an example that works

That's a good suggestion. I should also be able to have the open dialog default to the Examples directory too.

@dcowden
Copy link
Collaborator

dcowden commented Dec 2, 2014

hmm. actually, no-- autocomplete and syntax checking were not working.
syntax highlighting was working. are there any keystrokes i need to type to
get autocomplete to work?

On Mon, Dec 1, 2014 at 7:56 PM, Jeremy Wright notifications@github.com
wrote:

Success! Instlallation works correctly on windows x64!

Really? Auto complete and syntax checking work too?

populate the code view initially with an example that works

That's a good suggestion. I should also be able to have the open dialog
default to the Examples directory too.


Reply to this email directly or view it on GitHub
#7 (comment)
.

@jmwright
Copy link
Owner

jmwright commented Dec 2, 2014

are there any keystrokes i need to type to
get autocomplete to work?

No, it just works out of the box. You're probably seeing the same issue I was fighting today. There's something about how the environment is set up that keeps it from working.

If you thought the module was great without those features, it's going to blow your doors off once I get them working. They work in Ubuntu 14.04 for me. If you want a preview of those features you can fire up an Ubuntu VM and try it out.

@dcowden
Copy link
Collaborator

dcowden commented Dec 2, 2014

ok i may see if i can try it on ubuntu tomorrow...

On Mon, Dec 1, 2014 at 8:17 PM, Jeremy Wright notifications@github.com
wrote:

are there any keystrokes i need to type to
get autocomplete to work?

No, it just works out of the box. You're probably seeing the same issue I
was fighting today. There's something about how the environment is set up
that keeps it from working.

If you thought the module was great without those features, it's going to
blow your doors off once I get them working. They work in Ubuntu 14.04 for
me. If you want a preview of those features you can fire up an Ubuntu VM
and try it out.


Reply to this email directly or view it on GitHub
#7 (comment)
.

@jmwright
Copy link
Owner

jmwright commented Dec 2, 2014

If i can get this script format to somehow be uploadable to parametric parts, a quick menu option to upload to PP would be super-sweet.

I agree. Whenever I've pictured the CQ UI in my head, it's always had close integration with ParametricParts.com. Being able to hammer a model out on your desktop and then share/print it on PP.com with one or two clicks would be awesome. I think I'm going to have to add a config file, that will eventually be manipulated via a dialog. We'll need some place to select whether or not you see a light or dark theme (I prefer dark themes to reduce eye strain), default directory for open/save dialogs, PP.com user name, etc.

@dcowden
Copy link
Collaborator

dcowden commented Dec 2, 2014

great. pretty awesome work, man!

On Mon, Dec 1, 2014 at 10:10 PM, Jeremy Wright notifications@github.com
wrote:

If i can get this script format to somehow be uploadable to parametric
parts, a quick menu option to upload to PP would be super-sweet.

I agree. Whenever I've pictured the CQ UI in my head, it's always had
close integration with ParametricParts.com. Being able to hammer a model
out on your desktop and then share/print it on PP.com with one or two
clicks would be awesome. I think I'm going to have to add a config file,
that will eventually be manipulated via a dialog. We'll need some place to
select whether or not you see a light or dark theme (I prefer dark themes
to reduce eye strain), default directory for open/save dialogs, PP.com user
name, etc.


Reply to this email directly or view it on GitHub
#7 (comment)
.

@jmwright
Copy link
Owner

jmwright commented Dec 2, 2014

populate the code view initially with an example that works, with a comment that says "press F2 to run the script" or something along those lines.

Added in commit 943845d

This has been tested in FreeCAD 0.15/Ubuntu 14.04 and FreeCAD 0.14/Windows 8. If there are any problems please reopen this issue.

@dcowden - Please feel free to commit changes to the instructions in the example (or to the example itself). I'm too close to this project to have a really good view of what instructions a new user would like to have.

@jmwright jmwright closed this as completed Dec 2, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants