Commit Graph

328 Commits

Author SHA1 Message Date
Chris Hennes
1ec93fdbc2 Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
ef189f8bcf Start: Recreate start as a QtWidgets-based app
Removes all Start network access and dependency on Chromium for rendering. Written
entirely in C++ (no HTML, CSS, JS, etc.).
2024-04-21 22:27:49 -05:00
Chris Hennes
6d504a0351 Update translations. 2024-04-17 16:50:38 -05:00
Jiří Mácha
4b5d079e6b Assembly: fix segfault when Part property of Joint Connector is missing
FreeCAD is crashing during 'Solve Assembly' call if the Part property
(Assembly/Joints/Fixed/Joint Connector 1/Part1 or Assembly/Joints/Fixed/Joint
Connector 2/Part2) of fixed Joint is unset.

Steps to reproduce:

 - make simple Assembly e.g. of two cubes with Fixed joint
 - Select Fixed joint in the tree and go-to property 'Data' tab
 - Select Part1 or Part2 of 'Joint Connector 1' or 'Joint Connector 2'
   and remove this reference
 - call 'Solve Assembly' now

The FreeCAD will crash here because the call
App::DocumentObject* part = getLinkObjFromProp(joint, propPartName);
will return NULL pointer.

The property Part1 or Part2 can get empty (unset) during usual
construction operations - during changing construction history
and it can be very hard to find the cause of FreeCAD crash on a big
model.

This patch tries to fix the crash in such situation.
2024-04-08 18:00:40 +02:00
ppphp
c014ab7a4e fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
Chris Hennes
af131413c5 Update translations 2024-03-25 18:08:22 -05:00
luzpaz
5839134e95 Fix various typos throughout the codebase (#13029)
* Fix various typos throughout the codebase

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-03-18 16:54:30 -05:00
Max Wilfinger
a6bb16ae78 update assembly icons 2024-03-17 11:21:16 +01:00
wmayer
51a01b9e2b Fix compiler warnings:
fix [-Winconsistent-missing-override]
fix [-Wunused-lambda-capture]
fix [-Wunused-variable]
fix [-Wswitch]
2024-02-26 11:01:37 -06:00
Ladislav Michl
a489b095f0 Assembly: Add ${PYTHON_INCLUDE_DIRS} to CMakeLists.txt
Assembly Gui is including <Base/PyObjectBase.h> which in turn
includes <Python.h>, so path to Python includes is needed.
2024-02-15 13:24:15 -06:00
Chris Hennes
66e29cbd79 Assembly: Add ${COIN3D_INCLUDE_DIRS} to CMakeLists.txt (#12407)
* Assembly: Add ${COIN3D_INCLUDE_DIRS} to CMakeLists.txt
2024-02-14 18:26:30 -06:00
PaddleStroke
ead9f41541 Assembly: Small language tweaks by @chennes 2024-02-13 08:26:54 +01:00
PaddleStroke
926490adce Assembly fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
51b81c1426 Assembly: Esc pref 2024-02-13 08:26:54 +01:00
PaddleStroke
11fd6eb4da Assembly: Fix annoying incomplete initial selections 2024-02-13 08:26:54 +01:00
PaddleStroke
ea5a11b44e Assembly: fix vertex preselection JCS bug 2024-02-13 08:26:54 +01:00
PaddleStroke
098fdda661 Assembly: fixes 2024-02-13 08:26:54 +01:00
PaddleStroke
56dc773b5c Assembly : fix bugs 2024-02-13 08:26:54 +01:00
PaddleStroke
2a5b22f0c8 Assembly : Fixes for sketches in bodies 2024-02-13 08:26:54 +01:00
PaddleStroke
1062ea4eb0 AssemblyTest: Introduce assembly test module 2024-02-13 08:26:54 +01:00
Paddle
cdb1af6543 Assembly : Add support for perspective camera.
Remove exportASMT from toolbar.
Fix Fixedjoint name and tooltip
Fix various bugs
Introduce solver drag functions.
2024-02-13 08:25:46 +01:00
Paddle
46b1a1ebfc Assembly: set the rotating joint visible when dragging. 2024-02-13 08:25:46 +01:00
Paddle
a0749888c4 Assembly: Enable part manipulation in active App::Part with the fixed joint. 2024-02-13 08:25:46 +01:00
Paddle
d13df26333 Assembly: Adds a pre-solve when creating joint, preventing wrong orthogonal solutions from solver. 2024-02-13 08:25:46 +01:00
howie-j
672b04c0c4 Assembly: Fixes FreeCAD#10748 (Card 4: Elements should highlight) 2024-02-13 08:25:46 +01:00
Paddle
48173f2b9d Assembly: Implement special drag mode for revolute. 2024-02-13 08:25:46 +01:00
Paddle
43019a8f34 Assembly: Add support for body subobjects (coordinate systems, datums...) and various fixes 2024-02-13 08:25:46 +01:00
Paddle
22e4d7f2dd Assembly: Change the joint placements to be relative to the object rather than to the doc origin.
This enable 'detaching' them, so that they are not recomputed
2024-02-13 08:25:46 +01:00
Paddle
4a119c43f1 Assembly: Add support to external objects. (And various fixes) 2024-02-13 08:25:45 +01:00
Paddle
323deff46a Assembly: Replace Tangent+Parallel+Planar by 'Distance'. 2024-02-13 08:25:45 +01:00
Paddle
d77cd7acf5 Assembly: Introduce core functionality of assembly workbench. 2024-02-13 08:25:45 +01:00
DeflateAwning
c847a3d516 Change http to https in SVGs
Find and replace:
http:\/\/(.{0,10})freecad
https://$1freecad
Include: *.svg
2023-10-29 22:32:59 -06:00
Victor Predko
f76f842302 File formats: Uppercase file types when importing a file. (#10977)
* Added uppercase extensions for supported formats

In the file App\Application.cpp

* Added file types in upper case

* Adds uppercase file types to the file import filter.

Fixes #10879

* Added filter for *.fcmacro *.fcscript
2023-10-16 14:40:46 -03:00
wmayer
af5b8714a8 Assembly: fixes #11034: Assembly_rc.py not installed 2023-10-14 18:28:53 -03:00
wmayer
83d4080fe8 App: fixes #10460: App::PropertyPythonObject is not saving data
Since Py3.11 the methods names __setstate__ and __getstate__ conflict with the method names added to the object class.
Thus rename them to 'loads' and 'dumps'
2023-09-24 10:56:35 -05:00
qewer33
62722aa8c0 Assembly: Make JCS axis colors use parameters 2023-09-22 19:46:58 +03:00
qewer33
49a9f5b0ad Assembly: Improve JCS appearance and implement autoscale
Closes #10745, closes #10746
2023-09-22 17:42:39 +03:00
Paddle
04a951aeb3 Assembly : Initial implementation of 'create joint' command. 2023-09-19 10:51:04 +02:00
Paddle
c0185ad95c Move functions to UtilFunctions.py. 2023-09-19 08:31:33 +02:00
Paddle
5a2b2304f9 Split Commands.py so that each command has a file. 2023-09-19 08:31:33 +02:00
qewer33
1063c76882 Assembly: Fix joint icons 2023-09-17 16:36:31 -05:00
qewer33
7ff7ba0298 Assembly: Add joint icons 2023-09-13 22:25:34 +03:00
pre-commit-ci[bot]
222a2520b1 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
Chris Hennes
c5c2ea3498 Assembly: Final application of pre-commit 2023-09-04 08:18:51 -05:00
Paddle
9d954ac6a1 Improve code and also improve the open file feature to enable selecting several files. 2023-09-01 14:18:28 -05:00
Chris Hennes
592c992b86 Assembly: Apply pre-commit to Assembly files 2023-08-31 12:49:30 -05:00
PaddleStroke
b7a6558c72 Assembly: Initial implementation (#10427)
* Assembly: Initial implementation.
* Disable Assembly wb as it's WIP.
* Stub code for handling assembly import.

Co-authored-by: sliptonic <shopinthewoods@gmail.com>
Co-authored-by: Paddle <PaddleStroke@users.noreply.github.com>
2023-08-31 12:30:10 -05:00
Uwe
245f5b6c7d [Assembly] remove it
as discussed: https://forum.freecadweb.org/viewtopic.php?p=582152#p582152
2022-03-23 01:59:51 +01:00
Uwe
bedc26804a [Assembly] remove Python.h and Xerces 2022-03-21 02:44:01 +01:00
Uwe
131a8d038a [Assembly] fox typos in element names
all found by the spellchecker CI
2022-03-13 01:32:27 +01:00