Search found 115 matches
- Sun Jan 07, 2024 10:03 pm
- Forum: Assembly
- Topic: Assembly 4 workbench
- Replies: 1346
- Views: 902741
Re: Assembly 4 workbench
Hi, I need help. I want to edit a component's sketch dimension inside an assembly, but after: editing in place the sketch (inside the assembly) updating, saving all files close all files reopening the whole assembly the file inside the assembly appears as it originally was as well as if I open the o...
- Sun Dec 24, 2023 10:10 pm
- Forum: Python scripting and macros
- Topic: Script runs two times
- Replies: 2
- Views: 395
Re: Script runs two times
This is the feature tree of the project file.
- Sun Dec 24, 2023 10:04 pm
- Forum: Python scripting and macros
- Topic: Script runs two times
- Replies: 2
- Views: 395
Script runs two times
Hi, this simple script runs two times so the output is doubled: import FreeCAD as App pathCurrDoc = "/home/michele/Desktop/ModSoliRiv001.FCStd" currDoc = App.openDocument(pathCurrDoc) a = App.activeDocument().Objects [print(o.Label) for o in App.ActiveDocument.Objects if hasattr(o, 'Shape'...
- Sun Dec 24, 2023 9:57 pm
- Forum: Python scripting and macros
- Topic: Embedding FreeCAD 0.21.2 (flatpak)
- Replies: 0
- Views: 1547
Embedding FreeCAD 0.21.2 (flatpak)
Hi, I installed FreeCAD with flatpak, but I can't embed its module in VSCode. I created a .pth file in my venv envrionment in VisualStudioCode, referencing to (supposed) path to lib folder, but it doesn't work: /var/lib/flatpak/app/org.freecadweb.FreeCAD/current/3859e5c4b9f6cd39bfcb24bcdeaeefc203b9b...
- Tue Dec 19, 2023 3:50 am
- Forum: Install / Compile
- Topic: FC 0.21, PPA not referencing to latest version and dependency missing
- Replies: 0
- Views: 5561
FC 0.21, PPA not referencing to latest version and dependency missing
Hi, I had to install the daily version to get the FreeCAD 0.21 and it is version 0.21 OS: Linux Mint 21.2 (X-Cinnamon/cinnamon) Word size of FreeCAD: 64-bit Version: 0.21. Build type: Release Branch: unknown Hash: 1faf86c3da12c1712e1d5ec015721d9aa02f8672 Python 3.10.4, Qt 5.15.3, Coin 4.0.0, Vtk 9.1...
- Wed Dec 15, 2021 5:53 pm
- Forum: Python scripting and macros
- Topic: FreeCAD external Python interpreter will not return body object on Ubuntu 20.04
- Replies: 50
- Views: 15010
Re: FreeCAD external Python interpreter will not return body object on Ubuntu 20.04
Because it's not in your path??? see below: >>> import Part >>> import PartDesign Traceback (most recent call last): File "<stdin>", line 1, in <module> ModuleNotFoundError: No module named 'PartDesign' >>> path = os.path.join(path_base, "Mod") >>> sys.path.append(path) >>> impo...
- Sun Dec 05, 2021 5:18 pm
- Forum: TechDraw
- Topic: Keep dimension positioning after editing 3D model
- Replies: 9
- Views: 3219
Re: Keep dimension positioning after editing 3D model
Greetings to the Community! Since the positioning of the dimensions (X, Y coordinates) that are created in a view refer to the center of the view (0,0), they can refer to the dimensions (Length - Height) of the "Piano" body, setting appropriate functions in the X, Y coordinate parameters....
- Sat Dec 04, 2021 5:00 am
- Forum: TechDraw
- Topic: Keep dimension positioning after editing 3D model
- Replies: 9
- Views: 3219
- Thu Dec 02, 2021 3:50 am
- Forum: TechDraw
- Topic: Keep dimension positioning after editing 3D model
- Replies: 9
- Views: 3219
Re: Keep dimension positioning after editing 3D model
This is my code to automate svg generation. At the bottom you can find what I'm trying to do with the dimension positioning, but it's not a good solution, it changes with every shape. import sys import os FREECAD_PATH = '//usr/lib/freecad-python3/lib' #'//usr/lib//freecad//bin' sys.path.append(FREEC...
- Thu Dec 02, 2021 3:32 am
- Forum: TechDraw
- Topic: Keep dimension positioning after editing 3D model
- Replies: 9
- Views: 3219
Re: Keep dimension positioning after editing 3D model
Well, taking inspiration from writing programs like libreoffice, each text is defined in a paragraph that has several properties, including line spacing. So instead of linking the position of the dimension to the size of the (absolute) view, it would be appropriate to link it to the position of the ...