Chris Hennes
820aa9f9de
Merge pull request #16021 from jbaehr/material-add-machining-wood-cards
...
Material: Add wood cards with machining model
2024-08-26 10:38:22 -05:00
Roy-043
7d1efa9df2
BIM: Arch_Survey: Fix concatenate bytes issue
...
The line `t = t.encode("utf8")` returns a bytes object which does not make sense in the context of the rest of the code. It is probably a copy-paste error.
To test the bug:
1. open the file attached to this forum post: https://forum.freecad.org/viewtopic.php?t=89012#p770224
2. Make the rectangles visible.
3. Start the Survey command and box select all objects in the 3D view.
2024-08-26 17:31:59 +02:00
Chris Hennes
cc439c83af
Merge pull request #15958 from AjinkyaDahale/sk-fix-14736
...
[Sketcher] Attempt to fix #14736
2024-08-25 21:27:00 -05:00
Alfredo Monclus
3251400949
fix(PD): threadtype combobox too small for metric fine
2024-08-25 19:35:25 -05:00
David Carter
7a0d9c2662
Rename *Impl.py to Imp.py
2024-08-25 19:32:02 -05:00
Ajinkya Dahale
2c6817d796
[planegcs] Support circle-to-circle tangent when centers coincide
...
This simply implies avoiding some NaN's when computing error or gradient.
2024-08-25 23:20:41 +05:30
Ajinkya Dahale
4d447bcb24
[Sketcher] Fix #14736
...
Recompute even if the addition of new elements and autoconstraints failed
partially.
2024-08-25 07:33:59 +05:30
Ajinkya Dahale
0d32b98e14
[Sketcher] Use modernized geometry type checks
2024-08-25 07:33:59 +05:30
Ajinkya Dahale
d03464b7d6
[Sketcher] Fix endpoint-to-endpoint/edge tangency substitution
...
Only substitute if the point(s) involved are `start`/`end`. Centers do
not make sense here.
2024-08-25 07:33:59 +05:30
Florian Foinant-Willig
096c5d215b
[PD] helix fix
2024-08-24 20:38:58 -05:00
Andrea
4957477f67
Update ViewProviderFemMesh.cpp
...
fix warning: variable 'j'and 'i' is not initialized
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Update ViewProviderFemMesh.cpp
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2024-08-24 19:53:10 -05:00
marioalexis
9c92f93452
Fem: Disconnect connection when destroying Constraint object
2024-08-24 19:51:24 -05:00
Chris Hennes
8b91bcb902
Addon Manager: Adjust button reference for Qt6 compatibility
2024-08-24 19:40:27 -05:00
Chris Hennes
63f8b6c0a9
Part: Fix compilation with Qt6/MSVC
...
-/permissive does not allow the original unwrapped call to ParseTupleAndKeywords
2024-08-23 20:45:26 -05:00
Jonas Bähr
a18a0b1cbf
Material: Add wood cards with machining model
...
With PR FreeCAD#14460 the "machinability" model was introduced.
This commits adds material cards with complete machining model data
for various types of woods and engineed wood products.
The data comes from the German text book "Zerspanung von Holz und
Holzwerkstoffen", ISBN 978-3-446-47769-8, 2. Edition 2023,
https://www.hanser-fachbuch.de/fachbuch/artikel/9783446477698
Usage of this data for our purpose is legal as facts are not protected by
copyright according to German law.
2024-08-23 21:57:31 +02:00
luzpaz
b2f549f114
Measure: fix linting TaskMeasure.cpp
...
Adds missing whitespace before opening brackets (observed in #15907 )
2024-08-22 18:54:45 -05:00
bgbsww
9de8fc9bec
Fix shape color / materials issues in fuse
2024-08-22 18:53:55 -05:00
bgbsww
e020d9d5aa
Toponaming fix #15969 following LS3 code change
2024-08-22 18:52:22 -05:00
wmayer
7d492c9f64
Building: Boost dependency errors
...
Fixes #15999
2024-08-22 18:50:24 -05:00
bgbsww
27423dbb39
Toponaming: Support disabling hashing; getting element history
2024-08-22 11:24:09 -05:00
Shai Seger
778107939c
Cam simulator feature update ( #15597 )
...
* remove redundant code
* Improve lighting, add ambient occlusion
* Add cleanup code. Dialog is now deleted when cloesd.
* change back to ambient occlusion
* Fix G8x drill sequence bug. issue #14369
* fix bad simulation artifacts under Linux and QT. Issue #14369
* fix merge issue
* fix border artifact on buttons
* support showing path lines. revise the gui.
* add option for arbitrary solids. wip
* use vectors instead of mallocs
* Handle arbitrary stock shapes + show base shape.
* Complete the base shape display feature. eliminate co-planar artifacts.
* support window scaling. upstream issue #14334
* Apply lint fixes
* some missing lints.
* Attend pylint issues
* Apply code fixes based on @kadet1090 review
* fix some clang-tidy warnings.
* CAM: Linter cleanup round 1
---------
Co-authored-by: Chris Hennes <chennes@gmail.com >
2024-08-21 15:18:52 -05:00
wmayer
c4a506146f
Part: Make ViewProviderPart::applyMaterial more robust
...
* Fixes hard crashes and throw an exception if value is out of range
* Fixes several linter warnings
2024-08-21 18:40:27 +02:00
Jonas Bähr
ae94393abd
Material: Add a very basic wood appearance card
...
The existing "Wood-Generic" material was only rendered in the default
gray, which is now fixed. I'm aware that wood comes in may different
shades, and the current choice of a yellowish brown is arbitrary.
2024-08-19 20:27:05 +02:00
wandererfan
2caf34c466
[TD]fix crash on Cosmetic line > 10m
2024-08-19 12:34:53 -04:00
wandererfan
21865c4e62
[TD]detect breakObject inside Body
2024-08-19 11:32:21 -05:00
hlorus
5d38aed6e8
MeasureGui: Return the relative label offset for the initial position
2024-08-19 12:25:05 -04:00
hlorus
c7d6518f87
MeasureGui: Explicitly trigger the initial positioning of measurements
2024-08-19 12:25:05 -04:00
hlorus
8b52025e9c
Measure: Apply global placement when retrieving shape
2024-08-19 12:16:19 -04:00
hlorus
079f7d4097
[MeasureGui] Fix order of setting properties to avoid update with outdated data
2024-08-19 12:16:19 -04:00
Chris Hennes
dd8d8bc517
Addon Manager: Fix ZIP installation
...
Always delete the old version before installing the new one
2024-08-19 12:10:37 -04:00
wandererfan
7cce01368c
[TD]fix asCircle error calculation
2024-08-19 12:01:01 -04:00
Brad Collette
73c827d928
fixes #15902
2024-08-19 11:58:46 -04:00
Brad Collette
712a79c85c
Remove deprecated materials
...
# Conflicts:
# src/Mod/Material/Resources/Materials/Machining/ToolSteel.FCMat
2024-08-19 11:57:04 -04:00
CalligaroV
14efdadd91
Part/Toponaming: align TopoShape::findSubShapesWithSharedVertex() to LS3
...
* added test for issue #15539
Signed-off-by: CalligaroV <vincenzo.calligaro@gmail.com >
2024-08-19 10:53:31 -05:00
Brad Collette
e632919756
Add Feedrate to G85 command moves
...
#fixes #15646
2024-08-19 11:52:15 -04:00
Roy-043
e582324474
BIM: Fix oversight in #15530
...
Fix bug introduced in #15530 .
Forum topic:
https://forum.freecad.org/viewtopic.php?t=89790
@paullee0 can you check please? Thanks.
2024-08-19 13:41:05 +02:00
wmayer
d1c62470be
PD: Make PD tests more robust
...
If in the user settings the refinement is switched off several PD tests will fail. This change explicitly sets the Refine property to True to guarantee correct behaviour
2024-08-18 11:50:33 -05:00
bgbsww
cb3df1d59c
Toponaming: Fuse call makeElementRefine; remove deprecated refineSha… ( #15897 )
...
* Toponaming: Fuse call makeElementRefine; remove deprecated refineShapeIfActive
* Part/Toponaming: import code for MultiFuse::execute() from LS3
* added expected values of testRefine
Co-authored-by: Zheng, Lei <realthunder.dev@gmail.com >
Co-authored-by: CalligaroV <vincenzo.calligaro@gmail.com >
Co-authored-by: Chris Hennes <chennes@pioneerlibrarysystem.org >
2024-08-18 11:49:05 -05:00
Jonas Bähr
cd2c12849d
Material: Add metal cards with machining model
...
With PR #14460 the "machinability" model was introduced. As sample data
the legacy material cards from the "feeds and speeds" addon were added
and (partly) converted to the new format. However, due to copyright
concerns and unclear semantics of the data, the values required for
cutting force calculations have been removed.
This commits adds material cards with complete machining model data
for various classes of metals. The data comes from the German standard
work "Tabellenbuch Zerspantechnik", ISBN 978-3-7585-1315-2, 5. Edition
2022, http://www.europa-lehrmittel.de/14733
Usage of this data for our purpose is legal as facts are not protected by
copyright according to German law. This view has been confirmed by the
licensing department of the publisher.
2024-08-17 16:35:26 -05:00
Brad Collette
79564736db
Fixes #15909
...
regression bug caused by Path->CAM module rename.
2024-08-17 14:21:58 -05:00
Alex Facciorusso
28afda3e58
added CAM Tests/FilePathTestUtils.py utility file to the build Mod copy
2024-08-17 12:30:58 -05:00
Alex Facciorusso
176778c28e
[cam] fixed tests and fixed dialogs cancel ignored
2024-08-17 12:30:58 -05:00
Alex Facciorusso
f1305c099e
Updated comment in CAM Path Utils
2024-08-17 12:30:58 -05:00
Alex Facciorusso
3fcb684326
FIX: empty filename in CAM workbench saves to the current project folder
...
Previously, if the user didn't set a default gcode path, the file was saved to getcwd. Now, it attempts to take the active document's path first.
2024-08-17 12:30:58 -05:00
mosfet80
64d7363d3f
[Mod] clean Area.cpp
...
Removed dead code
2024-08-17 12:25:46 -05:00
Syres916
4f64526892
[CAM] Fix numeric sorting of drill diameters
2024-08-17 12:20:23 -05:00
Chris Hennes
296b685413
Start: Fix compilation with MSVC
2024-08-14 01:38:07 -04:00
bgbsww
0ab5887fe1
Toponaming: Missing shape hasher line; fixed cleaned Transformed
2024-08-13 07:07:59 -04:00
FEA-eng
a7a8491601
FEM: Start examples rework ( #15786 )
...
* FEM: Delete data/examples/FemCalculixCantilever1D.FCStd
* FEM: Delete data/examples/FemCalculixCantilever2D.FCStd
* FEM: Delete data/examples/FemCalculixCantilever3D.FCStd
* FEM: add new example combining the previous 3
* FEM: Update CMakeLists.txt
* FEM: Update femmesh2mesh.py
* FEM: Update test_information.md
* FEM: Update test_result.py
* FEM: Update MaterialEditor.py
* FEM: Delete data/examples/FEMExample.FCStd
* FEM: add new example without logo
2024-08-12 17:46:09 -04:00
spanner888
1a50df65e9
Fixes #15637 Attributes are ignored when using ToolBitFactory() CreateFromAttrs(self, attrs, name="ToolBit", path=None)
2024-08-12 11:13:29 -05:00