wmayer
a769aee8b3
Part: define Part_SectionCut as permanent menu item
2022-02-14 16:48:09 +01:00
Uwe
942618ce72
[Part] improve SectionCutting code
...
all changes as suggested in 05a9c88ab2
2022-02-14 14:09:53 +01:00
Yorik van Havre
e1028eb65e
Merged crowdin translations
2022-02-14 12:31:57 +01:00
Uwe
ce2a8d00ec
[PD, Part] bring section cutting feature back to the View menu
...
As discussed here:
https://github.com/FreeCAD/FreeCAD/pull/6213#issuecomment-1033696604
the feature makes not much sense when only available from within the Part menu.
For now, bring it at least back to the View menu for Part and PD
2022-02-14 01:34:55 +01:00
wmayer
b0d8ed1bf2
Part: section cut window is not bound to 3d viewer widget
2022-02-13 19:33:19 +01:00
wmayer
29b940fb66
Part: Circle variable name change to create consistency
...
Change variable names of the Circle from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 18:28:58 +01:00
wmayer
27c2dc216b
Part: handle to load old project files with Part::Ellipse
2022-02-11 17:25:28 +01:00
Sebastian
a48656e5fe
Ellipse variable name change to create consistency
...
Change variable names of the Ellipse from Angle0 to Angle1 to create consistency with all other named angle variables
2022-02-11 17:22:45 +01:00
Sebastian
04f71e02be
Update PrimitiveFeature.cpp
...
Correct upper case words equal to other tool tip hints.
2022-02-08 21:54:20 +01:00
0penBrain
73f2c1434a
Modernize signal/slot connection for real :)
2022-02-08 17:51:36 +01:00
marioalexis
50478a19d1
Part: Move Part_SectionCut command to Part menu item list
2022-02-08 12:09:09 +01:00
wmayer
846b680d07
Part: [skip ci] add Part unit tests to test Geom2dCircle::getCircleCenter
2022-02-05 16:26:12 +01:00
wmayer
92dc997608
Part: fix possible creation of NaN in Geom2dCircle::getCircleCenter
2022-02-05 16:16:59 +01:00
wmayer
2bec14b93a
Part: expose Geom2dCircle::getCircleCenter to Python and fix a regression
2022-02-05 16:07:00 +01:00
Uwe
eecc2eacae
[Part] SectionCutting: remove another unused variable
...
strangely MSVC did not report me these, the CI does
2022-02-05 14:45:34 +01:00
Uwe
a7b1557bcb
[Part] SectionCutting: remove unused variable
2022-02-05 14:09:13 +01:00
Uwe
d414a177d2
[Part] Extrusion: reduce angle step size
...
tapered extrudes are mainly used for molds etc, so only a few degrees. The angle step in the properties was already 1° and also Pad/Pocket uses 1° steps
2022-02-05 05:39:40 +01:00
Uwe
cc53e381c6
[Part] feature to make persistent section cut views ( #4118 )
...
* [Part] feature to make persistent section cut views
* one aim is to have a feature to make real cuts, not hollow ones like with clipping
* the second one is to have a persistent view, so an object in the tree that can be further exported, meshed etc.
For a detailed description with examples see https://forum.freecadweb.org/viewtopic.php?f=17&t=52441
2022-02-05 01:57:57 +01:00
edi271
7477a9950e
Update Geometry2d.cpp
...
I tested. It works using Precision::Confusion(). Thank you.
2022-02-02 08:35:34 -05:00
edi271
6b9e23d7dd
add accuracy to getCircleCenter method
2022-02-02 08:35:34 -05:00
Uwe
12b0e0dd92
[PD] add option to create tapered Pad / Pocket
...
This PR adds the same functionality as provided by Part Extrude.
The used code parts are sorted out to a new helper function that is used by Part and PartDesign.
2022-02-02 01:04:06 +01:00
Yorik van Havre
d7c5800da2
Merged crowdin translations
2022-02-01 12:59:42 +01:00
Uwe
6395bd3b8d
[Part] whitespace only in CMake file
2022-02-01 02:59:53 +01:00
Uwe
2ee5ba3f83
[Part] sort includes
...
to keep the overview and to reduce diff of a pending PR
also uniform the include path specification
2022-02-01 02:51:41 +01:00
Uwe
67bea18b15
[Part] fix a comment
2022-02-01 02:34:51 +01:00
Uwe
fd542ecfce
[Part] Extrusion: stop if intermediate shape is Null
...
besides the error message, we need to raise an error
- also fine-tune the wording
2022-01-31 01:07:33 +01:00
Uwe
341a92f08d
[Part] Extrusion: fix logic issue
...
has actually no influence on the output but is important to understand the logic of the code
2022-01-31 00:23:33 +01:00
Uwe
89e623e1b7
[Part] Extrusion: fix CI compiler warning
...
fixes "warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int'"
2022-01-30 22:46:07 +01:00
Uwe
729cd4a7c0
[Part] Extrusion: code simplification and documentation
...
- in order for the pending PR to add tapered padding/pocketing
2022-01-30 19:37:41 +01:00
Uwe
2cad24e303
[Part] Extrusion: handle also complex nested structures
...
- there can be strange cases with structures all intersecting each other. Their extrusion has no practical use case but we must avoid that such structures results either in an infinite loop or in an invalid geometric result.
2022-01-30 18:43:11 +01:00
Uwe
65bf134d43
[Part] Extrude: fix a thinko introduced by previous commit
...
- the handling of all inner wires must be done within the recursion
2022-01-30 17:41:40 +01:00
Uwe
aa48c2ea44
[Part] Extrusion: simplify code by using full recursion
...
- the recursion can be done completely by one void
- also add a brief description of this void
2022-01-30 16:53:44 +01:00
Uwe
a3944b8553
[Part] Extrusion: code optimizations
...
kudos to @marioalexis84
2022-01-30 06:02:37 +01:00
Uwe
b339cd4624
[Part] Extrusion: taper nested wires properly
...
addendum to commit 2d6bcba90
Now also wires nested by more than one level are supported.
The possible nesting is infinite.
2022-01-30 05:52:43 +01:00
mwganson
d6350d4f33
Part.show() python return the new document object instead of None
2022-01-29 23:50:43 +01:00
Uwe
23c1fb78bf
[Part] Extrude: remove unused variable
2022-01-29 23:18:11 +01:00
Uwe
f061a2cd82
[Part] handle inner wires for Extrude ( #5367 )
...
* [Part] handle inner wires for Extrude
this is a PR to make Extrude handle inner wires of sketches.
2022-01-29 21:50:55 +01:00
Yorik van Havre
233182dcd6
Merged crowdin translations
2022-01-26 14:15:14 +01:00
luz paz
501a5e88c0
Part: fix source comment typo
2022-01-22 16:28:41 +01:00
Uwe
4038c6487b
[Part] add missing include
...
needed since PR #5382
- also transfer another include
2022-01-21 01:07:38 +01:00
marioalexis
83b55e577b
Part: Use Tools::getNormal to compute normal to surface
2022-01-20 13:01:27 +01:00
marioalexis
ba711886e1
Part: Implement Tools::getNormal function
2022-01-20 13:01:27 +01:00
wmayer
7db7552af7
Test: add unit test for face and surface normals
2022-01-20 11:15:37 +01:00
Uwe
9c828d6efd
[Part] Extrusion: just style fixes
...
to keep following PR diffs small
all changes were automatically done by MSVC
2022-01-20 01:08:35 +01:00
wmayer
d530992689
Part: support of vertexes in ReferenceHighlighter
2022-01-18 19:47:06 +01:00
wmayer
8db8126dd5
PD: move ReferenceHighlighter to Part module
2022-01-18 18:24:02 +01:00
wmayer
c9007693cf
Part: in function to create a part handle meshes with defects
2022-01-18 15:20:55 +01:00
Uwe
0066d6d80d
[Part] Extrude: avoid code duplication
...
more code that is used twice into a subroutine
2022-01-17 16:58:03 +01:00
wmayer
aada04fe72
Part: expose Precision to Python
2022-01-17 12:30:45 +01:00
Uwe
e6d63cecd9
[Part] just style fixes
...
to keep following PR diffs small
all changes automatically done by MSVC
2022-01-17 01:08:48 +01:00