Search found 482 matches

by edi
Tue Feb 16, 2021 5:49 pm
Forum: Forum in Deutsch
Topic: Importerte DXF-Dateien Aufpolstern UND Thickness
Replies: 2
Views: 558

Re: Importerte DXF-Dateien Aufpolstern UND Thickness

Ich glaube, das Problem liegt immer beim Erzeugen des Offset (hier: innere Kurve) des Umrisses. Im Bild zwei Möglichkeiten für die einspringenden Kanten beim 'W'. Bei U oder T gibt es vermutlich keine Probleme, während N oder X schwierig sein dürften. OffsetForm.png Wer genau schaut, sieht, dass die...
by edi
Tue Feb 16, 2021 4:28 pm
Forum: TechDraw
Topic: How to insert a Scalebar in TechDraw drawing?
Replies: 8
Views: 1494

Re: How to insert a Scalebar in TechDraw drawing?

Can you show an example, how the scale bar should look like. I will try to implement it.
by edi
Tue Feb 16, 2021 8:57 am
Forum: Python scripting and macros
Topic: API info SOLVED
Replies: 11
Views: 1237

Re: API info SOLVED

Imagine, Ell is an existing ellipse in your sketch, then Ell.Center Ell.MajorRadius Ell.MinorRadius Ell.AngleXU will return the center (App.Vector), the values (float) of the both radii and the angle between x-Axis and major axis (in radiant). These 4 informations allow you to calculate A, B and Cen...
by edi
Mon Feb 15, 2021 5:03 pm
Forum: Python scripting and macros
Topic: API info SOLVED
Replies: 11
Views: 1237

Re: API info

To create a centered ellipse having the horizontal long radius 50, and the short vertical radius 30 use: Center = App.Vector(0,0,0) A = App.Vector(50,0,0) B = App.Vector(0,30,0) Ell = Part.Ellipse(A,B,Center) ActiveSketch.addGeometry(Ell) App.ActiveDocument.recompute() Workflow: - open a sketch - ru...
by edi
Mon Feb 15, 2021 4:48 pm
Forum: Python scripting and macros
Topic: Conflicting relationships between Knots, Poles and Degree of BSplines
Replies: 4
Views: 570

Re: Conflicting relationships between Knots, Poles and Degree of BSplines

2. Is there a reference webpage, book or PDF where I can understand the BSpline terminology as used by FreeCAD (there seem to be a few variations in the terminology: e.g. I see folks using "control points" and wonder if they are same as "poles"). So I'm searching for something w...
by edi
Mon Feb 15, 2021 3:36 pm
Forum: Python scripting and macros
Topic: Features recognition
Replies: 3
Views: 857

Re: Features recognition

In FC everything is possible using macros, because the whole software is published and can be used. You can start easy: - open the python console: View - Panels - Python console - select something, e.g. a cylinder barrel - click right mouse, select 'Send to python console' or Ctrl+Shift+P - in the c...
by edi
Mon Feb 15, 2021 2:25 pm
Forum: Forum in Deutsch
Topic: TechDraw gibt unterschiedliche Masse an
Replies: 5
Views: 900

Re: TechDraw gibt unterschiedliche Masse an

Falls du die 0.19 verwendest, kannst du mit diesem Macro
https://forum.freecadweb.org/viewtopic.php?f=35&t=55029
deine Zeichnungen besser ausgestalten.
by edi
Mon Feb 15, 2021 1:58 pm
Forum: Help on using FreeCAD
Topic: Sketcher auto generate constraints
Replies: 12
Views: 2079

Re: Sketcher auto generate constraints

Sorry, I detected the post not until today. 1. You have to comment the line using the # sign as first character in the line. 2. If you take the sketch as downloaded, you will not be able to process it further. The sketch may have only one closed loop, otherwise you will not be able to create an extr...
by edi
Mon Feb 15, 2021 1:35 pm
Forum: Python scripting and macros
Topic: API info SOLVED
Replies: 11
Views: 1237

Re: API info

If you have an element C being a circle : Important attributes, returning information: C.Center ... App.Vector, center point (z allways 0) C.Radius ... float, the radius value C.TypeId ... string, 'Part::GeomCircle' You can create a circle using: C = Part.Circle(Center,Axis,Radius) where Axis in ske...
by edi
Mon Feb 15, 2021 8:33 am
Forum: Python scripting and macros
Topic: Face Based Array
Replies: 4
Views: 684

Re: Face Based Array

Thank you for publishing this macro. I tried to use: - create (using PART) a cylinder having a hole circle - create a seperate cylinder - select the seperate cylinder and some of the holes - start the macro A new item FaceArray, having the expected number of faces, is created, but remains invisible....