sliptonic
edefffae4b
basic retraction handling
2022-01-19 13:19:10 -06:00
sliptonic
a6a062a20c
cleanup for readability. More forgiving of input.
...
Move to center if possible before retract
2022-01-19 13:19:10 -06:00
sliptonic
606e613e28
Added another test to drill generator and corresponding test case
2022-01-19 13:19:10 -06:00
sliptonic
944e74012b
helix generator shouldn't assume flip.
...
shortend test case
2022-01-19 13:18:15 -06:00
Russell Johnson
e92a0e813f
Path: Append unit tests for helix generator
2022-01-19 13:18:15 -06:00
sliptonic
c36b102e87
Helix Generator and Testing
2022-01-19 13:18:15 -06:00
sliptonic
ae0528e56e
Merge pull request #5397 from luzpaz/typo/Path
...
Path: fix minor typo [skip ci]
2022-01-19 13:05:25 -06:00
luz paz
450dfc7970
Path: fix minor typo [skip ci]
2022-01-19 13:39:58 -05:00
sliptonic
e3bdd864be
Merge pull request #5229 from sliptonic/feature/drill-refactor
...
[PATH] Refactoring drilling op to use generators
2022-01-19 11:25:41 -06:00
wmayer
31e2e95203
Base: Exception handling:
...
* Harmonize FreeCAD with Python exception types
* Implement AbortException::getPyExceptionType() to avoid handling it in client code
* Remove catch block for plain C strings
2022-01-19 18:00:04 +01:00
wmayer
b9280ae760
App: do not hide actual exception type in DocumentObjectPy::addProperty/DocumentObjectPy::removeProperty
...
and throw TypeError in DynamicProperty::addDynamicProperty() if the based type id is invalid
2022-01-19 10:48:00 +01:00
wmayer
59b4f8d6d8
Test: add unit tests to test with wrong types
2022-01-19 10:19:00 +01:00
marioalexis
12883abdbe
App: Prevent crash when trying to delete pointer to BaseClass
2022-01-19 08:14:41 +01:00
marioalexis
de59bce3b3
Base: Add 'getTypeIfDerivedFrom' member function to Type class
2022-01-19 08:14:41 +01:00
Aapo Lankinen
fdabaf692b
[App] DocumentObject.cpp: Add more information to the error message ... ( #5394 )
...
* [App] DocumentObject.cpp: Add more information to the error message printed to the console when links go out of allowed scope, namely linked object name(s), allowed scope name, invalid scope name(s).
2022-01-19 01:14:13 +01:00
wmayer
74fe1fa4db
Part: support of vertexes in ReferenceHighlighter
2022-01-18 19:47:06 +01:00
wmayer
af868ed079
PD: move ReferenceHighlighter to Part module
2022-01-18 18:24:02 +01:00
wmayer
f9b37729fe
PD: add PD test modules to __init__.py
2022-01-18 18:02:10 +01:00
Jonas Bähr
96e7c6b3b5
PD: Add tests for InvoluteGear
...
There are some basic tests to cover the gear profile and its parameters
and some integration tests for the interaction with PD Pad and Pocket.
I followed the same pattern as the other PartDesign tests, e.g. not using
PEP8 style method names. Eventually some helper methods could be
extracted and moved to the common base framework in Mod/Test, but that's
another step.
2022-01-18 17:43:52 +01:00
mdkus
d530b6ea4a
Update CreatePyModule.py
2022-01-18 15:53:25 +01:00
wmayer
113a587ae5
Part: in function to create a part handle meshes with defects
2022-01-18 15:20:55 +01:00
wmayer
ead1bce8e9
Gui: [skip ci] improve comment
2022-01-18 10:55:34 +01:00
wmayer
9d37d27229
Gui: fix handling of dimensionless expressions
2022-01-18 10:52:45 +01:00
Ajinkya Dahale
d5ae0777d0
[PD] Correct include guard name
...
Correction in `PartDesignGui::ReferenceHighllighter`
2022-01-18 03:01:20 +01:00
Uwe
af45d932c4
[Part] Extrude: avoid code duplication
...
more code that is used twice into a subroutine
2022-01-17 16:58:03 +01:00
wmayer
6461f9f6d2
PD: [skip ci] make uniform the license text of test modules
2022-01-17 16:38:10 +01:00
wmayer
20b86e55b8
Part: expose Precision to Python
2022-01-17 12:30:45 +01:00
Uwe
a3b3134594
[Part] just style fixes
...
to keep following PR diffs small
all changes automatically done by MSVC
2022-01-17 01:08:48 +01:00
sliptonic
7121032f1b
cleanup imports
...
Remove py2 test for Queue.
2022-01-16 13:16:23 -06:00
sliptonic
b42b689a95
Remove deprecated code
2022-01-16 13:06:33 -06:00
sliptonic
4d91ea271d
rename function.
...
'job' has a meaning in Path. sort_jobs doesn't sort jobs, it sorts hole locations.
2022-01-16 12:57:49 -06:00
sliptonic
e601b60469
Refactor filter arcs.
...
Slightly more readable. Avoids error with missing variable.
2022-01-16 12:39:39 -06:00
sliptonic
461eee797f
Test case for filterArcs
2022-01-16 12:37:14 -06:00
wmayer
2d1c083d9a
PD: fix crash in thickness dialog when clicking 'Add Face' button
2022-01-16 18:59:26 +01:00
sliptonic
8300c07767
Removed F words.
...
Various fixes from code review
2022-01-16 09:50:06 -06:00
mwganson
c0c4ae40a5
TopoShape::analyze() SetRunParallel(true) to do the bopcheck in parallel mode
2022-01-16 16:30:08 +01:00
mwganson
e535204f8e
Sketcher: prevent crash when accessing null pointer
2022-01-16 15:14:05 +01:00
wmayer
f147986fa9
App: Bugfix for NULL-Pointer dereference of Property->getName()
2022-01-16 14:30:51 +01:00
sliptonic
9ca8e01771
fix feedrate update
...
Fix machinestate to handle drill moves and tests
move feed and rapid declarations to PathGeom
2022-01-15 15:36:12 -06:00
sliptonic
fc2d6c172b
Make CircularHoleBase use drillableLib
...
debugs
remove deprecated PathUtils.isDrillable
drillableLib cmake
make PathProfile use new drillableLib
2022-01-15 15:34:17 -06:00
sliptonic
f156d9daea
Helpers and tests
...
Drillable lib and Tests
2022-01-15 15:27:53 -06:00
sliptonic
5b23af3d4b
Refactor PathDrilling to user generator
...
Uses the drill generator.
centralizes feed rate assignment
Tracks current machine position with MachineState
2022-01-15 15:27:53 -06:00
sliptonic
cada185a70
Drill Generator and testing
2022-01-15 15:27:53 -06:00
sliptonic
7655849797
Add JobType property
2022-01-15 15:27:53 -06:00
wmayer
b836712c83
Test: [skip ci] clean up documents for unit test with cross links
2022-01-15 16:34:13 +01:00
wmayer
94e2ce44b4
Test: [skip ci] add unit test with cross links
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=58603
2022-01-15 14:28:08 +01:00
wmayer
6a7e02000e
Test: [skip ci] add test for issue 4823
...
Forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=52775
2022-01-15 14:07:28 +01:00
Chris Hennes
089b18f868
Part Design: Missing =
2022-01-14 09:38:45 -06:00
Uwe
66864bbe7b
[PD] Pad/Pocket: sort out duplicated code
...
the checkboxes are almost identical and it avoids work to have them in one location
2022-01-14 13:17:25 +01:00
wmayer
a1a8de633c
PD: fix small inconsistence, use forwared declaration
2022-01-14 12:22:16 +01:00