Search found 327 matches
- Wed Apr 12, 2023 8:11 am
- Forum: Forum in Deutsch
- Topic: Verständnis Ausrichtung
- Replies: 6
- Views: 686
Re: Verständnis Ausrichtung
Ich denke auch, dass die Verwendung von Assembly 4 schnell und einfach zum Ziel führt: - New Model anwählen und Ring in komportable Position schieben - Body00400 anwählen, mit "Create Datum Object" in A4 die Kante anwählen. Damit wird im Body ein LCS (LCS_1) erzeugt (Bild 3) - Body001 anwä...
- Wed Apr 12, 2023 6:15 am
- Forum: Python scripting and macros
- Topic: [Update Quick Measure is now an add-on] I'm ready to have users try a new measuring program.
- Replies: 56
- Views: 10318
Re: [Update Quick Measure is now an add-on] I'm ready to have users try a new measuring program.
very nice little program. The point at 0/0/0 is very convenient and I will often use it. Nice would be if in the same way the center point of an arc/circle could be generated.
- Tue Apr 11, 2023 5:54 pm
- Forum: Forum in Deutsch
- Topic: Verständnisfrage zu Transform
- Replies: 11
- Views: 737
Re: Verständnisfrage zu Transform
Bildschirmfoto von 2023-04-11 19-50-30.png Leider kann ich den Fehler auch nicht vollständig erklären, aber wenn man in Plain_FF den z-Wert im Attachement löscht oder durch -30 ersetzt, dann funktioniert es, auch dann noch, wenn man anschließend wieder -<<Config>>.ddLinearLength / 2 einsetzt. Mögli...
- Mon Apr 10, 2023 5:08 pm
- Forum: Python scripting and macros
- Topic: Shaft
- Replies: 8
- Views: 1177
Re: Shaft
the easiest way is: you start macro recorder and create the three cylinders, position them, fuse, then stop the recorder and run the macro #create cylinders App.ActiveDocument.addObject("Part::Cylinder","Cylindermiddle") App.ActiveDocument.addObject("Part::Cylinder",&qu...
- Sat Apr 08, 2023 3:20 pm
- Forum: Python scripting and macros
- Topic: Curiousity with getCompleteSelection() and getSelectionEx()
- Replies: 3
- Views: 313
Re: Curiousity with getCompleteSelection() and getSelectionEx()
here is the doc for the previous note
- Sat Apr 08, 2023 3:18 pm
- Forum: Python scripting and macros
- Topic: Curiousity with getCompleteSelection() and getSelectionEx()
- Replies: 3
- Views: 313
Re: Curiousity with getCompleteSelection() and getSelectionEx()
the attached doc has a body and and a link to the body with three elements. #body selected S=Gui.Selection.getSelectionEx() S0=S[0] S0.Object.Parents [(<App::Link object>, 'Body.Pad.'), (<App::Link object>, 'Pad.'), (<App::Link object>, 'Body.Pad.'), (<App::Link object>, 'Pad.')] >>> #vertex on body...
- Fri Apr 07, 2023 4:05 pm
- Forum: Python scripting and macros
- Topic: Curiousity with getCompleteSelection() and getSelectionEx()
- Replies: 3
- Views: 313
Curiousity with getCompleteSelection() and getSelectionEx()
I played with getCompleteSelection() and getSelectionEx(). No matter wether I selected a vertix, edge or face I receive >>> S=Gui.Selection.getCompleteSelection() >>> S0=S[0] >>> S0.Object.Parents [(<body object>, 'Pad002.'), (<body object>, 'Pad002.')] the same output twice as can be seen above fro...
- Thu Apr 06, 2023 12:30 pm
- Forum: Python scripting and macros
- Topic: exploring the hierarchy in an assembly
- Replies: 2
- Views: 265
Re: exploring the hierarchy in an assembly
thanks for the info. I am not all the way through the report WB but it looks very interesting. As far as my problem is concerned I think the output is structured like that: >>> S0=Gui.Selection.getSelectionEx()[0] >>> S0.Object <App::Link object> >>> S0.Object.Parents [(<Part object>, 'Part002.Part0...
- Thu Apr 06, 2023 9:48 am
- Forum: Python scripting and macros
- Topic: exploring the hierarchy in an assembly
- Replies: 2
- Views: 265
exploring the hierarchy in an assembly
I am looking for a way to find all Parts in an assembly which includes a hierarchy of parts and a link-object like Part 002->Part001->Part->Body003. The link Body003 has been selected in the code below >>> S0=Gui.Selection.getSelection()[0] >>> S0 <App::Link object> >>> S0.FullName 'VerschiebenMacro...
- Wed Apr 05, 2023 11:07 am
- Forum: Python scripting and macros
- Topic: coordinate system
- Replies: 4
- Views: 464
Re: coordinate system
thanks, works perfect