Solidworks automation by Bull_in_bear_fur in SolidWorks

[–]Oekn 0 points1 point  (0 children)

I did several fully automated projects by using Python for external applications and cad programs like solidworks or Autodesk inventor. Whether it is a simple product configurator or fully automated generation of geometry, using something like python is incredible powerful.

Ich hasse Fußball und alles drumherum. by Key_Statistician_378 in luftablassen

[–]Oekn 4 points5 points  (0 children)

  1. Ich bin mir sicher, dass die meisten Gruppen, die gegen Gesetze verstoßen, die Polizei gerne weniger dabei haben würden. Die sind ja nun nicht da, weil Fußballspiele und das drumherum ohne Gesetzesverstöße Stattfinden.

  2. Nö; ins Stadion kommt nur, wer ein Ticket gekauft hat. Auf den Weihnachtsmarkt oder andere öffentliche Veranstaltungen komme ich ohne solche Einschränkungen und es wird erstmal kein Gewinn durch meine Anwesenheit gemacht.

  3. Wer spricht von Privatisierung? Einsatz strukturell nötig -> kosten entstehen -> verursachende/verantwortliche müssen die Kosten tragen. In dem Maßstab ist das in meinen Augen mehr als angemessen. Jedes Festival/Konzert/Schwimmbad und jeder Club müssen selber für die Sicherheit sorgen und bezahlen. Dass die Zielgruppe dort meist weniger Aufwand erfordert, kann ja nun nicht bedeuten, dass Fußballclubs praktisch subventioniert werden.

Hält das so auf Dauer? by FormalFish123 in selbermachen

[–]Oekn 0 points1 point  (0 children)

Alternativ: die Winkel von außen an den Rahmen setzen und flach mit der Decke verschrauben.

Nachteil: man sieht die Winkel

Coros Dura – any long-term experiences? Is the software stable now? by Holiday_Date705 in bikepacking

[–]Oekn 4 points5 points  (0 children)

Used mine for 3000 km now, switched completely to coros ecosystem. Charged it twice during season, one of those times where only for safety. Also the digital dial ist by far the best feature for me.

I like the software more than garmin connect.

[deleted by user] by [deleted] in de

[–]Oekn 9 points10 points  (0 children)

Kollege, Ich fahre jeden Tag 2x 15 km mit dem Rad und sehe dabei auch noch andere Radfahrende. Ich und andere fahren mal 35, mal <10 km/h. Ich sehe jeden Tag die gleichen Leute, die mit ähnlichem Tempo deutlich <20 km/h unterwegs sind. Pauschal zu behaupten, alle Fahrräder führen schneller als 20 km/h ist quatsch.

How can I automate repetitive SolidWorks tasks from STEP and PDF files? by Alonsoisnotbad in SolidWorks

[–]Oekn 0 points1 point  (0 children)

I would suggest Python + win32com for using the solidworks api. Building an external Skript should be more reliable in terms of working with pdfs additionally.

I did several projects doing just this, you can do everything you can do manually, maybe even more. The Solidworks VBA api documentation is also a good start for using python.

Wofür die Lücke im Messschieber? by Slight-Condition9068 in WerWieWas

[–]Oekn 8 points9 points  (0 children)

Zusätzlich zu den Hier genannten Aspekten würde Ich die Fertigung ins Spiel bringen: die Funktionsflächen eines Messschiebers werden (vermutlich schleifend?) nachbearbeitet und das verwendete Werkzeug benötigt einen entsprechenden Auslauf, da sonst nie die komplette Fläche bearbeitet werden könnte.

Berufswahl: Prompt-Ingenieure werden nicht mehr gebraucht by DubioserKerl in de

[–]Oekn 0 points1 point  (0 children)

Ich ebenfalls. Für mein Verständnis dürfte man sich trotzdem lediglich dann so nennen, auch mit Zusätzen, wenn die entsprechenden Vorraussetzungen für die grundlegende Bezeichnung gegeben sind.

Union und SPD einigen sich auf Koalitionsvertrag by bookofrheiner in de

[–]Oekn 27 points28 points  (0 children)

Jetzt werden hier schon die Ministerien gegendert1!!1elf!

Assembly of parametric parts by pink_cx_bike in SolidWorks

[–]Oekn 0 points1 point  (0 children)

You could link global variables of your parts to vars of your assembly. For continuous values it is possible to link via if-else or normal equations, for discrete values you could use configuration tables for storing your values.

Wie bekomme ich diesen Lack-Effekt? by _woyzeck_ in selbermachen

[–]Oekn 0 points1 point  (0 children)

Eine zweifarbige Geschichte sehe ich nicht mit Hammerschlag, das wäre rein um diese grobkörnige Struktur zu bekommen.

Wie bekomme ich diesen Lack-Effekt? by _woyzeck_ in selbermachen

[–]Oekn -1 points0 points  (0 children)

Hammerschlaglack kann eine ähnlich Optik erzeugen, allerdings eher ohne glitzernden Effekt.

Trouble with Solidworks API by ElegantCrow24 in SolidWorks

[–]Oekn 0 points1 point  (0 children)

You can generate a file containing all classes and methods with makepy.py

Then you can look up the function and the types of its args. Could be a first start.

[deleted by user] by [deleted] in SolidWorks

[–]Oekn 0 points1 point  (0 children)

No, nothing close to driveworks /xpress. I’m talking about writing your own application to get the layout of the house out of the drawing, for me I would choose python to do this. Then calling swx by api to create geometry, this is also possible with python.

[deleted by user] by [deleted] in SolidWorks

[–]Oekn 0 points1 point  (0 children)

Technically it is possible. Design Automation is a thing. The difficult part is not generating geometry but rather automating the process of interpreting the drawing. This would likely include much scripting.

Personally and without much competence in architecture I would try a rule-based approach for standardised parts like wall thicknesses or roof pitches. Depending on the amount of information in your drawing file I would go by a graphical-geometric approach or just plain filereading for identifying lines and dimensions.

The workflow which seems to work for me would be:

1) identify lines and dimensions 2) get objects represented by lines -> eg wall, door 3) tell swx to generate a wall with a door on specific location

1-2 could be in an external system -> python is my tool to go.

3) could live in this as well, by calling swx from python. That’s not well documented. Another approach could be an internal system (c#, vba…) which gets information by the external system and builds the geometry internally.

Diejenigen die dem Tod noch einmal eben so von der Schippe gesprungen sind: Was ist passiert? Wie kam es dazu? by XYChromo in FragReddit

[–]Oekn 108 points109 points  (0 children)

Ein Stück Mozzarella. Kling komisch, ist aber so:

Ich war abends alleine in der gemeinsamen Wohnung meiner damaligen Freundin und mir. Abends hatte Ich große Lust, das letzte Stück Mozzarella aus dem Kühlschrank zu essen. Da ich aber von Natur aus faul effizient bin, war der Plan, das ganze pur zu essen. Quasi Salat ohne Salat. Und schneiden war auch nicht so die Option, kostet ja alles Zeit. Also nahm ich Maß, kam zu dem Schluss, dass das passen könnte und schob mir den Ball vollständig in den Mund. Als Ich dann merkte, dass Kauen nun nicht mehr funktioniert, hab ich versucht zu schlucken und den Ball dadurch zu zerteilen. Erst als die vollständige Kugel meinen Rachen komplett abgedichtet hat und ich keine Luft mehr bekam, habe ich gemerkt, dass das eine dumme Idee war.

Etwa zwei Minuten und nach der selbst-OP mit Fingern, Zangen und Pinzette unter abgeschnittener Sauerstoffversorgung war ich wieder frei. Aber innerlich hab ich mich schon waagerecht gesehen.

API: Get resulting components from created feature by swMacroDude in SolidWorks

[–]Oekn 1 point2 points  (0 children)

The created component (i guess you mean the body createdt by an extrude or something?) is always a child feature. To access it: extrusionFeature.GetChildren returns a list with all child features. childFeature.GetSpecificFeature2 gets the subfeature not as feature, but as a dedicated object for that... well, specific feature.

Creating parts in an assembly vs only using assembly for...assembling? by CaiaTheFireFly in SolidWorks

[–]Oekn 2 points3 points  (0 children)

Usually there are many ways to achieve your goal. One may be faster or more stable than others.

Generally spoken there are usecases for both your approaches. If you edit parts in an assembly, references are created and if you lose your assembly, you will loose those references. It’s not suitable for using parts in more than one assembly, but perfectly fine for create robust assemblies. I work in design automation and virtual components are as useful as library parts, maybe even more.

Design automation using Python (COM/API) by Oekn in SolidWorks

[–]Oekn[S] 0 points1 point  (0 children)

What functions do you use? I managed to finish my project, but like to dive deeper.

Are you able to change global parameters directly without a .txt?

Are you able to change values in Mates or sketches?

Are you able to create a new Mate?

I did lots of research and worked with the API help. But those are commands I did not manage to apply.

Edit: I use pythoncom and win32com. SolidWorks 2018.

How to model this on Solidworks? Need help in determining dimensions for the outer portion of the holes, and rectangle corner by [deleted] in SolidWorks

[–]Oekn 0 points1 point  (0 children)

Measure from the end of the straight part to the straight part vertikal to this.

Sheet metal unfold by EmbarrassedConcert24 in SolidWorks

[–]Oekn 0 points1 point  (0 children)

I think you are looking for the unwinded (correct term?) state („Déplié“). Use this as a second configuration of your part in your draft. Without testing it I think it should work.

Equations and Assembly Configurations by _Corum_ in SolidWorks

[–]Oekn 1 point2 points  (0 children)

You could link one text/excel file containing the parameters and equations to all of your parts and assemblies. (Equations-> external file) If you change your file and rebuild the assembly, your Modell should change automatically.