Search found 135 matches

by nic
Wed Nov 10, 2021 9:57 am
Forum: Python scripting and macros
Topic: [SOLVED] scripting Sweep
Replies: 9
Views: 1624

Re: scripting Sweep

Thabks Chris_G,

Yes, I tried this one as well. When using ``App.ActiveDocument.ActiveObject.Spine = (section_sketch, edges)``,

Result looks like this:

issue.png
issue.png (38.59 KiB) Viewed 1554 times
----


When I doing it by hand (successfully), it looks like this:
sweep_by_hand.png.png
sweep_by_hand.png.png (31.75 KiB) Viewed 1554 times

-----
example.FCStd
(17.95 KiB) Downloaded 25 times
by nic
Wed Nov 10, 2021 7:43 am
Forum: Python scripting and macros
Topic: [SOLVED] scripting Sweep
Replies: 9
Views: 1624

[SOLVED] scripting Sweep

I try to apply a Section (defined as a sketch) to multiple wires found in another Sketch In the attached example, one will found `section` and `paths` sketches. example.FCStd I stuck on the section sketch reference passed to `Spine`: File "/home/nic/.FreeCAD/Macro/investigate_segments.FCMacro&q...
by nic
Mon Nov 08, 2021 10:20 am
Forum: Open discussion
Topic: [Testing] Decimal separator substitution
Replies: 69
Views: 16565

Re: [Testing] Decimal separator substitution

From the FC info you posted, you actually didn't test the PR but the current implementation (which isn't supposed to work in spreadsheet ??!)... I'm a bit lost with what you actually tested... Just compiled it this morning The "." character in the GIF hereunder is entered from the numeric...
by nic
Mon Nov 08, 2021 7:16 am
Forum: Python scripting and macros
Topic: [SOLVED] create a container (Part) and load Step within
Replies: 2
Views: 723

[SOLVED] create a container (Part) and load Step within

Hello, I try to create a container from scratch and load a STEP file within it. So far here are my (failing naive) tries: import FreeCAD as App import Part """ Object creation method """ def create(obj_name): # create a App::Part container container = App.ActiveDocument...
by nic
Mon Nov 08, 2021 6:59 am
Forum: Open discussion
Topic: [Testing] Decimal separator substitution
Replies: 69
Views: 16565

Re: [Testing] Decimal separator substitution

You should be able to test with https://github.com/FreeCAD/FreeCAD/pull/5150 Looks to work pretty well! "dot" character is subsitued by Comma with my french locale. I tested a sphere Axis placement and parameters, it also works in spreadsheet. Need to check some other stuff as well OS: Ub...
by nic
Fri Nov 05, 2021 7:41 pm
Forum: Forum français
Topic: Utilisateurs Linux pour tests
Replies: 29
Views: 4408

Re: Utilisateurs Linux pour tests

Est-ce que tu as changé des paramètres particuliers/avancés dans ta configuration clavier, ou bien c'est la config "clavier français" par défaut ? Configuration par défaut % cat /etc/default/keyboard # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105...
by nic
Fri Nov 05, 2021 6:40 pm
Forum: Forum français
Topic: Utilisateurs Linux pour tests
Replies: 29
Views: 4408

Re: Utilisateurs Linux pour tests

OS: Ubuntu 20.04.3 LTS (Regolith:GNOME-Flashback:GNOME/regolith) Word size of FreeCAD: 64-bit Version: 0.20. Build type: Release Branch: unknown Hash: 09da245af974c25b035ba3635bbadc99e18f27d6 Python version: 3.8.10 Qt version: 5.12.8 Coin version: 4.0.0 OCC version: 7.5.2 Locale: French/France (fr_...
by nic
Fri Aug 27, 2021 10:16 am
Forum: FEM
Topic: Solver for Mystran
Replies: 107
Views: 23942

Re: Solver for Mystran

Ohh crashing is for sure not good ... And in the results of Nastran? Are these nodes in the results and if yes, do they have results values? If no analysis mesh would differ from results mesh as well! cannot test right now, but results are good since nodes are not renumbered in results. eg. if you ...
by nic
Fri Aug 27, 2021 8:35 am
Forum: FEM
Topic: Solver for Mystran
Replies: 107
Views: 23942

Re: Solver for Mystran

I can not find it ... AFAIR ... if the mesh has lonley nodes which do not belong to a element these nodes are not exported to the result mesh. The nide count of the result mesh than differes from the mesh to analyse. What does Mystran do with lonley nodes? Does it accept a analysis with a mesh eith...