Search found 210 matches

by j-dowsett
Sat Feb 01, 2014 3:41 pm
Forum: Open discussion
Topic: Possible quick short change to current templates menu
Replies: 11
Views: 3934

Re: Possible quick short change to current templates menu

Just a thought, I don't know if it is possible, but can you use tool tips on the items within the drop down list? If you can, then perhaps the tooltip could show the file name of the template associated with the icon. Since they will all have the same icon if they have the same paper size, that wou...
by j-dowsett
Sat Feb 01, 2014 12:24 pm
Forum: Open discussion
Topic: Possible quick short change to current templates menu
Replies: 11
Views: 3934

Re: Possible quick short change to current templates menu

quick61 wrote:Ok, got it. Cloning now.

Mark
Cool, thanks. It's not major, but just figured it may be helpful in the short term. I've just been called away from coding :(, but let me know how you get on.
by j-dowsett
Sat Feb 01, 2014 11:23 am
Forum: Open discussion
Topic: Possible quick short change to current templates menu
Replies: 11
Views: 3934

Possible quick short change to current templates menu

Hey. While working towards a template selection dialog, I have also been playing about a bit with the method that populates the current template dropdown / sub menu list. I believe a constituent part of the whole discussion about templates was the limitations regarding what paper sizes the menu woul...
by j-dowsett
Thu Jan 30, 2014 4:15 pm
Forum: Developers corner
Topic: Gui::PrefFileChooser - how to choose a folder not a file
Replies: 1
Views: 966

Re: Gui::PrefFileChooser - how to choose a folder not a file

Spoke too soon

Code: Select all

    ui->templatePath->setMode(Gui::FileChooser::Directory);
still can't see how DlgSettingsMacro achieves the same thing... but no longer a concern!
by j-dowsett
Thu Jan 30, 2014 3:53 pm
Forum: Developers corner
Topic: Gui::PrefFileChooser - how to choose a folder not a file
Replies: 1
Views: 966

Gui::PrefFileChooser - how to choose a folder not a file

I'm trying to implement a preference to select a folder. I've got a Gui::PrefFileChooser but can't work out how to make it select a folder rather than a file. I've looked at the two examples in src/Gui/DlgSettingsMacro.ui, one of which selects a file and the other selects a folder, but I can't see a...
by j-dowsett
Tue Jan 28, 2014 11:06 am
Forum: Open discussion
Topic: Drawing Template Sets And Their Implementation In FreeCAD
Replies: 105
Views: 27944

Re: Drawing Template Sets And Their Implementation In FreeCA

If we're all happy to go with this approach, it'd be good to organise what this script needs so I know what your requirements are and I can go about implementing it and just be a bit more systematic about this. I think something along these lines is indeed the way to go, particularly if it works we...
by j-dowsett
Sun Jan 26, 2014 10:50 pm
Forum: Open discussion
Topic: Drawing Template Sets And Their Implementation In FreeCAD
Replies: 105
Views: 27944

Re: Drawing Template Sets And Their Implementation In FreeCA

I'd just leave it as int. unless there is a good reason not to. For my part, rounding things off is allot easier/neater than using thousandths or hundred-thousandths when editing the .svg file. When you tell Python int, wont it round off any float it generates? Mark Yeh, I think it's fine as it is....
by j-dowsett
Sun Jan 26, 2014 10:36 pm
Forum: Open discussion
Topic: Drawing Template Sets And Their Implementation In FreeCAD
Replies: 105
Views: 27944

Re: Drawing Template Sets And Their Implementation In FreeCA

[I made a primitive python script, that can create a valid template as an svg-file. It is just a proof of concept. Data for the template definition are given in python lists. In order to test the script, line 241 has to be edited, and your save path has to be put in. It just has the minimum functio...
by j-dowsett
Wed Jan 22, 2014 10:27 pm
Forum: Open discussion
Topic: Drawing Template Sets And Their Implementation In FreeCAD
Replies: 105
Views: 27944

Re: Drawing Template Sets And Their Implementation In FreeCA

As the templates go, the drawing placement mechanism is border and title block aware. The title block avoidance is a BIG plus! The views are no longer limited to just 4 as it was previously and you don't have to have 3 other views to get your iso view now, another real handy feature. I think thee w...
by j-dowsett
Wed Jan 15, 2014 3:21 pm
Forum: Open discussion
Topic: FreeCAD on the web
Replies: 833
Views: 433920

Re: FreeCAD on the web

Yes, some standard banner! :) We could pay adds with google :lol: This project is kinda fishy, you need to register before you can download anythin!? What kind of OpenSource is this.... :? I was curious to see a bit more (eg whether FreeCAD might have been used to create the model, or was just bein...