Commit Graph

58 Commits

Author SHA1 Message Date
wmayer
560cab6f31 clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors 2024-05-29 13:37:07 +02:00
sliptonic
9bf7e7bac5 fix color preference dialog (#14343) 2024-05-28 17:36:47 -05:00
obelisk79
9ae6610466 Cam sim fix (#14275)
* Resolves missing include for GCC14 compilers

* Resolves build issues with Qt6 by removing unused include and function call.

* Revert "Resolves missing include for GCC14 compilers"

This reverts commit ad7fc0379dc1c0ae97120e1d89fe1fd8bbbe4c43.
2024-05-28 07:57:42 -05:00
phaseloop
023ad47378 [CAM] VCarve improvements (#14093)
* Add stepDown setting to Vcarve Op

* fix UI issued, add finishing pass to Vcarve

* Improve step-down performance, add debugVoronoi()

* add debugVoronoi method

* Add movement optimization

* add CAM/Vcarve unit-tests

* Disable debugging mode

* Cache caller info in debug method

* Format code
2024-05-28 07:57:07 -05:00
wmayer
28bbdc2633 CAMSim: Fix build failure with Qt6 2024-05-27 14:00:46 +02:00
sliptonic
3980f5281f add combobox selector to toolbit dock (#14297)
Create a more useful tooltip

checkpoint

fix missing dovetail shape

CAM tool fix

remove image stuff
2024-05-26 13:35:50 -05:00
Chris Hennes
73ae4102e6 Update translations
Arch->BIM is a WIP
2024-05-25 19:11:51 -05:00
wmayer
c4192cf9b3 PathSimulator: Fix many compiler warnings 2024-05-23 10:12:13 +02:00
mosfet80+
859a228723 [Cam] fix warning
removed unused variables
2024-05-23 08:07:23 +02:00
Shai Seger
63c3bab94a New Cam simulator based on low level OpenGL functions (faster and more precise) (#13884)
* Initial opengl test window

* added core files

* some fixes for code comparability with other platforms

* more compatibility cleanup

* add missing opengl libraries

* Basic simulation window works!

* try using different define

* fix wrapper for better compatibility

* Gui is now operational

* Finally SIM works on actual freecad models

* support drill commands

* cleanup python script and add tool profile generation

* Now using actual tools specified in the operation.

* support mouse wheel and freecad-style 3d navigation

* Support accuracy gauge

* remove endsimulation reference

* show simulation speed indicator

* apply clang-format

* apply changes suggested by code review

* gui items are loaded via QT resource system instead of hard coded

* use vector instead of pointer to pass tool profile points

* Fix some more formatting errors.
2024-05-22 10:16:34 -05:00
sliptonic
4aa7f78790 fix minor bugs with sanity report and job visibility (#14043) 2024-05-16 07:27:45 -05:00
Chris Hennes
9fead3682d Update translations 2024-05-12 17:06:56 -05:00
Chris Hennes
a5d8aaa21c Update translations
Also removes Web from translation scripts.
2024-05-06 18:17:53 +02:00
LarryWoestman
44636e0446 CAM: Added tests for A, B, and C parameters to the linuxcnc post (#13702)
Also added code to keep A, B, C parameters from changing with --inches

Co-authored-by: LarryWoestman <LarryWoestman@users.noreply.github.com>
2024-05-06 11:08:43 -05:00
Martin Rodriguez Reboredo
51987dc1ab Fixups with Qt6 enums (#13611)
* Python PySide enums to C++ converter

* Python IntFlags to C++ int in getStandardButtons

* Remove int conversion in mods Python sources
2024-05-06 18:02:18 +02:00
sliptonic
f4a961e8f0 Merge pull request #13668 from Ondsel-Development/RefactorPostCommand
Refactor post command
2024-05-06 09:49:28 -05:00
sliptonic
b39d29ac9d Merge pull request #13667 from Ondsel-Development/refactorsanity
refactor Sanity
2024-05-06 09:48:59 -05:00
sliptonic
2a4090b40d More work on unit tests
Avoid unnecessary reloads from disk
2024-05-04 08:24:00 -05:00
sliptonic
046c555c9e add generic post processor 2024-05-03 10:16:41 -05:00
sliptonic
c97e199a28 Make Job gui work with new PostProcessor class 2024-05-03 10:16:41 -05:00
sliptonic
798e93b480 fix test script 2024-05-03 10:16:41 -05:00
sliptonic
8022d7df40 Major refactor on post stack 2024-05-03 10:16:41 -05:00
sliptonic
d327ceb65b findParentJob will now return the original object if it is a job rather than None 2024-05-03 10:16:41 -05:00
0penBrain
1483838c19 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
Dov Grobgeld
e66e90b512 Fix run time errors with python3.12 and pyside6 (#13337)
* Change pyopen=open expression to from builtins import open as pyopen

---------

Co-authored-by: Adrián Insaurralde Avalos <36372335+adrianinsaval@users.noreply.github.com>
2024-04-30 00:28:01 -04:00
0penBrain
a8cdbe4672 Cmake: pass 'undefined' with double dash so alternative linker can be used 2024-04-29 18:25:17 +02:00
Brad Collette
e22cde251c refactor Sanity
Logic is more modular with many more unit tests.
Reduced dependence on GUI
Cleaner template structure
2024-04-27 17:28:15 -05:00
Chris Hennes
ead426c6eb Update translations
Note: Web and Start omitted
2024-04-24 13:58:21 -05:00
Chris Hennes
f8014e0e30 Merge pull request #13520 from wwmayer/fix_material
Fix further material issues
2024-04-22 11:16:44 -05:00
sliptonic
4056177dd5 Merge pull request #13503 from mosfet80/patch-34
[Mod] removed duplicated pi
2024-04-22 11:12:04 -05:00
sliptonic
5504a22285 translation stuff 2024-04-18 17:38:12 -05:00
wmayer
550fd359c0 CAM: fix regressions with material handling
The ShapeAppearance is a list of materials and thus assigning a color with 'obj.ViewObject.ShapeAppearance.DiffuseColor = color'
is incorrect.
But doing it with 'obj.ViewObject.ShapeAppearance[0].DiffuseColor = color' doesn't work as expected because the
internal notification doesn't work with a list.

So, the only viable way is to revert the changes and do it by assigning the color to the 'ShapeColor' attribute.
2024-04-18 13:57:48 +02:00
Chris Hennes
e7069e6797 Update translations. 2024-04-17 16:50:38 -05:00
mosfet80
94303ebc38 [Mod] removed duplicated pi
removed duplicated pi definition
2024-04-17 08:08:45 +02:00
bgbsww
7ce98fde1a Have grbl_post not write - file like other posts 2024-04-10 16:17:47 -04:00
David Carter
ba20441935 Material: Material appearance
Uses new material system for appearance

Each feature object now has a property called ShapeMaterial that
describes its physical properties. If it has a shape, it has a
material.

The ShapeColor attribute is replaced by a ShapeAppearance attribute.
This is a material list that describes all appearance properties, not
just diffuse color. As a list in can be used for all elements of a
shape, such as edges and faces.

A new widget is provided to allow the user to select materials in a
consistent fashion. It can also launch the material editor with its
more advanced capabilities.
2024-04-04 07:39:58 -05:00
sliptonic
91f05ebe74 Merge pull request #13254 from jamwaffles/drill-g85-feed-retract
CAM/Drilling: Add feed retract option to drilling op settings for reaming/boring heads
2024-04-02 07:57:55 -05:00
James Waples
9dbaf37251 Add tests for drill feed retract option 2024-04-02 09:45:34 +01:00
James Waples
88370e2889 Add some extra docs and combinatorial checks 2024-04-02 09:45:34 +01:00
James Waples
700fcb061e Add tooltip 2024-04-02 09:45:34 +01:00
James Waples
dc1db06b10 CAM/Drilling: Add feed retract option to drilling op settings
Adds a checkbox to output a G85 cycle used for reaming or boring. The
cycle is like a normal drilling op, but feeds back out of the hole
instead of performing a rapid move.

G85 does not support peck or dwell, so those other options are disabled
when the "Feed retract" option is enabled in the UI.
2024-04-02 09:45:34 +01:00
sliptonic
6f3cd260ae fixes #13206 2024-04-01 18:20:27 -05:00
sliptonic
202473b287 fixes #13207 2024-04-01 18:20:27 -05:00
Chris Hennes
c37c32edc9 Merge pull request #13154 from chennes/translations20240325
Update translations and fix script
2024-03-28 13:51:39 -05:00
CalligaroV
6d9c49e454 Part/Toponaming: Transfer WireJoiner
* Applied modifications to reduce the number of Lint warnings (round 3)
 * Added note about the WireJoiner class in Mod/CAM/App/Area.cpp
2024-03-26 09:57:47 +01:00
Chris Hennes
e4a1500f89 Fix apos and quot html entities in CAM 2024-03-25 18:09:46 -05:00
Chris Hennes
1a51c0cb57 Update translations 2024-03-25 18:08:22 -05:00
Chris Hennes
1a67c24749 CAM: Remove old Path translation files 2024-03-25 17:34:04 -05:00
Chris Hennes
32a957bd07 Translation update: move Path to CAM 2024-03-25 17:32:59 -05:00
Anurag Singh
8a30854380 Add Missing API documentation/Update API Documentation for various files. (#13062)
* Added-API-Documentation-for-RectangularTrimmedSurfacePy.xml

* Added-API-Documentation-for-PlateSurfacePy.xml

* Added-API-Documentation-for-ShapeFix.xml

* Added-Back-Missing-Docs

* Add Missing Documentation to BuildPlateSurface

* Elaborate ComplexGeoData Functions

* Elaborate ComplexGeoData Functions

* Elaborates TypePy

* Add Missing Documentation to AreaPy
2024-03-22 15:49:36 +01:00