Commit Graph

21752 Commits

Author SHA1 Message Date
wmayer
312e98d003 OpenSCAD: [skip ci] fix missing treeview icon 2020-06-23 12:34:25 +02:00
Gabriel Wicke
fb0aa86b6e [part] More robust tessellation angular deflection default
OCC currently does not reliably enforce linear deflection on curved
surfaces, especially curved lofts over nurbs splines. To avoid surprises
when tight tolerances are needed, replace the static default angular
deflection of 0.5 radians (~28 degrees), with a more sensible angular
deflection derived from the provided linear deflection tolerance.

By adding the default heuristic to TopoShape, we can keep typical
tessellate() and STL export functionality users simple, and also avoid
the need to implement similar heuristics in many places. If more
explicit control over angular deflection is needed for some use cases,
then we could still choose to expose the option to override the derived
default explicitly.

The hope is that OCC's linear deflection enforcement will be more
reliable at some point, at which point this heuristic will no longer be
needed.
2020-06-23 12:17:51 +02:00
Bernd Hahnebach
248fd5e239 FEM: examples, some comment changes 2020-06-23 09:12:24 +02:00
Bernd Hahnebach
996a59b54a FEM: unit test, fix setting up some examples 2020-06-23 09:12:18 +02:00
Sudhanshu Dubey
891a398ffb FEM: examples, use gmsh mesh object instead off pure mesh object 2020-06-23 07:19:09 +02:00
Sudhanshu Dubey
3fdd7dc260 FEM: examples, ccx_cantilever_std separated into 4 examples 2020-06-23 07:18:56 +02:00
Sudhanshu Dubey
93b5df4be3 FEM: examples, boxanalysis separated into 2 examples
The static and frequency analysis were separated
2020-06-23 07:18:50 +02:00
Sudhanshu Dubey
4fa324a5b7 FEM: examples, manager, add missing run in run all 2020-06-23 07:18:39 +02:00
Sudhanshu Dubey
f30c9f3250 FEM: examples, flow 1D, add comment 2020-06-23 07:18:31 +02:00
Sudhanshu Dubey
4d731153d8 FEM: examples, bimetall, move comment 2020-06-23 07:18:25 +02:00
wmayer
43ad5ea95b Gui: [skip ci] fix -Wrange-loop-construct 2020-06-22 22:50:55 +02:00
wmayer
ec134598cd Gui: implement property editor for vector list 2020-06-22 22:28:15 +02:00
Yorik van Havre
f0eba317aa Arch: fixed minor bug in Offline rendering module 2020-06-22 14:12:17 +02:00
vocx-fc
9e871cf27b Arch: fix calculation of fence objects
In the past it used the `Draft.calculatePlacementsOnPath` function
but this function was moved and modified when the `PathArray`
was improved. The `calculatePlacementsOnPath` function
was moved to `draftobjects.patharray`
and renamed `placements_on_path`.

This doesn't completely fix the Fence object because some other
modifications need to be done in the calculation of the paths.
2020-06-22 11:59:58 +02:00
triplus
38ada85382 Icon themes Part viewproviders 2020-06-22 11:58:06 +02:00
triplus
471c7cc3a2 Icon themes DAGView 2020-06-22 11:58:06 +02:00
triplus
ffde2b9fa0 Icon themes toolbar customization dialog 2020-06-22 11:58:06 +02:00
triplus
a47a205074 Icon themes parameter editor 2020-06-22 11:58:06 +02:00
Bernd Hahnebach
343dcde085 FEM: elmer writer test mode, do not search for gmsh binary 2020-06-22 06:46:02 +02:00
Bernd Hahnebach
8f0b3d55e3 FEM: unit tests, use unique dir for each run 2020-06-22 06:45:55 +02:00
wmayer
08e7797730 Part: [skip ci] add missing headers 2020-06-21 22:53:42 +02:00
sliptonic
5c5a882ec5 Merge pull request #3599 from GeneGH/Edits
Path Simulator - Recognition of canned cycle cancellation
2020-06-21 13:22:49 -05:00
sliptonic
0c7afa8187 Merge pull request #3634 from sliptonic/master
[Path] Make jobs delete cleanly.
2020-06-21 13:22:16 -05:00
sliptonic
0c79264d5c Merge branch 'master' into master 2020-06-21 10:38:47 -05:00
sliptonic
bd8bada828 Merge pull request #3636 from Russ4262/PathSlot_fixes
[Path] Slot operation fixes and improvements
2020-06-21 10:22:52 -05:00
donovaly
edc21e9339 TaskProjGroup.ui: correct a typo 2020-06-21 08:22:49 -04:00
donovaly
ed429e8a2c disable keyboardTracking for the scale to avoid unnecessary recomputes 2020-06-21 08:22:49 -04:00
donovaly
eb6a8e5339 [TD] add spacing to ProjGroup dialog
Add the setting to auto-distribute projections to the dialog
2020-06-21 08:22:49 -04:00
wmayer
3971c85130 [skip ci] make Jupyter notebook integration working again 2020-06-21 01:39:39 +02:00
wmayer
4b8cf63c14 [skip ci] improve possibility to create a QApplication in a thread 2020-06-21 00:07:21 +02:00
Russell Johnson
f525fedd11 Path: Slot operation fixes and improvements
- Add `CutPattern` feature, defaulting to `ZigZag`.
- Change inter-pass retractions to SafeHeight for multi-pass operations.
- Fix division by zero instance for particular Perpendicular use case.
- Synchronize property values with inputs in both the Property View and Tasks Editor windows.
- Change `LayerMode` default value to `Multi-pass`.
- Improve debug messaging.
- Consolidate code and remove unused code.

Path: fix exception thrown
2020-06-20 14:27:12 -05:00
wandererfan
d88d341d20 [TD]Cosmetic Edge endpoint inversion 2020-06-20 12:36:54 -04:00
wandererfan
e2efc19982 [TD]Detail default scale 2020-06-20 12:36:54 -04:00
wmayer
8b32ea8dab GuiPy: [skip ci] expose function to Python to replace Switch with Separator nodes 2020-06-20 12:22:24 +02:00
wmayer
278202eb6f GuiPy: [skip ci] handle some Qt warnings when using GUI from Python
+ avoid warning: QEventLoop: Cannot be used without QApplication
+ avoid warning: QObject::startTimer: Timers can only be used with threads started with QThread
2020-06-20 11:43:59 +02:00
wmayer
9f9ee6d89e Base: [skip ci] include sstream in swigpyrun source files 2020-06-20 11:28:48 +02:00
sliptonic
48b0c71c20 [Path] Make jobs delete cleanly.
Deletion of tool controllers now works for toolbits as well
2020-06-19 13:17:17 -05:00
sliptonic
c9418a7597 Merge pull request #3631 from Russ4262/task_panel_icons
[Path] Add icons to Tasks Window tabs
2020-06-19 12:32:07 -05:00
sliptonic
25445b0cb5 Merge pull request #3584 from gwicke/area_tweaks
Path: Area fixes and robustness tweaks
2020-06-19 12:30:32 -05:00
wmayer
0f5d81872f Main: [skip ci] replace QThread with std::thread as it won't start without an event loop 2020-06-19 18:52:26 +02:00
sliptonic
b5ba6b96bd Merge pull request #3629 from gwicke/line_simplification
[path] Implement Ramer-Douglas-Peucker line simplification
2020-06-19 11:12:35 -05:00
sliptonic
a7a86f54bc Merge pull request #3624 from Russ4262/SlotCutter
[Path] Add new `Slot` operation to PathWB 2D tool group
2020-06-19 11:12:01 -05:00
sliptonic
3dab70097c Merge pull request #3600 from sliptonic/feature/customimprove
[PATH] make -custom- op compliant. Improve gcode_pre importer
2020-06-19 11:11:21 -05:00
sliptonic
c238c7fd6f Merge pull request #3568 from Russ4262/3D_Surface_fixes_2
[Path] 3D Surface and Waterline: FinalDepth guess and `InternalFeaturesCut` fixes
2020-06-19 11:10:14 -05:00
sliptonic
38cda180b2 Merge pull request #3545 from Russ4262/Multi-profile
[Path] Profile - New `ExpandProfile` feature for compound profile operations
2020-06-19 11:09:04 -05:00
sliptonic
c5c144fae1 Merge pull request #3574 from Russ4262/ToolBit_OCL_update
[Path] 3D Surface and Waterline: OCL-ToolBit compatibility fix
2020-06-19 11:08:18 -05:00
wmayer
3ca859acf7 Gui: [skip ci] fix Gui.subgraphFromObject and improve error text if wrapping fails 2020-06-19 15:07:57 +02:00
Yorik van Havre
664c641f3c Better description and more screenshots in freedesktop app description 2020-06-19 13:49:34 +02:00
wandererfan
7e8c441775 [TD]Fix jumping section view 2020-06-19 07:18:47 -04:00
Harald Geyer
98c05349ac Arch: importIFC: Allow faster inserts
For huge models just parsing the IFC file in ifcopenshell takes
significant time. When importing via IFC explorer from the BIM
workbench, the file is already open.

This change allows to pass the ifcopenshell.file object instead of a
filename, making the process much more efficient.

Backwards compatible code to use this will be submitted for the BIM
workbench soon. Then we have a workflow, where we can insert items
from big IFC files in multiple rounds quickly.
2020-06-19 12:19:20 +02:00