Search found 271 matches

Go to advanced search

by edi
Mon Apr 19, 2021 4:25 pm
Forum: Python scripting and macros
Topic: [Solved] PyQt Question : Getting FreeCAD's System Font
Replies: 15
Views: 599

Re: [Solved] PyQt Question : Getting FreeCAD's System Font

Thank you very much for pulishing the macro.

A published and commented macro helps more than many pages of explanation.

One question: is there any documentation how to observe views which are not of type "View3DInventor" ? I think of TechDraw Page, returning the type "MDIView".
by edi
Wed Apr 14, 2021 4:18 pm
Forum: Forum in Deutsch
Topic: Kreismittelpunkt in Techdraw Version 0.19
Replies: 5
Views: 242

Re: Kreismittelpunkt in Techdraw Version 0.19

Du kannst auch dieses https://forum.freecadweb.org/viewtopic.php?f=35&t=55029 Macro verwenden. Damit kannst du für jeden Kreis ein Kreuz aus Mittellinien erzeugen. Im Schnittpunkt der Mittellinien kannst du einen Kontrollpunkt erzeugen. Zwischen diesen Kontrollpunkten kannst du dann Maße eintragen.
by edi
Fri Apr 09, 2021 3:32 pm
Forum: Part Design module development
Topic: Feature: offset tool in sketcher
Replies: 85
Views: 8752

Re: Feature: offset tool in sketcher

I can confirm, the macro is not visible in the Addon-Manager in 0.19.1 in Windows. You can load it manually by copy/paste the source from https://github.com/FreeCAD/FreeCAD-macros/blob/master/Sketcher/SketcherOffset.FCMacro to an empty macro in the python editor. But this should not not the regular ...
by edi
Thu Mar 25, 2021 12:45 pm
Forum: Forum in Deutsch
Topic: Linienstärke in Tech Draw ändern
Replies: 32
Views: 1802

Re: Linienstärke in Tech Draw ändern

Da müsste edi z.B. mal in Draft schauen, wie das in Python gemacht wird. Der Draft WB hat für jede Sprache zwei Dateien, z.B. Draft_de.ts und Draft_de.qm für Deutsch. Diese Dateien werden von mehreren Programmen (Crowdin ist nur eines davon) erzeugt. Die vielen Dateien werden dann mit QMake zusamme...
by edi
Wed Mar 24, 2021 8:59 am
Forum: TechDraw
Topic: Macro: Version 3: helper tools to improve TechDraw documents
Replies: 33
Views: 2686

Re: Macro: Version 3: helper tools to improve TechDraw documents

I was able to create the center line between two slanted lines using the TechDraw's function fine. how did you do it ? If I selcet the two parallel lines and use the "Adds a Centerline between 2 Lines" icon, no line is created. I get the message: "Endpoints are equal". Maybe your two lines by a for...
by edi
Tue Mar 23, 2021 4:58 pm
Forum: Python scripting and macros
Topic: Where can I get detailed API documentation?
Replies: 7
Views: 363

Re: Where can I get detailed API documentation?

The python console is very helpfull. Use >>> from FreeCAD import Mesh >>> Mesh. A pulldown menu opens, showing the attributes and methods of the Mesh class. Rolling through using UP and DOWN keys opens a short help info. You will find a method Mesh. Next type: >>> myMesh=Mesh.Mesh() >>> myMesh. Agai...
by edi
Tue Mar 23, 2021 4:23 pm
Forum: TechDraw
Topic: Macro: Version 3: helper tools to improve TechDraw documents
Replies: 33
Views: 2686

Re: Macro: Version 3: helper tools to improve TechDraw documents

Hi ngocminhdao88, see in the right picture the solution I could find. It's not perfect. TechDraw08.png Workflow: - create a temporary centerline using the "Draw one centerline" tool of TechDrawTools macro (see left picture) - create intersection vertexes with arcs using "Create vertex(es) at interse...
by edi
Tue Mar 23, 2021 7:32 am
Forum: TechDraw
Topic: Macro: Version 3: helper tools to improve TechDraw documents
Replies: 33
Views: 2686

Re: Macro: Version 3: helper tools to improve TechDraw documents

@ngocminhdao88: Thanks for your suggestion. Find attached a short macro helping you to solve your problems. TechDrawCosmeticArc.FCMacro TechDraw07.png The macro creates an arc of circle, using a cosmetic line. Workflow: - Open a TechDraw drawing. - Select three vertexes: center - start - end - Start...
by edi
Mon Mar 22, 2021 5:29 pm
Forum: Forum in Deutsch
Topic: Linienstärke in Tech Draw ändern
Replies: 32
Views: 1802

Re: Linienstärke in Tech Draw ändern

Hab das Symbol hier https://www.piliapp.com/symbol/square herunterkopiert. Funktioniert bisher überall. Kann auch "händisch" in den Format Spec eingefügt werden.
by edi
Mon Mar 22, 2021 1:11 pm
Forum: Forum in Deutsch
Topic: Linienstärke in Tech Draw ändern
Replies: 32
Views: 1802

Re: Linienstärke in Tech Draw ändern

@JB_Hicks und alle die es brauchen: Vorerst ein kleines Macro welches ein Quadrat □ einfügt: TechDrawRectSymbol.FCMacro Workflow: - In der TechDraw Zeichnung ein oder mehrere Bemaßungen auswählen. - Macro starten Wird in der nächsten Version in TechDrawTools eingebaut. @chrisb: Statt des Durchmesser...

Go to advanced search