Search found 1692 matches

Go to advanced search

by freedman
Sun Nov 15, 2020 6:24 am
Forum: Python scripting and macros
Topic: Building a toolbar that needs to change Preferences
Replies: 1
Views: 183

Re: Building a toolbar that needs to change Preferences

Mario52, I posted a new macro in Help section for folks to try. The code worked perfect and it works great. I will start to look at your toolbar code, thanks. I renamed the post to: "Rename: The two visual modes of using Sketcher" HideD_mode = True FreeCAD.ParamGet("User parameter:BaseApp/Preference...
by freedman
Sun Nov 15, 2020 6:20 am
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

Since I got this working I thought I would at least post the fix in a macro. It works great and updates correctly in Preferences. The SM1 button toggles between SM1 and SM2. When using SM2 the model will be shown solid (in Sketcher) until you use the global visibilty buttons to peer thru the surface...
by freedman
Sat Nov 14, 2020 3:20 pm
Forum: Users Showcase
Topic: V0.19 Top Down Assembly Design Using Assembly4--Update #11
Replies: 65
Views: 12419

Re: V0.19 Top Down Assembly Design Using Assembly4--Update #10

Excellent work as always. Question: I do a lot of "here is what we have" can you package it in this space. Then I go and try a few things and present a model concept, that might be manufactured for a year or so until we want to modernize. So I'm not necessarily doing a complete redesign just a bunch...
by freedman
Fri Nov 13, 2020 9:02 pm
Forum: Python scripting and macros
Topic: Building a toolbar that needs to change Preferences
Replies: 1
Views: 183

Building a toolbar that needs to change Preferences

Continuing from this link. https://forum.freecadweb.org/viewtopic.php?f=3&t=51980&p=447682#p447682 I'm try to change the preferences "Hide all objects that depend on the sketch" and then activate the button below "Apply to existing sketches". Having some trouble. I will post more later, just wanted ...
by freedman
Fri Nov 13, 2020 8:55 pm
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

I will start a new post in the "Python scripting and macros" section and reference this. Looks like there's some work to be done. :)
Continues here, https://forum.freecadweb.org/viewtopic.php?f=22&t=52130
Thanks
by freedman
Fri Nov 13, 2020 8:38 pm
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

Deleted by OP
by freedman
Fri Nov 13, 2020 6:14 pm
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

Here is a macro if folks want to do some testing, the macro only sets 3 levels of visibilty. It's kind of big because of the style sheet issues I'm having. Another big advantage of SM2, in Sketcher if you turn on auto-update the model will update in real time and you get to watch, I really like this...
by freedman
Thu Nov 12, 2020 8:19 pm
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

I also don't see any changes. Maybe Openbrain can jump in here. Right out of the console: for name,doc in App.listDocuments().items(): for sketch in doc.findObjects('Sketcher::SketchObject'): sketch.ViewObject.HideDependent = True sketch.ViewObject.ShowLinks = True sketch.ViewObject.ShowSupport = Tr...
by freedman
Thu Nov 12, 2020 2:13 am
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

Here is the model file for the previous post, the file got too big.
by freedman
Thu Nov 12, 2020 2:11 am
Forum: Help on using FreeCAD
Topic: Rename: The two visual modes of using Sketcher
Replies: 23
Views: 908

Re: How to make a standard toolbar

Geez, thanks Mario52. Very helpful. .. The reason behind the toolbar follows in the pics. Each pic shows Sketch mode 1 (SM1) on the left and Sketch mode 2 (SM2) on the right. Just about every time I get a file off the forum I convert the file to SM2 format, it allows me to see where the sketches are...

Go to advanced search